120 lines
2.6 KiB
XML
120 lines
2.6 KiB
XML
|
<Entity
|
||
|
name="$animal_ghost"
|
||
|
tags="mortal,hittable,music_energy_000_near,enemy,glue_NOT"
|
||
|
serialize="0" >
|
||
|
|
||
|
<_Transform
|
||
|
position.x="0"
|
||
|
position.y="0"
|
||
|
rotation="0"
|
||
|
scale.x="1"
|
||
|
scale.y="1" >
|
||
|
</_Transform>
|
||
|
|
||
|
<DamageModelComponent
|
||
|
_enabled="1"
|
||
|
air_needed="0"
|
||
|
blood_material="blood_worm"
|
||
|
blood_spray_material="blood_worm"
|
||
|
blood_multiplier="1"
|
||
|
drop_items_on_death="1"
|
||
|
falling_damages="0"
|
||
|
fire_probability_of_ignition="0"
|
||
|
hp="10"
|
||
|
in_liquid_shooting_electrify_prob="0"
|
||
|
invincibility_frames="0"
|
||
|
is_on_fire="0"
|
||
|
material_damage_min_cell_count="4"
|
||
|
materials_create_messages="0"
|
||
|
materials_damage="1"
|
||
|
materials_how_much_damage="0.1"
|
||
|
materials_that_create_messages="meat"
|
||
|
materials_that_damage="acid"
|
||
|
max_hp="10"
|
||
|
ragdoll_filenames_file=""
|
||
|
ragdoll_material="meat_worm"
|
||
|
ragdoll_offset_x="0"
|
||
|
ragdoll_offset_y="-6"
|
||
|
blood_sprite_directional=""
|
||
|
blood_sprite_large=""
|
||
|
>
|
||
|
<damage_multipliers
|
||
|
drill="0"
|
||
|
electricity="0"
|
||
|
explosion="0"
|
||
|
fire="0"
|
||
|
melee="0"
|
||
|
projectile="0"
|
||
|
ice="0"
|
||
|
slice="0"
|
||
|
>
|
||
|
</damage_multipliers>
|
||
|
|
||
|
</DamageModelComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
food_chain_rank="6"
|
||
|
herd_id="ghost"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<DamageNearbyEntitiesComponent
|
||
|
radius="16"
|
||
|
time_between_damaging="3"
|
||
|
target_tag="player_unit"
|
||
|
damage_type="DAMAGE_CURSE"
|
||
|
ragdoll_fx="NONE">
|
||
|
</DamageNearbyEntitiesComponent>
|
||
|
|
||
|
<GhostComponent
|
||
|
_enabled="1"
|
||
|
hunt_box_radius="412"
|
||
|
new_hunt_target_check_every="150"
|
||
|
speed="20"
|
||
|
velocity.x="-0.37877"
|
||
|
velocity.y="-0.307411" >
|
||
|
</GhostComponent>
|
||
|
|
||
|
<PathFindingGridMarkerComponent
|
||
|
_enabled="1"
|
||
|
marker_offset_x="0"
|
||
|
marker_offset_y="0"
|
||
|
marker_work_flag="16" >
|
||
|
</PathFindingGridMarkerComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
additive="1"
|
||
|
alpha="0.671429"
|
||
|
emissive="1"
|
||
|
has_special_scale="0"
|
||
|
image_file="data/enemies_gfx/ghost.xml"
|
||
|
is_text_sprite="0"
|
||
|
kill_entity_after_finished="0"
|
||
|
next_rect_animation=""
|
||
|
rect_animation=""
|
||
|
smooth_filtering="0"
|
||
|
transform_offset.x="0"
|
||
|
transform_offset.y="0"
|
||
|
ui_is_parent="0"
|
||
|
update_transform="1"
|
||
|
update_transform_rotation="1"
|
||
|
visible="1"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<AudioComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_root="animals/ghost" >
|
||
|
</AudioComponent>
|
||
|
|
||
|
<AudioLoopComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_name="animals/ghost/movement_loop"
|
||
|
set_speed_parameter="1"
|
||
|
auto_play="1">
|
||
|
</AudioLoopComponent>
|
||
|
|
||
|
</Entity>
|