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. |
Latest revision as of 13:08, 20 February 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/ArtilleryFlare
The entity spawned by the artillery targeting remote.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
pictures
Type: AnimationVariations
Picture variation count and individual frame count must be equal to shadow variation count.
life_time
Type: uint16
Optional properties
shadows
Type: AnimationVariations
Shadow variation variation count and individual frame count must be equal to picture variation count.
render_layer
Type: RenderLayer
Default: "object"
render_layer_when_on_ground
Type: RenderLayer
Default: "lower-object"
regular_trigger_effect
Type: TriggerEffect
regular_trigger_effect_frequency
Type: uint32
Default: 0
ended_in_water_trigger_effect
Type: TriggerEffect
movement_modifier_when_on_ground
Type: double
Default: 0.8
movement_modifier
Type: double
Default: 1
creation_shift
Type: vector
initial_speed
Type: vector
initial_height
Type: float
Default: 0
initial_vertical_speed
Type: float
Default: 0
initial_frame_speed
Type: float
Default: 1
shots_per_flare
Type: uint32
Default: 1
How many artillery shots should be fired at the position of this flare.
early_death_ticks
Type: uint32
Default: 3 * 60
How long this flare stays alive after shots_per_flare
amount of shots have been shot at it.
shot_category
Type: string
Name of a Prototype/AmmoCategory.
Differing defaults
map_color
is mandatory.
selection_priority
defaults to 48 instead of 50.