Hey there, we have this mod installed on our server, but when airdrops happen it is ALMOST ALWAYS turrets or pets. Any way I can like NERF that so we can still get the A20 stuff from the drops?
Thanks!
Mmmmmm, I just checked how loot is handled for A20 and there appears to be a change from a numerical probability to a text based template.
In addition, there is often a tendency that Mods are overly prioritised during the loot type process regardless of the probability being equal to other kinds of loot in the default game files.
I wonder if you could try something before we make any permanent changes. This will provide decent feedback and play testing in your server which will be more populated and facing bigger stresses than anything done on the test server.
In this mod, within the Config folder is a loot.xml file. This governs loot box containers such as the Air Drop box.
It currently reads as:
<append xpath="/lootcontainers/lootcontainer[@id='34']"> <!-- Supply Crate General, the normal airdrop -->
<item group="petanimals" count="1,3"/>
<item group="turretguards" count="1,3"/>
</append>
in the bottom of the file. It is only a small file and contains very little code.
We can add the new probability setting that appears in A20 and change this to:
<append xpath="/lootcontainers/lootcontainer[@id='34']"> <!-- Supply Crate General, the normal airdrop -->
<item group="petanimals" count="1,3" loot_prob_template="medLow"/>
<item group="turretguards" count="1,3" loot_prob_template="medLow"/>
</append>
This has added 'loot_prob_template="medLow" to the end of the regular code that governs what is dropped.
The choices in the default game are:
veryLow = 5%
low = 20%
medLow = 35%
med = 50%
medHigh = 63%
high = 75%
guaranteed = 100%
Setting the Pets and Guards to drop at 35% gives approximately a 1 in 3 chance and makes it the exception but still enough to be noticeable.
If you prefer not to try this manually, I can upload a test version in a whole mod which can replace your current mod and initiate on your next reboot. I wanted to show you it this way though as you will be able to fine tune it to low or greater probabilities as shown in the above list of choices. As this appears to be a new naming convention brought into A20, it will slowly trickle through to mods who may want to keep with the new format.