Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
Every Loot Containers (Buried barrel cache, Ground cache, Wooden crate etc) have a 100% chance for spawning.
Loose Loot is supported and can enable in config file.
By default chance of a Loose Item appearing in specific position is have own spawn chance. For a given position a random item is selected from the array. The array contains items that can appear for a given location. Every item in this array have own weight spawn.
There is an `spawnMultiplied` option for containers and looseLoot. Good thing if you don't want items to spawn always in rare spawn points. Some spawn points really have a low chance to spawn any item. For example ~0.0011. that is about 0.11%.
Example loot generation for Custom map:
Without mod:
A total of 1282 static items spawned
A total of: 323 static containers generated
A total of: 274 dynamic items spawned
Generated location: bigmap
With mod:
A total of 2146 static items spawned
A total of: 551 static containers generated
A total of: 1408 dynamic items spawned
Generated location: bigmap
mod may slightly increase needed time to start raid for big maps.
-
Version 1.0.2
- FiveF
- 379 Downloads
Added spawn multiplier option for static containers and loose loot.
Fixed case where if had `alwaysSpawn_looseLootItems` enabled, then always same items would spawned in a given place.
Other smaller things.
-
Version 1.0.1
- FiveF
- 783 Downloads
Loose Loot item support. Need enable in Config file.
-
Version 1.0.0
- FiveF
- 2.2k Downloads
Hampter360
I dont know if its intentional or not but if i turn on always spawning loose loot, the loose loot are always the exact same items even tho other items could aslo spawn there. Is there any way to change that?
FiveF Author
In some places, only one spawn item is defined, which has a very low chance of appearing. `Always spawning loose loot` make it spawn every time. Example: pendrive pin in pc block.
Hampter360
yea but for example in the residential unit on labs it always spawned the same things in like 6 raids, always the same gun under the bed, always 2 lions, 1 horse, 1 vase, 3 skulls, 1 veritas and whatever
FiveF Author
I tested and see this problem. The reason for this unplanned behavior is changing `IsAlwaysSpawn` to true.
I generally don't use it anymore in my new version (not published yet), because it didn't do much + i added new feature - spawnMultipler. I will update it in the next few days. I have already done everything but I have to export it to this mod.
To fix it, edit the `alwaysSpawnContainers.ts` file to this:
Hampter360
thank u
Alex3kgg
In 3.11.3 ver spt.
i dont see some locked cases from smugglers event.
this mod return this?
FiveF Author
This mod make that these containers always spawn on the map (without Airdrop crate). All Containers that have had their chances of spawning during loot generation changed are listed in a spoiler on the mod Overview page.
Delusor
I am getting the following message in the SPT server terminal window:
Mod FiveF-alwaysSpawnContainers package.json main property points to non-existing file
I don't seem to have any issues from it, but it is in bright red text in the window, so I assume it's pretty important somehow.
FiveF Author
Yes. Fixed. Redownload