Skip to content
You're reading the docs for Railroader 0.6 (the MoW Update), currently available on the Experimental branch.

Prop

A static object placed in the world, such as a building or terrain mask. Props are placed in map data.

cullingRadius

int = 50

Distance at which the object is culled.

Reference to the model asset this prop displays.

styles

object

Base styles for every placement of this prop, in the same format as a car definition’s styles. Selectors match the prop’s RendererGroup components. A customize-color entry adds a row to the map editor’s Colors section.

{
"identifier": "mymod/barn",
"definition": {
"kind": "Prop",
"modelIdentifier": "./barn",
"components": {
"siding": { "kind": "RendererGroup", "styleClass": "siding", "material": { "materialName": "Siding" } }
},
"styles": {
"Renderer.siding": { "color": "#9a3b2a", "customize-color": "Siding" }
}
}
}