103 lines
2.2 KiB
XML
103 lines
2.2 KiB
XML
<Entity
|
|
name="$projectile_default"
|
|
>
|
|
|
|
<Base file="data/entities/base_projectile.xml" >
|
|
<VelocityComponent
|
|
gravity_y="250"
|
|
air_friction="0.05"
|
|
mass="0.05"
|
|
>
|
|
</VelocityComponent>
|
|
</Base>
|
|
|
|
<ProjectileComponent
|
|
_enabled="1"
|
|
lob_min="0.8"
|
|
lob_max="1.0"
|
|
speed_min="40"
|
|
speed_max="60"
|
|
die_on_low_velocity="0"
|
|
on_death_explode="1"
|
|
on_death_gfx_leave_sprite="0"
|
|
on_lifetime_out_explode="1"
|
|
explosion_dont_damage_shooter="1"
|
|
damage="0"
|
|
on_collision_die="1"
|
|
lifetime="200"
|
|
knockback_force="1.0"
|
|
>
|
|
<damage_by_type fire="0.8" >
|
|
</damage_by_type>
|
|
<config_explosion
|
|
never_cache="1"
|
|
camera_shake="0"
|
|
explosion_radius="6"
|
|
explosion_sprite="data/particles/explosion_016_plasma_pink.xml"
|
|
explosion_sprite_lifetime="0.0"
|
|
create_cell_probability="0"
|
|
create_cell_material=""
|
|
ray_energy="5000"
|
|
hole_destroy_liquid="1"
|
|
hole_enabled="1"
|
|
hole_image="data/temp/explosion_hole.png"
|
|
explosion_sprite_emissive="1"
|
|
explosion_sprite_additive="1"
|
|
particle_effect="0"
|
|
damage_mortals="0"
|
|
physics_explosion_power.min="0.13"
|
|
physics_explosion_power.max="0.23"
|
|
physics_throw_enabled="1"
|
|
shake_vegetation="1"
|
|
sparks_enabled="0"
|
|
sparks_count_max="0"
|
|
sparks_count_min="0"
|
|
light_fade_time="0.8"
|
|
light_r="15"
|
|
light_g="15"
|
|
light_b="40"
|
|
stains_enabled="0"
|
|
stains_image="data/temp/explosion_stain.png" >
|
|
</config_explosion>
|
|
</ProjectileComponent>
|
|
|
|
<SpriteComponent
|
|
_enabled="1"
|
|
alpha="1"
|
|
image_file="data/projectiles_gfx/grenade_large.xml"
|
|
next_rect_animation=""
|
|
offset_x="0"
|
|
offset_y="0"
|
|
rect_animation="spawn"
|
|
z_index="0.5"
|
|
>
|
|
</SpriteComponent>
|
|
|
|
<LightComponent
|
|
_enabled="1"
|
|
radius="150"
|
|
r="130"
|
|
g="35"
|
|
b="90">
|
|
</LightComponent>
|
|
|
|
<!--
|
|
<AudioComponent
|
|
file="data/audio/Desktop/projectiles.bank"
|
|
event_root="projectiles/magic" >
|
|
</AudioComponent>
|
|
-->
|
|
|
|
<LuaComponent
|
|
script_source_file="data/entities/animals/boss_centipede/firepillar.lua"
|
|
execute_on_removed="1"
|
|
execute_every_n_frame="-1"
|
|
>
|
|
</LuaComponent>
|
|
|
|
<VariableStorageComponent
|
|
name="projectile_file"
|
|
value_string="data/entities/animals/boss_centipede/firepillar.xml"
|
|
>
|
|
</VariableStorageComponent>
|
|
</Entity> |