113 lines
2.6 KiB
XML
113 lines
2.6 KiB
XML
|
<Entity
|
||
|
name="$projectile_default"
|
||
|
>
|
||
|
|
||
|
<Base file="data/entities/base_projectile.xml" >
|
||
|
<VelocityComponent
|
||
|
gravity_y="0"
|
||
|
air_friction="-1.5"
|
||
|
mass="0.06"
|
||
|
>
|
||
|
</VelocityComponent>
|
||
|
</Base>
|
||
|
|
||
|
<ProjectileComponent
|
||
|
_enabled="1"
|
||
|
lob_min="0.8"
|
||
|
lob_max="1.0"
|
||
|
speed_min="100"
|
||
|
speed_max="190"
|
||
|
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.5"
|
||
|
go_through_this_material="crystal"
|
||
|
on_collision_die="1"
|
||
|
velocity_sets_scale="1"
|
||
|
velocity_sets_scale_coeff="4.5"
|
||
|
lifetime="55"
|
||
|
muzzle_flash_file="data/entities/particles/muzzle_flashes/muzzle_flash_large_pink.xml"
|
||
|
shoot_light_flash_r="255"
|
||
|
shoot_light_flash_g="90"
|
||
|
shoot_light_flash_b="245"
|
||
|
shoot_light_flash_radius="75"
|
||
|
knockback_force="2.0"
|
||
|
>
|
||
|
<config_explosion
|
||
|
never_cache="1"
|
||
|
camera_shake="0"
|
||
|
explosion_radius="10"
|
||
|
explosion_sprite="data/particles/explosion_016_plasma.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.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="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/orb_blue.xml"
|
||
|
next_rect_animation=""
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
|
||
|
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/projectiles_gfx/orb_blue.xml"
|
||
|
next_rect_animation=""
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LightComponent
|
||
|
_enabled="1"
|
||
|
radius="150"
|
||
|
r="10"
|
||
|
g="35"
|
||
|
b="130">
|
||
|
</LightComponent>
|
||
|
|
||
|
<AudioComponent
|
||
|
file="data/audio/Desktop/projectiles.bank"
|
||
|
event_root="projectiles/magic" >
|
||
|
</AudioComponent>
|
||
|
|
||
|
<VariableStorageComponent
|
||
|
name="projectile_file"
|
||
|
value_string="data/entities/animals/boss_centipede/orb_homing_part.xml"
|
||
|
>
|
||
|
</VariableStorageComponent>
|
||
|
</Entity>
|