Skip to main content
All settings live in one file: rco-motorworks/config/config.lua. Open it with any text editor (Notepad works, VS Code is nicer).
Only change what comes after the = sign. Keep the quotes '...', the commas and the brackets exactly as they are. After saving, restart the server.

The basics

Keys

Keys are written as the game’s code of the key, not as a letter. The keys page has the code of each one. Next to each key there is the letter shown on screen (Config.OpenKeyLabel…). Config.OpenKey must be a key the game reads while driving. The keys are only read while their hint shows on screen, so other scripts keep them everywhere else.

The workshops

Config.Workshops lists every workshop. Saint Denis comes ready; add your own the same way.
An owned workshop with no owner yet works as self service.

Prices

A vehicle at 40% health pays 0.50 + 60 × 0.03 = $2.30. Taking an accessory off is free.

Owned workshops

The modes:
  • 'self': customers fit their own accessories; the money goes to the till.
  • 'staff': customers place an order and pay it into the till; a mechanic does each job.
  • 'auto': 'staff' while a mechanic of that workshop is on duty, 'self' when none is.
The owner, the mechanics and the till are kept in the database, the same way on RSG and VORP: you don’t create any job in your framework.

The order of the categories

Config.CategoryOrder is the order the categories show in. Categories a vehicle has that are not in the list come after, by name.

The camera

Config.Camera says where the camera looks for each category. Players can still drag and zoom from there.
default is the whole vehicle and repair is the repair screen. When a vehicle brings its own camera for a category or an option (in its RCO Vehicles catalogue), that one is used instead.