Consistency/data/entities/animals/barfer.xml

105 lines
2.4 KiB
XML
Raw Permalink Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_barfer">
<Base file="data/entities/base_enemy_basic.xml" >
<ItemChestComponent level="2" > </ItemChestComponent>
<AnimalAIComponent
_enabled="1"
preferred_job="JobDefault"
attack_melee_enabled="0"
creature_detection_range_x="400"
creature_detection_range_y="400"
food_material="blood"
needs_food="0"
sense_creatures="1"
attack_ranged_enabled="1"
can_fly="1"
attack_ranged_entity_file="data/entities/projectiles/radioactive_liquid.xml"
attack_ranged_action_frame="3"
attack_ranged_frames_between="100"
attack_ranged_offset_y="-9"
attack_ranged_min_distance="0"
attack_ranged_min_distance="50"
>
</AnimalAIComponent>
<DamageModelComponent
hp="2"
ragdoll_material="meat_confusion"
ragdoll_filenames_file="data/ragdolls/barfer/filenames.txt"
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_green_$[1-3].xml"
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_green_$[1-3].xml"
>
<damage_multipliers
radioactive="0.0"
>
</damage_multipliers>
</DamageModelComponent>
<SpriteComponent
image_file="data/enemies_gfx/barfer.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingComponent
can_jump="1" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="mage"
food_chain_rank="6"
is_predator="1" >
</GenomeDataComponent>
<CharacterPlatformingComponent
jump_velocity_y="-12"
swim_idle_buoyancy_coeff="1.0"
run_velocity="18" >
</CharacterPlatformingComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-4.5"
aabb_max_x="4.5"
aabb_min_y="-10"
aabb_max_y="3"
>
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-4.0"
collision_aabb_max_x="3.5"
collision_aabb_min_y="-12"
collision_aabb_max_y="3"
mass="1.4"
>
</CharacterDataComponent>
</Base>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/wizard/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/wizard" >
</AudioComponent>
<ItemPickUpperComponent
is_in_npc="1">
</ItemPickUpperComponent>
</Entity>