Consistency/data/entities/animals/firebug.xml

137 lines
3.2 KiB
XML

<Entity name="$animal_firebug">
<Base file="data/entities/base_enemy_flying.xml" >
<ItemChestComponent level="1" > </ItemChestComponent>
<AnimalAIComponent
attack_ranged_frames_between="40"
attack_ranged_entity_file="data/entities/projectiles/fireball_firebug.xml"
attack_ranged_enabled="1"
attack_ranged_offset_y="1"
attack_dash_enabled="1"
creature_detection_range_x="300"
creature_detection_range_y="300"
attack_ranged_max_distance="130"
can_fly="1"
max_distance_to_move_from_home="256"
needs_food="0"
>
</AnimalAIComponent>
<DamageModelComponent
hp="0.2"
materials_that_damage="acid,water,poison,blood_cold,blood_cold_vapour,mud,water_swamp,water_salt,swamp,snow,water_ice"
materials_how_much_damage="0.08,0.10,0.02,0.016,0.014,0.1,0.1,0.1,0.1,0.1,0.1"
fire_probability_of_ignition="0"
ragdoll_filenames_file="data/ragdolls/firebug/filenames.txt"
ragdoll_material="lavarock_static"
blood_material="lava"
blood_spray_material="lava"
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_orange_$[1-3].xml"
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_orange_$[1-3].xml"
wet_status_effect_damage="0.05"
blood_multiplier="0.8"
>
</DamageModelComponent>
<PathFindingComponent
can_fly="1"
can_walk="0"
>
</PathFindingComponent>
<SpriteComponent
image_file="data/enemies_gfx/firebug.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<GenomeDataComponent
herd_id="fly"
food_chain_rank="10"
is_predator="1" >
</GenomeDataComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-5.5"
aabb_max_x="5.5"
aabb_min_y="-6"
aabb_max_y="0"
is_enemy="1"
is_item="0"
is_player="0" >
</HitboxComponent>
<CharacterDataComponent
_enabled="1"
climb_over_y="4"
collision_aabb_min_x="-6.0"
collision_aabb_max_x="6.0"
collision_aabb_min_y="-10"
collision_aabb_max_y="0"
mass="0.4"
>
</CharacterDataComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/firebug" >
</AudioComponent>
</Base>
<ParticleEmitterComponent
emitted_material_name="flame"
offset.x="0"
offset.y="0"
x_pos_offset_min="-2"
y_pos_offset_min="-2"
x_pos_offset_max="2"
y_pos_offset_max="2"
x_vel_min="-10"
x_vel_max="10"
y_vel_min="-10"
y_vel_max="10"
count_min="1"
count_max="2"
lifetime_min="0.6"
lifetime_max="1.8"
create_real_particles="1"
emit_cosmetic_particles="0"
emission_interval_min_frames="5"
emission_interval_max_frames="15"
is_emitting="1" >
</ParticleEmitterComponent>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/firebug_emissive.xml"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk"
>
</SpriteComponent>
<LightComponent
_enabled="1"
r="30"
g="60"
b="20"
radius="48" >
</LightComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/wing_flap_insect/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
</Entity>