Crusader KHood wrote:
It's on a dedicated server I run for just me and my friends. Was hoping there was a way to increase their drop rate when enemies are killed. There was this post that sorta helped:
viewtopic.php?f=5&t=2011From there I found files in media/packages/vanilla/items titled:
suitcase.carry_item
invasion_all_carry_items
and changed the commonness value in each one to see if they would drop more on the server. So far I only found one at a value of 75. I am not sure if there is a limit to the value or if I am doing it wrong.
The commonness is used to define how common an item is in relation to other items, so it's a kind of a score or weight, no limit to the value. Whether an item becomes spawned or not for carry for a soldier is controlled in the faction files at vanilla/factions/green|brown|grey.xml.
Code:
<item_class_existence_config>
<!-- secondaries -->
<item_class_existence class="weapon" slot="1" probability="0.4" />
<!-- wearables -->
<item_class_existence class="carry_item" slot="1" probability="0.02" />
<!-- backpack -->
<item_class_existence class="carry_item" slot="0" probability="0.03" />
</item_class_existence_config>