Prototype/RollingStock: Difference between revisions
Jump to navigation
Jump to search
Muppet9010 (talk | contribs) (→Mandatory properties: Add some information to joints and connection distances.) |
Muppet9010 (talk | contribs) (→Mandatory properties: add missing line after last change) |
||
Line 19: | Line 19: | ||
{{Prototype property|joint_distance|[[Types/double|double]]}} | {{Prototype property|joint_distance|[[Types/double|double]]}} | ||
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. | 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. | Maximum joint distance is 15. | ||
Revision as of 22:13, 4 November 2019
Template:Prototype parent The abstract base of all rolling stock.
Extensions
- Prototype/ArtilleryWagon artillery-wagon
- Prototype/CargoWagon cargo-wagon
- Prototype/FluidWagon fluid-wagon
- Prototype/Locomotive locomotive
Mandatory properties
This prototype inherits all the properties from Prototype/Vehicle.
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.
Optional properties
Template:Prototype property Usually a sound to play when the rolling stock drives over a tie.