Jobs: Bus Driver
POPULAR LINKS
- BUY IT! Purchase Job: Bus Driver from BigDaddyScripts.com
- SERVER.LUA How to use the included server.lua with BigDaddy Scripts to set up framework integration for money functions
{:links-list}
INSTALLATION
- Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
- Add your product key (get it here) to the
settings.inifile - Configure the money integration in
server.lua. The supplied file defaults toframework = 'custom', so select your framework or implement the custom handlers before using fares and driver pay. - If you want to use BigDaddy-BDMenu, start it before this resource. Otherwise, the included radial menu is used.
- Add
start BigDaddy-Jobs-BusDriverto yourserver.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.
menu.json & menu.ini
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.