Consistency/data/entities/animals/_test_walk.xml

105 lines
2.4 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity >
2021-08-22 00:18:58 +00:00
2021-08-20 01:53:47 +00:00
<ItemPickUpperComponent
is_in_npc="1">
</ItemPickUpperComponent>
<Base file="data/entities/base_enemy_basic.xml" >
<ItemChestComponent level="1" > </ItemChestComponent>
2021-08-22 00:18:58 +00:00
<AnimalAIComponent
_enabled="1"
2021-08-20 01:53:47 +00:00
preferred_job="JobDefault"
escape_if_damaged_probability="40"
2021-08-22 00:18:58 +00:00
attack_melee_damage_min="0.4"
2021-08-20 01:53:47 +00:00
attack_melee_damage_max="0.7"
creature_detection_range_x="400"
creature_detection_range_y="400"
creature_detection_angular_range_deg="60"
attack_melee_max_distance="20"
food_material="meat"
needs_food="1"
sense_creatures="1"
attack_ranged_enabled="0"
attack_melee_enabled="0"
2021-08-22 00:18:58 +00:00
can_fly="0"
2021-08-20 01:53:47 +00:00
attack_ranged_action_frame="4"
attack_ranged_min_distance="0"
attack_ranged_max_distance="220"
attack_ranged_entity_file="data/entities/projectiles/buckshot.xml"
attack_ranged_entity_count_min="3"
attack_ranged_entity_count_max="4"
2021-08-22 00:18:58 +00:00
attack_ranged_frames_between="100"
2021-08-20 01:53:47 +00:00
attack_ranged_offset_y="-7">
</AnimalAIComponent>
2021-08-22 00:18:58 +00:00
<DamageModelComponent
2021-08-20 01:53:47 +00:00
hp="1.1"
materials_create_messages="1"
2021-08-22 00:18:58 +00:00
ragdoll_filenames_file="data/ragdolls/shotgunner/filenames.txt"
2021-08-20 01:53:47 +00:00
fire_probability_of_ignition="5"
2021-08-22 00:18:58 +00:00
materials_that_damage="acid,radioactive_liquid,lava,poison"
materials_how_much_damage="0.01,0.00002,0.0006,0.002"
2021-08-20 01:53:47 +00:00
>
</DamageModelComponent>
2021-08-22 00:18:58 +00:00
<SpriteComponent
image_file="data/enemies_gfx/shotgunner.xml"
2021-08-20 01:53:47 +00:00
offset_x="7"
offset_y="14">
</SpriteComponent>
<PathFindingComponent
can_jump="1"
2021-08-22 00:18:58 +00:00
can_fly="0"
2021-08-20 01:53:47 +00:00
jump_speed="80"
initial_jump_lob="1"
frames_to_get_stuck="120"
frames_between_searches="120"
initial_jump_max_distance_x="60"
2021-08-22 00:18:58 +00:00
initial_jump_max_distance_y="60"
2021-08-20 01:53:47 +00:00
can_swim_on_surface="1"
can_dive="1"
>
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
2021-08-22 00:18:58 +00:00
<GenomeDataComponent
2021-08-20 01:53:47 +00:00
herd_id="orcs"
food_chain_rank="9"
is_predator="1" >
</GenomeDataComponent>
2021-08-22 00:18:58 +00:00
<CharacterPlatformingComponent
jump_velocity_y="-12"
2021-08-20 01:53:47 +00:00
run_velocity="11" >
</CharacterPlatformingComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
2021-08-22 00:18:58 +00:00
<HitboxComponent
_enabled="1"
aabb_max_x="5"
aabb_max_y="3"
aabb_min_x="-5"
aabb_min_y="-12"
2021-08-20 01:53:47 +00:00
>
</HitboxComponent>
</Base>
2021-08-22 00:18:58 +00:00
<LightComponent
_enabled="1"
2021-08-20 01:53:47 +00:00
radius="50"
fade_out_time="1.5" >
</LightComponent>
</Entity>