Jobs: Bus Driver

{:links-list}

INSTALLATION

  1. Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
  2. Add your product key (get it here) to the settings.ini file
  3. Configure the money integration in server.lua. The supplied file defaults to framework = 'custom', so select your framework or implement the custom handlers before using fares and driver pay.
  4. If you want to use BigDaddy-BDMenu, start it before this resource. Otherwise, the included radial menu is used.
  5. Add start BigDaddy-Jobs-BusDriver to your server.cfg.

DO NOT RENAME THE FOLDER.

If you change the name of the folder it will not function correctly so leave the name as it is.

{:is-danger}

CONFIGURATION

settings.ini

SETTING DEFAULT DESCRIPTION
[licensing]
key1 none This is where you put your product key
[settings]
useRadialMenu false Use BigDaddy-BDMenu when it is running, with the included radial menu as a fallback. Set to true to always use the radial menu.
BusFare 10.00 Fare charged to a player passenger when boarding a job bus. Requires money integration in server.lua.
ShowBusStopBlips true Show bus stop blips on the map. Set to false to hide them.
Debug false Enable additional diagnostic messages.

Leave the supplied DesyncKey unchanged. Configure money handling in server.lua.

server.lua

This file handles passenger fares and driver pay. Set framework to the integration you use and configure its handlers. The custom handlers are empty until you add your own integration.

routes.json

This is where the routes and stops along the way are defined. You can edit them or create your own. This is also where the bus model can be changed per route if you want to use your own models.

The supplied routes use the add-on models citywokbus and charterbus.

Route choices are defined in menu.json. When adding a route, add a matching menu entry using the same route ID. Keep the existing action structure; these actions are used internally by the menu. Both menu types use this file.

menu.ini contains the radial menu settings, including its display name.

LORE BUSES REPLACED

In the stream folder of this script are bus models named bus and coach that REPLACE the in game buses. If you don't want them to be replaced, just delete those six files named that in the stream folder and they will not replace the lore buses.

HOW TO PLAY

Go to the Dashhound station downtown. There is an orange cylinder at the front door. Walk into it to open the menu and choose a route. Go around the building to find your bus, get in, and follow the map markers to the stops.

Slow down or stop and press NUMPAD 4 to open the doors. Close them with NUMPAD 5, or drive away and they will close automatically. AI passengers and players can board and leave the bus. Player passengers are charged the configured fare through your money integration.

Moving more than 400 metres away from your bus ends your shift and fires you for abandoning it. A destroyed or deleted bus also ends the shift.

The shift pay calculation uses route progress and rider counters, subtracts penalties for hitting pedestrians or vehicles, and includes a completion bonus or an early termination penalty. Driver payments depend on your server.lua integration.