ktoxktox docs
ktx_garages

Overview

What a garage is made of and which page covers which part.

A garage is a marker in the world and an interior behind it. The player walks up, gets put inside, and their vehicles are standing there.

A player can hold more than one role at the same garage: their own and a co-ownership, or co-ownerships from two owners. Then a choice opens at the entry and they pick which one they are going in as. With one role there is nothing to ask and nothing opens.

Every visit runs in its own routing bucket, so two players in the same garage never see each other unless they belong there: the owner, a co-owner, an invited guest, or a colleague in a job garage.

The parts

Main entrythe marker a player drives into, with its own heading
Main exitwhere a vehicle comes back out
Foot entry and foot exitthe same two points for a player without a vehicle, optional
Showcase camerathe angle a garage is shown from when it is for sale
Interior spawnwhere the player stands after entering
Manage markerthe point inside that opens the garage menu
Slotsthe parking spaces, one vehicle each
Invite zonethe area a guest has to stand in to be invited
Blipthe map icon, drawn at the main entry

All of them are placed in the builder, not written into a file.

Where to go next

Builderbuilding the first garage
Ownershipwho has a garage: bought, free, job, co-owner
Vehicle accesswhich vehicles are allowed in
Impoundwhere a vehicle goes when it cannot be anywhere else
Activity logwhat is recorded and for how long
Hooksthe files you may override and the exports

Install, framework and database are under Setup.