Prototype/ParticleSource: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Entity}} | {{Prototype parent|Prototype/Entity}} | ||
Creates particles. | |||
{{Prototype TOC|particle-source}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Entity]]. | This prototype inherits all the properties from [[Prototype/Entity]]. | ||
{{Prototype property|particle|[[Types/string|string]]}} | |||
Name of an entity. | Name of an entity. | ||
{{Prototype property|time_to_live|[[Types/float|float]]}} | |||
{{Prototype property|time_before_start|[[Types/float|float]]}} | |||
{{Prototype property|height|[[Types/float|float]]}} | |||
{{Prototype property|vertical_speed|[[Types/float|float]]}} | |||
{{Prototype property|horizontal_speed|[[Types/float|float]]}} | |||
=== | == Optional properties == | ||
{{Prototype property|time_to_live_deviation|[[Types/float|float]]|0|optional=true}} | |||
{{Prototype property|time_before_start_deviation|[[Types/float|float]]|0|optional=true}} | |||
{{Prototype property|height_deviation|[[Types/float|float]]|0|optional=true}} | |||
{{Prototype property|vertical_speed_deviation|[[Types/float|float]]|0|optional=true}} | |||
{{Prototype property|horizontal_speed_deviation|[[Types/float|float]]|0|optional=true}} |
Revision as of 21:18, 5 August 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/ParticleSource
Creates particles.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
particle
Type: string
Name of an entity.
time_to_live
Type: float
time_before_start
Type: float
height
Type: float
vertical_speed
Type: float
horizontal_speed
Type: float
Optional properties
time_to_live_deviation
Type: float
Default: 0
time_before_start_deviation
Type: float
Default: 0
height_deviation
Type: float
Default: 0
vertical_speed_deviation
Type: float
Default: 0
horizontal_speed_deviation
Type: float
Default: 0