Overview
- The estate: 15 buildings plus building P / O, with accessible entrance halls, stairwells and cellars.
- The shops: mechanic garage, grocery store with terrace, coffee shop, car parks and garden.
- The deal spot in building P: a dealer, his guards, a customer queue that moves forward, and a supplier who rides in on a scooter.
- The police: when they come close, customers and guards scatter and the dealer goes back upstairs; the spot comes back once things calm down.
- Neighbourhood life: youths outside the entrances, mechanics at work, the grocer, elderly residents on the benches, a garden barbecue, dog walkers, scooters, residents walking home, a maintenance worker in the morning. Each has their own hours.
- For everyone: every player sees the same NPCs, in the same place.
- Connected to the city: full collisions, cars and pedestrians coming in and out of the estate.
Requirements
| Item | Details |
|---|---|
| Game build 3095 or newer | Enforce it in your server.cfg: sv_enforceGameBuild 3095. |
| OneSync | Required for the living neighbourhood NPCs (set onesync on or the txAdmin setting). |
| Framework | None required. ESX, QBCore and Qbox are detected to know who is a police officer. |
Installation
Add the resource
Get the mapping from the Cfx.re portal (see Getting your purchases). Copy the
yf_consolat_v2folder into your resources, without renaming it: the protected version is tied to this name.Start the resource
server.cfgsv_enforceGameBuild 3095 set onesync on ensure yf_consolat_v2Restart
Fully restart the server, then reconnect and go to the location.
Consolat V2 replaces the original terrain of this part of El Burro Heights. Remove any other mapping installed at the same spot, including Consolat V1: two overlapping maps cause duplicate objects and holes in the scenery.
Configuration
Everything is set in yf_consolat_v2/server/config.lua, the only readable file in the resource. It stays on the server: players never have access to it.
Config.scenes = {
four = true, -- deal spot in building P
halls = true, -- youths outside the entrances
mecanos = true, -- garage
epicier = true,
terrasse = true,
bancs = true,
barbecue = true,
promeneurs = true,
scooters = false, -- example: no more scooters in the estate
habitants = true,
entretien = true,
}
Config.police = {
active = true,
rayon = 70.0,
calme = 120,
sirene = true,
metiers = { 'police', 'sheriff', 'lspd' },
vehicules = { 'police', 'police2', 'mypolicecar' },
}| Setting | Effect |
|---|---|
Config.scenes | Set an activity to false to remove it from the estate. Everything else keeps running. |
Config.police.active | false: the deal spot never reacts to the police. |
rayon / calme | Detection distance in metres, and seconds without police before the spot comes back. |
sirene | A vehicle driving with its siren on counts as police. |
metiers | The police job names on your server (ESX, QBCore, Qbox). |
vehicules | Your police vehicle models: add your addon vehicles (spawn name). |
After a change, restart the resource (restart yf_consolat_v2) or the server.
Troubleshooting
Collisions or NPCs are missing after an update
Reconnect to the server: restarting the resource alone does not reload everything for players already connected.
No NPCs appear in the estate
Check that OneSync is enabled and that the activities are not disabled in Config.scenes. If your anti-cheat blocks resources from creating NPCs, allow yf_consolat_v2.
The deal spot does not react to the police
Add your server's police job name to Config.police.metiers, and your addon vehicles to Config.police.vehicules.
Objects flicker or appear twice
Another mapping is installed at the same spot: remove it (see Installation).
"You lack the required entitlement"
The resource is not linked to the Cfx.re account of your server key, or the folder was renamed. Download it from the Cfx.re portal with the account that bought it (see Getting your purchases) and keep the name yf_consolat_v2.
Another problem
Open a ticket on our Discord with a screenshot of the spot in question.