Prototype/RollingStock: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎Mandatory properties: add missing line after last change)
(0.17.77 wheels are optional)
Line 28: Line 28:


{{Prototype property|pictures|[[Types/RotatedSprite|RotatedSprite]]}}
{{Prototype property|pictures|[[Types/RotatedSprite|RotatedSprite]]}}
{{Prototype property|wheels|[[Types/RotatedSprite|RotatedSprite]]}}


{{Prototype property|vertical_selection_shift|[[Types/double|double]]}}
{{Prototype property|vertical_selection_shift|[[Types/double|double]]}}
Line 43: Line 41:


{{Prototype property|stand_by_light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
{{Prototype property|stand_by_light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
{{Prototype property|wheels|[[Types/RotatedSprite|RotatedSprite]]|optional=true}}


{{Prototype property|horizontal_doors|[[Types/Animation|Animation]]|optional=true}}
{{Prototype property|horizontal_doors|[[Types/Animation|Animation]]|optional=true}}

Revision as of 12:17, 3 December 2019

Template:Prototype parent The abstract base of all rolling stock.

Template:Prototype TOC

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/Vehicle.

Template:Prototype property

Template:Prototype property

Template:Prototype property The length between this rolling stocks front and rear joints. Joints are the point where connection_distance is measured from when rolling stock are connected to one another. Wheels sprite are placed based on the joint position.

Maximum joint distance is 15.

Note: There needs to be border at least 0.2 between the bounding box edge and joint.

Template:Prototype property The distance between the joint of this rolling stock and its connected rolling stocks joint.

Template:Prototype property

Template:Prototype property

Optional properties

Template:Prototype property Usually a sound to play when the rolling stock drives over a tie.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property