Skip to content

Fleet ​

Fleet builds

The fleet side turns one approved design into a whole organization's look: a library of builds, rollouts to many vehicles, a queue that applies them when cars come in, and wear that tells you when a car needs a repaint.

Fleet registry ​

The server keeps a registry entry for every organization vehicle it sees: model, plate, organization, unit, callsign, the applied build, a queued build and when it was last seen. Vehicles are registered when a session opens on them, and through the application sync: every 30 seconds each client reports the networked vehicles within 100 m (up to 32), and the server updates the registry for vehicles it already knows or that carry a vehicleOrganizationId state bag. The server re-resolves each reported vehicle itself; the client's report is never trusted for identity or model.

Members see their organizations' vehicles (listFleet), admins see all of them.

Fleet builds library ​

Fleet builds lists builds with a search and filters: All, Approved, Pending and Mine. Each card shows the thumbnail, version, template and how many cars currently carry it. You see your own builds, your organization's builds and, as an approver, pending ones.

Clone to this car ​

Clone to this car (or Start from fleet build on the bay screen) copies an approved build onto the vehicle in the bay as a new build for that vehicle: same draft, parts and application mode, re-validated against this car's template, your permissions and the current catalog. It goes through review like any build (auto-approved for approvers). You can clone your own builds and those of your organization, for a car of the same organization.

Rollouts ​

Select a build, tick vehicles on the Vehicles tab and Schedule rollout (approvers only, rollouts.enabled). Each target can get its own unit, which fills {unit} in the design for that car. The panel shows per vehicle whether it is in a bay now, on the road, already on this build, needs a repaint or isn't compatible, plus the total.

The server checks every target:

Status When
queued Accepted; waiting for the car to park in a bay
skipped (vehicle_unknown) Not in the fleet registry
skipped (not_in_organization) Belongs to another organization than the build
incompatible (template_mismatch) The build's template doesn't match the car's model
applied Applied (directly or by a completed job)
failed Applying failed later, e.g. the build was revoked (build_revoked) or payment failed

A rollout is limited to rollouts.maxTargets (50) vehicles, and the caller must be a member of the build's organization. Rolling out a live build (runtime texture or per car) also needs np_manufacturing.runtime_livery; the queued cars applied later are not checked again. The Rollouts tab lists past rollouts with each target's status; members receive live updates.

Vehicle queue ​

Queued targets are stored per vehicle. A queued build is applied when the car is:

  • parked in a workshop bay (stationary, empty, not in a session, no other active job), and
  • the workshop serves the car's organization (workshops without organizationId / organizations serve everyone).

Targets that are parked in a bay when the rollout is created are handled right away; the others are picked up by the 30-second sync when they arrive. With production jobs enabled, the queued car gets a job instead of the instant apply, requested on behalf of the rollout's creator; the bill goes to the organization.

Other resources can queue a build for one vehicle with the queueBuildForVehicle export, for example when a fleet car is bought or reassigned.

Wear and repaint ​

With wear.enabled, every vehicle with an applied build accumulates livery wear from 0 (fresh) to 100:

wear = min(100, days since the build was applied × wear.perDay + (1000 − body health) × wear.damageFactor)

With the defaults (4 per day, 0.08 per lost body-health point), a car reaches the repaint threshold (70) after about 17 days, or sooner when it's damaged. Wear is updated from the sync and session captures, mirrored to the vehicleLiveryWear state bag, and shown as Paint wear on the bay screen and needs repaint in the rollout list. Applying any build resets it to 0, so a repaint is simply re-applying (or rolling out) the build.

Wear is shown as dirt

GTA has no native for weathering a livery. Clients render wear as the vehicle's dirt level (up to 15 at 100 wear), and only ever make a car dirtier, never cleaner than driving made it; a fresh apply clears it. Treat it as an approximation.