110 lines
2.5 KiB
XML
110 lines
2.5 KiB
XML
<Entity name="$animal_lurker">
|
|
|
|
<Base file="data/entities/base_enemy_flying.xml" >
|
|
<ItemChestComponent level="1" > </ItemChestComponent>
|
|
|
|
<AnimalAIComponent
|
|
attack_ranged_entity_file="data/entities/projectiles/lurkershot.xml"
|
|
attack_ranged_enabled="1"
|
|
attack_dash_enabled="0"
|
|
attack_ranged_frames_between="70"
|
|
attack_ranged_offset_y="-2"
|
|
attack_ranged_min_distance="0"
|
|
attack_ranged_max_distance="160"
|
|
escape_if_damaged_probability="0"
|
|
needs_food="0"
|
|
can_fly="1">
|
|
</AnimalAIComponent>
|
|
|
|
<DamageModelComponent
|
|
_tags="lurker_data"
|
|
hp="3.5"
|
|
minimum_knockback_force="100000"
|
|
ragdoll_filenames_file=""
|
|
ragdoll_fx_forced="DISINTEGRATED"
|
|
ragdoll_material="material_darkness"
|
|
blood_material="material_darkness"
|
|
blood_spray_material="material_darkness"
|
|
fire_probability_of_ignition="0"
|
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
|
materials_that_damage="lava,poison,blood_cold,blood_cold_vapour"
|
|
materials_how_much_damage="0.08,0.02,0.016,0.014"
|
|
>
|
|
<damage_multipliers
|
|
radioactive="0.0"
|
|
slice="0.0"
|
|
melee="0.0"
|
|
>
|
|
</damage_multipliers>
|
|
</DamageModelComponent>
|
|
|
|
<PathFindingComponent
|
|
can_fly="1"
|
|
can_walk="0"
|
|
>
|
|
</PathFindingComponent>
|
|
|
|
<SpriteComponent
|
|
_tags="lurker_data"
|
|
image_file="data/enemies_gfx/lurker.xml"
|
|
offset_x="0"
|
|
offset_y="0"
|
|
alpha="1"
|
|
additive="1"
|
|
>
|
|
</SpriteComponent>
|
|
|
|
<GenomeDataComponent
|
|
herd_id="slimes" >
|
|
</GenomeDataComponent>
|
|
|
|
<HitboxComponent
|
|
_tags="lurker_data"
|
|
_enabled="1"
|
|
aabb_min_x="-6.0"
|
|
aabb_max_x="6.0"
|
|
aabb_min_y="-8"
|
|
aabb_max_y="6"
|
|
is_enemy="1"
|
|
is_item="0"
|
|
is_player="0" >
|
|
</HitboxComponent>
|
|
|
|
<CharacterDataComponent
|
|
_enabled="1"
|
|
climb_over_y="4"
|
|
collision_aabb_min_x="-6.0"
|
|
collision_aabb_max_x="6.0"
|
|
collision_aabb_min_y="-8"
|
|
collision_aabb_max_y="6"
|
|
mass="0.9"
|
|
>
|
|
</CharacterDataComponent>
|
|
|
|
</Base>
|
|
|
|
<AreaDamageComponent
|
|
aabb_min.x="-10"
|
|
aabb_min.y="-10"
|
|
aabb_max.x="10"
|
|
aabb_max.y="10"
|
|
damage_per_frame="0.10"
|
|
update_every_n_frame="6"
|
|
entities_with_tag="prey"
|
|
damage_type="DAMAGE_CURSE"
|
|
>
|
|
</AreaDamageComponent>
|
|
|
|
<LuaComponent
|
|
script_shot="data/scripts/animals/lurkershot_start.lua"
|
|
execute_every_n_frame="-1"
|
|
>
|
|
</LuaComponent>
|
|
|
|
<AudioComponent
|
|
file="data/audio/Desktop/animals.bank"
|
|
event_root="animals/slimeshooter" >
|
|
</AudioComponent>
|
|
</Entity>
|