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

Units not spawning with extras specified on XML

Featured Replies

Hello everyone! I find myself in the process of setting up LSPDFR and I'm working on configuring all the Ultimate Backup XML files, but I've noticed that all my backup units are spawning with none of the extras I specified on the XML files. They either spawn with no extras or with random extras, unless I hold the backspace key to cause them to teleport closer at which point all the extras I specified in the XML files appear (by the way, I'm also using non-ELS cars installed as addon cars via LML). And it's not like they're not getting applied, they apparently are (I hopped into one vehicle and saw all the extras I wanted enabled using Enhanced Native Trainer), but they were not showing on the vehicle unless I manually fixed the vehicle. Has anyone ran into this problem before, and does anyone have any suggestions to correct it? I've been searching all throughout the internet (Google, YouTube, Reddit, here on the LSPDFR forums, and the comment section on Bejoljo's website) and have not found a solution to this problem. I even checked Bejoljo's Discord where I made a post about it and haven't gotten a reply (I have found one other person who is also having the same problem as me, but no one has replied to him either with a solution). I've also verified the XML files to ensure everything is coded out correctly, and there are no errors in the code. Thanks in advanced for any help! I'll include the XML files I've modified here as well in case I butchered something and I'm not seeing it (at present the ones I'm trying to debug to fix the rest are city local backup and city local SWAT).

EDIT 1: So after much tinkering I discovered that this problem is happening with LSPDFR agency.xml as well. I don't know if this is a problem LSPDFR or the GTA V version, but any help in narrowing down the issue is still appreciated

DefaultRegions.xml SpecialUnits.xml 

Edited by AvalancheArmy501
1st EDIT: Removed spoiler box and ported text over to post's main body // 2nd EDIT: Discovered that it affects GTA V/LSPDFR as a whole

  • The title was changed to Units not spawning with extras specified on XML
7 hours ago, AvalancheArmy501 said:

Hello everyone! I find myself in the process of setting up LSPDFR and I'm working on configuring all the Ultimate Backup XML files, but I've noticed that all my backup units are spawning with none of the extras I specified on the XML files. They either spawn with no extras or with random extras, unless I hold the backspace key to cause them to teleport closer at which point all the extras I specified in the XML files appear (by the way, I'm also using non-ELS cars installed as addon cars via LML). And it's not like they're not getting applied, they apparently are (I hopped into one vehicle and saw all the extras I wanted enabled using Enhanced Native Trainer), but they were not showing on the vehicle unless I manually fixed the vehicle. Has anyone ran into this problem before, and does anyone have any suggestions to correct it? I've been searching all throughout the internet (Google, YouTube, Reddit, here on the LSPDFR forums, and the comment section on Bejoljo's website) and have not found a solution to this problem. I even checked Bejoljo's Discord where I made a post about it and haven't gotten a reply (I have found one other person who is also having the same problem as me, but no one has replied to him either with a solution). I've also verified the XML files to ensure everything is coded out correctly, and there are no errors in the code. Thanks in advanced for any help! I'll include the XML files I've modified here as well in case I butchered something and I'm not seeing it (at present the ones I'm trying to debug to fix the rest are city local backup and city local SWAT).

EDIT 1: So after much tinkering I discovered that this problem is happening with LSPDFR agency.xml as well. I don't know if this is a problem LSPDFR or the GTA V version, but any help in narrowing down the issue is still appreciated

DefaultRegions.xml 48.16 kB · 2 downloads SpecialUnits.xml 13.67 kB · 4 downloads  

It's because you coded the .xml's wrong. You listed all the extra parts, this is not needed tho. Also it matters if you are using ultimate backup, and if you are using EUPFR/EUPFR-UE/Ultimate Backup Configurations

Below Is How You Coded Your Vehicles:
Could contain: text, screenshot, font

 

Below This Is How they should Be coded, and it depends on which xml you're editing when it comes to whether or not you or inputting the "pax" portion of the coding as show in the second image:

Could contain: text, screenshot, font (Image 1)

Could contain: text, font, screenshot, line (Image 2)

 

When Editing .xmls These are the xmls you should edit based off what your install is:

If you are using base LSPDFR w/out any EUP Configurations/EUPFR or ultimate backup:
- Agency.xml (GTA V/lspdfr/data)

 

If you are using LSPDFR with ONLY Ultimate Backup:
- Agency.xml (GTA V/lspdfr/data)
- CustomRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- DefaultRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- SpecialUnits.xml (GTA V/plugins/LSPDFR/UltimateBackup)

If you are using LSPDFR With EUPFR/EUPFR-UE/Ultimate Backup Configurations With Ultimate Backup and LSPDFR:

- Agency.xml (GTA V/lspdfr/data)
- CustomRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- DefaultRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- SpecialUnits.xml (GTA V/plugins/LSPDFR/UltimateBackup)
- agency_addons.xml (GTA V/lspdfr/data/custom)
- agency_eupfr.xml (GTA V/lspdfr/data/custom)

Please Note:
When Editing, be aware of what the number for "chance" is set too. The limit to how many vehicles you can set to spawn pure <Vehicles> section is technically 100, but it is based on spawn chance percentages. All vehicle spawn chances must add up to 100%. Therefore, if you have 1 vehicle that you input to spawn, the chance should be "100", if you have 5 vehicles input, the chance for each vehicle should be "20", if you have 10 vehicles, then chance should be "10", and so on so forth. Having these messed up could result in the vehicles refusing to spawn for both NPC's and the Player, even if you are spawning through a trainer, as it messes with the vehicle spawn. If you have any further questions on how to edit these .xml's, don't be shy to ask

I recommend keeping the pax at 1, or at whatever it was naturally before editing. "Pax" means how many peds will spawn in/with the vehicle, and should not be set higher than the vehicle's seating allows for. I do not reccomend changing pax_chance from 30, as this is what it is by default, and the default works as is needed. I'm not fully sure on how increasing and decreasing it will effect the spawns.

Disclaimers:

  • You are the sole owner of you game, it's files, and the accounts associated with them. I do not, and will not claim responsibility with what you do/chose to do with your property EVER, as you, the sole owner of the property, are the only one liable for said property
  • All of my help/suggestions are not always a solution. Nothing is a solution unless it actually solves your issue. Do not blame me if something does not work, as that decision falls under you, the owner for attempting it; whether properly or improperly done.
  • The goal of my posts is strictly to help others who are in need; or point out issues in other's content (i.e. bugs, imperfections, conflictions, etc.) and nothing else.

 

Enjoy roleplaying on console too? Be a part of a PS5 Community, and join North American Roleplay™ today! (Server Policies and Requirements apply)

Link To Our Discord In Bio

Need additional LSPDFR support? Join the LSPDFR-TS Discord! There are plenty of helpful and brilliant minds there to assist you! (This is a Friendly Invite, I am Not part of LSPDFR support team, nor management of the discord channel): [LSPDFR-TS Server Link]

  • Author
1 hour ago, IceGuy221 said:

It's because you coded the .xml's wrong. You listed all the extra parts, this is not needed tho. Also it matters if you are using ultimate backup, and if you are using EUPFR/EUPFR-UE/Ultimate Backup Configurations

Below Is How You Coded Your Vehicles:
Could contain: text, screenshot, font

 

Below This Is How they should Be coded, and it depends on which xml you're editing when it comes to whether or not you or inputting the "pax" portion of the coding as show in the second image:

Could contain: text, screenshot, font (Image 1)

Could contain: text, font, screenshot, line (Image 2)

 

When Editing .xmls These are the xmls you should edit based off what your install is:

If you are using base LSPDFR w/out any EUP Configurations/EUPFR or ultimate backup:
- Agency.xml (GTA V/lspdfr/data)

 

If you are using LSPDFR with ONLY Ultimate Backup:
- Agency.xml (GTA V/lspdfr/data)
- CustomRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- DefaultRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- SpecialUnits.xml (GTA V/plugins/LSPDFR/UltimateBackup)

If you are using LSPDFR With EUPFR/EUPFR-UE/Ultimate Backup Configurations With Ultimate Backup and LSPDFR:

- Agency.xml (GTA V/lspdfr/data)
- CustomRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- DefaultRegions.xml (GTA V/plugins/LSPDFR/UltimateBackup)

- SpecialUnits.xml (GTA V/plugins/LSPDFR/UltimateBackup)
- agency_addons.xml (GTA V/lspdfr/data/custom)
- agency_eupfr.xml (GTA V/lspdfr/data/custom)

Please Note:
When Editing, be aware of what the number for "chance" is set too. The limit to how many vehicles you can set to spawn pure <Vehicles> section is technically 100, but it is based on spawn chance percentages. All vehicle spawn chances must add up to 100%. Therefore, if you have 1 vehicle that you input to spawn, the chance should be "100", if you have 5 vehicles input, the chance for each vehicle should be "20", if you have 10 vehicles, then chance should be "10", and so on so forth. Having these messed up could result in the vehicles refusing to spawn for both NPC's and the Player, even if you are spawning through a trainer, as it messes with the vehicle spawn. If you have any further questions on how to edit these .xml's, don't be shy to ask

I recommend keeping the pax at 1, or at whatever it was naturally before editing. "Pax" means how many peds will spawn in/with the vehicle, and should not be set higher than the vehicle's seating allows for. I do not reccomend changing pax_chance from 30, as this is what it is by default, and the default works as is needed. I'm not fully sure on how increasing and decreasing it will effect the spawns.

Hey man thanks for the reply. I'll be keeping what you said in mind when assigning chance values and working on all the other configs. As for the reason I listed all the extras on ultimate Backup is because I'm using non-ELS vehicles so each extra is a car component (unlike ELS vehicles were the extras control the light patterns) like the lightbar, rambar, traffic advisor, ALPRs, etc. (to list a few as examples) which is where I'm having my problem. Many years ago I remember modding LSPDFR and configuring which extras appear on vehicles and it worked perfectly, but now it doesn't seem to be working properly which I'm totally lost on why it's doing so

8 minutes ago, AvalancheArmy501 said:

Hey man thanks for the reply. I'll be keeping what you said in mind when assigning chance values and working on all the other configs. As for the reason I listed all the extras on ultimate Backup is because I'm using non-ELS vehicles so each extra is a car component (unlike ELS vehicles were the extras control the light patterns) like the lightbar, rambar, traffic advisor, ALPRs, etc. (to list a few as examples) which is where I'm having my problem. Many years ago I remember modding LSPDFR and configuring which extras appear on vehicles and it worked perfectly, but now it doesn't seem to be working properly which I'm totally lost on why it's doing so

you shouldn't have to work with the extra's, as most vehicles are made a specific way, and don't have customization options for the parts. I could be wrong, but in my experience I haven't had to work with this. Either way, including the spawn chance is a must when coding these in your .xmls. I would try coding it without the xml's to see if they spawn fine for you, and if they do, then start working with extra's. But make sure they have customizable extras, and that you know how many there are, and what they are.

 

Disclaimers:

  • You are the sole owner of you game, it's files, and the accounts associated with them. I do not, and will not claim responsibility with what you do/chose to do with your property EVER, as you, the sole owner of the property, are the only one liable for said property
  • All of my help/suggestions are not always a solution. Nothing is a solution unless it actually solves your issue. Do not blame me if something does not work, as that decision falls under you, the owner for attempting it; whether properly or improperly done.
  • The goal of my posts is strictly to help others who are in need; or point out issues in other's content (i.e. bugs, imperfections, conflictions, etc.) and nothing else.

 

Enjoy roleplaying on console too? Be a part of a PS5 Community, and join North American Roleplay™ today! (Server Policies and Requirements apply)

Link To Our Discord In Bio

Need additional LSPDFR support? Join the LSPDFR-TS Discord! There are plenty of helpful and brilliant minds there to assist you! (This is a Friendly Invite, I am Not part of LSPDFR support team, nor management of the discord channel): [LSPDFR-TS Server Link]

This is a support topic.
Only reply here to offer help or assistance to AvalancheArmy501. Off-topic or "me too" replies will be removed.

Need support yourself? Make a new topic instead.

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

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.