rco-vehicles/config/config.lua. Open it with any text editor (Notepad works, VS Code is nicer).
The basics
Another language
Copylocales/en.json, translate the texts on the right side of each line, save it as for example locales/es.json and set Config.Locale = 'es'. Anything you didn’t translate shows in English.
Money and limits
Prices
Every RCO vehicle already has its own price. You only touch this list to change a price:wanderer). A vehicle that is not in this list keeps its own price.
Keys and distances
Keys are written as the game’s control codes (like
0xF3830D8E), not as letters. Only change them if you know the code of the key you want. The store key has to be one the game reads while riding a vehicle: J, for example, does not work on a vehicle.Garages
Each garage is a block like this:
Pick a
spawn spot with about 6 metres of free space around it and nothing low overhead: the garage menu shows the vehicle there with the camera going around it.
It comes with seven garages: Saint Denis, Rhodes, Valentine, Annesburg, Blackwater, Strawberry and Armadillo.
Dealers
Dealers work like garages, with a few more lines:
Heights are fixed to the ground by the script, so a
z that is a metre off is fine. The exception is the Saint Denis dealer: its preview must stay exact, because it is the top of the platform.
Placing dealers and garages
The easy way to get the numbers for a new spot:1
Turn on help mode
Set
Config.Debug = true and restart the server.2
Stand on the spot
Go in the game to where the garage (or the vehicle) should be, facing the direction you want.
3
Copy your position
Type
/vehicles_here in the chat, open the F8 console and copy the line it shows into the config.4
Turn help mode off
Set
Config.Debug = false again before opening the server to players.
