Prototype/ArtilleryFlare: Difference between revisions
(descriptions for early_death_ticks and shots_per_flare) |
(0.18) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/ | {{Prototype parent|Prototype/Entity}} | ||
The entity spawned by the [[artillery targeting remote]]. | The entity spawned by the [[artillery targeting remote]]. | ||
{{Prototype TOC|artillery-flare}} | {{Prototype TOC|artillery-flare}} | ||
== Mandatory properties == | |||
This prototype inherits all the properties from [[Prototype/Entity]]. | |||
{{Prototype property|pictures|[[Types/AnimationVariations|AnimationVariations]]}} | |||
Picture variation count and individual frame count must be equal to shadow variation count. | |||
{{Prototype property|life_time|[[Types/uint16|uint16]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|shadows|[[Types/AnimationVariations|AnimationVariations]]|optional=true}} | |||
Shadow variation variation count and individual frame count must be equal to picture variation count. | |||
{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"}} | |||
{{Prototype property|render_layer_when_on_ground|[[Types/RenderLayer|RenderLayer]]|"lower-object"}} | |||
{{Prototype property|regular_trigger_effect|[[Types/TriggerEffect|TriggerEffect]]|optional=true}} | |||
{{Prototype property|regular_trigger_effect_frequency|[[Types/uint32|uint32]]|0|optional=true}} | |||
{{Prototype property|ended_in_water_trigger_effect|[[Types/TriggerEffect|TriggerEffect]]|optional=true}} | |||
{{Prototype property|movement_modifier_when_on_ground|[[Types/double|double]]|0.8|optional=true}} | |||
{{Prototype property|movement_modifier|[[Types/double|double]]|1|optional=true}} | |||
{{Prototype property|creation_shift|[[Types/vector|vector]]|optional=true}} | {{Prototype property|creation_shift|[[Types/vector|vector]]|optional=true}} | ||
Line 28: | Line 52: | ||
== Differing defaults == | == Differing defaults == | ||
<code>map_color</code> is mandatory. | <code>map_color</code> is mandatory. | ||
<code>selection_priority</code> defaults to 48 instead of 50. |
Revision as of 13:08, 20 February 2020
Template:Prototype parent The entity spawned by the artillery targeting remote.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
Template:Prototype property Picture variation count and individual frame count must be equal to shadow variation count.
Optional properties
Template:Prototype property Shadow variation variation count and individual frame count must be equal to picture variation count.
Template:Prototype property How many artillery shots should be fired at the position of this flare.
Template:Prototype property
How long this flare stays alive after shots_per_flare
amount of shots have been shot at it.
Template:Prototype property Name of a Prototype/AmmoCategory.
Differing defaults
map_color
is mandatory.
selection_priority
defaults to 48 instead of 50.