openOMSI GitHub Discord

Docs / Reference / Content formats

Splines (.sli) - unit mc_splines

1 min readEdit this pagedocs/FORMATS.md

length texture scaleTexByLength patchwork_chain heightprofile profile profilepnt path path_2 rail_enh third_rail halfcantwidth onlyeditor terrainholeprofile terrainholeprofilepnt ([terrainholeprofile] begins a profile, each [terrainholeprofilepnt] - x, height, end offset - goes to the last one begun).

[path] (5 lines): kind (0 street, 1 sidewalk, 2 rail), lateral offset x (right positive), height z, width, direction (0 along the spline, 1 backwards, 2 both). The lane runs the whole spline at that offset; lanes of consecutive splines meet at the ends.

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open