Jump to content

Custom Backup 3.3

   (23 reviews)

9 Screenshots

After a month of development, Custom Backup is finally here!

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

Thank you to @vladimir850 for figuring this out!

 

 

PLEASE DO NOT ASK FOR SUPPORT IF YOU HAVE NOT READ THE DOCUMENTATION PDF! THERE ARE EXPLICIT INSTRUCTIONS IN THE PDF ON WHAT TO DO IF YOU ARE HAVING TROUBLE!

Requirements: 

  • RPH 0.45+ (compiled for 0.51)
  • LSPDFR 0.3.1
  • RageNativeUI 1.4.1 

 

Please post suggestions, support requests, etc in the forum thread: 

To share your CustomBackup.xml or get ideas on what customizations to make, visit the sharing thread: 

Special thanks to everybody who made this mod possible:

  • The LSPDFR team, especially Sam and LMS
  • All contributors to the LSPDFR-API examples on Github: 
    • Alexguirre, Albo1125, LMS, Stealth22, Stray, LtFlash, and LukeD
  • Everybody who helped answer questions about the API and development on the forums, especially @Albo1125 and @alexguirre
  • The original beta testing team for this mod:

 

SPECIAL THANK YOU to members of the Parks Benefactor Program who 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

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)
  • Compatible with Better EMS 3.0
  • Assorted bug fixes and API enhancements

 

Old changelogs:

Spoiler

New in 3.2:

  • Updated for RPH 0.45 and newer
  • Minor bugfixes
  • Compatibility with Better EMS 2.1 and ParksTools updates
  • New API methods added for developers

New in 3.1:

  • Updated for RPH 0.42
  • Added integration with LSPDFR+ statistics
  • Improved dependency checking

New in 3.0.0:

  • Updated for RPH 0.39. Compatible with RPH 0.38. 
  • Integrated with Better EMS - call advanced EMS response from the backup menu.
  • Added support for vehicle mods: Configure spoilers, bumpers, wheels, etc. 
  • Improved detection of XML file errors to reduce support issues.
  • Improved developer API, giving developers access to full response capabilities. 

Fixed in 2.2.1:

  • Fixed bug in ParksTools.dll causing some vehicles to spawn all black. 
  • Fixed bug where calling for suspect transport when no suspect is arrested did not display a notification to the user. 
  • Updated dependency check to expect RPH 0.38. Plugin still loads with older versions but is not guaranteed to work and is not tested. 

New in 2.2.0:

  • Added support for spawning boats as backup units, and added Coast Guard to additional backup entries in stock CustomBackup.xml.
  • Added support for GTA V RGBA color hashes in color definitions of XML file.
  • 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

New in 2.0.0:

  • Added ability to define custom backup menu entries, letting you add any unit type you want.
  • Added "additional options" menu to prevent main backup menu from getting too crowded.
  • Added support for sending custom prisoner transport unit depending on location using the Arrest Manager API by Albo1125.
  • Added developer API.
  • Improved code for dismissing backup units.
  • Added dependency check for RageNativeUI, RagePluginHook, and LSPDFR.
  • Lots of bug fixes and code cleanup. 
  • Compiled against RPH 0.37

 

 

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



17 minutes ago, Officer Andi said:

Does it and Better ems get update soon?

 

I don't have any update planned right now. Depending on how LSPDFR 0.4 shapes up, I will either update or discontinue Custom Backup. Given the emphasis on customization in LSPDFR 0.4 it may not be needed anymore. I will update Better EMS for LSPDFR 0.4 too. In the meantime, I have too many other projects I'm working on. 

Share this comment


Link to comment
Share on other sites
2 hours ago, PNWParksFan said:
3 hours ago, Officer Andi said:

Does it and Better ems get update soon?

 

I don't have any update planned right now. Depending on how LSPDFR 0.4 shapes up, I will either update or discontinue Custom Backup. Given the emphasis on customization in LSPDFR 0.4 it may not be needed anymore. I will upda

Cool, I asked that because it crashes my lspdfr if i try to go on-duty..

Share this comment


Link to comment
Share on other sites
1 hour ago, Officer Andi said:

Cool, I asked that because it crashes my lspdfr if i try to go on-duty..

If you're having a crash, post your log. It works just fine for me on the latest version of GTA. 

Share this comment


Link to comment
Share on other sites
2 hours ago, Officer Andi said:

I don't see any indication of any crash related to or caused by Custom Backup or Better EMS. I do see a plugin timeout while loading LSPDFR, so try setting your RPH plugin timeout to 60,000. You can do this in the RPH settings window by clicking the gear icon when you start RPH, or with the plugin timeout console variable. 

Share this comment


Link to comment
Share on other sites
On 24.4.2018 at 2:27 AM, PNWParksFan said:

I don't see any indication of any crash related to or caused by Custom Backup or Better EMS. I do see a plugin timeout while loading LSPDFR, so try setting your RPH plugin timeout to 60,000. You can do this in the RPH settings window by clicking the gear icon when you start RPH, or with the plugin timeout console variable. 

I found porblem out that was in ALPRlite, i watched my RPH after crash and i found ALPR name there near CustomBackup then i removed ALPRlite from plugins folder and it worked...

Share this comment


Link to comment
Share on other sites

Guys i'm having trouble getting this to work:

 

<StatePatrol>
    <BackupRegion nickname="Counties">
      <BackupAreas>
        <Area>BlaineCounty</Area>
        <Area>LosSantosCounty</Area>
      </BackupAreas>
      <VehicleSet>
        <Vehicles>
          <Vehicle chance="25">hwaycar</Vehicle>
          <Vehicle chance="25">hwaycar2</Vehicle>
          <Vehicle chance="25">hwaycar3</Vehicle>
          <Vehicle chance="25">hwaycar4</Vehicle>
        </Vehicles>
        <Peds>
           <Ped chance="25">s_f_y_hwaycop_01</Ped>
          <Ped chance="25">s_f_y_hwaycop_02</Ped>
          <Ped chance="50">s_m_y_hwaycop_01</Ped>
          <Ped chance="50">s_m_y_hwaycop_02</Ped>
        </Peds>
      </VehicleSet>    
    </BackupRegion>
 </StatePatrol>

 

And this is what the Log says:

 


[8-8-2018 12:17:59.831] LSPD First Response: --------------------------------------- ERROR LOADING CustomBackup.xml --------------------------------------------------------
[8-8-2018 12:17:59.831] LSPD First Response:     EXCEPTION DETAILS: De objectverwijzing is niet op een exemplaar van een object ingesteld.
[8-8-2018 12:17:59.831] LSPD First Response: 
[8-8-2018 12:17:59.831] LSPD First Response:     ADDITIONAL INFORMATION: Error parsing individual backup region
[8-8-2018 12:17:59.832] LSPD First Response: 
[8-8-2018 12:17:59.832] LSPD First Response:     PLEASE CHECK ALL OF THE FOLLOWING BEFORE ASKING FOR SUPPORT:
[8-8-2018 12:17:59.832] LSPD First Response:        - Is your CustomBackup.xml file located at GTA V Folder\Plugins\LSPDFR\CustomBackup\CustomBackup.xml? 
[8-8-2018 12:17:59.832] LSPD First Response:          Make sure to turn on showing file extensions and be certain it isn't named something like CustomBackup.xml.xml
[8-8-2018 12:17:59.832] LSPD First Response:          See http://www.file-extensions.org/article/show-and-hide-file-extensions-in-windows-10
[8-8-2018 12:17:59.833] LSPD First Response: 
[8-8-2018 12:17:59.833] LSPD First Response:        - Is your XML file valid XML? Try uploading it to http://codebeautify.org/xmlvalidate and seeing if it validates.
[8-8-2018 12:17:59.833] LSPD First Response: 
[8-8-2018 12:17:59.833] LSPD First Response:        - Are your XML elements in the right order? Did you leave something out? Triple check the XML format documentation in
[8-8-2018 12:17:59.833] LSPD First Response:          the PDF readme file included with this mod download. 
[8-8-2018 12:17:59.834] LSPD First Response: 
[8-8-2018 12:17:59.834] LSPD First Response:        - Try installing the stock CustomBackup.xml file that is included with the mod. Just copy and paste the file to the 
[8-8-2018 12:17:59.834] LSPD First Response:          correct location. Don't change the filename or any of the contents. If it works with that XML file, it's a problem 
[8-8-2018 12:17:59.834] LSPD First Response:          with your XML file, not a bug with the mod. 
[8-8-2018 12:17:59.834] LSPD First Response: -------------------------------------------------------------------------------------------------------------------------------
[8-8-2018 12:17:59.835] LSPD First Response: 
[8-8-2018 12:17:59.835] LSPD First Response: Loading backup region Counties
[8-8-2018 12:17:59.835] LSPD First Response: 
[8-8-2018 12:17:59.835] LSPD First Response: --------------------------------------- ERROR LOADING CustomBackup.xml --------------------------------------------------------
[8-8-2018 12:17:59.835] LSPD First Response:     EXCEPTION DETAILS: De objectverwijzing is niet op een exemplaar van een object ingesteld.
[8-8-2018 12:17:59.836] LSPD First Response: 
[8-8-2018 12:17:59.836] LSPD First Response:     ADDITIONAL INFORMATION: Error parsing individual backup region
[8-8-2018 12:17:59.836] LSPD First Response: 
[8-8-2018 12:17:59.836] LSPD First Response:     PLEASE CHECK ALL OF THE FOLLOWING BEFORE ASKING FOR SUPPORT:
[8-8-2018 12:17:59.836] LSPD First Response:        - Is your CustomBackup.xml file located at GTA V Folder\Plugins\LSPDFR\CustomBackup\CustomBackup.xml? 
[8-8-2018 12:17:59.837] LSPD First Response:          Make sure to turn on showing file extensions and be certain it isn't named something like CustomBackup.xml.xml
[8-8-2018 12:17:59.837] LSPD First Response:          See http://www.file-extensions.org/article/show-and-hide-file-extensions-in-windows-10
[8-8-2018 12:17:59.837] LSPD First Response: 
[8-8-2018 12:17:59.837] LSPD First Response:        - Is your XML file valid XML? Try uploading it to http://codebeautify.org/xmlvalidate and seeing if it validates.
[8-8-2018 12:17:59.837] LSPD First Response: 
[8-8-2018 12:17:59.838] LSPD First Response:        - Are your XML elements in the right order? Did you leave something out? Triple check the XML format documentation in
[8-8-2018 12:17:59.838] LSPD First Response:          the PDF readme file included with this mod download. 
[8-8-2018 12:17:59.838] LSPD First Response: 
[8-8-2018 12:17:59.838] LSPD First Response:        - Try installing the stock CustomBackup.xml file that is included with the mod. Just copy and paste the file to the 
[8-8-2018 12:17:59.838] LSPD First Response:          correct location. Don't change the filename or any of the contents. If it works with that XML file, it's a problem 
[8-8-2018 12:17:59.838] LSPD First Response:          with your XML file, not a bug with the mod. 
[8-8-2018 12:17:59.839] LSPD First Response: -------------------------------------------------------------------------------------------------------------------------------

 

Cant identify the issue... 

Share this comment


Link to comment
Share on other sites
30 minutes ago, HaDoCk987 said:

OverrideLSPDFRBackup = true(在CustomBackupLocations.ini中)

No, this method has no effect. I have followed the instructions, but the menu will still pop up.

Share this comment


Link to comment
Share on other sites

wait what does this plugin do? replace the og B backup menu or alow addon cars to join as backup ? someone mind telling me im confused

Share this comment


Link to comment
Share on other sites

@PNWParksFan Is there a way to:

 

1) hide a default LSPDFR backup entry such as Ambulance from showing up on the CustomBackup main menu? I tried to hide it using the mainmenu="false"> but it is not working.

2) reorder the backup sections such as putting Noose SWAT first on the menu etc? It does not seem to follow the same sequence as I put in the XML.

3) configure which keystrokes are sent when opening the CustomBackup menu and hiding the default LSPDFR backup menu by opening and closing the interaction menu etc?

 

Thanks.

Edited by XTREMEHEAT

Share this comment


Link to comment
Share on other sites

So the only issue I am having is when I call pursuit backup, they arrive but stay at the position I called the backup at.  Any ideas why?

Share this comment


Link to comment
Share on other sites

in airport i everytime get this message when i want to call a suspect transport: No Transport Unit was dispatched - no arrested suspects were found 

did everyone knows how to fix this?

Screenshot_2.png

Share this comment


Link to comment
Share on other sites
24 minutes ago, TheBartNL said:

in airport i everytime get this message when i want to call a suspect transport: No Transport Unit was dispatched - no arrested suspects were found 

did everyone knows how to fix this?

Screenshot_2.png

 

Seems more likely to be an Arrest Manager issue since that's the mod that would actually dispatch transport to pick up a suspect.

Share this comment


Link to comment
Share on other sites

So I wanted to make my backup show up with revolvers but since LSPDFR keeps forcing cops to have the standard pistol on them, would the "BEST" drawmethod force them to draw the revolver? standardissue is set to WEAPON_DOUBLEACTION

Share this comment


Link to comment
Share on other sites

Has anyone had problems with pursuit backups not having lights on?  

@PNWParksFan Can the Left Click be used for the Controller Binding?  The Link in the .ini is not good anymore.

Edited by pcGAMEZguy

Share this comment


Link to comment
Share on other sites

Think before you post. Toxic behavior will not be tolerated. Unconstructive, toxic or unnecessarily sarcastic comments will be removed and warnings issued.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

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