mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-18 17:17:31 +00:00
Disable worm movement
This commit is contained in:
parent
1d832ebad1
commit
95c53b96a9
229
data/entities/animals/worm.xml
Normal file
229
data/entities/animals/worm.xml
Normal file
@ -0,0 +1,229 @@
|
|||||||
|
<Entity
|
||||||
|
tags="mortal,hittable,teleportable_NOT,homing_target,enemy,worm"
|
||||||
|
name="$animal_worm"
|
||||||
|
>
|
||||||
|
<_Transform
|
||||||
|
position.x="0"
|
||||||
|
position.y="0"
|
||||||
|
rotation="0"
|
||||||
|
scale.x="1"
|
||||||
|
scale.y="1" >
|
||||||
|
</_Transform>
|
||||||
|
|
||||||
|
<WormComponent
|
||||||
|
acceleration="0.5"
|
||||||
|
gravity="0"
|
||||||
|
tail_gravity="0"
|
||||||
|
part_distance="10"
|
||||||
|
ground_check_offset="1"
|
||||||
|
hitbox_radius="5"
|
||||||
|
target_kill_radius="7"
|
||||||
|
target_kill_ragdoll_force="8"
|
||||||
|
ragdoll_filename=""
|
||||||
|
eat_anim_wait_mult="0.05 "
|
||||||
|
jump_cam_shake="6"
|
||||||
|
>
|
||||||
|
</WormComponent>
|
||||||
|
|
||||||
|
<WormAIComponent
|
||||||
|
speed="0"
|
||||||
|
speed_hunt="0"
|
||||||
|
direction_adjust_speed="0.012"
|
||||||
|
direction_adjust_speed_hunt="0.06"
|
||||||
|
hunt_box_radius="256"
|
||||||
|
random_target_box_radius="128"
|
||||||
|
new_hunt_target_check_every="120"
|
||||||
|
new_random_target_check_every="120"
|
||||||
|
give_up_area_radius="60"
|
||||||
|
give_up_time_frames="250"
|
||||||
|
>
|
||||||
|
</WormAIComponent>
|
||||||
|
|
||||||
|
<CellEaterComponent
|
||||||
|
radius="6" >
|
||||||
|
</CellEaterComponent>
|
||||||
|
|
||||||
|
<DamageModelComponent
|
||||||
|
air_needed="0"
|
||||||
|
falling_damages="0"
|
||||||
|
fire_damage_amount="0.2"
|
||||||
|
fire_probability_of_ignition="0.5"
|
||||||
|
blood_material="blood_worm"
|
||||||
|
blood_spray_material="blood_worm"
|
||||||
|
hp="20"
|
||||||
|
is_on_fire="0"
|
||||||
|
mAirAreWeInWater="0"
|
||||||
|
mFallCount="0"
|
||||||
|
mFallHighestY="3.40282e+038"
|
||||||
|
mFallIsOnGround="0"
|
||||||
|
mFireProbability="100"
|
||||||
|
mIsOnFire="0"
|
||||||
|
mLastCheckTime="0"
|
||||||
|
mLastCheckX="0"
|
||||||
|
mLastCheckY="0"
|
||||||
|
materials_damage="1"
|
||||||
|
materials_how_much_damage="0.1"
|
||||||
|
materials_that_damage="acid"
|
||||||
|
ragdoll_filenames_file=""
|
||||||
|
ragdoll_material="meat_worm"
|
||||||
|
ragdoll_offset_y="-6"
|
||||||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_yellow_$[1-3].xml"
|
||||||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_yellow_$[1-3].xml"
|
||||||
|
>
|
||||||
|
<damage_multipliers
|
||||||
|
drill="0.4"
|
||||||
|
>
|
||||||
|
</damage_multipliers>
|
||||||
|
</DamageModelComponent>
|
||||||
|
|
||||||
|
<PathFindingGridMarkerComponent
|
||||||
|
marker_offset_y="0"
|
||||||
|
marker_work_flag="16" >
|
||||||
|
</PathFindingGridMarkerComponent>
|
||||||
|
|
||||||
|
<GenomeDataComponent
|
||||||
|
_enabled="1"
|
||||||
|
herd_id="worm"
|
||||||
|
food_chain_rank="6"
|
||||||
|
is_predator="1" >
|
||||||
|
</GenomeDataComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_head.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="15"
|
||||||
|
offset_y="6"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.5"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="15"
|
||||||
|
offset_y="6"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.49"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="15"
|
||||||
|
offset_y="6"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.48"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="15"
|
||||||
|
offset_y="6"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.47"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="15"
|
||||||
|
offset_y="6"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.46"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tail.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="15"
|
||||||
|
offset_y="6"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.45"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="0">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="1">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="2">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="3">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="4">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="5">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<StatusEffectDataComponent>
|
||||||
|
</StatusEffectDataComponent>
|
||||||
|
|
||||||
|
<CameraBoundComponent
|
||||||
|
max_count="10"
|
||||||
|
distance="2000">
|
||||||
|
</CameraBoundComponent>
|
||||||
|
|
||||||
|
<ItemChestComponent level="2" enemy_drop="1" >
|
||||||
|
</ItemChestComponent>
|
||||||
|
|
||||||
|
<MusicEnergyAffectorComponent
|
||||||
|
energy_target="1">
|
||||||
|
</MusicEnergyAffectorComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals">
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals/worm" >
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioLoopComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_name="animals/worm/movement_loop"
|
||||||
|
set_speed_parameter="1"
|
||||||
|
auto_play="1">
|
||||||
|
</AudioLoopComponent>
|
||||||
|
|
||||||
|
</Entity>
|
299
data/entities/animals/worm_big.xml
Normal file
299
data/entities/animals/worm_big.xml
Normal file
@ -0,0 +1,299 @@
|
|||||||
|
<Entity
|
||||||
|
tags="mortal,hittable,teleportable_NOT,homing_target,enemy,worm"
|
||||||
|
name="$animal_worm_big"
|
||||||
|
>
|
||||||
|
<_Transform
|
||||||
|
position.x="0"
|
||||||
|
position.y="0"
|
||||||
|
rotation="0"
|
||||||
|
scale.x="1"
|
||||||
|
scale.y="1" >
|
||||||
|
</_Transform>
|
||||||
|
|
||||||
|
<WormComponent
|
||||||
|
acceleration="1.5"
|
||||||
|
gravity="0"
|
||||||
|
tail_gravity="0"
|
||||||
|
part_distance="16"
|
||||||
|
ground_check_offset="8"
|
||||||
|
hitbox_radius="9"
|
||||||
|
target_kill_radius="10"
|
||||||
|
target_kill_ragdoll_force="10"
|
||||||
|
ragdoll_filename=""
|
||||||
|
eat_anim_wait_mult="0.05 "
|
||||||
|
jump_cam_shake="6"
|
||||||
|
>
|
||||||
|
</WormComponent>
|
||||||
|
|
||||||
|
<WormAIComponent
|
||||||
|
speed="0"
|
||||||
|
speed_hunt="0"
|
||||||
|
direction_adjust_speed="0.003"
|
||||||
|
direction_adjust_speed_hunt="0.04"
|
||||||
|
hunt_box_radius="256"
|
||||||
|
random_target_box_radius="128"
|
||||||
|
new_hunt_target_check_every="240"
|
||||||
|
new_random_target_check_every="240"
|
||||||
|
give_up_area_radius="150"
|
||||||
|
give_up_time_frames="250"
|
||||||
|
>
|
||||||
|
</WormAIComponent>
|
||||||
|
|
||||||
|
<CellEaterComponent
|
||||||
|
radius="9" >
|
||||||
|
</CellEaterComponent>
|
||||||
|
|
||||||
|
<DamageModelComponent
|
||||||
|
_enabled="1"
|
||||||
|
air_needed="0"
|
||||||
|
|
||||||
|
falling_damages="0"
|
||||||
|
fire_damage_amount="0.2"
|
||||||
|
|
||||||
|
fire_probability_of_ignition="0.5"
|
||||||
|
blood_material="blood_worm"
|
||||||
|
blood_spray_material="blood_worm"
|
||||||
|
hp="140"
|
||||||
|
is_on_fire="0"
|
||||||
|
mAirAreWeInWater="0"
|
||||||
|
mFallCount="0"
|
||||||
|
mFallHighestY="3.40282e+038"
|
||||||
|
mFallIsOnGround="0"
|
||||||
|
mFireProbability="100"
|
||||||
|
mIsOnFire="0"
|
||||||
|
mLastCheckTime="0"
|
||||||
|
mLastCheckX="0"
|
||||||
|
mLastCheckY="0"
|
||||||
|
materials_damage="1"
|
||||||
|
materials_how_much_damage="0.0001,0.0001"
|
||||||
|
materials_that_damage="acid,lava"
|
||||||
|
ragdoll_filenames_file=""
|
||||||
|
ragdoll_material="meat_worm"
|
||||||
|
ragdoll_offset_y="-6"
|
||||||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_yellow_$[1-3].xml"
|
||||||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_large_yellow_$[1-3].xml"
|
||||||
|
>
|
||||||
|
<damage_multipliers
|
||||||
|
drill="0.4"
|
||||||
|
>
|
||||||
|
</damage_multipliers>
|
||||||
|
</DamageModelComponent>
|
||||||
|
|
||||||
|
<PathFindingGridMarkerComponent
|
||||||
|
marker_offset_y="0"
|
||||||
|
marker_work_flag="16" >
|
||||||
|
</PathFindingGridMarkerComponent>
|
||||||
|
|
||||||
|
<GenomeDataComponent
|
||||||
|
_enabled="1"
|
||||||
|
herd_id="worm"
|
||||||
|
food_chain_rank="6"
|
||||||
|
is_predator="1" >
|
||||||
|
</GenomeDataComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_big_head.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="12"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.5"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_big_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="12"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.4"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_big_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="12"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.39"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_big_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="12"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.38"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_big_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="12"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.37"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_big_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="12"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.36"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_big_tail.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
next_rect_animation=""
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="12"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-0.35"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="0">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="1">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="2">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="3">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="4">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="5">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="6">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_tags="health_bar_back,ui,no_hitbox"
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
has_special_scale="1"
|
||||||
|
image_file="data/ui_gfx/health_slider_back.png"
|
||||||
|
is_text_sprite="0"
|
||||||
|
next_rect_animation=""
|
||||||
|
offset_x="12"
|
||||||
|
offset_y="42"
|
||||||
|
rect_animation=""
|
||||||
|
special_scale_x="1"
|
||||||
|
special_scale_y="1"
|
||||||
|
ui_is_parent="0"
|
||||||
|
update_transform="1"
|
||||||
|
visible="1"
|
||||||
|
z_index="-9000"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_tags="health_bar,ui,no_hitbox"
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
has_special_scale="1"
|
||||||
|
image_file="data/ui_gfx/health_slider_front.png"
|
||||||
|
is_text_sprite="0"
|
||||||
|
next_rect_animation=""
|
||||||
|
offset_x="11"
|
||||||
|
offset_y="42"
|
||||||
|
rect_animation=""
|
||||||
|
special_scale_x="1"
|
||||||
|
special_scale_y="1"
|
||||||
|
ui_is_parent="0"
|
||||||
|
update_transform="1"
|
||||||
|
visible="1"
|
||||||
|
z_index="-9000"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<HealthBarComponent>
|
||||||
|
</HealthBarComponent>
|
||||||
|
|
||||||
|
<CameraBoundComponent
|
||||||
|
max_count="10"
|
||||||
|
distance="2000">
|
||||||
|
</CameraBoundComponent>
|
||||||
|
|
||||||
|
<ItemChestComponent level="3" enemy_drop="1" > </ItemChestComponent>
|
||||||
|
|
||||||
|
<LuaComponent
|
||||||
|
script_death="data/scripts/animals/worm_death.lua"
|
||||||
|
>
|
||||||
|
</LuaComponent>
|
||||||
|
|
||||||
|
<MusicEnergyAffectorComponent
|
||||||
|
energy_target="1">
|
||||||
|
</MusicEnergyAffectorComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals">
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals/worm">
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioLoopComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_name="animals/worm/movement_loop_big"
|
||||||
|
set_speed_parameter="1"
|
||||||
|
auto_play="1">
|
||||||
|
</AudioLoopComponent>
|
||||||
|
|
||||||
|
</Entity>
|
317
data/entities/animals/worm_end.xml
Normal file
317
data/entities/animals/worm_end.xml
Normal file
@ -0,0 +1,317 @@
|
|||||||
|
<Entity
|
||||||
|
tags="mortal,hittable,teleportable_NOT,homing_target,enemy,worm"
|
||||||
|
name="$animal_worm_end"
|
||||||
|
>
|
||||||
|
<_Transform
|
||||||
|
position.x="0"
|
||||||
|
position.y="0"
|
||||||
|
rotation="0"
|
||||||
|
scale.x="1"
|
||||||
|
scale.y="1" >
|
||||||
|
</_Transform>
|
||||||
|
|
||||||
|
<WormComponent
|
||||||
|
acceleration="0.5"
|
||||||
|
gravity="0"
|
||||||
|
tail_gravity="0"
|
||||||
|
part_distance="12"
|
||||||
|
ground_check_offset="8"
|
||||||
|
hitbox_radius="9"
|
||||||
|
bite_damage="1"
|
||||||
|
target_kill_radius="10"
|
||||||
|
target_kill_ragdoll_force="10"
|
||||||
|
ragdoll_filename="data/ragdolls/worm_skull/filenames.txt"
|
||||||
|
eat_anim_wait_mult="0.05 "
|
||||||
|
jump_cam_shake="2" >
|
||||||
|
</WormComponent>
|
||||||
|
|
||||||
|
<WormAIComponent
|
||||||
|
speed="0"
|
||||||
|
speed_hunt="0"
|
||||||
|
direction_adjust_speed="0.005"
|
||||||
|
direction_adjust_speed_hunt="0.04"
|
||||||
|
hunt_box_radius="256"
|
||||||
|
random_target_box_radius="128"
|
||||||
|
new_hunt_target_check_every="240"
|
||||||
|
new_random_target_check_every="240"
|
||||||
|
give_up_area_radius="150"
|
||||||
|
give_up_time_frames="250"
|
||||||
|
>
|
||||||
|
</WormAIComponent>
|
||||||
|
|
||||||
|
<DamageModelComponent
|
||||||
|
_enabled="1"
|
||||||
|
air_needed="0"
|
||||||
|
falling_damages="0"
|
||||||
|
fire_damage_amount="0.2"
|
||||||
|
|
||||||
|
fire_probability_of_ignition="0"
|
||||||
|
hp="25"
|
||||||
|
ragdoll_fx_forced="DISINTEGRATED"
|
||||||
|
is_on_fire="0"
|
||||||
|
mAirAreWeInWater="0"
|
||||||
|
mFallCount="0"
|
||||||
|
mFallHighestY="3.40282e+038"
|
||||||
|
mFallIsOnGround="0"
|
||||||
|
mFireProbability="100"
|
||||||
|
mIsOnFire="0"
|
||||||
|
mLastCheckTime="0"
|
||||||
|
mLastCheckX="0"
|
||||||
|
mLastCheckY="0"
|
||||||
|
materials_damage="1"
|
||||||
|
materials_how_much_damage="0.1"
|
||||||
|
materials_that_damage="acid"
|
||||||
|
ragdoll_filenames_file=""
|
||||||
|
ragdoll_offset_y="-6"
|
||||||
|
blood_material="lava"
|
||||||
|
blood_spray_material="lava"
|
||||||
|
ragdoll_material="lava"
|
||||||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_orange_$[1-3].xml"
|
||||||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_orange_$[1-3].xml"
|
||||||
|
>
|
||||||
|
<damage_multipliers
|
||||||
|
drill="0.4"
|
||||||
|
projectile="0.4"
|
||||||
|
>
|
||||||
|
</damage_multipliers>
|
||||||
|
</DamageModelComponent>
|
||||||
|
|
||||||
|
<PathFindingGridMarkerComponent
|
||||||
|
marker_offset_y="0"
|
||||||
|
marker_work_flag="16" >
|
||||||
|
</PathFindingGridMarkerComponent>
|
||||||
|
|
||||||
|
<GenomeDataComponent
|
||||||
|
_enabled="1"
|
||||||
|
herd_id="worm"
|
||||||
|
food_chain_rank="20"
|
||||||
|
is_predator="1" >
|
||||||
|
</GenomeDataComponent>
|
||||||
|
|
||||||
|
<CellEaterComponent
|
||||||
|
radius="9" >
|
||||||
|
</CellEaterComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_head.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-4"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.9"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.8"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.7"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.6"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.5"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.4"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.3"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.2"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.1"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.0"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.9"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.8"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_middle.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.7"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/endworm_tail.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="29"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.6"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<CameraBoundComponent
|
||||||
|
max_count="10"
|
||||||
|
distance="2000">
|
||||||
|
</CameraBoundComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<MusicEnergyAffectorComponent
|
||||||
|
energy_target="1">
|
||||||
|
</MusicEnergyAffectorComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals">
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals/worm">
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioLoopComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_name="animals/worm/movement_loop_big"
|
||||||
|
set_speed_parameter="1"
|
||||||
|
auto_play="1">
|
||||||
|
</AudioLoopComponent>
|
||||||
|
|
||||||
|
</Entity>
|
330
data/entities/animals/worm_skull.xml
Normal file
330
data/entities/animals/worm_skull.xml
Normal file
@ -0,0 +1,330 @@
|
|||||||
|
<Entity
|
||||||
|
tags="mortal,hittable,teleportable_NOT,homing_target,enemy,worm"
|
||||||
|
name="$animal_worm_skull"
|
||||||
|
>
|
||||||
|
<_Transform
|
||||||
|
position.x="0"
|
||||||
|
position.y="0"
|
||||||
|
rotation="0"
|
||||||
|
scale.x="1"
|
||||||
|
scale.y="1" >
|
||||||
|
</_Transform>
|
||||||
|
|
||||||
|
<WormComponent
|
||||||
|
acceleration="0.5"
|
||||||
|
gravity="0"
|
||||||
|
tail_gravity="0"
|
||||||
|
part_distance="12"
|
||||||
|
ground_check_offset="8"
|
||||||
|
hitbox_radius="9"
|
||||||
|
bite_damage="1"
|
||||||
|
target_kill_radius="10"
|
||||||
|
target_kill_ragdoll_force="10"
|
||||||
|
ragdoll_filename="data/ragdolls/worm_skull/filenames.txt"
|
||||||
|
eat_anim_wait_mult="0.05 "
|
||||||
|
jump_cam_shake="2" >
|
||||||
|
</WormComponent>
|
||||||
|
|
||||||
|
<WormAIComponent
|
||||||
|
speed="0"
|
||||||
|
speed_hunt="0"
|
||||||
|
direction_adjust_speed="0.005"
|
||||||
|
direction_adjust_speed_hunt="0.04"
|
||||||
|
hunt_box_radius="256"
|
||||||
|
random_target_box_radius="128"
|
||||||
|
new_hunt_target_check_every="240"
|
||||||
|
new_random_target_check_every="240"
|
||||||
|
give_up_area_radius="150"
|
||||||
|
give_up_time_frames="250"
|
||||||
|
>
|
||||||
|
</WormAIComponent>
|
||||||
|
|
||||||
|
<DamageModelComponent
|
||||||
|
_enabled="1"
|
||||||
|
air_needed="0"
|
||||||
|
falling_damages="0"
|
||||||
|
fire_damage_amount="0.2"
|
||||||
|
|
||||||
|
fire_probability_of_ignition="0.5"
|
||||||
|
hp="25"
|
||||||
|
ragdoll_fx_forced="DISINTEGRATED"
|
||||||
|
is_on_fire="0"
|
||||||
|
mAirAreWeInWater="0"
|
||||||
|
mFallCount="0"
|
||||||
|
mFallHighestY="3.40282e+038"
|
||||||
|
mFallIsOnGround="0"
|
||||||
|
mFireProbability="100"
|
||||||
|
mIsOnFire="0"
|
||||||
|
mLastCheckTime="0"
|
||||||
|
mLastCheckX="0"
|
||||||
|
mLastCheckY="0"
|
||||||
|
materials_damage="1"
|
||||||
|
materials_how_much_damage="0.1"
|
||||||
|
materials_that_damage="acid"
|
||||||
|
ragdoll_filenames_file=""
|
||||||
|
ragdoll_offset_y="-6"
|
||||||
|
blood_material="plasma_fading"
|
||||||
|
blood_spray_material="plasma_fading"
|
||||||
|
ragdoll_material="plasma_fading"
|
||||||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_blue_$[1-3].xml"
|
||||||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_blue_$[1-3].xml"
|
||||||
|
>
|
||||||
|
<damage_multipliers
|
||||||
|
drill="0.1"
|
||||||
|
>
|
||||||
|
</damage_multipliers>
|
||||||
|
</DamageModelComponent>
|
||||||
|
|
||||||
|
<PathFindingGridMarkerComponent
|
||||||
|
marker_offset_y="0"
|
||||||
|
marker_work_flag="16" >
|
||||||
|
</PathFindingGridMarkerComponent>
|
||||||
|
|
||||||
|
<GenomeDataComponent
|
||||||
|
_enabled="1"
|
||||||
|
herd_id="ghost"
|
||||||
|
food_chain_rank="20"
|
||||||
|
is_predator="1" >
|
||||||
|
</GenomeDataComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_head.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-4.0"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="22"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.9"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.8"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.7"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.6"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.5"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.4"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.3"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.2"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.1"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.0"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.9"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.8"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_body.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.7"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_skull_tail.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
emissive="1"
|
||||||
|
additive="1"
|
||||||
|
next_rect_animation=""
|
||||||
|
offset_x="22"
|
||||||
|
offset_y="16"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-2.6"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<CameraBoundComponent
|
||||||
|
max_count="10"
|
||||||
|
distance="2000">
|
||||||
|
</CameraBoundComponent>
|
||||||
|
|
||||||
|
<MusicEnergyAffectorComponent
|
||||||
|
energy_target="1">
|
||||||
|
</MusicEnergyAffectorComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals/ghost" >
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
</Entity>
|
248
data/entities/animals/worm_tiny.xml
Normal file
248
data/entities/animals/worm_tiny.xml
Normal file
@ -0,0 +1,248 @@
|
|||||||
|
<Entity
|
||||||
|
tags="mortal,hittable,teleportable_NOT,homing_target,enemy,worm"
|
||||||
|
name="$animal_worm_tiny"
|
||||||
|
>
|
||||||
|
<_Transform
|
||||||
|
position.x="0"
|
||||||
|
position.y="0"
|
||||||
|
rotation="0"
|
||||||
|
scale.x="1"
|
||||||
|
scale.y="1" >
|
||||||
|
</_Transform>
|
||||||
|
|
||||||
|
<WormComponent
|
||||||
|
acceleration="0.3"
|
||||||
|
gravity="0"
|
||||||
|
tail_gravity="0"
|
||||||
|
part_distance="6"
|
||||||
|
ground_check_offset="1"
|
||||||
|
hitbox_radius="2"
|
||||||
|
bite_damage="0.3"
|
||||||
|
target_kill_radius="7"
|
||||||
|
target_kill_ragdoll_force="8"
|
||||||
|
ragdoll_filename="data/ragdolls/worm_tiny/filenames.txt"
|
||||||
|
eat_anim_wait_mult="0.05 "
|
||||||
|
jump_cam_shake="0"
|
||||||
|
>
|
||||||
|
</WormComponent>
|
||||||
|
|
||||||
|
<WormAIComponent
|
||||||
|
speed="0"
|
||||||
|
speed_hunt="0"
|
||||||
|
direction_adjust_speed="0.010"
|
||||||
|
direction_adjust_speed_hunt="0.04"
|
||||||
|
hunt_box_radius="256"
|
||||||
|
random_target_box_radius="128"
|
||||||
|
new_hunt_target_check_every="120"
|
||||||
|
new_random_target_check_every="120"
|
||||||
|
give_up_area_radius="60"
|
||||||
|
give_up_time_frames="250"
|
||||||
|
>
|
||||||
|
</WormAIComponent>
|
||||||
|
|
||||||
|
<CellEaterComponent
|
||||||
|
radius="3"
|
||||||
|
only_stain="1" >
|
||||||
|
</CellEaterComponent>
|
||||||
|
|
||||||
|
<DamageModelComponent
|
||||||
|
_enabled="1"
|
||||||
|
air_needed="0"
|
||||||
|
|
||||||
|
falling_damages="0"
|
||||||
|
fire_damage_amount="0.2"
|
||||||
|
|
||||||
|
fire_probability_of_ignition="0.5"
|
||||||
|
hp="3"
|
||||||
|
blood_material="blood_worm"
|
||||||
|
blood_spray_material="blood_worm"
|
||||||
|
is_on_fire="0"
|
||||||
|
mAirAreWeInWater="0"
|
||||||
|
mFallCount="0"
|
||||||
|
mFallHighestY="3.40282e+038"
|
||||||
|
mFallIsOnGround="0"
|
||||||
|
mFireProbability="100"
|
||||||
|
mIsOnFire="0"
|
||||||
|
mLastCheckTime="0"
|
||||||
|
mLastCheckX="0"
|
||||||
|
mLastCheckY="0"
|
||||||
|
materials_damage="1"
|
||||||
|
materials_how_much_damage="0.1"
|
||||||
|
materials_that_damage="acid"
|
||||||
|
ragdoll_filenames_file=""
|
||||||
|
ragdoll_material="meat_worm"
|
||||||
|
ragdoll_offset_y="-6"
|
||||||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_yellow_$[1-3].xml"
|
||||||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_yellow_$[1-3].xml"
|
||||||
|
>
|
||||||
|
<damage_multipliers
|
||||||
|
drill="0.4"
|
||||||
|
>
|
||||||
|
</damage_multipliers>
|
||||||
|
</DamageModelComponent>
|
||||||
|
|
||||||
|
<PathFindingGridMarkerComponent
|
||||||
|
marker_offset_y="0"
|
||||||
|
marker_work_flag="16" >
|
||||||
|
</PathFindingGridMarkerComponent>
|
||||||
|
|
||||||
|
<GenomeDataComponent
|
||||||
|
_enabled="1"
|
||||||
|
herd_id="worm"
|
||||||
|
food_chain_rank="18"
|
||||||
|
is_predator="1" >
|
||||||
|
</GenomeDataComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tiny_head.xml"
|
||||||
|
rect_animation="eat"
|
||||||
|
next_rect_animation="eat"
|
||||||
|
offset_x="9"
|
||||||
|
offset_y="4.5"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-4.0"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tiny_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="9"
|
||||||
|
offset_y="4.5"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.9"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tiny_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="9"
|
||||||
|
offset_y="4.5"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.8"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tiny_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="9"
|
||||||
|
offset_y="4.5"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.7"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tiny_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="9"
|
||||||
|
offset_y="4.5"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.6"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tiny_body.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="9"
|
||||||
|
offset_y="4.5"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.5"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
<SpriteComponent
|
||||||
|
_enabled="1"
|
||||||
|
alpha="1"
|
||||||
|
image_file="data/enemies_gfx/worm_tiny_tail.xml"
|
||||||
|
rect_animation="stand"
|
||||||
|
next_rect_animation="stand"
|
||||||
|
offset_x="9"
|
||||||
|
offset_y="4.5"
|
||||||
|
update_transform="0"
|
||||||
|
z_index="-3.4"
|
||||||
|
>
|
||||||
|
</SpriteComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="0">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="1">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="2">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="3">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="4">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="5">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
<SpriteStainsComponent
|
||||||
|
fade_stains_towards_srite_top="0"
|
||||||
|
sprite_id="6">
|
||||||
|
</SpriteStainsComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<CameraBoundComponent
|
||||||
|
max_count="10"
|
||||||
|
distance="2000">
|
||||||
|
</CameraBoundComponent>
|
||||||
|
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals">
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_root="animals/worm">
|
||||||
|
</AudioComponent>
|
||||||
|
|
||||||
|
<AudioLoopComponent
|
||||||
|
file="data/audio/Desktop/animals.snd"
|
||||||
|
event_name="animals/worm/movement_loop_small"
|
||||||
|
set_speed_parameter="1"
|
||||||
|
auto_play="1">
|
||||||
|
</AudioLoopComponent>
|
||||||
|
|
||||||
|
</Entity>
|
Loading…
Reference in New Issue
Block a user