Prototype/ArtilleryWagon: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/RollingStock}} | {{Prototype parent|Prototype/RollingStock}} | ||
An [[artillery wagon]]. | |||
{{Prototype TOC|artillery-wagon}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/RollingStock]]. | This prototype inherits all the properties from [[Prototype/RollingStock]]. | ||
{{Prototype property|gun|[[Types/string|string]]}} | |||
Name of a [[Prototype/Gun]]. | Name of a [[Prototype/Gun]]. | ||
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}} | |||
Must be > 0. | Must be > 0. | ||
{{Prototype property|ammo_stack_limit|[[Types/ItemCountType|ItemCountType]]}} | |||
Must be > 0. | Must be > 0. | ||
{{Prototype property|turret_rotation_speed|[[Types/double|double]]}} | |||
{{Prototype property|manual_range_modifier|[[Types/double|double]]}} | |||
Must be > 0. | Must be > 0. | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|disable_automatic_firing|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|cannon_base_pictures|[[Types/RotatedSprite|RotatedSprite]]|optional=true}} | |||
{{Prototype property|cannon_barrel_pictures|[[Types/RotatedSprite|RotatedSprite]]|optional=true}} | |||
{{Prototype property|turn_after_shooting_cooldown|[[Types/uint16|uint16]]|0|optional=true}} | |||
{{Prototype property|cannon_parking_frame_count|[[Types/uint16|uint16]]|0|optional=true}} | |||
{{Prototype property|cannon_parking_speed|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|cannon_base_shiftings|[[Types/table|table]] of [[Types/vector|vector]]|optional=true}} | |||
Must match <code>cannon_base_pictures</code> frame count. | Must match <code>cannon_base_pictures</code> frame count. | ||
{{Prototype property|cannon_barrel_recoil_shiftings|[[Types/table|table]] of [[Types/Vector3D|Vector3D]]|optional=true}} | |||
{{Prototype property|cannon_barrel_recoil_shiftings_load_correction_matrix|[[Types/table|table]] of [[Types/Vector3D|Vector3D]]|optional=true}} | |||
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded. | Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded. | ||
{{Prototype property|cannon_barrel_light_direction|[[Types/Vector3D|Vector3D]]|optional=true}} | |||
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded. | Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded. |
Revision as of 21:01, 5 August 2019
Template:Prototype parent An artillery wagon.
Mandatory properties
This prototype inherits all the properties from Prototype/RollingStock.
Template:Prototype property Name of a Prototype/Gun.
Template:Prototype property Must be > 0.
Template:Prototype property Must be > 0.
Template:Prototype property Must be > 0.
Optional properties
Template:Prototype property
Must match cannon_base_pictures
frame count.
Template:Prototype property
Only loaded if cannon_barrel_recoil_shiftings
is loaded.
Template:Prototype property
Only loaded if cannon_barrel_recoil_shiftings
is loaded.