149 lines
3.0 KiB
XML
149 lines
3.0 KiB
XML
|
<Entity
|
||
|
name="$animal_darkghost"
|
||
|
tags="mortal,hittable,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_in_lungs="5"
|
||
|
air_in_lungs_max="5"
|
||
|
air_lack_of_damage="0.2"
|
||
|
air_needed="0"
|
||
|
blood_material="blood_worm"
|
||
|
blood_spray_material="blood_worm"
|
||
|
blood_multiplier="1"
|
||
|
drop_items_on_death="1"
|
||
|
|
||
|
|
||
|
falling_damage_damage_max="1.2"
|
||
|
falling_damage_damage_min="0.1"
|
||
|
falling_damage_height_max="250"
|
||
|
falling_damage_height_min="70"
|
||
|
falling_damages="0"
|
||
|
|
||
|
fire_damage_amount="0.2"
|
||
|
fire_damage_ignited_amount="0.0003"
|
||
|
|
||
|
fire_probability_of_ignition="0.5"
|
||
|
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"
|
||
|
damage_min="0.2"
|
||
|
damage_max="0.3"
|
||
|
target_tag="player_unit"
|
||
|
ragdoll_fx="NONE">
|
||
|
</DamageNearbyEntitiesComponent>
|
||
|
|
||
|
<GhostComponent
|
||
|
_enabled="1"
|
||
|
hunt_box_radius="412"
|
||
|
new_hunt_target_check_every="150"
|
||
|
speed="30"
|
||
|
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/darkghost.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>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
has_special_scale="0"
|
||
|
image_file="data/enemies_gfx/darkghost_skull.xml"
|
||
|
transform_offset.x="0"
|
||
|
transform_offset.y="0"
|
||
|
ui_is_parent="0"
|
||
|
update_transform="1"
|
||
|
update_transform_rotation="1"
|
||
|
visible="1"
|
||
|
>
|
||
|
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
_enabled="1"
|
||
|
script_source_file="data/scripts/animals/darkghost.lua"
|
||
|
execute_every_n_frame="80"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
|
||
|
</Entity>
|