SpawnControl

SpawnControl 2.0.6

  • Some code cleanup
  • Minor internal function optimization
  • Like
Reactions: Alex
  • Patch-Fix
  • Like
Reactions: Alex
  • I was able now to re-integrate the animals back into the normal config-structure.
    This way they are now again fully included into any commands
These are named this way:
Code:
Bear.Population
Boar.Population
Chicken.Population
Horse.Population
Stag.Population
Wolf.Population
Zombie.Population
  • Like
Reactions: Alex
  • Fixed a very rare NRE
  • Due to the latest patch and some deeper changes i deactivated (until i got a fix) the count of "ore-nodes" by the "sc.dumpresources" command to let the plugin compile and work again.
  • Like
Reactions: Alex
  • Added NULL checks for SpawnPopulations
    => Barren seems to be bugged atm, cause it contains empty (NULLed) SpawnPopulations, which should never be empty or Null.
  • Like
Reactions: Alex
  • animal population is not available anymore by latest rust patch
    That way you got now the option to control the amount by a seperate options part.

    The given numbers are multiplicators per square km of you map.
    A map size of 4000 has 16 square km's = multiplicator.

    The overall animal count can always be shown by sc.dumpresources
default config:
JavaScript:
  "Animals": {
    "PerSquareKm": {
      "Bear": 2,
      "Boar": 5,
      "Chicken": 3,
      "Horse": 2,
      "Stag": 3,
      "Wolf": 2,
      "Zombie": 0
    }
  },
  • Re-enabled jobs for "spawnfillheartbeat"
  • Fix for latest patch
  • Needed temporary to disable spawnfillheartbeat functions