RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

Changing drop frequency on suitcase/breifcase
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=5&t=2026
Page 1 of 1

Author:  Crusader KHood [ Fri Jan 16, 2015 4:31 am ]
Post subject:  Changing drop frequency on suitcase/breifcase

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=2011

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

Author:  pasik [ Sun Jan 18, 2015 11:37 am ]
Post subject:  Re: Changing drop frequency on suitcase/breifcase

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=2011

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/