2021-08-20 01:53:47 +00:00
|
|
|
<Entity name="$animal_skygazer" tags="polymorphable_NOT">
|
|
|
|
|
|
|
|
<Base file="data/entities/base_enemy_flying.xml" >
|
|
|
|
<ItemChestComponent level="1" > </ItemChestComponent>
|
|
|
|
|
|
|
|
<AnimalAIComponent
|
|
|
|
attack_ranged_entity_file="data/entities/projectiles/polyshot.xml"
|
|
|
|
attack_ranged_enabled="1"
|
|
|
|
attack_ranged_action_frame="1"
|
|
|
|
attack_dash_enabled="0"
|
|
|
|
attack_ranged_frames_between="100"
|
|
|
|
can_fly="1" >
|
|
|
|
</AnimalAIComponent>
|
|
|
|
|
|
|
|
<DamageModelComponent
|
|
|
|
hp="5"
|
|
|
|
ragdoll_material="meat_slime"
|
|
|
|
blood_material="magic_liquid_random_polymorph"
|
|
|
|
blood_spray_material="magic_liquid_random_polymorph"
|
|
|
|
fire_probability_of_ignition="0"
|
|
|
|
ragdoll_filenames_file="data/ragdolls/skygazer/filenames.txt"
|
|
|
|
materials_that_damage="acid,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
|
|
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
|
|
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
|
|
|
wet_status_effect_damage="0"
|
|
|
|
>
|
|
|
|
<damage_multipliers
|
|
|
|
melee="1.2"
|
|
|
|
projectile="0.4"
|
|
|
|
explosion="0.8"
|
|
|
|
electricity="0.8"
|
|
|
|
ice="1.2"
|
|
|
|
fire="0" >
|
|
|
|
</damage_multipliers>
|
|
|
|
</DamageModelComponent>
|
|
|
|
|
|
|
|
<PathFindingComponent
|
|
|
|
can_fly="1"
|
|
|
|
can_walk="0"
|
|
|
|
>
|
|
|
|
</PathFindingComponent>
|
|
|
|
|
|
|
|
<SpriteComponent
|
|
|
|
image_file="data/enemies_gfx/skygazer.xml"
|
|
|
|
offset_x="0"
|
|
|
|
offset_y="0">
|
|
|
|
</SpriteComponent>
|
|
|
|
|
|
|
|
<HitboxComponent
|
|
|
|
_enabled="1"
|
|
|
|
aabb_min_x="-10.5"
|
|
|
|
aabb_max_x="10.5"
|
|
|
|
aabb_min_y="-18.0"
|
|
|
|
aabb_max_y="6"
|
|
|
|
is_enemy="1"
|
|
|
|
is_item="0"
|
|
|
|
is_player="0" >
|
|
|
|
</HitboxComponent>
|
|
|
|
|
|
|
|
<GenomeDataComponent
|
|
|
|
herd_id="slimes" >
|
|
|
|
</GenomeDataComponent>
|
|
|
|
|
|
|
|
<CharacterDataComponent
|
|
|
|
collision_aabb_min_x="-10.0"
|
|
|
|
collision_aabb_max_x="10.0"
|
|
|
|
collision_aabb_min_y="-19"
|
|
|
|
collision_aabb_max_y="3"
|
|
|
|
mass="2.3"
|
|
|
|
>
|
|
|
|
</CharacterDataComponent>
|
|
|
|
</Base>
|
|
|
|
|
|
|
|
<AudioComponent
|
|
|
|
file="data/audio/Desktop/animals.bank"
|
|
|
|
event_root="animals/gazer" >
|
|
|
|
</AudioComponent>
|
|
|
|
|
|
|
|
<AudioLoopComponent
|
|
|
|
file="data/audio/Desktop/animals.bank"
|
|
|
|
event_name="animals/gazer/movement_loop"
|
|
|
|
set_speed_parameter="1"
|
|
|
|
auto_play="1">
|
|
|
|
</AudioLoopComponent>
|
|
|
|
|
|
|
|
<MaterialInventoryComponent
|
|
|
|
_enabled="1"
|
|
|
|
drop_as_item="0"
|
|
|
|
leak_on_damage_percent="0.999"
|
|
|
|
>
|
|
|
|
<count_per_material_type>
|
|
|
|
<Material material="magic_liquid_random_polymorph" count="200" />
|
|
|
|
</count_per_material_type>
|
|
|
|
</MaterialInventoryComponent>
|
|
|
|
|
|
|
|
<SpriteParticleEmitterComponent
|
|
|
|
sprite_file="data/particles/shine_03.xml"
|
|
|
|
delay="0"
|
|
|
|
lifetime="2"
|
|
|
|
color.r="1" color.g="1" color.b="1" color.a="1"
|
|
|
|
color_change.r="0" color_change.g="0" color_change.b="0" color_change.a="-1"
|
|
|
|
velocity.x="0" velocity.y="0"
|
|
|
|
gravity.x="0" gravity.y="30"
|
|
|
|
velocity_slowdown="0"
|
|
|
|
rotation="0"
|
|
|
|
angular_velocity="0"
|
|
|
|
use_velocity_as_rotation="0"
|
|
|
|
scale.x="1" scale.y="1"
|
|
|
|
scale_velocity.x="0" scale_velocity.y="0"
|
|
|
|
emission_interval_min_frames="10"
|
|
|
|
emission_interval_max_frames="20"
|
|
|
|
count_min="1" count_max="1"
|
|
|
|
randomize_rotation.min="-3.1415"
|
|
|
|
randomize_rotation.max="3.1415"
|
|
|
|
randomize_angular_velocity.min="-15"
|
|
|
|
randomize_angular_velocity.max="15"
|
|
|
|
randomize_velocity.min_x="-5"
|
|
|
|
randomize_velocity.max_x="5"
|
|
|
|
randomize_velocity.min_y="-5"
|
|
|
|
randomize_velocity.max_y="5"
|
|
|
|
randomize_position.min_x="-10"
|
|
|
|
randomize_position.max_x="10"
|
|
|
|
randomize_position.min_y="-10"
|
|
|
|
randomize_position.max_y="10"
|
|
|
|
>
|
|
|
|
</SpriteParticleEmitterComponent>
|
|
|
|
|
|
|
|
</Entity>
|