Consistency/data/entities/animals/bigfirebug.xml

139 lines
3.2 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_bigfirebug">
<Base file="data/entities/base_enemy_flying.xml" >
<AnimalAIComponent
attack_ranged_frames_between="40"
attack_ranged_entity_file="data/entities/projectiles/fireball_bigfirebug.xml"
attack_ranged_enabled="1"
attack_ranged_offset_x="5"
attack_ranged_offset_y="-3"
attack_ranged_action_frame="3"
attack_dash_enabled="1"
creature_detection_range_x="300"
creature_detection_range_y="300"
attack_ranged_max_distance="200"
can_fly="1"
max_distance_to_move_from_home="256"
needs_food="0"
>
</AnimalAIComponent>
<DamageModelComponent
hp="0.5"
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.004,0.005,0.001,0.0008,0.0007,0.005,0.005,0.005,0.005,0.005,0.005"
fire_probability_of_ignition="0"
ragdoll_filenames_file="data/ragdolls/bigfirebug/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/bigfirebug.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="-7"
aabb_max_x="7"
aabb_min_y="-9"
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="-4.6"
collision_aabb_max_x="4.6"
collision_aabb_min_y="-10"
collision_aabb_max_y="0"
mass="0.8"
>
</CharacterDataComponent>
</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>
<LightComponent
_enabled="1"
r="30"
g="60"
b="20"
radius="48" >
</LightComponent>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/bigfirebug_emissive.xml"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk"
>
</SpriteComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/bigfirebug" >
</AudioComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/wing_flap_insect/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
</Entity>