Bablo ResourcesDocs

Test Drives

A test drive lets a customer drive a vehicle before buying it. There are two kinds: a timed one the customer starts in the Showroom, and one without a time limit that the staff of a player-owned dealership set up for a player standing nearby.

Both need Test drives switched on for the dealership in the Dealership Creator and at least one Test drives spawn point. Without them the button is not shown. Boat dealerships call it a Sea trial and aircraft dealerships a Test flight.


From the showroom

Press Test drive under the vehicle details. The note under the button says how long it lasts: A test drive lasts 2 minutes. Leave the vehicle to end it early.

  1. The showroom closes and the vehicle appears on one of the dealership’s test drive spawn points, picked at random.
  2. You sit in the driver’s seat with the engine running, the keys and a full tank. The plate reads TEST and four digits.
  3. A timer at the top of the screen counts down and changes colour for the last 15 seconds.
LUA
Config.TestDrive = { Seconds = 120 }

What the vehicle looks like depends on what you were viewing:

VehicleOn the test drive
New vehicleThe colour you picked in the showroom. With Config.Tuning.TestDrive = true it also has the tuning parts you picked, at Preview only dealerships as well. Set it to false and every test drive is stock.
Pre-owned vehicleThe vehicle from the lot, with its own colour and fitted parts.
RuleDetail
One at a timeFinish the test drive you are on first.
StockA player-owned dealership needs the model in stock: There is no … on site to test drive right now. A test drive does not take the vehicle out of stock.
AccessThe dealership’s showroom access list applies, as for opening the showroom.
CostNothing is charged, also not for damage.

How it ends

EventMessage
The time runs outThe test drive is over.
You stay out of the vehicle for more than 4 secondsYou ended the test drive.
The vehicle is destroyed or removedThe test drive is over.

Each time the screen fades, the vehicle is removed and you are put back at the dealership’s showroom entrance. Showroom test drives do not count towards Config.TestDrive.MaxActive. Both settings are under Test drives.


Set up by staff

Staff with the sell permission start a test drive from the Stock tab of the Management Panel or the Staff Tablet. Test Drive on a vehicle card opens the Test drive dialog:

  1. Choose Who is driving? from the players within Config.Offers.Distance (15 metres by default). You can pick yourself.
  2. Choose the colour and press Start test drive.
  3. The driver is put in the driver’s seat on a test drive spawn point, with the keys, and is told … set up a test drive for you.
  4. The dialog shows Test drive ready. Hand over keys unlocks the vehicle and gives the driver the keys again (You were handed the keys to the …). Cancel test drive ends it straight away.

A staff test drive has no time limit. Instead of a timer the driver sees who ends it (… ends the test drive), and getting out of the vehicle does not end it.

RuleDetail
StockThe model must be in stock. The test drive does not take it out of stock.
LimitAt most Config.TestDrive.MaxActive staff test drives per dealership at once (default 5, 0 for no limit): The dealership already has 5 test drives running.
DriverMust not be on another test drive: … is already on a test drive.
DistanceThe driver has to be close when it starts: That player is no longer close enough.
TuningOnly the colour is chosen. Staff test drives never have tuning parts.

Tracking and ending

Test drives on the Stock tab lists every running staff test drive of the dealership: vehicle, plate, who started it, who drives and for how long (3 of 5 active).

ButtonWhat it does
TrackMarks the vehicle on your map. The marker follows it until you press Tracking again or the test drive ends.
EndAfter a confirmation the vehicle is removed. The driver is told The dealership ended your test drive. and is put back where they stood when it started. Passengers are not moved.

Any staff member with the sell permission can track or end a test drive, not only the one who started it. When the driver leaves the server, the test drive is taken off the list.