In the above example 111 is the route number that will need changing to the new route number. If you have multiple routes with the same number it may break the script.
The StartingBusStop option is used for the first bus stop's name when the notification for the next bus stop is triggered. i.e. "Next stop is Example Road"
Step 2 - Adding the route description
In the language.lua file you will find a route description section add the routes description into there using this as a template:
['route_desc_111'] = "Example Road - Test Facility via Humane Labs",
Step 3 - Creating the route
Go into client > customize.lua and go to the bottom of the route entries to start creating a new route:
```lua
{
Pos = Config.Route["576"].SpawnLocation,
StopType = 'depo',
}, -- This is the end of the last route in the route table. Add new route below
["111"] = { -- Example route number
{
Pos = vector4(439.92, -673.93, 28.77, 92.4),
StopType = 'checkpoint',
SetCurrentZoneType = 'town',
}, -- This is the first checkpoint. I would recommend to have this near the exit of the bus depo/ station.
```
After the first entry is done you now need to add any checkpoints or bus stop's as you go through the route:
```lua
{
Pos = vector4(74.55, -622.81, 31.57, 160.37),
StopType = 'checkpoint',
},
{
Pos = vector4(-624.44, -604.55, 33.49, 0.3),
StopType = 'checkpoint',
},
{
Pos = vector4(-676.93, -475.45, 34.38, 86.89),
StopType = 'checkpoint',
SetCurrentZoneType = 'freeway', -- at this checkpoint it will set to freeway speed limit
},
{
Pos = vector4(-2118.98, -353.08, 13.05, 66.75),
StopType = 'checkpoint',
SetCurrentZoneType = 'town', -- at this checkpoint it will set to town speed limit
},
{
Pos = vector4(-2118.57, -242.09, 16.29, 322),
StopType = 'busstop',
BusStopName = "West Eclipse Blvd", -- This is used for the next bus stop notification
SetCurrentZoneType = nil,
},
```
The position (Pos = coords) is the location in the world including rotation where you wish to put the checkpoint or bus stop markers.
When you are on your last bus stop of the route before you return to the depo/ station your bus stop should look like this:
To create a route with some new bus stop props (i.e. signs, shelters or other props you wish to use) you have to create a new .ymap file to add into a stream folder of a resource (i would recommend the pc-busjob-maps that comes bundled with the pc-busjobs script) for it to be loaded.
If you don't know how to create a new .ymap this I would recommend following this video below done by Otto Mapping.