Prototype/TrivialSmoke: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Converted to SMW format  | 
				 0.18.10 (0.17.15): duration mandatory  | 
				||
| Line 8: | Line 8: | ||
{{Prototype property|animation|[[Types/Animation|Animation]]}}  | {{Prototype property|animation|[[Types/Animation|Animation]]}}  | ||
{{Prototype property|duration|[[Types/uint32|uint32]]}}  | |||
Can't be 0 - the smoke will never render.  | |||
== Optional properties ==  | == Optional properties ==  | ||
| Line 21: | Line 24: | ||
{{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 movement.  | ||
{{Prototype property|spread_duration|[[Types/uint32|uint32]]|0|optional=true}}  | {{Prototype property|spread_duration|[[Types/uint32|uint32]]|0|optional=true}}  | ||
| Line 36: | Line 36: | ||
{{Prototype property|cyclic|[[Types/bool|bool]]|false|optional=true}}  | {{Prototype property|cyclic|[[Types/bool|bool]]|false|optional=true}}  | ||
{{Prototype property|affected_by_wind|[[Types/bool|bool]]|true|optional=true}}  | {{Prototype property|affected_by_wind|[[Types/bool|bool]]|true|optional=true}}  | ||
Revision as of 09:45, 5 March 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 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.