So after a bunch of fiddling, I figured out the plugin and it works very well. The only issue i'm currently having is with junk piles. They never seem to spawn and reach the max population that I've set. They seem to always hover around 175, when my max is about 512. It seems they spawn better with the default server config.
I'm sure it's just a problem with the game itself and how it handles spawns, or pools, or just my config, but if anyone has any insight, I'd be happy to listen.
SpawnConfig
Change SpawnHandler behaviour of SpawnPopulations
Total Downloads: 4,588 - First Release: Sep 18, 2015 - Last Update: Nov 26, 2017
- 5/5, 14 likes
-
Been getting the error:
"failed to call hook 'OnTerrainInitialized' on plugin 'SpawnConfig v1.0.10' (NullReferenceException: Object reference not set to an instance of an object)
on server startup and the plugin doesn't seem to be working for me. -
-
Wulf Community Admin
-
I'm using build 2.0.3024. Is that not the latest?
-
EDIT: actually woopsi looks like not. i will test it out -
Wulf Community Admin
-
-
I need help. When the plugin is loaded it says here
[SpawnConfig] No spawngroup data found: cave_medium_medium_ore_lootspawner_x-115
3y18z1218
[SpawnConfig] No spawngroup data found: cave_small_hard_ore_lootspawner_x990y25z
-1344
[SpawnConfig] No spawngroup data found: cave_medium_easy_ore_lootspawner_x-117y2
7z82
[SpawnConfig] No spawngroup data found: cave_large_sewers_hard_ore_lootspawner_x
-276y23z-861
[SpawnConfig] No spawngroup data found: cave_small_easy_ore_lootspawner_x1407y22
z-1162
[SpawnConfig] No spawngroup data found: cave_small_easy_ore_lootspawner_x-195y43
z795
[SpawnConfig] No spawngroup data found: cave_medium_medium_ore_lootspawner_x1290
y11z632
[SpawnConfig] No spawngroup data found: cave_medium_hard_ore_lootspawner_x-1125y
16z667
[SpawnConfig] No spawngroup data found: cave_large_medium_ore_lootspawner_x191y2
2z1226
[SpawnConfig] No spawngroup data found: cave_medium_hard_ore_lootspawner_x310y17
z604
[SpawnConfig] No spawngroup data found: cave_medium_easy_ore_lootspawner_x-486y1
8z1095
[SpawnConfig] No spawngroup data found: cave_small_medium_ore_lootspawner_x-1392
awngroup data found: lighthouse_barrel_spawner_x932y0z1
[SpawnConfig] Loaded 20 SpawnPopulations and 0 SpawnGroups. -
Try deleting your SpawnConfig.json in the config folder and reloading the plugin.
-
-
hello
i have 5k map i set
"animals": {
"TargetDensity": 60.0,
"SpawnRate": 4.0,
"ClusterSizeMin": 1,
"ClusterSizeMax": 1,
"ClusterDithering": 1,
"EnforcePopulationLimits": true,
"ScaleWithServerPopulation": false,
"AlignToNormal": false,
"Prefabs": [
not too much, not server lag? -
Maybe that SpawnRate is to much... 2 should be fine and use ClusterSizeMax with 2 instead.
-
Thanks, one more question.
i set
Code:"trainyard_1_door_barricade_a_spawner_x-299y39z1089_3": { "MaxPopulation": 0, "NumToSpawnPerTickMin": 1, "NumToSpawnPerTickMax": 2, "RespawnDelayMin": 10.0, "RespawnDelayMax": 20.0, "Prefabs": [ { "Prefab": "assets/prefabs/deployable/door barricades/door_barricade_a.prefab", "Weight": 1, "Mobile": false
-
Try to delete all lines which has something to do with the doors...
Last edited by a moderator: Feb 19, 2017 -
How do i make it so trashpiles and barrels are not spawning? Is this correct?
Code:"SpawnPopulations": { "loot": { "TargetDensity": 25.0, "SpawnRate": 0, "ClusterSizeMin": 1, "ClusterSizeMax": 1, "ClusterDithering": 1, "EnforcePopulationLimits": true, "ScaleWithServerPopulation": false, "AlignToNormal": true, "Prefabs": [ { "Prefab": "assets/bundled/prefabs/autospawn/resource/loot/Loot-Barrel-1.prefab", "Weight": 0 }, { "Prefab": "assets/bundled/prefabs/autospawn/resource/loot/Loot-Barrel-2.prefab", "Weight": 0 }, { "Prefab": "assets/bundled/prefabs/autospawn/resource/loot/Trash-Pile-1.prefab", "Weight": 0
-
If you are doing this, then set everything to zero, so the server will not be confused about that and you can also delete all the prefabs with weights. It will look like this: "Prefabs": []
Last edited by a moderator: Feb 24, 2017 -
The plugin keeps making a Spawnconfig.json.old everytime I change the items in it. what do i do?
-
After update this plugin stopped working. Everytime I drag in the config i edited It just makes the default one and makes the edited config a .old
Imgur: The most awesome images on the Internet
Imgur: The most awesome images on the Internet -
Each server update this plugin makes a new config file and saves a copy of the old one. You have to manually change the values in the new config file to match the changes you have in the old. There is no way around this and must be done each server update. I use a compare tool to see the differences and manually change them. That's just the way this plugin works.
[DOUBLEPOST=1488062995][/DOUBLEPOST]Also, Fujikura has a paid plugin on the chaos code site that doesn't require you to manually change it each update. I haven't tried it yet but it looks great.