Adding a MP (Military Police) Car to Fort Zancudo
-
Alright, everyone, I got a challenging question! Before I get started, I would like to say two things.
One: Thank you all for helping me with this, and thank you for all of your patience!
Two: I already have the plan to add the MP car (2020 Style Military Police Pack (Fort Benning) made by: bvmps) as an ADDON car. So just pretend that the MP Car is named 'CVPI' (This was installed successfully by the way). Also, I would like this car to have the same behavior as the Crusader. Just read my question, and ask me any questions!Alright, now the question. Is there any way I can get this car to only restrict their "Patrol" To Fort Zancudo? I am fine with it showing up rarely in different locations, but I want the main spawn point in the military base like the Crusader spawns and drives around. I would also like it to react like all of the other vehicles when I trespass Fort Zancudo in the game. Again, I know how to do everything else regarding the car itself, but I do not know how to make it spawn in the location I am requesting. If there is an article that already explains this, please let me know! Again, all I want to do is have this Addon vehicle spawn in and drive around inside of Fort Zancudo. Thanks, y'all in advance, and please let me know if you have any questions!
-Overlord6985
-
@Overlord6985
I'm presuming you want to add it to Zancudo in addition to having the crusader there already.
(If you want to replace the crusader, just search these two '.meta' files named below & replace all instances of 'crusader' with 'CVPI')dispatch.meta:
...\mods\update\update.rpf\common\data\dispatch.meta
Example:
Edit this:
<Vehicle> <Name>POLICE_CAR</Name> <ConditionalVehicleSets> <Item> <ZoneType>VEHICLE_RESPONSE_ARMY_BASE</ZoneType> <VehicleModels> <Vehicle>crusader</Vehicle> </VehicleModels> <PedModels> <Ped>S_M_M_Marine_01</Ped> </PedModels> </Item> <Item> <ZoneType>VEHICLE_RESPONSE_COUNTRYSIDE</ZoneType> <VehicleModels> <Vehicle>SHERIFF</Vehicle> </VehicleModels> <PedModels> <Ped>S_M_Y_Sheriff_01</Ped> </PedModels> </Item> <Item> <VehicleModels> <Vehicle>police3</Vehicle> </VehicleModels> <PedModels> <Ped>S_M_Y_Cop_01</Ped> </PedModels> </Item> </ConditionalVehicleSets> </Vehicle>
to this:
<Vehicle> <Name>POLICE_CAR</Name> <ConditionalVehicleSets> <Item> <ZoneType>VEHICLE_RESPONSE_ARMY_BASE</ZoneType> <VehicleModels> <Vehicle>crusader</Vehicle> <Vehicle>CVPI</Vehicle> <!-- CVPI added here --> </VehicleModels> <PedModels> <Ped>S_M_M_Marine_01</Ped> </PedModels> </Item> <Item> <ZoneType>VEHICLE_RESPONSE_COUNTRYSIDE</ZoneType> <VehicleModels> <Vehicle>SHERIFF</Vehicle> </VehicleModels> <PedModels> <Ped>S_M_Y_Sheriff_01</Ped> </PedModels> </Item> <Item> <VehicleModels> <Vehicle>police3</Vehicle> </VehicleModels> <PedModels> <Ped>S_M_Y_Cop_01</Ped> </PedModels> </Item> </ConditionalVehicleSets> </Vehicle>
Note:
Do that for all instances of 'crusader' in your 'dispatch.meta'.
ie add a '<Vehicle>CVPI</Vehicle>' line under every '<Vehicle>crusader</Vehicle>' line.vehiclemodelsets.meta:
...\mods\update\update.rpf\common\data\ai\vehiclemodelsets.meta
Edit this:
<Item type="CAmbientModelSet"> <Name>ARMY</Name> <Models> <Item> <Name>BARRACKS</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>BARRACKS2</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>crusader</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> </Models> </Item>
to this:
<Item type="CAmbientModelSet"> <Name>ARMY</Name> <Models> <Item> <Name>BARRACKS</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>BARRACKS2</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>crusader</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item><!-- CVPI section added from here... --> <Name>CVPI</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <!-- ...to here --> </Models> </Item>
-
@a63nt-5m1th
Thanks! Can't wait to install this! You are a lifesaver! Thanks again and have a great day!