86 lines
1.7 KiB
XML
86 lines
1.7 KiB
XML
<Entity name="$animal_bat">
|
|
|
|
<Base file="data/entities/base_enemy_flying.xml" >
|
|
<ItemChestComponent level="2" > </ItemChestComponent>
|
|
|
|
<AnimalAIComponent
|
|
attack_ranged_enabled="0"
|
|
attack_dash_enabled="1"
|
|
needs_food="0"
|
|
can_fly="1">
|
|
</AnimalAIComponent>
|
|
|
|
<DamageModelComponent
|
|
hp="0.25"
|
|
ragdoll_filenames_file="data/ragdolls/bat/filenames.txt"
|
|
ragdoll_material="meat_slime"
|
|
blood_material="slime"
|
|
blood_spray_material="slime"
|
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
|
>
|
|
</DamageModelComponent>
|
|
|
|
<PathFindingComponent
|
|
can_fly="1"
|
|
can_walk="0"
|
|
can_jump="0"
|
|
>
|
|
</PathFindingComponent>
|
|
|
|
<SpriteComponent
|
|
image_file="data/enemies_gfx/bat.xml"
|
|
offset_x="0"
|
|
offset_y="0">
|
|
</SpriteComponent>
|
|
|
|
<GenomeDataComponent
|
|
herd_id="bat"
|
|
food_chain_rank="10"
|
|
is_predator="1" >
|
|
</GenomeDataComponent>
|
|
|
|
<HitboxComponent
|
|
_enabled="1"
|
|
aabb_min_x="-4.0"
|
|
aabb_max_x="4.0"
|
|
aabb_min_y="-9"
|
|
aabb_max_y="1"
|
|
is_enemy="1"
|
|
is_item="0"
|
|
is_player="0" >
|
|
</HitboxComponent>
|
|
|
|
<CharacterDataComponent
|
|
_enabled="1"
|
|
climb_over_y="4"
|
|
collision_aabb_min_x="-4.0"
|
|
collision_aabb_max_x="4.0"
|
|
collision_aabb_min_y="-10"
|
|
collision_aabb_max_y="0"
|
|
mass="0.6"
|
|
>
|
|
</CharacterDataComponent>
|
|
|
|
</Base>
|
|
|
|
<LightComponent
|
|
_enabled="1"
|
|
r="60"
|
|
g="30"
|
|
b="40"
|
|
radius="48" >
|
|
</LightComponent>
|
|
|
|
<AudioComponent
|
|
file="data/audio/Desktop/animals.bank"
|
|
event_root="animals/bat" >
|
|
</AudioComponent>
|
|
|
|
<AudioComponent
|
|
file="data/audio/Desktop/animals.bank"
|
|
event_root="animals/wing_flap_skin" >
|
|
</AudioComponent>
|
|
|
|
</Entity>
|