๐ŸŒŠ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.

Example of Station
{
    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:

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:

  1. Copy the template below.

  2. Paste it into the Config.Stations table in your config.

  3. 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