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.

Need advice for edit .xml file

Featured Replies

Hi, I am having problem with  installing this mod: 

 

 

 

 

With this mod, it suppose to be looks like this:

 

 

Could contain: clothing, screenshot, footwear, text, man, person, pc game, military uniform, uniformCould contain: clothing, screenshot, footwear, text, man, person, pc game, military uniform, uniform

 

 

 

 

 

 

 

It says I need to edit this file: -Edit "Grand Theft Auto V\lspdfr\data\outfits.xml"

 

So it seems I need  to copy and paste this lines to outfits.xml

 

 

Spoiler


 

--------LSSD-------
<Outfit>
        <Name>The Deputy</Name>
        <ScriptName>lssd_deputy</ScriptName>
        <Variations>
            <Variation>
                <Name>Deputy</Name>
                <ScriptName>m_base</ScriptName>
                <Gender>male</Gender>
                <Components>
                    <Component id="1" drawable="0" texture="0" />
                    <Component id="3" drawable="0" texture="0" />
                    <Component id="4" drawable="75" texture="0" />
                    <Component id="5" drawable="0" texture="0" />
                    <Component id="6" drawable="59" texture="0" />
                    <Component id="7" drawable="0" texture="0" />
                    <Component id="8" drawable="101" texture="0" />
                    <Component id="9" drawable="0" texture="0" />
                    <Component id="10" drawable="0" texture="0" />
                    <Component id="11" drawable="295" texture="0" />
                </Components>
                <Props>
                    <Prop id="0" drawable="106" texture="0" />
                </Props>
            </Variation>
            <Variation>
                <Base>m_base</Base>
                <Name>Deputy(Long)</Name>
                <Gender>male</Gender>
                <Components>
                    <Component id="3" drawable="4" texture="0" />
                    <Component id="11" drawable="293" texture="0" />
                </Components>
            </Variation>
            <Variation>
                <Base>m_base</Base>
                <Name>Armoured Deputy</Name>
                <Gender>male</Gender>
                <Components>
                    <Component id="8" drawable="15" texture="0" />
                    <Component id="9" drawable="18" texture="0" />
                </Components>
            </Variation>
        </Variations>
    </Outfit>

 

 

I need to add these lines to outfits.xml but I have no idea where to put this lines exactly.

 

Can somebody tell me where to put those lines exactly please?

 

 

Components.txt

outfits.xml

Edited by k1525945

  • Author
42 minutes ago, ztep1337 said:

Here's the already edited file for ya, enjoy.

outfits.xml 30.37 kB · 0 downloads

 

Hi, Thanks for the help.

 

I tried it, but it seems this file make my game crash. I have infinite loading screen.

 

 

its from my ragepluginhook rog: 

 

 


[3/17/2024 1:25:00 AM.147] LSPD First Response: [WARN] Path without extension: lspdfr/data/custom
[3/17/2024 1:25:00 AM.149] LSPD First Response: [WARN] Path without extension: lspdfr/data/custom
[3/17/2024 1:25:00 AM.151] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfr/data/outfits.xml
[3/17/2024 1:25:00 AM.196] LSPD First Response: [FATAL] Error loading outfits System.Xml.XmlException: The 'Variations' start tag on line 5 position 4 does not match the end tag of 'Outfit'. Line 41, position 4.

 

 

 

Is this file working properly on your game? I want to check that its the problem of my mod setup or not. 

 

Thank you.

19 hours ago, k1525945 said:

 

Hi, Thanks for the help.

 

I tried it, but it seems this file make my game crash. I have infinite loading screen.

 

 

its from my ragepluginhook rog: 

 

 


[3/17/2024 1:25:00 AM.147] LSPD First Response: [WARN] Path without extension: lspdfr/data/custom
[3/17/2024 1:25:00 AM.149] LSPD First Response: [WARN] Path without extension: lspdfr/data/custom
[3/17/2024 1:25:00 AM.151] LSPD First Response: [TRACE] ExpandableFileParser::Parse: Reading content from file:lspdfr/data/outfits.xml
[3/17/2024 1:25:00 AM.196] LSPD First Response: [FATAL] Error loading outfits System.Xml.XmlException: The 'Variations' start tag on line 5 position 4 does not match the end tag of 'Outfit'. Line 41, position 4.

 

 

 

Is this file working properly on your game? I want to check that its the problem of my mod setup or not. 

 

Thank you.

Yeah, my bad. Fixed it, here you go.

outfits.xml

4 hours ago, k1525945 said:

 

Hi thanks again, It actually worked for LSPD(long) and LSPD(armoured),

 

But for LSSD, it is still locked, same for the military outfits.

 

 

 

Don't really get what you mean by "locked"?

You need to edit the sheriff lines into your cop_presets_outfits.xml, it's in GTA V > lspdfr > data 

Vanilla LSPDFR pulls sheriff outfits from cop_presets which are pulled from cop_presets_outfits (I believe) 
 

  • Author
23 hours ago, ztep1337 said:

Don't really get what you mean by "locked"?

 

Could contain: text, screenshot, font, design

 

In character option when on duty, LSSD outfit option is closed so I can't choose it. 

 

I guess I need to edit something other than outfits.xml

 

 

 

19 hours ago, PorkSoda said:

You need to edit the sheriff lines into your cop_presets_outfits.xml, it's in GTA V > lspdfr > data 

Vanilla LSPDFR pulls sheriff outfits from cop_presets which are pulled from cop_presets_outfits (I believe) 
 

 

Hi I have a look at cop_presets_outfits.xml but still no clue how to edit this.

 

Can I able to open lssd outfit section like the image with editing this file?

Edited by k1525945

1 hour ago, k1525945 said:

 

Could contain: text, screenshot, font, design

 

In character option when on duty, LSSD outfit option is closed so I can't choose it. 

 

I guess I need to edit something other than outfits.xml

 

 

 

 

Hi I have a look at cop_presets_outfits.xml but still no clue how to edit this.

 

Can I able to open lssd outfit section like the image with editing this file?

Go into cop_presets_outfits.xml. Search for all LSSD outfits (Example: LSSD Class A, named preset_lssd_1_a), and replace the components and props section with the ones you have posted in your original post. The structure is the same, just compare. 

  • Author
18 hours ago, PorkSoda said:

Go into cop_presets_outfits.xml. Search for all LSSD outfits (Example: LSSD Class A, named preset_lssd_1_a), and replace the components and props section with the ones you have posted in your original post. The structure is the same, just compare. 

 

 

Could contain: text, screenshot, font, design

 

I have a look at the file but still no clue.

 

All I have to do is open up 'outfit' section in character options when on duty, just like in the picture.

 

Can I know which one in the cop_presets_outfits.xml does open up 'outfit' section please?

6 hours ago, k1525945 said:

 

 

Could contain: text, screenshot, font, design

 

I have a look at the file but still no clue.

 

All I have to do is open up 'outfit' section in character options when on duty, just like in the picture.

 

Can I know which one in the cop_presets_outfits.xml does open up 'outfit' section please?

I'm sorry! I misunderstood you into the post. What I originally told you to do is how you set ambient peds for lspdfr.

I've attached the updated outfits.xml file that should fix your issue. 

 

outfits.xml

Edited by PorkSoda
Edited for convenience

  • Author
On 3/21/2024 at 7:42 AM, PorkSoda said:

I'm sorry! I misunderstood you into the post. What I originally told you to do is how you set ambient peds for lspdfr.

I've attached the updated outfits.xml file that should fix your issue. 

 

outfits.xml 30.39 kB · 3 downloads

 

No worries, thanks for the help.

 

But unfortunately I still can't open the outfit section though,

 

it seems  I need edit file other than outfits.xml

5 hours ago, k1525945 said:

 

No worries, thanks for the help.

 

But unfortunately I still can't open the outfit section though,

 

it seems  I need edit file other than outfits.xml

I recommend just getting EUP. I believe it's an issue with LSPDFR not recognizing the ped model needed for a sheriff outfit. You could attempt to download only EUPFR basic configurations without EUP and see if it works. If not I recommend adding EUP Menu and then redoing the basic configurations file. 

This is a support topic.
Only reply here to offer help or assistance to k1525945. 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.