Prototype/TrivialSmoke: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Note 255 instance limit) |
||
Line 1: | Line 1: | ||
{{Prototype parent|PrototypeBase}} | {{Prototype parent|PrototypeBase}} | ||
Smoke, but it's not an entity for optimization purposes. | Smoke, but it's not an entity for optimization purposes. Only 255 instances of this prototype may be defined. | ||
{{Prototype TOC|trivial-smoke}} | {{Prototype TOC|trivial-smoke}} |
Revision as of 12:56, 23 April 2021
Template:Prototype parent Smoke, but it's not an entity for optimization purposes. Only 255 instances of this prototype may be defined.
Mandatory properties
This prototype inherits all the properties from PrototypeBase.
Template:Prototype property Can't be 0 - the smoke will never render.
Optional properties
Template:Prototype property Value between 0 and 1, with 1 being no slowdown and 0 being no movement.
Template:Prototype property
fade_in_duration
+ fade_away_duration
must be <= duration
.
Template:Prototype property
fade_in_duration
+ fade_away_duration
must be <= duration
.
Template:Prototype property
Smoke always moves randomly unless movement_slow_down_factor
is 0. If affected_by_wind
is true, the smoke will also be moved by wind.