Prototype/FluidStream: Difference between revisions
(Converted to SMW format) |
m (→Optional properties: particle_buffer_size detail) |
||
Line 27: | Line 27: | ||
{{Prototype property|particle_buffer_size|[[Types/uint32|uint32]]|20|optional=true}} | {{Prototype property|particle_buffer_size|[[Types/uint32|uint32]]|20|optional=true}} | ||
Number of spawned child particles of the stream. Must be greater than 0 and less than 256. | |||
{{Prototype property|particle_spawn_timeout|[[Types/uint16|uint16]]|4 * <code>particle_spawn_interval</code>|optional=true}} | {{Prototype property|particle_spawn_timeout|[[Types/uint16|uint16]]|4 * <code>particle_spawn_interval</code>|optional=true}} |
Revision as of 21:38, 14 June 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/FluidStream
Used for example for the handheld flamethrower.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
particle_spawn_interval
Type: uint16
particle_horizontal_speed
Type: double
Must be larger than 0. particle_horizontal_speed has to be greater than particle_horizontal_speed_deviation.
particle_horizontal_speed_deviation
Type: double
particle_vertical_acceleration
Type: double
Optional properties
initial_action
Type: Trigger
action
Type: Trigger
special_neutral_target_damage
Type: DamagePrototype
width
Type: float
Default: 0.5
particle_buffer_size
Type: uint32
Default: 20
Number of spawned child particles of the stream. Must be greater than 0 and less than 256.
particle_spawn_timeout
Type: uint16
Default: 4 * particle_spawn_interval
particle_start_alpha
Type: float
Default: 1
particle_end_alpha
Type: float
Default: 1
particle_start_scale
Type: float
Default: 1
particle_alpha_per_part
Type: float
Default: 1
particle_scale_per_part
Type: float
Default: 1
particle_fade_out_threshold
Type: float
Default: 1
Value between 0 and 1.
particle_loop_exit_threshold
Type: float
Default: 0
Value between 0 and 1.
particle_loop_frame_count
Type: uint16
Default: 1
Will be set to 1 by the game if less than 1.
particle_fade_out_duration
Type: uint16
Default: max uint16 (65553)
Will be set to 1 by the game if less than 1.
spine_animation
Type: Animation
particle
Type: Animation
shadow
Type: Animation
smoke_sources
Type: table of SmokeSource
progress_to_create_smoke
Type: float
Default: 0.5
stream_light
Type: LightDefinition
ground_light
Type: LightDefinition
target_position_deviation
Type: double
Default: 0
oriented_particle
Type: bool
Default: false
shadow_scale_enabled
Type: bool
Default: false