Jump to content

Loot % issue


atrayas

Recommended Posts

When increasing loot % for my world some containers only have 1 of the item in it.  It seems to be more commonly mailboxes and any container that needs to be broken open or unlocked.

 

Example, 200% loot in my world, I loot a file cabinet and get 2 magazines. I break open a crack-a-book box and only get 1 magazine.  Not a major issue but didn't see it reported and it doesn't match up with the rest of the world when increasing loot %.

 

Edit: Nevermind, I found the issue.  Loot.xml there are lines of code for certain loot containers for loot abundance and gamestage, examples below.

 

ignore_loot_abundance="true"

unmodified_lootstage="true"

 

Why would The Fun Pimps add this code?  If someone wants to increase there loot % they shouldn't need to edit the xml to get there desired result.  There are allot of folks that would have no idea how to even find this much less know what it does.  IMO it is redundant code that only makes it harder for people to tailor the game to there personal liking.

Edited by atrayas (see edit history)
Link to comment
Share on other sites

14 hours ago, atrayas said:

Why would The Fun Pimps add this code?  If someone wants to increase there loot % they shouldn't need to edit the xml to get there desired result.  There are allot of folks that would have no idea how to even find this much less know what it does.  IMO it is redundant code that only makes it harder for people to tailor the game to there personal liking.

 

What SylenThunder stated.  As a modder, having more control over things is always a boon.  The additional code by itself doesn't affect you, other than now some of the things you want multiple copies of won't do that.

 

If you don't want those constraints, all you need to do is:
 

<set xpath="//lootcontainer/@ignore_loot_abundance">false</set>

<set xpath="//lootcontainer/@unmodified_lootstage">false</set>

 

Though the unmodified lootstage one only affects twitch drops.

 

The additional code is also targeted.  Based on what I could see, it only affects the crates, weapon bags, safes, books/magazines, reward containers, and dropped zombie bags.  Everything else is boosted still.

Link to comment
Share on other sites

14 hours ago, SylenThunder said:

Actually it gives you more freedom in tailoring the game to your liking. I want to set 400% loot, but I don't want that to affect certain items. I can now modify the loot lists for those items so that they aren't affected. Features is a prime example. 

Thanks for replying.  I understand that point of view and do agree to some extent.  My only objection is this, when a player uses the built in sliders on create new game menu and say they want to have 300% loot the assumption is they will have 3x the loot in there world.  With the code set to true as default that will not happen universally.  My suggestion would be for it be set to false as default as it has no baring on vanilla settings if true or false, and if a player/server owners wants to tailor the game to be more restrictive with the loot abundance they could then set it there likening.

 

I am no way trying to be antagonizing or disrespectful but only want to see a seamless experience for all.  It took me all of 5 minutes to figure out what was going on in my game, but for others the solution may not be as obvious depending on there knowledge of the config files.

 

I hope that the developers take into consideration the concerns I have expressed here and consider setting this code to false by default and allow the people that want a more customized experience to then edit to there likening. 

 

11 hours ago, BFT2020 said:

 

What SylenThunder stated.  As a modder, having more control over things is always a boon.  The additional code by itself doesn't affect you, other than now some of the things you want multiple copies of won't do that.

 

If you don't want those constraints, all you need to do is:
 

<set xpath="//lootcontainer/@ignore_loot_abundance">false</set>

<set xpath="//lootcontainer/@unmodified_lootstage">false</set>

 

Though the unmodified lootstage one only affects twitch drops.

 

The additional code is also targeted.  Based on what I could see, it only affects the crates, weapon bags, safes, books/magazines, reward containers, and dropped zombie bags.  Everything else is boosted still.

That is my exact concern, the code is targeted, so as I said above when a player wants a higher loot abundance the assumption is that 300% loot will be 3x loot universally.  I appreciate the modding community and it is the primary reason that people like myself continue to get enjoyment out of 7D2D.  With almost 3k hours in the game I have myself learned to mod my own personal experience to how I like to play with my limited playtime, loot abundance being one of them amongst other things I change.  

 

Also, I fixed up my loot.xml last night with setting all lines to false to have a universal loot abundance in my world.  For reference for players that may want to do this, just open loot.xml in notepad++, use CTRL+F, replace, type in ignore_loot_abundance="true" in the replace what box and then type in ignore_loot_abundance="false" in the replace with box and select replace all.  This will save you some time.  Just scroll down and verify all lines have been replaced correctly, and as always backup your file before making any changes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...