Jump to content
Sign in to follow this  
zzguy

Whats wrong with this backup.xml?

Recommended Posts

I've been messing with the backup.xml file, and I got the bug where no backup comes at all. I'm using the backup file from RDE,and I edited it to include units from the BCSO project. What did I do wrong?

 

Spoiler

<!-- MKEEZAY30-GTA REALISM 0.6.2 & DILAPIDATED-REALISM DISPATCH ENHANCED 2.3
     LSPDFR 0.3 addon 
	 backup.xml
	 THIS REQUIRES RDE ADDITIONAL MODELS AND RDE LSPDFR 0.3 ADDON TO BE INSTALLED -->
<BackupUnits>
	<LocalPatrol>
		<LosSantosCity>
			<VehicleSet>
				<Vehicles>
					<Vehicle>police</Vehicle>					
					<Vehicle>police5</Vehicle>
					<Vehicle>police3</Vehicle>					
					<Vehicle>police2</Vehicle>
					<Vehicle>police</Vehicle>
				</Vehicles>
				<Peds>
					<Ped chance="60">s_m_y_cop_01</Ped>
					<Ped chance="15" task="2" accs="2" RandomizeProps="False">s_m_y_cop_01</Ped>					
					<Ped chance="25">s_f_y_cop_01</Ped>
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
		</LosSantosCity>
		<LosSantosCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>addSHERIFF</Vehicle>
					<Vehicle>addSHERIFF3</Vehicle>
					<Vehicle>addSHERIFF</Vehicle>
					<Vehicle>addSHERIFF2</Vehicle>
					<Vehicle>addSHERIFF</Vehicle>
					<Vehicle>addSHERIFF3</Vehicle>	
				</Vehicles>
				<Peds>
					<Ped chance="70">s_m_y_addsheriff_01</Ped>
					<Ped chance="10" task="2" accs="2" RandomizeProps="False">s_m_y_addsheriff_01</Ped>					
					<Ped chance="20">s_f_y_addsheriff_01</Ped>
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>addBSHERIFF</Vehicle>
					<Vehicle>addBSHERIFF2</Vehicle>
					<Vehicle>addBSHERIFF3</Vehicle>
					<Vehicle>addBSHERIFF4</Vehicle>
					<Vehicle>addBSHERIFF5</Vehicle>
				</Vehicles>
				<Peds>
					<Ped chance="70">s_m_y_sheriff_02</Ped>
					<Ped chance="30">s_f_y_sheriff_02</Ped>
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet>
				<Vehicles>
					<Vehicle>policeold1</Vehicle>
					<Vehicle>policeold2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped p_head="0">s_m_m_snowcop_01</Ped>
					<Ped p_head="1">s_m_m_snowcop_01</Ped>
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
		</NorthYankton>
	</LocalPatrol>
	<StatePatrol>
		<LosSantosCity>
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_shirt="1" comp_decals="1" comp_pants="1" helmet="False" chance="75">s_m_y_hwaycop_01</Ped>
					<Ped chance="25">s_f_y_hwaycop_01</Ped>					
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_shirt="1" comp_decals="1" comp_pants="1" helmet="False" chance="75">s_m_y_hwaycop_01</Ped>
					<Ped chance="25">s_f_y_hwaycop_01</Ped>					
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>			
			<VehicleSet>
				<Vehicles>
					<Vehicle>police4</Vehicle>
					<Vehicle>police4</Vehicle>
					<Vehicle>fbi</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped>S_M_M_Dick_01</Ped>					
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>			
		</LosSantosCity>
		<LosSantosCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_shirt="1" comp_decals="1" comp_pants="1" helmet="False">s_m_y_hwaycop_01</Ped>
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
			<VehicleSet>
				<Vehicles>
					<Vehicle>policeb</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_shirt="1" comp_decals="1" comp_pants="0" prop_head="0" helmet="True">s_m_y_hwaycop_01</Ped>
				</Peds>
				<NumPeds min="1" max="1" />
			</VehicleSet>			
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar2</Vehicle>
					<Vehicle>hwaycar</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>hwaycar3</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_shirt="1" comp_decals="1" comp_pants="1" helmet="False">s_m_y_hwaycop_01</Ped>
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
			<VehicleSet>
				<Vehicles>
					<Vehicle>policeb</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_shirt="1" comp_decals="1" comp_pants="0" prop_head="0" helmet="True">s_m_y_hwaycop_01</Ped>
				</Peds>
				<NumPeds min="1" max="1" />
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet>
				<Vehicles>
					<Vehicle>policeold1</Vehicle>
					<Vehicle>policeold2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped p_head="0">s_m_y_snowcop_01</Ped>
					<Ped p_head="1">s_m_y_snowcop_01</Ped>
				</Peds>
				<NumPeds min="1" max="2" />
			</VehicleSet>
		</NorthYankton>
	</StatePatrol>
	<LocalSWAT>
		<LosSantosCity>
			<VehicleSet>
				<Vehicles>
					<Vehicle>riot</Vehicle>	
					<Vehicle>fbi2</Vehicle>	
					<Vehicle>fbi2</Vehicle>	
					<Vehicle>fbi2</Vehicle>						
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_swat_01</Ped>
				</Peds>
				<NumPeds min="6" max="6" />
			</VehicleSet>			
		</LosSantosCity>
		<LosSantosCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>addsheriff2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_addseb_01</Ped>
				</Peds>
				<NumPeds min="6" max="6" />
			</VehicleSet>
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>addBSHERIFF2</Vehicle>
					<Vehicle>addBSHERIFF5</Vehicle>
				</Vehicles>
				<Peds>
					<Ped>s_m_y_sheriff_02</Ped>
				</Peds>
				<NumPeds min="6" max="6" />
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet>
				<Vehicles>
					<Vehicle>policeold1</Vehicle>
					<Vehicle>policeold2</Vehicle>
				</Vehicles>
				<Peds>
					<Ped p_head="0">s_m_y_snowcop_01</Ped>
					<Ped p_head="1">s_m_y_snowcop_01</Ped>
				</Peds>
				<NumPeds min="2" max="2" />
			</VehicleSet>
		</NorthYankton>
	</LocalSWAT>
	<NooseSWAT>
		<LosSantosCity>
			<VehicleSet>
				<Vehicles>
					<Vehicle>POLICEINSURGENT</Vehicle>
					<Vehicle>nooseriot</Vehicle>
					<Vehicle>POLICEINSURGENT</Vehicle>
					<Vehicle>fbi2</Vehicle>
					<Vehicle>fbi2</Vehicle>
					<Vehicle>fbi2</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_noose_01</Ped>
				</Peds>
				<NumPeds min="6" max="6" />
			</VehicleSet>		
		</LosSantosCity>
		<LosSantosCounty>		
			<VehicleSet>
				<Vehicles>
					<Vehicle>POLICEINSURGENT</Vehicle>
					<Vehicle>nooseriot</Vehicle>
					<Vehicle>POLICEINSURGENT</Vehicle>
					<Vehicle>fbi2</Vehicle>
					<Vehicle>fbi2</Vehicle>
					<Vehicle>fbi2</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_noose_01</Ped>
				</Peds>
				<NumPeds min="6" max="6" />
			</VehicleSet>		
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>fbi</Vehicle>
					<Vehicle>fbi2</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_hwayswat_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>fbi</Vehicle>
					<Vehicle>fbi2</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_hwayswat_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>			
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>addBRIOT</Vehicle>
					<Vehicle>addBINSURGENT</Vehicle>				
				</Vehicles>
				<Peds>
					<Ped prop_head="0">s_m_y_swat_02</Ped>
				</Peds>
				<NumPeds min="6" max="6" />
			</VehicleSet>			
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>fbi</Vehicle>
					<Vehicle>fbi2</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_hwayswat_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>
			<VehicleSet>
				<Vehicles>
					<Vehicle>hwaycar3</Vehicle>
					<Vehicle>fbi</Vehicle>
					<Vehicle>fbi2</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_hwayswat_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet>
				<Vehicles>
					<Vehicle>POLICEINSURGENT</Vehicle>
					<Vehicle>nooseriot</Vehicle>
					<Vehicle>POLICEINSURGENT</Vehicle>
					<Vehicle>fbi2</Vehicle>
					<Vehicle>fbi2</Vehicle>
					<Vehicle>fbi2</Vehicle>					
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_noose_01</Ped>
				</Peds>
				<NumPeds min="6" max="6" />
			</VehicleSet>	
		</NorthYankton>
	</NooseSWAT>
	<LocalAir>
		<LosSantosCity>
			<VehicleSet>
				<Vehicles>
					<Vehicle livery="1">polmav</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_tasks="1" comp_decals="0" helmet="True">s_m_y_pilot_01</Ped>
				</Peds>
				<NumPeds min="2" max="2" />
			</VehicleSet>
		</LosSantosCity>
		<LosSantosCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>addsheriffmav</Vehicle>
					<Vehicle>hwaymav</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_tasks="1" comp_decals="0" helmet="True">s_m_y_pilot_01</Ped>
				</Peds>
				<NumPeds min="2" max="2" />
			</VehicleSet>
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>addbsheriffmav</Vehicle>
					<Vehicle>hwaymav</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_tasks="1" comp_decals="0" helmet="True">s_m_y_pilot_01</Ped>
				</Peds>
				<NumPeds min="2" max="2" />
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet>
				<Vehicles>
					<Vehicle>sheriffmav</Vehicle>
				</Vehicles>
				<Peds>
					<Ped comp_tasks="1" comp_decals="0" helmet="True">s_m_y_pilot_01</Ped>
				</Peds>
				<NumPeds min="2" max="2" />
			</VehicleSet>
		</NorthYankton>
	</LocalAir>
	<NooseAir>
		<LosSantosCity>
			<VehicleSet>
				<Vehicles>
					<Vehicle>nooseannihilator</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_noose_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>
		</LosSantosCity>
		<LosSantosCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>nooseannihilator</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_noose_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>
		</LosSantosCounty>
		<BlaineCounty>
			<VehicleSet>
				<Vehicles>
					<Vehicle>nooseannihilator</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_noose_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>
		</BlaineCounty>
		<NorthYankton>
			<VehicleSet>
				<Vehicles>
					<Vehicle>nooseannihilator</Vehicle>
				</Vehicles>
				<Peds>
					<Ped prop_head="0" comp_decals="0">s_m_y_noose_01</Ped>
				</Peds>
				<NumPeds min="4" max="4" />
			</VehicleSet>
		</NorthYankton>
	</NooseAir>
<Ambulance>
	<LosSantosCity>
		<VehicleSet>
			<Vehicles>
				<Vehicle livery="2">ambulance</Vehicle>
				<Vehicle>ambulance</Vehicle>
			</Vehicles>
			<Peds>
				<Ped RandomizeProps="True">s_m_m_paramedic_01</Ped>
			</Peds>
			<NumPeds min="2" max="2" />
		</VehicleSet>
	</LosSantosCity>
	<LosSantosCounty>
		<VehicleSet>
			<Vehicles>
				<Vehicle livery="2">ambulance</Vehicle>
			</Vehicles>
			<Peds>
				<Ped RandomizeProps="True">s_m_m_paramedic_01</Ped>
			</Peds>
			<NumPeds min="2" max="2" />
		</VehicleSet>
	</LosSantosCounty>
	<BlaineCounty>
		<VehicleSet>
			<Vehicles>
				<Vehicle livery="2">ambulance</Vehicle>
			</Vehicles>
			<Peds>
				<Ped RandomizeProps="True">s_m_m_paramedic_01</Ped>
			</Peds>
			<NumPeds min="2" max="2" />
		</VehicleSet>
	</BlaineCounty>
	<NorthYankton>
		<VehicleSet>
			<Vehicles>
				<Vehicle>ambulance</Vehicle>
			</Vehicles>
			<Peds>
				<Ped RandomizeProps="True">s_m_m_paramedic_01</Ped>
			</Peds>
			<NumPeds min="2" max="2" />
		</VehicleSet>
	</NorthYankton>
</Ambulance>
</BackupUnits>

 

 

Share this post


Link to post
Share on other sites

Well, I don't see any syntactical errors. Maybe verify all the models used can spawn when called by name in a trainer its possible maybe a model name is entered wrong somewhere or maybe it doesn't exist in your game. 

I doubt this is a problem but maybe it doesn't like the min='6' on some of the numpeds.  

Share this post


Link to post
Share on other sites

I know that the models can be spawned, as both the RDE pack and BCSO pack contain their own backup.xmls that use these units. I have also spawned them myself with the rage console. I have noticed though that the rage console is unable to autocomplete any of the vehicle names, though this was also true for RDE's backup file which worked fine.

What could cause a problem with the minimum amount of peds on a vehicle?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×