Change Item Spawn Rates, And Data Saving Occurency

How to change loot spawn percentage/frequency, and inventory/crafting data saving

Navigate to lua/wos/advswl/config/crafting/sv_craftwos.lua

Find the following values:

  • wOS.ALCS.Config.Crafting.CraftingDatabase.SaveFrequency
  • wOS.ALCS.Config.Crafting.ItemSpawnFrequency
  • wOS.ALCS.Config.Crafting.LootSpawnPercent
  • wOS.ALCS.Config.Crafting.ItemDespawnTime

 

"wOS.ALCS.Config.Crafting.CraftingDatabase.SaveFrequency" determines how often the data of inventories, spawn positions, etc are saved in SECONDS. Default set to 360

"wOS.ALCS.Config.Crafting.ItemSpawnFrequency" determines how often to try and respawn items, determined by SECONDS. Default is set to 0.1 as there is never a 100% chance of an item spawning

"wOS.ALCS.Config.Crafting.LootSpawnPercent" determines how many of the item spawn points you have set should be spawning items at once. Default set to 1, enabling 100% of all spawns

"wOS.ALCS.Config.Crafting.ItemDespawnTime" determines how much time after an item has been spawned should it despawn. Default set to 600

 

Example

Sets data saving to 180 seconds (3 minutes), attempts at trying to spawn an item to 5 seconds, enables only 80% of all spawn locations, and sets the despawn time to 300 (5 minutes)

wOS.ALCS.Config.Crafting.CraftingDatabase.SaveFrequency = 180

wOS.ALCS.Config.Crafting.ItemSpawnFrequency = 5

wOS.ALCS.Config.Crafting.LootSpawnPercent = 0.8

wOS.ALCS.Config.Crafting.ItemDespawnTime = 300

 

 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Creating Your Own Item

How to create your own items   local ITEM = {}   ITEM.Name = "Enter Item Name"...

Change Max Inventory Slots

How to change the max inventory slots Navigate to...

Setting Blade Type

Setting blade type of weapon/item How to set the blade type of a weapon/item including...

Enable/Disable Zhrom/Clone Adventures Pack

How to configure enabling/disabling extra content Navigate to...

Configure MySQL For Crafting

How to configure MySQL for crafting data Navigate to...