Prototype/Explosion: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(0.18.35: render_layer added) |
||
Line 16: | Line 16: | ||
{{Prototype property|sound|[[Types/Sound|Sound]]|optional=true}} | {{Prototype property|sound|[[Types/Sound|Sound]]|optional=true}} | ||
{{Prototype property|smoke|[[Types/string|string]]|optional=true}} | |||
Name of a trivial-smoke prototype. Mandatory if <code>smoke_count</code> > 0. | |||
{{Prototype property|height|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|smoke_slow_down_factor|[[Types/float|float]]|0|optional=true}} | |||
{{Prototype property|smoke_count|[[Types/uint16|uint16]]|0|optional=true}} | |||
{{Prototype property|rotate|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|rotate|[[Types/bool|bool]]|false|optional=true}} | ||
{{Prototype property|beam|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|beam|[[Types/bool|bool]]|false|optional=true}} | ||
{{Prototype property|correct_rotation|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|correct_rotation|[[Types/bool|bool]]|false|optional=true}} | ||
{{Prototype property| | {{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"explosion"|optional=true}} | ||
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | {{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}} |
Revision as of 07:48, 8 July 2020
Template:Prototype parent Used to play an animation and a sound.
Extensions
- Prototype/FlameThrowerExplosion flame-thrower-explosion
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
Template:Prototype property Must have at least 1 animation frame.
Optional properties
Template:Prototype property
Name of a trivial-smoke prototype. Mandatory if smoke_count
> 0.