#Trains on editor

14 messages · Page 1 of 1 (latest)

tardy eagle
#

How can i put trails for the train in a bridge?

maiden hollow
#

on the bottom left, there's a road index

#

preferably change that to a digit that u wanna remember, or just leave it as it is, but remember it

#

in your map's config.json

#

add this:

"Trains":
[
    {
        "VehicleID": 187,
        "RoadIndex": 0,
        "Min_Spawn_Placement": 0.1,
        "Max_Spawn_Placement": 0.9
    }
]```
#

im not so sure what max_spawn_placement & min_spawn_placement do, but they're not required I believe.

#

but what you want to do with that is, replace the vehicle id if you do not wanna use the vanilla train but a custom one, otherwise leave as it is

#

and change the roadindex to the number that you changed or remembered from earlier

#

and after loading the map, there should be a train, not sure if it works in the editor, but definitely gonna work in single/multplayer

tardy eagle
#

on the editor

clever musk