Consistency/data/entities/animals/lukki/lukki_creepy.xml

198 lines
5.0 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity tags="enemy,mortal,hittable,homing_target,teleportable_NOT,music_energy_100,lukki,glue_NOT" name="$animal_lukki_creepy">
<ItemChestComponent level="4" enemy_drop="1" > </ItemChestComponent>
<LuaComponent
execute_every_n_frame="-1"
script_death="data/scripts/items/drop_money.lua"
remove_after_executed="1" >
</LuaComponent>
<!-- art - main body ------------------------>
<LightComponent
_enabled="1"
radius="32"
r="0"
g="50"
b="30"
offset_y="0"
fade_out_time="1.5" >
</LightComponent>
<SpriteComponent
image_file="data/entities/animals/lukki/lukki_feet/lukki_sprite_creepy.xml"
offset_x="0"
offset_y="0"
>
</SpriteComponent>
<!-- AI ------------------------>
<LimbBossComponent
state="1">
</LimbBossComponent>
<PathFindingComponent
can_dive="1"
can_fly="1"
can_jump="0"
can_swim_on_surface="1"
can_walk="1"
cost_of_flying="500"
distance_to_reach_node_x="20"
distance_to_reach_node_y="20"
frames_between_searches="20"
frames_to_get_stuck="120"
initial_jump_lob="1"
initial_jump_max_distance_x="100"
initial_jump_max_distance_y="60"
iterations_max_no_goal="9999999"
iterations_max_with_goal="145000"
jump_speed="200"
max_jump_distance_from_camera="400"
search_depth_max_no_goal="120"
search_depth_max_with_goal="145000"
y_walking_compensation="8" >
</PathFindingComponent>
<PathFindingGridMarkerComponent
_enabled="1"
marker_offset_x="0"
marker_offset_y="-6"
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
<!-- physics ------------------------>
<PhysicsAIComponent
target_vec_max_len="15.0"
force_coeff="10.0"
force_balancing_coeff="0.8"
force_max="100"
torque_coeff="50"
torque_balancing_coeff="4"
torque_max="50.0"
damage_deactivation_probability="0"
damage_deactivation_time_min="2"
damage_deactivation_time_max="10" >
</PhysicsAIComponent>
<PhysicsBodyComponent
force_add_update_areas="1"
allow_sleep="1"
angular_damping="0.02"
fixed_rotation="1"
is_bullet="0"
linear_damping="0" >
</PhysicsBodyComponent>
<PhysicsShapeComponent
is_circle="1"
radius_x="6"
radius_y="6"
friction="0.0"
restitution="0.3" >
</PhysicsShapeComponent>
<!-- damage ------------------------>
<DamageModelComponent
hp="6"
air_needed="0"
falling_damages="0"
fire_damage_amount="0.2"
fire_probability_of_ignition="0.5"
blood_material="slime_green"
is_on_fire="0"
materials_damage="1"
materials_how_much_damage="0.1"
materials_that_damage="acid"
ragdoll_filenames_file=""
ragdoll_material="meat_slime_green"
ragdoll_offset_y="-6"
ragdollify_child_entity_sprites="1"
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_green_$[1-3].xml"
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_green_$[1-3].xml"
>
<damage_multipliers
melee="2.0"
projectile="1.0"
explosion="0.5"
electricity="1.2"
fire="1.2" >
</damage_multipliers>
</DamageModelComponent>
<GenomeDataComponent
food_chain_rank="5"
herd_id="spider"
is_predator="1" >
</GenomeDataComponent>
<!-- center hitbox (weak spot) -->
<HitboxComponent
_tags="hitbox_weak_spot"
aabb_min_x="-10"
aabb_max_x="10"
aabb_min_y="-10"
aabb_max_y="10"
damage_multiplier="1.0" >
</HitboxComponent>
<!-- etc ------------------------>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals" >
</AudioComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/lukki" >
</AudioComponent>
<SpriteAnimatorComponent
rotate_to_surface_normal="0"
target_sprite_comp_name="character" >
</SpriteAnimatorComponent>
<ParticleEmitterComponent
emitted_material_name="radioactive_liquid_yellow"
offset.x="-1"
offset.y="0"
x_pos_offset_min="-3"
y_pos_offset_min="-3"
x_pos_offset_max="3"
y_pos_offset_max="3"
x_vel_min="-4"
x_vel_max="4"
y_vel_min="-10"
y_vel_max="5"
count_min="1"
count_max="5"
lifetime_min="0.3"
lifetime_max="1.6"
render_on_grid="1"
create_real_particles="0"
emit_cosmetic_particles="1"
emission_interval_min_frames="12"
emission_interval_max_frames="25"
is_emitting="1" >
</ParticleEmitterComponent>
<!-- limbs ------------------------>
<Entity> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb.xml" /> </Entity>
<Entity> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb.xml" /> </Entity>
<Entity> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb.xml" /> </Entity>
<Entity> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb.xml" /> </Entity>
<Entity> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb.xml" /> </Entity>
<Entity> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb.xml" /> </Entity>
<Entity> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb.xml" /> </Entity>
<Entity name="limb_attacker"> <Base file="data/entities/animals/lukki/lukki_feet/lukki_limb_attacker.xml" /> </Entity>
</Entity>