Consistency/data/entities/animals/slimeshooter.xml

120 lines
3.4 KiB
XML
Raw Permalink Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_slimeshooter">
<Base file="data/entities/base_enemy_flying.xml" >
<ItemChestComponent level="1" > </ItemChestComponent>
<AnimalAIComponent
attack_ranged_entity_file="data/entities/projectiles/radioactive_blob_trail.xml"
attack_ranged_enabled="1"
attack_dash_enabled="0"
attack_ranged_frames_between="35"
attack_ranged_offset_y="-8"
needs_food="0"
can_fly="1">
</AnimalAIComponent>
<DamageModelComponent
hp="0.3"
ragdoll_filenames_file="data/ragdolls/slimeshooter/filenames.txt"
ragdoll_material="meat_slime_green"
blood_material="radioactive_liquid"
blood_spray_material="radioactive_liquid"
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_green_$[1-3].xml"
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_green_$[1-3].xml"
materials_that_damage="lava,poison,blood_cold,blood_cold_vapour"
2021-08-22 00:18:58 +00:00
materials_how_much_damage="0.08,0.02,0.016,0.014"
2021-08-20 01:53:47 +00:00
>
<damage_multipliers
radioactive="0.0" >
</damage_multipliers>
</DamageModelComponent>
<PathFindingComponent
can_fly="1"
can_walk="0"
>
</PathFindingComponent>
<SpriteComponent
image_file="data/enemies_gfx/slimeshooter.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<GenomeDataComponent
herd_id="slimes" >
</GenomeDataComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-4.0"
aabb_max_x="4.0"
aabb_min_y="-12"
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="-2.0"
collision_aabb_max_x="2.0"
collision_aabb_min_y="-10"
collision_aabb_max_y="0"
mass="0.9"
>
</CharacterDataComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/slime">
</AudioComponent>
</Base>
<LightComponent
_enabled="1"
radius="30"
r="99"
g="205"
b="139"
offset_y="-9"
>
</LightComponent>
<MaterialInventoryComponent
_enabled="1"
drop_as_item="0"
leak_on_damage_percent="0.999"
>
<count_per_material_type>
<Material material="radioactive_liquid" count="800" />
</count_per_material_type>
</MaterialInventoryComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/slimeshooter" >
</AudioComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/slimy_small/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<AudioLoopComponent
_tags="sound_spray"
file="data/audio/Desktop/materials.bank"
event_name="materials/spray_animal"
volume_autofade_speed="0.25" >
</AudioLoopComponent>
<Entity> <Base file="data/entities/verlet_chains/slime_tentacle/slime_tentacle_bright_02.xml"> <InheritTransformComponent><Transform position.x="0" position.y="-6" ></Transform></InheritTransformComponent> </Base> </Entity>
<Entity> <Base file="data/entities/verlet_chains/slime_tentacle/slime_tentacle_bright_01.xml"> <InheritTransformComponent><Transform position.x="-3" position.y="-6" ></Transform></InheritTransformComponent> </Base> </Entity>
<Entity> <Base file="data/entities/verlet_chains/slime_tentacle/slime_tentacle_thin_01.xml"> <InheritTransformComponent><Transform position.x="3" position.y="-6" ></Transform></InheritTransformComponent> </Base> </Entity>
</Entity>