Log in to reply
 

Need help to spawn addon police cars in gta v police pursuits. Can it be done?



  • I've downloaded Game68240's Hot Pursuit mod (not available at gta5-mods.com anymore, but on his own blog at https://game68240.fr/modding-gta-v/gta-hot-pursuit/ (warning : the page is only available in french)) and his newer separate hot pursuit police cars. I'm trying to make them spawn during a police chase. The Hot Pursuit mod is incorporated in dlclist.xml and extratitleupdatedata.meta (both located in located at update/update.rpf/common/data) and the cars do spawn using Simple Trainer for GTA V. I've edited and replaced dispatch.meta (located at update/update.rpf/common/data) and even edited and replaced vehiclemodelsets.meta (located at update/update.rpf/common/data/ai). The cars do have the right flags (<flags>FLAG_HAS_LIVERY FLAG_EXTRAS_ALL FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_HAS_INTERIOR_EXTRAS FLAG_REPORT_CRIME_IF_STANDING_ON</flags> in vehicles.meta located at update\x64\dlcpacks\nfs\dlc.rpf\data). But in the game they still don't spawn. I've tried adding them to the POLICE_CAR vehicleset in the dispatch.meta and the vehiclemodelsets.meta or even making a new vehicleset POLICE_SPORTCAR & POLICE_SUPERSPORTCAR in the dispatch.meta. I've added these two last vehiclesets in the dispatchservices in wantedlevel2, wantedlevel3, wantedlevel4 and wantedlevel5. But they still don't spawn during a police pursuit. I'm trying to emulate the police chases like in the old Need for Speed Hot Pursuit, this mod by Eddlm has been a great help for achieving this.

    Is there any other file to which I must add these cars for them to spawn during police chases? Or is this not possible at all. I've seen police car mods added at lcpdfr.com to police chases but they were added in either x64e.rpf or mpchristmas2. I'm also not sure what the mod Added Police Car Slots does but it doesn't seem to help in my case (it doesn't allow cars to be spawned and used by the police during police chases).



  • Sure this is possible.

    Just use an add-on to store the models and for them to chase you you'll have to use the spawn names in dispatch.meta inside mods/update/update.rpf (common/data) I think

    I've also added them in popgroups.ymt so they're patrolling the streets. No more vanilla police cars but IRL models like Chargers and CVPI's trying to overtake.

    //edit, wait I've reread your post. You're not using a mods folder? Why doesn't anyone do the right thing?



  • I'm using a MODS folder with the modded files. But I'm not using the OpenIV's mod folder feature. I enable my mods with JSGME (JoneSoft Generic Mod Enabler).



  • @ReNNie : You can't edit popgroups.ymt because it's encrypted and not readable by openIV, yet. I've heard about a way to circumvent this. The xbox version uses popgroups.meta. I haven't found a unmodified file that I can edit.

    By the way I'm using the spawn names in the dispatch.meta already :

    Dispatch.meta
    http://pastebin.com/kknFwRr9

    I've tried using S_M_Y_Cop_01 instead of S_M_Y_hwaycop_01, makes no difference.

    Vehicles.meta
    http://pastebin.com/Fqs93gjp



  • @bruce142 said in Need help to spawn addon police cars in gta v police pursuits. Can it be done?:

    You can't edit popgroups.ymt because it's encrypted and not readable by openIV, yet.

    Have you checked what's in this mod? https://www.gta5-mods.com/misc/southern-san-andreas-exotic-popgroups-ymt-803cba20-ebff-4a21-82a7-b0d70ab9a39a



  • @bruce142 Make sure you are in the right place. Your add-on police vehicles will spawn in Blaine County, they won't spawn in LS city.



  • @bruce142
    Please use pastebin to show large chuncks of code, huh?

    Do check Lee's link. In there is an unedit vanilla XBOX popgroups.ymt you can edit and alter!
    And indeed use the correct zone(s) to spawn your added vehicles.

    Dispatch.meta controls which (group of) policecars to dispatch on which occurance (controlled by wanted level) eg at a certain point roadblocks will occur.
    Check my POLICE_CAR vehicles lines from my own edited dispatch.meta: http://pastebin.com/MFSg41d3
    Popgroups.ymt controls which policecars patrol which zones.
    Check how I've setup the popo to patrol the various zones in SA via these lines in popgroups.ymt: http://pastebin.com/HhVFrk2L.
    You can create entirely new squads like I did for BCSO (using RDE method) in popcycle.dat
    Popcycle.dat also controls the intensity of the groups linked to the times of day.

    Note, all these cars and also the templated policeheli spawn from my police add-on pack located in dlcpacks bladibladibla



  • I've edited popgroups.ymt (using the decoded vanilla one in the Southern San Andreas Exotic Traffic mod) it still doesn't work. I've tested in Blaine County, only the police/sherriff stanier spawns. I've tested in LS, only the police interceptor spawns. Maybe I could upload my modified files (you still need to download the hot pursuit pack from Game68240) : https://www.sendspace.com/file/44huwg.



  • Strange this doesn't work :

    			<Item>
    				<VehicleModels>
    					<Vehicle>police3</Vehicle>
    				</VehicleModels>
    				<PedModels>
    					<Ped>S_M_Y_Cop_01</Ped> 
    				</PedModels>
    			</Item>
    			<Item>
    				<VehicleModels>
    					<Vehicle>nfsgs350</Vehicle>
    				</VehicleModels>
    				<PedModels>
    					<Ped>S_M_Y_Cop_01</Ped> 
    				</PedModels>
    			</Item>
    			<Item>
    				<VehicleModels>
    					<Vehicle>nfs458</Vehicle>
    				</VehicleModels>
    				<PedModels>
    					<Ped>S_M_Y_Cop_01</Ped> 
    				</PedModels>
    			</Item>
                                ...
    

    But this does :

    			<Item>
    				<VehicleModels>
    					<Vehicle>police3</Vehicle>
    					<Vehicle>nfsgs350</Vehicle>
    					<Vehicle>nfs458</Vehicle>
    					<Vehicle>nfs718</Vehicle>
    					<Vehicle>nfsf430</Vehicle>
    					<Vehicle>nfsgt500</Vehicle>
    					<Vehicle>nfsrs</Vehicle>
    					<Vehicle>nfszonda</Vehicle>
    					<Vehicle>nfsrevent</Vehicle>
    					<Vehicle>nfsveyron</Vehicle>
    					<Vehicle>nfsccx</Vehicle>
    					<Vehicle>nfsp1</Vehicle>
    				</VehicleModels>
    				<PedModels>
    					<Ped>S_M_Y_Cop_01</Ped> 
    				</PedModels>
    			</Item>
    

    I can't add a separate vehicleset either but I'm finally getting the addon police cars chasing me during a police pursuit


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.