146 lines
3.1 KiB
XML
146 lines
3.1 KiB
XML
<Entity
|
|
name="$projectile_default"
|
|
>
|
|
|
|
<Base file="data/entities/base_projectile.xml" >
|
|
<VelocityComponent
|
|
gravity_y="250"
|
|
air_friction="0"
|
|
mass="0.05"
|
|
>
|
|
</VelocityComponent>
|
|
</Base>
|
|
|
|
<ProjectileComponent
|
|
_enabled="1"
|
|
lob_min="0.8"
|
|
lob_max="1.0"
|
|
speed_min="350"
|
|
speed_max="350"
|
|
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="300"
|
|
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.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.3"
|
|
physics_explosion_power.max="0.4"
|
|
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="60"
|
|
light_g="60"
|
|
light_b="2"
|
|
stains_enabled="0"
|
|
stains_image="data/temp/explosion_stain.png" >
|
|
</config_explosion>
|
|
</ProjectileComponent>
|
|
|
|
<ParticleEmitterComponent
|
|
emitted_material_name="fire"
|
|
gravity.y="0.10"
|
|
offset.x="0"
|
|
offset.y="0"
|
|
gravity.y="0.10"
|
|
x_pos_offset_min="-2"
|
|
y_pos_offset_min="-2"
|
|
x_pos_offset_max="2"
|
|
y_pos_offset_max="2"
|
|
x_vel_min="-2"
|
|
x_vel_max="2"
|
|
y_vel_min="-2"
|
|
y_vel_max="2"
|
|
count_min="5"
|
|
count_max="34"
|
|
lifetime_min="0.6"
|
|
lifetime_max="0.8"
|
|
render_on_grid="1"
|
|
is_trail="1"
|
|
trail_gap="0.1"
|
|
airflow_force="1.1"
|
|
airflow_time="0.101"
|
|
airflow_scale="2.01"
|
|
fade_based_on_lifetime="1"
|
|
create_real_particles="1"
|
|
emit_cosmetic_particles="0"
|
|
emission_interval_min_frames="0"
|
|
emission_interval_max_frames="1"
|
|
is_emitting="1" >
|
|
</ParticleEmitterComponent>
|
|
|
|
<ParticleEmitterComponent
|
|
_tags="enabled_in_world,enabled_in_hand,fire"
|
|
emitted_material_name="spark"
|
|
custom_style="FIRE"
|
|
offset.x="0"
|
|
offset.y="0"
|
|
x_pos_offset_min="-4"
|
|
x_pos_offset_max="4"
|
|
y_pos_offset_min="-4"
|
|
y_pos_offset_max="4"
|
|
x_vel_min="-2"
|
|
x_vel_max="2"
|
|
y_vel_min="-20"
|
|
y_vel_max="-10"
|
|
count_min="4"
|
|
count_max="6"
|
|
lifetime_min="0.3"
|
|
lifetime_max="0.4"
|
|
create_real_particles="1"
|
|
emit_cosmetic_particles="0"
|
|
emission_interval_min_frames="0"
|
|
emission_interval_max_frames="1"
|
|
is_emitting="1" >
|
|
</ParticleEmitterComponent>
|
|
|
|
<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="180"
|
|
g="140"
|
|
b="30">
|
|
</LightComponent>
|
|
|
|
<VariableStorageComponent
|
|
name="projectile_file"
|
|
value_string="data/entities/animals/boss_centipede/firepillar_part.xml"
|
|
>
|
|
</VariableStorageComponent>
|
|
</Entity> |