Jump to content

Need help editing agency.xml and inventory.xml and another thing


Recommended Posts

I want to make the Original Cops to stay consistent with World of Variety, problem is I get a infinite loading screen when it finishes loading.

I also want to add the Police WoV Vehicles to the Police, how do I go about doing that? I'm using LSPDFR 0.4.1 with Overlay Away.

here are the files.

 

Edit Edit : heres the ragepluginhook.log if you guys need it. ok after restarting it again it crashed after loading for a while.

 

 

agency.xml inventory.xml

RagePluginHook.log

Edited by ST3fANHD
Link to comment
Share on other sites

You have an chance attribute without a value in the first inventory entry.

 

The LSPD Transport Unit has a commented out Peds tag that shouldn't be because of the comment on the end of the ped line, and the Flags section for that loadout is also completely wrong (also the same issue in the LSPD patrol loadout).

 

There also is apparently an xml error maybe before the LSPD SWAT agency entry, but I couldn't pin it down.

Edited by The Loot
Link to comment
Share on other sites

If you're doing components in an entry, this is what it should look like:

<Weapon chance="50">
     <Model>WEAPON_CARBINERIFLE</Model>
     <Component>COMPONENT_AT_AR_FLSH</Component> <!-- Flashlight -->
</Weapon>

You've broken a lot of your other entries by doing these:

<Weapon chance="50">WEAPON_PUMPSHOTGUN_MK2</Weapon>
     <Component>COMPONENT_AT_AR_FLSH</Component> <!-- Flashlight -->
</Weapon>
<Weapon>WEAPON_COMBATPISTOL</Weapon>
<Component>COMPONENT_AT_PI_FLSH</Component> <!-- Flashlight -->

And again, this is not valid (you need a number if you include the attribute): 

chance=""

 

Link to comment
Share on other sites

  • 10 months later...

Hello everybody!

 

I have a problem with my agency xml. I wanted to change the police in my game to british ones by doing things like changing the outfit for all agencies from lspdcop to s_m_y_cop_01 for example. I did this and now when I load up my game, I either get an infinite loading screen or I can load it up without LSPDFR, then try to load it and my game will crash. If anybody could help me with this I would  really appreciate it. Thanks.

agency.xml

Link to comment
Share on other sites

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

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