SpawnConfig

Change SpawnHandler behaviour of SpawnPopulations

Total Downloads: 4,588 - First Release: Sep 18, 2015 - Last Update: Nov 26, 2017

5/5, 14 likes
  1. Nogrod submitted a new resource:

    SpawnConfig - Change SpawnHandler behaviour of SpawnPopulations

    Read more about this resource...
     
  2. This is awesome. Thanks.
     
  3. Nogrod updated SpawnConfig with a new update entry:

    1.0.1

     
  4. What is it for? :p
     
  5. Allows to change the spawns for special areas like monuments/radtowns, together with LootConfig you are also able to give every monument/radtown a different loot for the barrels etc...

    In the config you can set EnforcePopulationLimits to false for every population, there is no global option to disable it.
     
  6. Yes, I changed this value. Sorry brother, but it's not working. Anyway, when I restart the server happening "Enforcing SpawnPopulation Limits" and it is a very long process

    [9/29/2015 2:06:12 PM] Enforcing SpawnPopulation Limits
    [9/29/2015 2:06:13 PM] animals (SpawnPopulation) has 16968 objects, but max allowed is 1535
    [9/29/2015 2:06:13 PM] - deleting 15433 objects
    [9/29/2015 2:11:37 PM] ores (SpawnPopulation) has 21711 objects, but max allowed is 7541
    [9/29/2015 2:11:37 PM] - deleting 14170 objects
    [9/29/2015 2:21:30 PM] forest-temperate (SpawnPopulation) has 23231 objects, but max allowed is 5980
    [9/29/2015 2:21:30 PM] - deleting 17251 objects
    [9/29/2015 2:33:14 PM] forest-tundra (SpawnPopulation) has 18803 objects, but max allowed is 1278
    [9/29/2015 2:33:14 PM] - deleting 17525 objects
    [9/29/2015 2:44:59 PM] forest-arctic (SpawnPopulation) has 20831 objects, but max allowed is 3581
    [9/29/2015 2:44:59 PM] - deleting 17250 objects
    [9/29/2015 2:56:20 PM] forest-tundra-rares (SpawnPopulation) has 18090 objects, but max allowed is 639
    [9/29/2015 2:56:20 PM] - deleting 17451 objects
    [9/29/2015 3:07:35 PM] beachside-palms (SpawnPopulation) has 20115 objects, but max allowed is 2428
    [9/29/2015 3:07:35 PM] - deleting 17687 objects
    [9/29/2015 3:18:50 PM] forest-arid (SpawnPopulation) has 21077 objects, but max allowed is 3889
    [9/29/2015 3:18:50 PM] - deleting 17188 objects
    [9/29/2015 3:29:31 PM] Map Spawned 178117 entities
     
    Last edited by a moderator: Sep 29, 2015
  7. Nogrod updated SpawnConfig with a new update entry:

    1.0.2

     
  8. Yes Nogrod, now it works very well! Thank you. One question. SpawnPoints - a spawn points players? Can I specify one point, for the players always will be spawn at a specific point?
     
  9. Nogrod updated SpawnConfig with a new update entry:

    1.0.3

     
  10. Tell me how to increase the Spawn of animals on the map. So it was more and more often?
     
  11. increase the TargetDensity from animals spawnpopulation...like from 150 to 300 and there will spawn more animals on the map ;)
     
  12. Could you document the config file better?
     
  13. After the big server update and wipe yesterday, players are telling there are not enough animals. Its like the amount from when this plugin wasnt installed.
    2nd edit: the config was renamed to old. solved.
     
  14. Nice Plugin :)
    What exactly i have to change if i want only wolves on my map for example...or 80% wolves and 20% bears ?
    I want to make the map a bit harder for the beginning... :)
     
  15. try to change the prefabs section of the animals spawnpopulation, like this one 20% bear & 80% wolves:
    Code:
    "animals": {
      "TargetDensity": 150.0,
      "SpawnRate": 1.0,
      "ClusterSizeMin": 1,
      "ClusterSizeMax": 1,
      "ClusterDithering": 1,
      "EnforcePopulationLimits": true,
      "Prefabs": [
        {
          "Prefab": "assets/bundled/prefabs/autospawn/animals/bear.prefab",
          "Weight": 2
        },
        {
          "Prefab": "assets/bundled/prefabs/autospawn/animals/wolf.prefab",
          "Weight": 8
        }
      ],
      "Filter": {
        "BiomeType": "Everything",
        "SplatType": "Everything",
        "TopologyAny": "Forest",
        "TopologyNot": "Cliff, Summit, Ocean, Monument, Road, Bridge, River, Lake, Runway"
      }
    }
     
  16. Nogrod updated SpawnConfig with a new update entry:

    1.0.4

     
  17. WhyI get a blank configuration file?
     
  18. (05:53:01) | [Oxide] 2:52 PM [Info] Loaded plugin SpawnConfig v1.0.4 by Nogrod

    (05:53:01) | [Oxide] 2:52 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'SpawnConfig v1.0.4' (NullReferenceException: ) this error fater some change in rate in config file, and therefore, the changes do not take effect
     
  19. Nogrod updated SpawnConfig with a new update entry:

    1.0.5