Consistency/data/entities/animals/scorpion.xml

91 lines
2.0 KiB
XML
Raw Permalink Normal View History

2021-08-20 01:53:47 +00:00
<Entity tags="mortal,prey" name="$animal_scorpion">
<Base file="data/entities/base_helpless_animal.xml" >
<AnimalAIComponent
preferred_job="JobDefault"
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/scorpion/filenames.txt"
fire_probability_of_ignition="0.05"
hp="0.1"
ragdoll_offset_y="3"
>
</DamageModelComponent>
<SpriteComponent
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/scorpion.xml"
next_rect_animation=""
offset_x="0"
offset_y="0"
rect_animation="stand"
>
</SpriteComponent>
<PathFindingComponent
distance_to_reach_node_x="20"
distance_to_reach_node_y="20"
frames_to_get_stuck="20"
can_jump="0" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="24" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="helpless"
food_chain_rank="20"
is_predator="0" >
</GenomeDataComponent>
<CharacterDataComponent
collision_aabb_min_x="-2.0"
collision_aabb_max_x="2.0"
collision_aabb_min_y="-1"
collision_aabb_max_y="3"
buoyancy_check_offset_y="-1"
mass="0.1"
>
</CharacterDataComponent>
<CharacterPlatformingComponent
jump_velocity_y="0"
run_velocity="15"
run_animation_velocity_switching_enabled="1"
run_animation_velocity_switching_threshold="20">
</CharacterPlatformingComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-2.5"
aabb_max_x="2.5"
aabb_min_y="-1.5"
aabb_max_y="2"
>
</HitboxComponent>
</Base>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/longleg" >
</AudioComponent>
</Entity>