Prototype/Explosion
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/Explosion
Used to play an animation and a sound.
Extensions
- Prototype/FlameThrowerExplosion flame-thrower-explosion
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
animations
Type: AnimationVariations
Optional properties
sound
Type: Sound
smoke
Type: string
Name of a trivial-smoke prototype. Mandatory if smoke_count
> 0.
height
Type: float
Default: 1
smoke_slow_down_factor
Type: float
Default: 0
smoke_count
Type: uint16
Default: 0
rotate
Type: bool
Default: false
beam
Type: bool
Default: false
correct_rotation
Type: bool
Default: false
scale_animation_speed
Type: bool
Default: false
fade_in_duration
Type: uint8
Default: 0
fade_out_duration
Type: uint8
Default: 0
render_layer
Type: RenderLayer
Default: "explosion"
scale_in_duration
Type: uint8
Default: 0
scale_out_duration
Type: uint8
Default: 0
scale_end
Type: float
Default: 1
scale_increment_per_tick
Type: float
Default: 0
light_intensity_factor_initial
Type: float
Default: 0.0f
Silently clamped to be between 0 and 1.
light_intensity_factor_final
Type: float
Default: 0.0f
Silently clamped to be between 0 and 1.
light_size_factor_initial
Type: float
Default: 0.05f
Silently clamped to be between 0 and 1.
light_size_factor_final
Type: float
Default: 0.1f
Silently clamped to be between 0 and 1.
light
Type: LightDefinition
light_intensity_peak_start_progress
Type: float
Default: 0.0f
light_intensity_peak_end_progress
Type: float
Default: 0.9f
light_size_peak_start_progress
Type: float
Default: 0.1f
light_size_peak_end_progress
Type: float
Default: 0.5f
scale_initial
Type: float
Default: 1
scale_initial_deviation
Type: float
Default: 0
scale
Type: float
Default: 1
scale_deviation
Type: float
Default: 0