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.

Backup.xml not working properly?


alweed

Recommended Posts

whenever I modify backup XML, I am trying to make it spawn vehicles with a light bar

 

this is what I change in the .xml

 

<BackupUnits>
    <LocalPatrol>  <!-- Type of backup -->
        <LosSantosCity>  <!-- 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 extra_2=true>police</Vehicle>
                    <Vehicle extra_1=true>police2</Vehicle>
                    <Vehicle>police3</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) -->

 

however it doesn't seem to work

 

and on some callouts it will crash LSPDFR?

 

help anyone? I don't understand why this is happening?

I followed the instructions on the top correctly (the sparse instructions)

 

if anyone wants to look at my full backup.xml it's attached

backup.xml

P.S : it's F5544's designs

 

(theres no info on how to make it force spawn with a lightbar)

cause he probably hates them or something.

Link to comment
Share on other sites

There are some issues with the extra_n parsing in the backup.xml. You do have to include quotes around all attribute values, e.g. extra_1="true" instead of extra_1=true. However, even if you do that, sometimes the vehicles won't actually spawn with that extra enabled. 

You can force a vehicle to always spawn with a particular extra by default, by editing its entry in vehicles.meta to add "required extras". There's instructions in this thread: 

 

Edited by PNWParksFan

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

Link to comment
Share on other sites

Well that didn't work, I did both, I tried modding the vehicles.meta and used the quotes.

 

I wonder what F5544's deal is with slicktops. Jesus, I don't understand why its so hard.

Whenever I added it to the Vehicles.meta, it crashed it, and testing with code 3 wouldn't even spawn.

oh and if you want to see the Vehicles.meta I modded

vehicles.meta

and the vehicles I'm using [about done with F5544]

 

Link to comment
Share on other sites



×
×
  • Create New...