Verkeer en dispatch
Vuilniswagens, boten, NPC-cops, 911-dispatch, sirenes en wanted-level.
Config.Traffic = {
garbageTrucks = false,
randomBoats = true,
randomCops = false,
randomCopsOnFoot = false,
dispatch = false,
distantSirens = false,
distantVehicleLights = true,
}
Config.MaxWantedLevel = 5
Traffic-keys
| Key | Native | Default | Betekenis |
|---|---|---|---|
garbageTrucks | SetGarbageTrucks | false | Ambient vuilniswagens |
randomBoats | SetRandomBoats | true | Random boten op water |
randomCops | SetCreateRandomCops + cops on scenarios | false | NPC-politie-auto's |
randomCopsOnFoot | SetCreateRandomCopsNotOnScenarios | false | NPC-cops te voet |
dispatch | EnableDispatchService 1–15 | false | NPC 911 (politie/ambulance/brandweer) |
distantSirens | DistantCopCarSirens | false | Verre sirenes |
distantVehicleLights | DisableVehicleDistantlights | true | Verre voertuiglichten |
randomCops = true zet zowel random cop-cars als cops op scenarios. Voet-cops staan apart (randomCopsOnFoot).
Wanted-level
Config.MaxWantedLevel = 5
0 = geen wanted stars van NPC-cops. 5 = GTA-standaard. Waarden buiten 0–5 worden geclamped.
Dit is het maximum dat de engine mag geven, geen “altijd 5 sterren”.
Dispatch-services
Alleen relevant als Config.Traffic.dispatch = true. Staat dispatch op false, dan gaan alle 15 services uit — de tabel hieronder telt dan niet.
Config.DispatchServices = {
[1] = false,
[2] = false,
-- ...
[15] = false,
}
| ID | Dienst |
|---|---|
| 1 | Police automobile |
| 2 | Police helicopter |
| 3 | Fire |
| 4 | SWAT automobile |
| 5 | Ambulance |
| 6 | Police motorcycle |
| 7 | Police backup |
| 8 | Police |
| 9 | Police (roadblock) |
| 10 | Cops chasing |
| 11 | Cops backup |
| 12 | Cops |
| 13 | Cops (motorcycle) |
| 14 | Fire |
| 15 | Cops helicopter |
Met dispatch = true en [5] = true heb je alleen ambulance-dispatch (mits de rest false is). Ontbrekende IDs volgen dan dispatch (aan).
Dit is GTA NPC-dispatch, geen ps-dispatch / cd_dispatch / je MDT. Je eigen hulpdiensten-scripts blijven hun eigen calls doen.