Skip to content

Compatibility Notes

Christopher Lees edited this page Nov 24, 2015 · 25 revisions

Routefile Changes:

Note: These commands will not work with prior versions of OpenBVE, and whilst routefiles which use them will load, they may produce error messages or other unexpected behaviour.

Route.LoadingScreen(FileName.png)

This option allows route developers to add a custom loading screen image. FileName.png should represent a .bmp, .png or .ace image, with a path relative to the routefile directory.

Plugin Interface Changes:

Note: Plugins compiled for this version of OpenBVE will not work on prior versions of OpenBVE.

data.CurrentCurveRadius

Returns the current curve radius in meters at Car 0's location.

data.CurrentCant

Returns the cant value at Car 0's location.

data.CurrentPitch

Returns the pitch value at Car 0's location.

Clone this wiki locally