76 lines
1.5 KiB
XML
76 lines
1.5 KiB
XML
<Entity tags="mortal,prey" name="$animal_elk">
|
|
|
|
<Base file="data/entities/base_helpless_animal.xml" >
|
|
|
|
<AnimalAIComponent
|
|
preferred_job="Escaping"
|
|
attack_melee_enabled="0"
|
|
attack_ranged_entity_file=""
|
|
attack_ranged_predict="1"
|
|
attack_ranged_enabled="0"
|
|
attack_melee_enabled="0"
|
|
sense_creatures="1"
|
|
creature_detection_range_x="128"
|
|
creature_detection_range_y="160"
|
|
attack_melee_damage_min="0"
|
|
attack_melee_damage_max="0"
|
|
can_fly="0"
|
|
>
|
|
</AnimalAIComponent >
|
|
|
|
<DamageModelComponent
|
|
ragdoll_filenames_file="data/ragdolls/elk/filenames.txt"
|
|
fire_probability_of_ignition="0.05"
|
|
hp="0.5"
|
|
>
|
|
</DamageModelComponent>
|
|
|
|
<SpriteComponent
|
|
_enabled="1"
|
|
alpha="1"
|
|
image_file="data/enemies_gfx/elk.xml"
|
|
next_rect_animation=""
|
|
offset_x="15"
|
|
offset_y="27"
|
|
rect_animation="stand"
|
|
|
|
>
|
|
</SpriteComponent>
|
|
|
|
<PathFindingGridMarkerComponent
|
|
marker_work_flag="24" >
|
|
</PathFindingGridMarkerComponent>
|
|
|
|
<GenomeDataComponent
|
|
herd_id="helpless"
|
|
food_chain_rank="20"
|
|
is_predator="0" >
|
|
</GenomeDataComponent>
|
|
|
|
<CharacterPlatformingComponent
|
|
jump_velocity_y="-12"
|
|
run_velocity="12"
|
|
>
|
|
</CharacterPlatformingComponent>
|
|
|
|
<HitboxComponent
|
|
_enabled="1"
|
|
aabb_min_x="-8.5"
|
|
aabb_max_x="8.5"
|
|
aabb_min_y="-10"
|
|
aabb_max_y="5"
|
|
>
|
|
</HitboxComponent>
|
|
|
|
<CharacterDataComponent
|
|
collision_aabb_min_x="-5.6"
|
|
collision_aabb_max_x="5.6"
|
|
collision_aabb_min_y="-10"
|
|
collision_aabb_max_y="3"
|
|
mass="2.7"
|
|
>
|
|
</CharacterDataComponent>
|
|
</Base>
|
|
|
|
</Entity>
|