Consistency/data/entities/animals/lasershooter.xml

123 lines
3.6 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_lasershooter">
<Base file="data/entities/base_enemy_flying.xml" >
<AnimalAIComponent
attack_ranged_entity_file="data/entities/projectiles/laserbeam.xml"
attack_ranged_enabled="1"
escape_if_damaged_probability="0"
attack_ranged_action_frame="8"
attack_ranged_offset_x="3"
attack_ranged_offset_y="-4"
attack_ranged_max_distance="400"
creature_detection_range_x="400"
creature_detection_range_y="400"
attack_melee_enabled="0"
attack_dash_enabled="0"
attack_ranged_frames_between="130"
needs_food="0"
can_fly="1" >
</AnimalAIComponent>
<DamageModelComponent
hp="3"
ragdoll_material="meat_slime_green"
ragdoll_filenames_file="data/ragdolls/lasershooter/filenames.txt"
blood_material="slime_green"
blood_spray_material="slime_green"
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
>
</DamageModelComponent>
<PathFindingComponent
can_fly="1"
can_walk="0"
>
</PathFindingComponent>
<SpriteComponent
image_file="data/enemies_gfx/lasershooter.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-4.5"
aabb_max_x="4.5"
aabb_min_y="-8.0"
aabb_max_y="3"
is_enemy="1"
is_item="0"
is_player="0" >
</HitboxComponent>
<GenomeDataComponent
herd_id="slimes" >
</GenomeDataComponent>
<CharacterDataComponent
collision_aabb_min_x="-5.0"
collision_aabb_max_x="5.0"
collision_aabb_min_y="-12"
collision_aabb_max_y="3"
mass="1.2"
>
</CharacterDataComponent>
</Base>
<MaterialInventoryComponent
_enabled="1"
drop_as_item="0"
leak_on_damage_percent="0.999"
>
<count_per_material_type>
<Material material="radioactive_liquid" count="200" />
</count_per_material_type>
</MaterialInventoryComponent>
<LightComponent
_enabled="1"
radius="70"
r="149"
g="185"
b="225"
fade_out_time="1.5"
>
</LightComponent>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/lasershooter_emissive.xml"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk"
>
</SpriteComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/lasershooter" >
</AudioComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/slimy_small/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<Entity> <Base file="data/entities/verlet_chains/tealslime_tentacle/tealslime_tentacle_02.xml"> <InheritTransformComponent><Transform position.x="-3" position.y="-1" ></Transform></InheritTransformComponent> </Base> </Entity>
<Entity> <Base file="data/entities/verlet_chains/tealslime_tentacle/tealslime_tentacle_01.xml"> <InheritTransformComponent><Transform position.x="-4" position.y="-1" ></Transform></InheritTransformComponent> </Base> </Entity>
<Entity> <Base file="data/entities/verlet_chains/tealslime_tentacle/tealslime_tentacle_01.xml"> <InheritTransformComponent><Transform position.x="0" position.y="-1" ></Transform></InheritTransformComponent> </Base> </Entity>
<Entity> <Base file="data/entities/verlet_chains/tealslime_tentacle/tealslime_tentacle_thin_01.xml"> <InheritTransformComponent><Transform position.x="4" position.y="-1" ></Transform></InheritTransformComponent> </Base> </Entity>
</Entity>