107 lines
2.4 KiB
XML
107 lines
2.4 KiB
XML
|
<Entity
|
||
|
name="$projectile_default"
|
||
|
>
|
||
|
|
||
|
<Base file="data/entities/base_projectile.xml" >
|
||
|
<VelocityComponent
|
||
|
gravity_y="0"
|
||
|
air_friction="0"
|
||
|
>
|
||
|
</VelocityComponent>
|
||
|
</Base>
|
||
|
|
||
|
<ProjectileComponent
|
||
|
_enabled="1"
|
||
|
lob_min="0.8"
|
||
|
lob_max="1.0"
|
||
|
speed_min="150"
|
||
|
speed_max="150"
|
||
|
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="1.1"
|
||
|
on_collision_die="1"
|
||
|
lifetime="100" >
|
||
|
<config_explosion
|
||
|
never_cache="1"
|
||
|
camera_shake="0"
|
||
|
explosion_radius="9"
|
||
|
explosion_sprite="data/particles/explosion_016_plasma_pink.xml"
|
||
|
explosion_sprite_lifetime="0.0"
|
||
|
explosion_sprite_additive="1"
|
||
|
explosion_sprite_emissive="1"
|
||
|
create_cell_probability="0"
|
||
|
create_cell_material=""
|
||
|
ray_energy="5000"
|
||
|
hole_destroy_liquid="1"
|
||
|
hole_enabled="1"
|
||
|
hole_image="data/temp/explosion_hole.png"
|
||
|
particle_effect="0"
|
||
|
damage_mortals="0"
|
||
|
physics_explosion_power.max="0.2"
|
||
|
physics_explosion_power.max="0.3"
|
||
|
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="10"
|
||
|
light_g="60"
|
||
|
light_b="10"
|
||
|
stains_enabled="0"
|
||
|
stains_image="data/temp/explosion_stain.png" >
|
||
|
</config_explosion>
|
||
|
</ProjectileComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/projectiles_gfx/orb_pink.xml"
|
||
|
next_rect_animation=""
|
||
|
offset_x="6"
|
||
|
offset_y="6"
|
||
|
rect_animation="spawn"
|
||
|
|
||
|
|
||
|
update_transform_rotation="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/projectiles_gfx/orb_pink.xml"
|
||
|
next_rect_animation=""
|
||
|
offset_x="6"
|
||
|
offset_y="6"
|
||
|
rect_animation="spawn"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
|
||
|
update_transform_rotation="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LightComponent
|
||
|
_enabled="1"
|
||
|
radius="150"
|
||
|
r="30"
|
||
|
g="30"
|
||
|
b="90">
|
||
|
</LightComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
_enabled="1"
|
||
|
script_source_file="data/entities/animals/boss_limbs/orb_boss_limbs.lua"
|
||
|
execute_every_n_frame="5">
|
||
|
</LuaComponent>
|
||
|
|
||
|
<VariableStorageComponent
|
||
|
name="projectile_file"
|
||
|
value_string="data/entities/animals/boss_limbs/orb_boss_limbs.xml"
|
||
|
>
|
||
|
</VariableStorageComponent>
|
||
|
</Entity>
|