Changing number of police vehicles to respond
-
I saw some mods that are changing the number of emergency vehicles and even the vehicles themselves at spesific wanted levels. I wanted to modify those values for myself but can't recognize any code in dispatch.meta or any other file in those mods.
Anyone knows which codes are doing that and in which file?
Thanks in advance.
-
Must up this. Really need to know.
-
@Aurora11 Im on my phone right now so I can't go in details.
Everything you want to know is in 'dispatch.meta'.
That file is related to how the law enforcement is dispatched when you are wanted.
Which vehicle/ped, how many, for each wanted levels.
Check the wanted levels at the end of the file, and which group names are dispatched at each level. Then you can find the group names earlier in the file.
-
@Aurora11 I've been looking for an answer like this too. Increasing the maxnum in the vehicle's .meta seemed to work, however I can't prove it does. Alternatively, I've also noticed lines being repeated in Wanted Level, so you can try to do that to make the vehicle more common to spawn.
-
@Viccracenvy A very generous and helpful person @psychosn4ke helped me with that a lot and explained very detailed. The way to change that is in dispatch.meta . It's being determined as ped numbers instead of vehicle numbers (shitstar logic...).
<NumPedsToSpawn value="2"/> 1 police car with 2 officers in it.
So that is the one you need to change. Haven't tested yet (still in the process of installing mods and modifyig them to my liking) but I believe, let's say if you change the number of peds to spawn in police1 at the vehicles.meta, like 4 cops for example, then <NumPedsToSpawn value="4"/> probably will spawn 1 police car with 4 cops in it.So they are probably like connected to each others with that way I believe.
-
I'm working a new fresh modded install of my GTA, so i'm making my dispatch while answering. Note that there is a LOT to know about the dispatch. I'll advice you to go check my profil posts, as I was in your case weeks ago. There are a lot of tricks
<WantedLevel3> ---------------------------------------------------------------------------------------------------------} The Wanted level, obviously. <DispatchServices> <Item> <DispatchType>DT_PoliceAutomobile</DispatchType> ---------} The dispatch type. Note that some cars/peds can only be dispatched on certain types of 'DispatchType'. <NumPedsToSpawn value="8"/> -------------------------------------} The number of peds for that 'DispatchType' that are gonna be spawned. 8 = 4 vehicles of 2 people each in 'DT_PoliceAutomobile'. <DispatchVehicleSets> <Dispatch>POLICE_CAR</Dispatch> --------------------} Related earlier in the Dispatch.meta file as 'VehicleSets'. <Dispatch>POL_SHER_INTERV</Dispatch> ---------} As you can see i've made mine. </DispatchVehicleSets> </Item> </DispatchServices> </WantedLevel3>
Here is my created 'POL_SHER_INTERV' with modded peds and cars.
<Vehicle> <Name>POL_SHER_INTERV</Name> <ConditionalVehicleSets> <Item> <ZoneType>VEHICLE_RESPONSE_ARMY_BASE</ZoneType> ---------------} Army Base <VehicleModels> <Vehicle>crusader</Vehicle> </VehicleModels> <PedModels> <Ped>S_M_M_Marine_01</Ped> </PedModels> </Item> <Item> <ZoneType>VEHICLE_RESPONSE_COUNTRYSIDE</ZoneType> -------------} Blaine County <VehicleModels> <Vehicle>shersand</Vehicle> </VehicleModels> <PedModels> <Ped>s_m_y_sherswat_01</Ped> </PedModels> </Item> <Item> ----------------------------------------------------------------} Los Santos from here to end <VehicleModels> <Vehicle>PIN</Vehicle> <Vehicle>polred5</Vehicle> <Vehicle>polguard</Vehicle> </VehicleModels> <PedModels> <Ped>s_m_y_polswat_01</Ped> </PedModels> </Item> </ConditionalVehicleSets> </Vehicle>
@Aurora11 said in Changing number of police vehicles to respond:
let's say if you change the number of peds to spawn in police1 at the vehicles.meta, like 4 cops for example, then <NumPedsToSpawn value="4"/> probably will spawn 1 police car with 4 cops in it.
Actually this isn't entirely true. In most 'DispatchType' it's only x2 peds for one vehicle, with some few exceptions, for example the fbi2 vehicle (which, btw, only works as intended in 'DT_SwatAutomobile').
But I really advise you to go check my posts, there is nearly all you need to know, thanks to some amazing modders !
-
@epoqx Oh. Thank you so much. I will be keep poking through your profile now