๐Managing Stations
On this page, we will explain how you can edit or create a new custom location for your server. You can do this in your Config.lua file and Config.Stations table.
1. Location Structure
Each location consists of only 3 coordinates and 3 values. This is possible because the system calculates the rest of the needed coordinates automatically, based on the origin points of the objects listed below.
{
cable = vec3(175.11, -1738.57458, 33.186),
nozzle = vec3(174.521362, -1741.59753, 29.78719),
nozzleRot = vec3(0.0, 45.0, 0.0),
interface = vec3(177.0171, -1741.91028, 29.8663769),
interfaceRot = vec3(0.0, 0.0, -90.0),
cableLength = 5.0 -- Optional. Default is 5.0
radius = 3.0,
price = 10,
requiredJob = nil,
}Coordinates of the hose mount point (bearing). This is the part of the model:

Coordinates of the resting position of the lance. This is where players pick up the lance:

Coordinates of the interface point. This is where players pay and start the car wash:

Defines how far from the cable origin point the hose should be attached. For the default model, this value is always: 3.0
Defines the length of the hose in meters connecting the mount to the lance. Useful if the mount is higher than 3.5m above the lance. This prevents the hose from looking like a stiff line and instead simulates gravity in the hose physics.
The cost in dollars that a player must pay to wash their vehicle.
Required Job
Requires a string value. This defines which server job can use the lance. If set to nil, then everyone on the server can use it.
2. Adding a New Location
To add a new car wash location:
Copy the template below.
Paste it into the
Config.Stationstable in your config.Fill in the coordinates according to the instructions above.
{
cable = vec3(),
nozzle = vec3(),
nozzleRot = vec3(),
interface = vec3(),
interfaceRot = vec3(),
radius = 3.0,
cableLength = 5.0 -- Optional. Default is 5.0
price = 10,
requiredJob = nil,
}Last updated