This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
modding:developerinfo:models:reversiblevehicles [2018/11/30 11:07] tom created |
modding:developerinfo:models:reversiblevehicles [2018/11/30 11:19] tom |
||
---|---|---|---|
Line 11: | Line 11: | ||
<code lua> | <code lua> | ||
transportVehicle = { | transportVehicle = { | ||
- | -- other configuration | + | -- other configurations |
seats = { | seats = { | ||
{ group = 1, transf = [...], crew = true, standing = false}, -- optional driver in forward position | { group = 1, transf = [...], crew = true, standing = false}, -- optional driver in forward position | ||
Line 22: | Line 22: | ||
=== railvehicle === | === railvehicle === | ||
- | An engine must be configured for the first and the last railVehicle in the composition. | + | An engine must be configured for the first and the last railVehicle in the composition. All but one engine can be configured as emtpy. |
<code lua> | <code lua> | ||
railVehicle = { | railVehicle = { | ||
+ | -- other configurations | ||
engines = { | engines = { | ||
{ } -- can be left empty for control cars | { } -- can be left empty for control cars |