About This File
This is a simple program I wrote to allow easier configuration of vehicle set chance and Vehicles now too.
I have created a gui now, so you may choose to have the files where ever.
<VehicleSet chance="66">
...</VehicleSet>
<VehicleSet chance="33">
...</VehicleSet>
Take the backup.xml the tool creates and place it in your gtav/lspdfr folder if you didn't select that folder initially.
How to use:
select your custom backup.xml file, and your output folder then click parse, it should create a new file in the output folder named backup.xml or will overwrite backup.xml if it is contained in the output folder.
Warning this tool is made for windows only. Since I don't have developer certificate, you will most likely get a windows security prompt when trying to run my program. Simply click more info and run anyway.
It accepts .xml files only the formatting should be the same as the default backup.xml
with only the addition of vehicle set chance tags and vehicle chance tags.
Please comment with any bugs you find.
What it does exactly:
Since all vehicle sets (within an area) have equal probability it will duplicate vehicle sets in order simulate the chance probabilities.
eg in the case of nicebackup.xml looking like
<VehicleSet chance="66">
<Vehicles>
<Vehicle chance="70">police</Vehicle>
<Vehicle chance="20">police2</Vehicle>
<Vehicle chance="10">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) -->
...</VehicleSet>
<VehicleSet chance="33">
"set two content"
...</VehicleSet>
the tool will produce backup.xml looking like
<VehicleSet>
<Vehicles>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police2</Vehicle>
<Vehicle>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" />
...</VehicleSet>
<VehicleSet>
<Vehicles>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police</Vehicle>
<Vehicle>police2</Vehicle>
<Vehicle>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" />
...</VehicleSet>
<VehicleSet>
"set two content"
...</VehicleSet>
What's New in Version 2.1
Released
Created gui for choosing files.

.png.fdab16d62ab8306ef34cec59284f4b12.png.9d5e6cf9427ad028178843acb6c725cb.png)
Recommended Comments
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 accountSign in
Already have an account? Sign in here.
Sign In Now