Jump to content

Loot xml not work at all


VENOM2019

Recommended Posts

Hello everyone!

 

I tried to add my modded items to the lootlist like this:

<condigs>

<append xpath="loot">

<lootcontainers>

<lootcontainer id="17" count="1,2"... >

<item name="Desert Eagle" prob="0.08">

</lootcontainer>

</lootcontainers>

</append>

</configs>

 

This didn't work at all, I tried everything, and nothing works. But when I wrote the desert eagle to the original loot file the gun acually appeared in the toiled with the count of 2. Please help with this!

Link to comment
Share on other sites

A couple of issues, if you copied directly there is a typo "condigs"

Also if you append like this, you are adding a new loot container with id 17, which already exits.

I am on my phone so I cant copy code, but you need to either append the entry directly, or setattribute to change a value.

Someone at their pc might be able to paste code...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...