Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[WIP] [REL] Custom Backup by Location

You're viewing a summary of the most helpful posts in this topic — about 6 minutes of reading instead of 253 minutes for all 230 posts.

Featured Replies

MOD RELEASED: 

 

So, I've been working on this for several weeks now, and am finally ready to share some details. Please note this plugin will not be available for a while longer - it's very much still in development, and only the basic framework has been built so far. That said, I can't wait to release it to the community! If you're interested in beta testing please send me a PM. 

This plugin will allow you to define a custom CustomBackup.xml to override the default LSPDFR Backup.xml in certain geographical areas. It will also correctly implement vehicle extras (which seems to be broken in the default Backup.xml), and will have the ability to change the "chance" of every vehicle set, vehicle, and ped (the default Backup.xml only lets you set a chance on peds). You'll be able to set vehicle color, and what distance range from the scene each type of vehicle should spawn at, so that you can configure special units to spawn further away. 

This gives you infinite control over how backup responds in different parts of the map. For example, for my testing, I have configured certain regions which are parks to have the park ranger respond in Mt. Chiliad, Raton Canyon, Cassidy Creek, Paleto Forest, Mount Josia, and San Chianski Mtn Range. I have also configured for Fort Zancudo to have base security respond as local patrol, military HUMVEEs respond as local SWAT, and Rhino tanks respond for NOOSE swat. I've also set the Annihilator, Buzzard2, and Savage to respond as local air support, and the Hydra and Lazer respond as NOOSE air support... that's right, fighter jets in your backup menu! At the airport I have an Airport Police livery which responds, as well as Federal Police. At the ports, the Port Police responds, and on the beach there's a chance of the Lifeguard responding for local patrol and a Coast Guard helicopter responding as the air unit. 

You specify what units should respond based on the WorldZone, meaning you can override for an entire county, or a specific area like "Sandy Shores" or "Vinewood Hills". The custom backup XML file only has to specify the options you want to override; if a zone isn't defined or you only define one response type (e.g. only override local patrol unit), then it'll use whatever your default LSPDFR setting is automatically. 

Current progress status of the mod:

Completed:

  • Create CustomBackup.xml format
  • Parse CustomBackup.xml components:
  • Create backup menu with dynamic options depending on if pursuit is active
  • Determine correct response when backup is requested (choose a vehicle set correctly)
  • Spawn correct backup vehicles and peds, and add to pursuit
  • New 2/2/16: Implemented basic Code 2 and Code 3 response. Code 2 responds at a slower speed, with flashing lights but no sirens. Code 3 responds at higher speed with sirens. 
  • New 2/3/16: Implemented configuration of vehicle liveries and extras, vehicle color, and vehicle spawn radius range. 
  • New 2/4/16: Implemented setting ped model components, improved Code 2/3 response driving code. 
  • New 2/5/16: Implemented ped hat/prop selection. Added various options to config file.
    Implemented 3 levels of Code 2 response options - no lights/siren; lights only; and no lights until arrival on scene, then turn lights on when arriving on scene
  • New 2/7/16: Implemented audio when calling backup, e.g. "Attention all units... backup requested at <location>, units respond Code 3", and option in ini file to toggle audio on/off. 
  • New 2/7/16: Implemented specification of custom weapons for responding peds, and chance of each weapon spawning
  • New 2/22/16: Lots of small details have been cleaned up significantly. Better controller support, ability to override LSPDFR backup menu, more customization options in the XML file, better Code 2 and Code 3 response AI, partial ambulance support, detection of police computer in use to avoid unwanted interaction, and more. Public release should be by the end of the month. Thank you to the beta testers for all your help!

 

And, here's a preview screenshot of custom backup arriving at Ford Zancudo. Yes, that's a fighter jet about to take a bombing run at the suspects!

2016-01-30_00053.thumb.jpg.5b8f652328fa8

And here we are over in Raton Canyon and we get Rangers responding in various vehicles including an ATV: 

2016-01-30_00062.thumb.jpg.fa1dfc88a2db8

Here's an image showing the livery and component selection. At the airport, LS Airport police and Federal Protective Police spawn. The airport police cars have pushbars and regular cop peds, the federal police have no pushbars and have IAA agent models. 

2016-02-04_00013.thumb.jpg.8b762dfdb4b02

 

Edited by PNWParksFan
Mod released!

[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!

  • Replies 229
  • Views 31.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • PNWParksFan
    PNWParksFan

    Big progress today! I got the vehicle customization working, including livery support and functional enabling/disabling of vehicle extras (which is broken in LSPDFR's backup.xml). I also just got colo

  • PNWParksFan
    PNWParksFan

    Possibly, we'll see. There's a standing offer that if any other developer wants to take that on, I'll support their efforts. 

  • PNWParksFan
    PNWParksFan

    Got the basics working. I'll also add a submenu and option to place additional backup types on the submenu. As an example, I added a police bike option so you could specifically call one when desired:

Posted Images

  • Author

Big progress today! I got the vehicle customization working, including livery support and functional enabling/disabling of vehicle extras (which is broken in LSPDFR's backup.xml). I also just got color support working. 

The site's image upload keeps failing for me tonight, so here's some screenshots on imgur: 

https://imgur.com/a/swQZB

https://i.imgur.com/Z8IpFgx.jpg

Edited by PNWParksFan
Added color support

[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!

  • 4 weeks later...
  • Author
2 minutes ago, LSPDGamefriik said:

But are you gonna do it later or no?

Possibly, we'll see. There's a standing offer that if any other developer wants to take that on, I'll support their efforts. 

[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!

  • Author

Got the basics working. I'll also add a submenu and option to place additional backup types on the submenu. As an example, I added a police bike option so you could specifically call one when desired: 

2016-03-06_00002.thumb.jpg.ee3921360d4d4

[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!

  • 2 months later...
On 5/19/2016 at 5:36 PM, PNWParksFan said:

Since this thing is acting weird, I can only type in the "quote box". Sorry haha. Anyways, I was wondering if I could completely disable all of the standard features and just use the custom ones without ever seeing the original ones.

Edited by BSIncorporated

Works perfectly!

 

One question, though, is there any way to get the Custom Backup menu to spawn with the Right Thumbstick Press on a controller instead of the default backup?

Edited by spreilly

  • 2 months later...
  • 5 weeks later...
  • 1 month later...
  • 4 weeks later...

Hello officers,

I'm trying to get a black sheriff SUV to function as a highway patrol unit (see picture) 

20161116234510_1.jpg

 

I never worked with XML but this is what I got so far:

 

<VehicleSet>
                <Vehicles>
                    <Vehicle chance="50" color="Black">sheriff2</Vehicle>
                </Vehicles>
                <Peds>
                    <Ped comp_shirt="1" comp_decals="1" comp_pants="1" helmet="False">s_m_y_hwaycop_01</Ped>
                </Peds>
                <NumPeds min="1" max="2" />
            </VehicleSet>

 

However, the game spawns ''normal'' sheriff SUV's when I request state patrol. Is it possible to give a color to marked police cars?

 

Thanks in advance,

 

  • 1 year later...

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

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.