Prototype/TrivialSmoke: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 0.18.10 (0.17.15): duration mandatory  | 
				No edit summary  | 
				||
| Line 23: | Line 23: | ||
{{Prototype property|movement_slow_down_factor|[[Types/double|double]]|0.995|optional=true}}  | {{Prototype property|movement_slow_down_factor|[[Types/double|double]]|0.995|optional=true}}  | ||
Value between 0 and 1, with 1 being no movement.  | Value between 0 and 1, with 1 being no slowdown and 0 being no movement.  | ||
{{Prototype property|spread_duration|[[Types/uint32|uint32]]|0|optional=true}}  | {{Prototype property|spread_duration|[[Types/uint32|uint32]]|0|optional=true}}  | ||
Revision as of 06:56, 5 November 2020
Template:Prototype parent Smoke, but it's not an entity for optimization purposes.
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 1. If affected_by_wind is true, the smoke will also be moved by wind.