NX Spawn Selector
Locations
Add spawn points, scenes, job-locked spawns and tags.
Spawn points are listed in Config.Locations. Add as many as you like. They appear in the order you write them, after Last Location.
Adding a location
Config.Locations = {
{
label = 'Legion Square',
description = 'The heart of downtown Los Santos',
icon = 'fa-solid fa-city',
coords = vec4(247.7821, -872.5255, 30.2922, 340.7462),
scene = { scenario = 'WORLD_HUMAN_STAND_MOBILE' },
},
-- ...more locations
}labelstringdescriptionstringiconstringfa-solid fa-building.coordsvec4vec4(x, y, z, heading). The character faces the heading in the preview, and the camera films them from the front.scenetabledefault: Config.Preview.defaultScenejobstabletagstringGetting coords
Stand where you want players to spawn, facing the way the camera should film from, and copy your coords and heading with your usual coords tool. The camera sits in front of the character, so face towards the open space you want in the shot, not into a wall.
Scenes
Each location can give the character its own scenario or animation while players browse.
-- A GTA scenario
scene = { scenario = 'WORLD_HUMAN_SMOKING' },
-- An animation
scene = { anim = { dict = 'anim@heists@heist_corona@single_team', clip = 'single_team_loop_boss' } },Scenarios that look good in the preview:
| Scenario | What it looks like |
|---|---|
WORLD_HUMAN_STAND_MOBILE | Looking at their phone |
WORLD_HUMAN_SMOKING | Smoking a cigarette |
WORLD_HUMAN_DRINKING | Drinking from a cup |
WORLD_HUMAN_CLIPBOARD | Holding a clipboard |
WORLD_HUMAN_HANG_OUT_STREET | Hanging out |
WORLD_HUMAN_GUARD_STAND | Standing guard |
WORLD_HUMAN_LEANING | Leaning (best with a wall behind) |
Leave scene out to use Config.Preview.defaultScene.
Job-locked spawns
Add jobs to show a location only to certain jobs, and a tag so players know why they can see it:
{
label = 'Mission Row PD',
description = 'Clock in at the station',
icon = 'fa-solid fa-shield-halved',
coords = vec4(428.23, -984.28, 30.71, 3.5),
jobs = { 'police' },
tag = 'Police',
},
{
label = 'Pillbox Medical',
description = 'Start your shift',
icon = 'fa-solid fa-truck-medical',
coords = vec4(298.62, -584.52, 43.26, 70.0),
jobs = { 'ambulance' },
tag = 'EMS',
},Use the job name from your jobs table (e.g. ambulance), not its label. The check uses the character's job when they log in.
Default locations
| Location | Scene | Who sees it |
|---|---|---|
| Legion Square | Phone | Everyone |
| Grove Street | Smoking | Everyone |
| Pink Cage Motel | Smoking | Everyone |
| Pillbox Hospital | Clipboard | Everyone |
| Sandy Shores | Drinking | Everyone |
| Paleto Bay | Default animation | Everyone |
| Mission Row PD | Cop stance | Police only |