Prototype/Smoke: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
m words  | 
				 Descriptions and more  | 
				||
| Line 18: | Line 18: | ||
{{Prototype property|duration|[[Types/uint32|uint32]]|0|optional=true}}  | {{Prototype property|duration|[[Types/uint32|uint32]]|0|optional=true}}  | ||
May not be 0 if cyclic is true.  | |||
{{Prototype property|spread_duration|[[Types/uint32|uint32]]|0|optional=true}}  | {{Prototype property|spread_duration|[[Types/uint32|uint32]]|0|optional=true}}  | ||
{{Prototype property|fade_away_duration|[[Types/uint32|uint32]]|0|optional=true}}  | {{Prototype property|fade_away_duration|[[Types/uint32|uint32]]|0|optional=true}}  | ||
<code>fade_in_duration</code> + <code>fade_away_duration</code> must be <= <code>duration</code>.  | |||
{{Prototype property|fade_in_duration|[[Types/uint32|uint32]]|0|optional=true}}  | {{Prototype property|fade_in_duration|[[Types/uint32|uint32]]|0|optional=true}}  | ||
<code>fade_in_duration</code> + <code>fade_away_duration</code> must be <= <code>duration</code>.  | |||
{{Prototype property|start_scale|[[Types/double|double]]|1.0|optional=true}}  | {{Prototype property|start_scale|[[Types/double|double]]|1.0|optional=true}}  | ||
| Line 44: | Line 47: | ||
{{Prototype property|glow_animation|[[Types/Animation|Animation]]|optional=true}}  | {{Prototype property|glow_animation|[[Types/Animation|Animation]]|optional=true}}  | ||
== Mandatory values ==  | |||
Smoke must have a collision box size of zero.  | |||
Revision as of 12:44, 16 March 2020
Template:Prototype parent Abstract entity that has an animation.
Extensions
- Prototype/SimpleSmoke smoke (deprecated)
 - Prototype/SmokeWithTrigger smoke-with-trigger
 
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
Optional properties
Template:Prototype property May not be 0 if cyclic is true.
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.
Template:Prototype property Value between 0 and 1, with 0 being no movement.
Mandatory values
Smoke must have a collision box size of zero.