103 lines
2.2 KiB
XML
103 lines
2.2 KiB
XML
|
<Entity tags="hittable" name="$projectile_default">
|
||
|
|
||
|
<Base file="data/entities/base_projectile.xml" >
|
||
|
<VelocityComponent
|
||
|
gravity_y="10"
|
||
|
air_friction="0">
|
||
|
</VelocityComponent>
|
||
|
</Base>
|
||
|
|
||
|
<ProjectileComponent
|
||
|
_enabled="1"
|
||
|
speed_min="150"
|
||
|
speed_max="155"
|
||
|
on_death_explode="1"
|
||
|
on_death_gfx_leave_sprite="0"
|
||
|
on_lifetime_out_explode="1"
|
||
|
on_collision_die="1"
|
||
|
die_on_low_velocity="1"
|
||
|
damage="0.8"
|
||
|
lifetime="430" >
|
||
|
<config_explosion
|
||
|
never_cache="1"
|
||
|
damage="0.55"
|
||
|
camera_shake="3.5"
|
||
|
explosion_radius="5"
|
||
|
explosion_sprite="data/particles/explosion_032_slimeburst.xml"
|
||
|
explosion_sprite_lifetime="0.34"
|
||
|
create_cell_probability="5"
|
||
|
create_cell_material="radioactive_liquid_fading"
|
||
|
hole_destroy_liquid="0"
|
||
|
hole_enabled="1"
|
||
|
hole_image="data/temp/explosion_hole.png"
|
||
|
particle_effect="0"
|
||
|
damage_mortals="1"
|
||
|
physics_explosion_power.max="0.6"
|
||
|
physics_explosion_power.max="0.9"
|
||
|
physics_throw_enabled="1"
|
||
|
shake_vegetation="1"
|
||
|
sparks_count_max="20"
|
||
|
sparks_count_min="7"
|
||
|
sparks_enabled="0"
|
||
|
stains_enabled="1"
|
||
|
stains_radius="9"
|
||
|
audio_enabled="0" >
|
||
|
</config_explosion>
|
||
|
</ProjectileComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/projectiles_gfx/slimeball_small.xml"
|
||
|
next_rect_animation=""
|
||
|
offset_x="8"
|
||
|
offset_y="6"
|
||
|
rect_animation=""
|
||
|
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<ParticleEmitterComponent
|
||
|
emitted_material_name="radioactive_liquid_fading"
|
||
|
count_min="1"
|
||
|
count_max="2"
|
||
|
offset.x="0"
|
||
|
offset.y="0"
|
||
|
x_pos_offset_min="-1"
|
||
|
y_pos_offset_min="-1"
|
||
|
x_pos_offset_max="1"
|
||
|
y_pos_offset_max="1"
|
||
|
x_vel_min="-50"
|
||
|
x_vel_max="50"
|
||
|
y_vel_min="-50"
|
||
|
y_vel_max="50"
|
||
|
count_min="5"
|
||
|
count_max="5"
|
||
|
lifetime_min="0.1"
|
||
|
lifetime_max="0.3"
|
||
|
create_real_particles="1"
|
||
|
emit_cosmetic_particles="0"
|
||
|
emission_interval_min_frames="1"
|
||
|
emission_interval_max_frames="2"
|
||
|
is_emitting="1" >
|
||
|
</ParticleEmitterComponent>
|
||
|
|
||
|
<LightComponent
|
||
|
_enabled="1"
|
||
|
radius="30"
|
||
|
r="99"
|
||
|
g="205"
|
||
|
b="139"
|
||
|
offset_y="-9"
|
||
|
>
|
||
|
</LightComponent>
|
||
|
|
||
|
<VariableStorageComponent
|
||
|
name="projectile_file"
|
||
|
value_string="data/entities/animals/boss_limbs/slime_boss_limbs.xml"
|
||
|
>
|
||
|
</VariableStorageComponent>
|
||
|
|
||
|
</Entity>
|
||
|
|