The det caps in my server are not spawning ever. So can someone please explain to me how to get them to spawn in at least 1 each town.
Change det cap rarity?
Discussion in 'Hurtworld Discussion' started by Mr.Blue 36, Apr 30, 2016.
-
Use LootConfig and SpawnConfig.
-
-
To increase the rate of detonator caps you can use LootConfig. After the configs are created, go to your oxide's config folder and edit the file LootConfig.json with something like notepad++.
Search for this entry:
Code:{ "Key": 50.0, "Value": { "RollCount": 1, "RollWithoutReplacement": true, "LootResult": { "ItemId": "DetonatorCap", "StackSize": 1, "RandomVariance": 3 }, "Children": [] } },
-
A key of 1 and a second of 2, will have the same chance as a key of 15 and a second of 30.
So if he were to use your example, and he only had two objects, your example and the other with a key of 1. The Det cap will spawn 98% of the time.
So you need to give them a chance based off of your other keys. Use simple math to work them out.
You can also use the rcon command (or in console) to see the percentage chance of your loot table with: loot.stats -
Yeah, Noviets are right. You need to test to see what results you reach.
On my server I use a config that results in this percentage:
Code:6.8 % 0.6 % 2x Roach1986PaintMask (0) 1.2 % 2x RoachDefaultPaintMask (0) 1.8 % 2x RoachDigiCamoMask (0) 2.5 % 2x RoachDoubleStripeMask (0) 3.1 % 2x RoachEyesMask (0) 3.7 % 2x RoachGraffMask (0) 4.3 % 2x GoatFlamesMask (0) 4.9 % 2x GoatSideStripeMask (0) 5.5 % 2x GoatSkullMask (0) 6.2 % 2x GoatCamoMask (0) 6.8 % 1x DetonatorCap (0)