I have a custom mod that does this, here's a snip:
All the "loot_" are barrels/trashcans and the two "create_" are the rad town crates.Code:void DumpLootContainers() { // loot_trash // loot_barrel_1 // loot_barrel_2 // crate_normal // crate_normal_2 var matches = Resources.FindObjectsOfTypeAll<LootContainer>().ToList(); var types = matches.Where(c=>c.IsValid()).GroupBy(c => c.LookupShortPrefabName()); foreach (var t in types) { Puts($"{t.Key.PadRight(50)} {t.Count()}"); } }
Boxes / barrels not respawning in Rad Town
Discussion in 'Rust Discussion' started by Comixfan, Jul 24, 2015.
-
-
-
It happens on my generated map, boxes spawning on top of each other
-
I'm dying to know if this is a plugin causing it, or something else because I'm not about to let people play with 5 boxes in one spawn point in every spawn point..
[DOUBLEPOST=1438094936][/DOUBLEPOST]So, to those having issues with TOO MANY boxes and barrels spawning I just wiped my map, and it seems normal again.
If anyone with half a thought toward the issue could give us feedback, would appreciate it. -
I'm pretty sure it's a bug with the latest version not checking if a spawn spot is not already occupied. You might not see the issue right away, it takes several hours for the spawn manager to spawn enough crates for them to stack on each other like that.
It would be pretty easy to add a check in my Cornucopia mod to remove boxes that are too close together, I was thinking of doing that on mine. This throws off the loot balance significantly on low pop servers as some rad towns can end up with several dozens of crates if they aren't emptied on a regular basis. On my main server I'm seeing about twice as many crates as usual... -
A problem with Oxide, or the game?
-
-
Yeah, it is happening again on mine after wiping my map. I guess we just wait for a fix. I found 7 in one spot, and 5 barrels as my max numbers so far.
-
I'll add a feature to Cornucopia to fix this tonight.
[DOUBLEPOST=1438116919,1438108325][/DOUBLEPOST]
http://oxidemod.org/plugins/cornucopia.1264/