Prototype/ArtilleryProjectile: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(0.18.10: rotatable) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Entity}} | {{Prototype parent|Prototype/Entity}} | ||
The projectile shot by [[artillery]]. | |||
{{Prototype TOC|artillery-projectile}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Entity]]. | This prototype inherits all the properties from [[Prototype/Entity]]. | ||
{{Prototype property|reveal_map|[[Types/bool|bool]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}} | |||
{{Prototype property|shadow|[[Types/Sprite|Sprite]]|optional=true}} | |||
{{Prototype property|chart_picture|[[Types/Sprite|Sprite]]|optional=true}} | |||
{{Prototype property|action|[[Types/Trigger|Trigger]]|optional=true}} | |||
{{Prototype property|final_action|[[Types/Trigger|Trigger]]|optional=true}} | |||
{{Prototype property|height_from_ground|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|rotatable|[[Types/bool|bool]]|true|optional=true}} | |||
Whether the picture of the projectile is rotated to match the direction of travel. | |||
== Mandatory values/properties == | == Mandatory values/properties == |
Latest revision as of 17:29, 3 March 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/ArtilleryProjectile
The projectile shot by artillery.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
reveal_map
Type: bool
Optional properties
picture
Type: Sprite
shadow
Type: Sprite
chart_picture
Type: Sprite
action
Type: Trigger
final_action
Type: Trigger
height_from_ground
Type: float
Default: 1
rotatable
Type: bool
Default: true
Whether the picture of the projectile is rotated to match the direction of travel.
Mandatory values/properties
Bounding box must be zero.
map_color
is mandatory.