Custom Backup 3.3

9 Screenshots

Custom backup gives you a new level of control in LSPDFR. The key feature of this mod is regionally customized backup, allowing you to set a different response for any area on the map. For any named area of the game (like "Rockford Hills", "Los Santos International Airport", "Sandy Shores", etc.) you can completely customize every level of response just like the built-in backup.xml. The syntax of the CustomBackup.xml file is very similar to the built-in backup.xml, but has numerous additions to increase your control over the game:

Set a chance for anything! Peds, vehicles, and vehiclesets now all take a chance attribute which controls how likely they are to be chosen. (The built-in backup.xml only lets you set a chance on peds.)

Configure vehicle extras, liveries, and colors! You can now set any color you want for any response vehicle, opening up a whole new level of customization for unmarked units. Vehicle extra configuration also works reliably, whereas it seems to have some issues in the built-in backup.xml.

Cop weapon selection! Set a list of weapons to give your backup units, set the probability for each weapon, and decide whether you want them to pick one at random or always get the most powerful one.

Set spawn distance range for each vehicle entry! Every vehicle entry can have a minimum and maximum spawn distance set. This allows for additional realism by making certain units spawn closer or further away. NOOSE SWAT probably isn't just hanging out around the corner, so make them drive in from a mile away. On top of Mt. Chiliad your backup will probably be coming from a long distance, but in Downtown there's probably local patrol units very near by. Your imagination is the limit for leveraging these settings.

Code 2 response with lights! Let's be honest, how often do cops really respond "code 2" with no lights? You can now configure your Code 2 units to respond with lights (but no siren), or to respond with their lights off but turn them on once they arrive and park on scene. YouTube video demo.

Integration with Better EMS: Download and install Better EMS, and you can call for an advanced EMS response through the Custom Backup menu.

Integration with Police Smart Radio: Call for backup from your radio! Call Code 2 or Code 3 local backup, or Pursuit and Air Support units.

Installation instructions are included in the download. Basic installation is pretty easy; just make sure to choose a CustomBackup.xml file to use and put it in place. Advanced usage of the CustomBackup.xml file is explained in great detail in the documentation PDF.

INSTRUCTIONS TO OVERRIDE DEFAULT LSPDFR BACKUP MENU:

To completely disable the built-in LSPDFR backup menu and use the custom menu instead, follow these instructions.

Edit CustomBackupLocations.ini. Set these settings:

CustomBackupMenuKey=B

CustomBackupModifier=None

OverrideLSPDFRBackup=false

Go to the GTA V settings menu

Under Keybindings, go to GTA Online section

Change "Look At" from B to something you don't use, like the numpad period

SPECIAL THANK YOU to members of theParks Benefactor Programwho have supported my mod development! Their generous donations have helped to make continued updates to my modifications possible. Particular thanks to the Old Faithful donors who have supported me with noteworthy donations: Kilyin, anters, Sergeant Anderson, winglesschip, Dsonke1, and PolGuin255. You can join the Parks Benefactor Program by donating to support my mods, and to get early beta access to new modifications and updates to my existing modifications.

What's New in Version 3.3

Released March 31, 2017

New in 3.3:

Updated for RPH 0.51 (recommended); compatible with RPH 0.45+

Integration with Police Smart Radio (call Code 2, Code 3, Pursuit, and Air Support backup from Smart Radio)

Added support for ped texture variants in XML file, and improved detection and compatibility of ped texture changes.

If officers are more than 30m from you when they arrive on scene, they will just wander the area instead of running to you. Prevents them from running all around the map if you call backup and then move.

Split some common functionality for other mods in development into separate ParksTools.dll

Lots of internal code cleanup

Updated for RageNativeUI 1.3.1 and RPH 0.37+.

New in 2.0.1:

Fixed a minor bug where dependency version check fails if file doesn't exist at all

Mod created by PNWParksFan
Thank you to the RPH and LSPDFR teams!
Thank you to all contributors to the LSPDFR API examples on GitHub
Uses RageNativeUI by Alexguirre
Thank you to everybody who helped answer questions in the forums, especially Albo1125 and Alexguirre
Special thanks to the beta testers: Play3r2, The Loot, CriticalBrit, Ray3501, and Kilyin

User Feedback

Recommended Comments

@PNWParksFan I'm slightly confused by "choose a backup.xml." Currently, I have everything installed. I have plugins / LSPDFR / CustomBackup, and the CustomBackup.XML within. Now, is there anything else I need to do with it? Such as as replace my normal backup.xml, or no?

dont replace it i did that and it brakes the backup menu for custom backup and regular lspdfr backup

Share this comment

Link to comment

Share on other sites

dont replace it i did that and it brakes the backup menu for custom backup and regular lspdfr backup

Alright. I'm still having some issues because when I go on duty it just says custom backup couldn't load. Maybe I edited the XML wrong, not sure. I'll use the XML that comes with it and see if it works. If not, oh well.

Share this comment

Link to comment

Share on other sites

Alright. I'm still having some issues because when I go on duty it just says custom backup couldn't load. Maybe I edited the XML wrong, not sure. I'll use the XML that comes with it and see if it works. If not, oh well.

Share this comment

Link to comment

Share on other sites

Hey, how do i get the cops and sheriff to equip the bullet proof vests? I've tried comp_accessories="3" but to no avail.

Basically how do i change "Accessory2"? (as simple native trainer words it) And how do I change the texture of "Accessory2"?

Many thanks.

2 hours ago, PrinsHD2 said:

having the same problem here!

Unfortunately you can't. LSPDFR constantly resets the components of all cop peds in the game in order to manage their holster. That means any ped you spawn with a bullet proof vest, the vest will be removed within a second or two. There's nothing I can do to fix that.

Share this comment

Link to comment

Share on other sites

Unfortunately you can't. LSPDFR constantly resets the components of all cop peds in the game in order to manage their holster. That means any ped you spawn with a bullet proof vest, the vest will be removed within a second or two. There's nothing I can do to fix that.

Damn. Guess i'll be using the default backup menu for local swat then. :P

Been meaning to ask, are you considering putting more customization options into this mod?

Share this comment

Link to comment

Share on other sites

When i ask them to respond code 2 they have the lights and sirens on and the reason i know is i can hear them all the way down the street lol and it it set on ARRIVAL. Any thoughts? Thanks in advance I love the setup of everything esle I just want to fix this small issue and i am using ESL if that helps.

Share this comment

Link to comment

Share on other sites

When i ask them to respond code 2 they have the lights and sirens on and the reason i know is i can hear them all the way down the street lol and it it set on ARRIVAL. Any thoughts? Thanks in advance I love the setup of everything esle I just want to fix this small issue and i am using ESL if that helps.

Most likely an ELS issue. Unfortunately I can't do anything about that, since ELS messes with the lights and sirens in lots of ways which we can't control from scripts.

Share this comment

Link to comment

Share on other sites

In custom backup I've set backup to only have nightstick & stungun (unless SWAT) but everytime I call backup they keep showing up with pistols still. I can't understand what I've done wrong, help please?

Here's my XML:

Spoiler

<!--

For the default menu entries like LocalPatrol, NooseAir, etc. you can set
mainmenu="false" to put that entry on the "additional options" backup menu.
By default, all of the regular backup types will be on the main menu if you
don't specify the mainmenu attribute.

To add custom entries to the menu, scroll down towards the end of the file,
and look for <CustomMenuEntries>.

Share this comment

Link to comment

Share on other sites

In custom backup I've set backup to only have nightstick & stungun (unless SWAT) but everytime I call backup they keep showing up with pistols still. I can't understand what I've done wrong, help please?

Here's my XML:

Hide contents

<!--

For the default menu entries like LocalPatrol, NooseAir, etc. you can set
mainmenu="false" to put that entry on the "additional options" backup menu.
By default, all of the regular backup types will be on the main menu if you
don't specify the mainmenu attribute.

To add custom entries to the menu, scroll down towards the end of the file,
and look for <CustomMenuEntries>.

Share this comment

Link to comment

Share on other sites

This is actually due to LSPDFR itself. LSPDFR will always give every cop ped a pistol (and sometimes a shotgun), and there's nothing that a plugin can do to prevent that. Even if you delete it from their inventory, LSPDFR will add it right back. Whenever cops are in combat it gives them pistols. Sometimes if they have another weapon in their inventory it'll select the other weapon, but it'll always add that pistol back into their inventory regardless.

Share this comment

Link to comment

Share on other sites

Anyway to select their vest and accessories? I've added this line to my custom entry but doesn't seem to be working.

<Ped accessories="2" gear="2">s_m_y_sheriff_01</Ped>

I"m using this ped model and would like their hip holster and vest to be on when arriving. I can select those options from the default "on duty" character selection, so I imagine I'd be able to specify that here?