Jump to content
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

How to change what cars the AI use for backup


Go to solution Solved by Dozel,

Recommended Posts

I am struggling with the cars the AI use for backup, and how to change it. I want to change what cars the SAHP, LSPD, and BSCO/LSSD use but i cannot find any tutorials or anything on it.

 

People say to use Agency.xml or Backup.xml, but I have 0 clue on what im doing.

 

Please help

Edited by JoeBama
Link to comment
Share on other sites

  • Solution
10 hours ago, JoeBama said:

I am struggling with the cars the AI use for backup, and how to change it. I want to change what cars the SAHP, LSPD, and BSCO/LSSD use but i cannot find any tutorials or anything on it.

 

People say to use Agency.xml or Backup.xml, but I have 0 clue on what im doing.

 

Please help

If you use Ultimate Backup, you have to change DefaultRegions.xml, SpecialUnits.xml and CustomRegions.xml. Here is example:

 

Spoiler
<LosSantosCounty>	<!--Los Santos Sheriff's Department-->
				<VehicleSet spawn_distance="150" chance="80">
					<Vehicles>
						<Vehicle chance="33" pax="1" pax_chance="30">SHERIFF</Vehicle>
						<Vehicle chance="33" pax="1" pax_chance="30">SHERIFF2</Vehicle>
						<Vehicle chance="34" pax="1" pax_chance="30">SHERIFF3</Vehicle>
					</Vehicles>

 

 

<LosSantosCounty> - it's an area/agancy where cars will be spawn. Look for <Vehicle> tag, add your vehicle in the bottom like mine (SHERIFF3), if your <Vehicle> tag has chance, in totall for all vehicles in one tag summ shall not exceed 100.

 

If you use vanilla one, go to GTAV/lspdfr/data folder, in agancy.xml

 

Spoiler
<Name>Los Santos County Sheriff</Name>
		<ShortName>LSSD</ShortName>
		<ScriptName>lssd</ScriptName>
		<Inventory>default</Inventory>
		<TextureDictionary>dia_police</TextureDictionary>
		<TextureName>dia_police</TextureName>
		<Loadout>
			<Name>Patrol Unit</Name>
			<Vehicles>
				<Vehicle>sheriff</Vehicle>
                <Vehicle>sheriff3</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="9,21,26">police5</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="5,17,20">polgauntlet</Vehicle>
			</Vehicles>

 

 

Look for agancy you want to change (Los Santos County Sheriff), and add your vehicle under <Vehicles> tag (like mine sheriff3). Also you can add addon car to garage, change

duty_selection.xml. Scroll to <VehicleDescriptions> tag and add your vehicle here.

 

Spoiler
 <Description name="Sheriff Cruiser" fullName="Vapid Police Cruiser" agencyRef="lssd">sheriff</Description>
 <Description name="Sheriff SUV" fullName="Declasse Granger" agencyRef="lssd">sheriff2</Description>
 <Description name="Sheriff Cruiser" fullName="Dodge Charger" agencyRef="lssd">sheriff3</Description>

 

 

If you use EUPFR, it's the same way, but you have to go into GTAV/lspdfr/data/custom. Change agency_addons.xml, agency_eupfr.xml and duty_selection_eupfr.xml the same way as for vanilla.

 

Spoiler
<Name>Blaine County Sheriff's Office</Name>
		<ShortName>BCSO</ShortName>
		<ScriptName>bcso</ScriptName>
		<Inventory>patrol_eup</Inventory>
		<BadgeModel>prop_bcso_badge</BadgeModel>
		<Loadout chance="90">
			<Name>Patrol</Name>
			<Vehicles>
				<Vehicle>sheriff</Vehicle>
				<Vehicle>sheriff2</Vehicle>
				<Vehicle>sheriff3</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="9,21,26">police5</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="5,17,20">polgauntlet</Vehicle>
			</Vehicles>

 

 

Spoiler
<Name>Los Santos County Sheriff's Dept.</Name>
		<ShortName>LSSD</ShortName>
		<ScriptName>lssd</ScriptName>
		<Inventory>patrol_eup</Inventory>
		<BadgeModel>prop_lssd_badge</BadgeModel>
		<TextureDictionary>dia_police</TextureDictionary>
		<TextureName>dia_police</TextureName>
		<Loadout chance="95">
			<Name>Patrol</Name>
			<Vehicles>
				<Vehicle>sheriff</Vehicle>
				<Vehicle>sheriff2</Vehicle>
				<Vehicle>sheriff3</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="9,21,26">police5</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="5,17,20">polgauntlet</Vehicle>
			</Vehicles>

 

 

Spoiler
<Description name="Sheriff Cruiser" fullName="Ford Police Cruiser" agencyRef="lssd">sheriff</Description>
<Description name="Sheriff SUV" fullName="Declasse Granger" agencyRef="lssd">sheriff2</Description>
<Description name="Sheriff Charger" fullName="Dodge Police Cruiser" agencyRef="lssd">sheriff3</Description>

 

 

Edited by DozelRhine
Link to comment
Share on other sites

9 hours ago, DozelRhine said:

If you use Ultimate Backup, you have to change DefaultRegions.xml, SpecialUnits.xml and CustomRegions.xml. Here is example:

 

  Reveal hidden contents
<LosSantosCounty>	<!--Los Santos Sheriff's Department-->
				<VehicleSet spawn_distance="150" chance="80">
					<Vehicles>
						<Vehicle chance="33" pax="1" pax_chance="30">SHERIFF</Vehicle>
						<Vehicle chance="33" pax="1" pax_chance="30">SHERIFF2</Vehicle>
						<Vehicle chance="34" pax="1" pax_chance="30">SHERIFF3</Vehicle>
					</Vehicles>

 

 

<LosSantosCounty> - it's an area/agancy where cars will be spawn. Look for <Vehicle> tag, add your vehicle in the bottom like mine (SHERIFF3), if your <Vehicle> tag has chance, in totall for all vehicles in one tag summ shall not exceed 100.

 

If you use vanilla one, go to GTAV/lspdfr/data folder, in agancy.xml

 

  Reveal hidden contents
<Name>Los Santos County Sheriff</Name>
		<ShortName>LSSD</ShortName>
		<ScriptName>lssd</ScriptName>
		<Inventory>default</Inventory>
		<TextureDictionary>dia_police</TextureDictionary>
		<TextureName>dia_police</TextureName>
		<Loadout>
			<Name>Patrol Unit</Name>
			<Vehicles>
				<Vehicle>sheriff</Vehicle>
                <Vehicle>sheriff3</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="9,21,26">police5</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="5,17,20">polgauntlet</Vehicle>
			</Vehicles>

 

 

Look for agancy you want to change (Los Santos County Sheriff), and add your vehicle under <Vehicles> tag (like mine sheriff3). Also you can add addon car to garage, change

duty_selection.xml. Scroll to <VehicleDescriptions> tag and add your vehicle here.

 

  Reveal hidden contents
 <Description name="Sheriff Cruiser" fullName="Vapid Police Cruiser" agencyRef="lssd">sheriff</Description>
 <Description name="Sheriff SUV" fullName="Declasse Granger" agencyRef="lssd">sheriff2</Description>
 <Description name="Sheriff Cruiser" fullName="Dodge Charger" agencyRef="lssd">sheriff3</Description>

 

 

If you use EUPFR, it's the same way, but you have to go into GTAV/lspdfr/data/custom. Change agency_addons.xml, agency_eupfr.xml and duty_selection_eupfr.xml the same way as for vanilla.

 

  Reveal hidden contents
<Name>Blaine County Sheriff's Office</Name>
		<ShortName>BCSO</ShortName>
		<ScriptName>bcso</ScriptName>
		<Inventory>patrol_eup</Inventory>
		<BadgeModel>prop_bcso_badge</BadgeModel>
		<Loadout chance="90">
			<Name>Patrol</Name>
			<Vehicles>
				<Vehicle>sheriff</Vehicle>
				<Vehicle>sheriff2</Vehicle>
				<Vehicle>sheriff3</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="9,21,26">police5</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="5,17,20">polgauntlet</Vehicle>
			</Vehicles>

 

 

  Reveal hidden contents
<Name>Los Santos County Sheriff's Dept.</Name>
		<ShortName>LSSD</ShortName>
		<ScriptName>lssd</ScriptName>
		<Inventory>patrol_eup</Inventory>
		<BadgeModel>prop_lssd_badge</BadgeModel>
		<TextureDictionary>dia_police</TextureDictionary>
		<TextureName>dia_police</TextureName>
		<Loadout chance="95">
			<Name>Patrol</Name>
			<Vehicles>
				<Vehicle>sheriff</Vehicle>
				<Vehicle>sheriff2</Vehicle>
				<Vehicle>sheriff3</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="9,21,26">police5</Vehicle>
				<Vehicle is_dlc="true" use_modkit_liveries="true" livery_multi="5,17,20">polgauntlet</Vehicle>
			</Vehicles>

 

 

  Reveal hidden contents
<Description name="Sheriff Cruiser" fullName="Ford Police Cruiser" agencyRef="lssd">sheriff</Description>
<Description name="Sheriff SUV" fullName="Declasse Granger" agencyRef="lssd">sheriff2</Description>
<Description name="Sheriff Charger" fullName="Dodge Police Cruiser" agencyRef="lssd">sheriff3</Description>

 

 

thank you. how would i get rid of polgauntlet and police5? i dont want the units to spawn in with those vehicles.

Edited by JoeBama
Link to comment
Share on other sites

6 hours ago, JoeBama said:

 .

Do you happen to know how to make all vehicles have an equal chance of spawning? I have 7 cars in my addon and 1 bike for SAHP, and 12 cars for my sheriff.

Don't you trying to add all those cars under one Vehicle tag? You don't have to. Like for PD agancy PD cars, for SD agancy sheriff cars etc. Like if you have 7 police cars, 100/7 and you'll get 5 cars with chance 14 and 2 with 15. Add it for Los Santos area, and so on.

Edited by DozelRhine
Link to comment
Share on other sites

2 hours ago, DozelRhine said:

Don't you trying to add all those cars under one Vehicle tag? You don't have to. Like for PD agancy PD cars, for SD agancy sheriff cars etc. Like if you have 7 police cars, 100/7 and you'll get 5 cars with chance 14 and 2 with 15. Add it for Los Santos area, and so on.

okay, thank you my friend. 

Link to comment
Share on other sites

  • 5 weeks later...
You should only reply here to ask for more information from JoeBama or to answer the person's issue.

Reply to this thread only to offer help or assistance to JoeBama.
If you want support, create your own thread in the appropriate forum. Non-relevant replies, derailing posts, "me too", disinformation and other support requests will be removed without warning.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...