Jump to content

Spawning backup based on location


Recommended Posts

I was messing around with the backup.xml, because I wanted to create custom backup units for Paleto Bay and Sandy Shore. I followed what was said in the backup.xml, unfortunately, I wasn't able to get specific units to spawn as Paleto Bay police. Is it possible to have units spawn specifically in Paleto Bay and Sandy Shores?

 

Spoiler

<LocalPatrol>  <!-- Type of backup -->
		<PaletoBay>  <!-- Area of backup-->
			<VehicleSet>
				<Vehicles>  <!-- A model will be chosen randomly from a vehicle set. You can use the same model more than once to increase the chance. -->
					<Vehicle>pbpolice</Vehicle>
					<Vehicle>pbpolice2</Vehicle>
					<Vehicle>pbpolice3</Vehicle>
				</Vehicles>
				<Peds>
					<Ped chance="80">s_m_y_cop_01</Ped>  <!-- Chances must add up to 100 -->
					<Ped chance="20">s_f_y_cop_01</Ped>
				</Peds>
				<NumPeds min="1" max="2" />  <!-- Number of peds that will respond (minimum and maximum) -->
			</VehicleSet>
		</PaletoBay>

 

 

 

Link to comment
Share on other sites

Edit: Alright @c13 I downloaded that file, again, and I am using this code:

Spoiler

<LocalPatrol>	
	<BackupRegion nickname="Paleto Bay">
      <BackupAreas>
        <Area>Paleto</Area>
		<Area>PalCov</Area>
		<Area>PalFor</Area>
      </BackupAreas>
      <VehicleSet>
        <Vehicles>
          <Vehicle chance="50">pbpolice</Vehicle>
          <Vehicle chance="50">pbpolice2</Vehicle>
        </Vehicles>
        <Peds>
          <Ped chance="70">s_m_y_cop_01</Ped>
          <Ped chance="30">s_f_y_cop_01</Ped>
        </Peds>
        <NumPeds min="1" max="2" />
      </VehicleSet>
    </BackupRegion>
  </LocalPatrol>

 

 

 

The game still spawns in sheriffs, why? I had the same problem in the past when I used this file.

Edited by MrAnarchy
Link to comment
Share on other sites

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...