diff --git a/GameData/RealSolarSystem/RSSKopernicus/Asteroids/Asteroids.cfg b/GameData/RealSolarSystem/RSSKopernicus/Asteroids/Asteroids.cfg index 5cece8d9..6244c9d9 100644 --- a/GameData/RealSolarSystem/RSSKopernicus/Asteroids/Asteroids.cfg +++ b/GameData/RealSolarSystem/RSSKopernicus/Asteroids/Asteroids.cfg @@ -27,14 +27,17 @@ Asteroid { - name = Asteroids - interval = 15 - probability = 66 - minUntrackedLifetime = 1 - maxUntrackedLifetime = 20 - spawnGroupMinLimit = 4 - spawnGroupMaxLimit = 8 - + name = RandomSunOrbitingAsteroids + interval = 30 // how often to check and create asteroids, in seconds + probability = 33 // % chance that an attempt is made to generate new asteroid for current interval + minUntrackedLifetime = 1 // minimum number of days that the object will stay alive, unless tracked + maxUntrackedLifetime = 20 // maximum number of days that the object will stay alive, unless tracked + spawnGroupMinLimit = 4 // Another randomization step applied when current count is between min and max. Lowers the success % the closer current count gets to max. + spawnGroupMaxLimit = 8 // Max number of asteroid that can be spawned from this group + + // When a spawn attempt is made the next location is randomly taken from the 3 possible types: Around, Nearby or Flyby. + // If the rolled type isn't configured then nothing happens. + // For some reason there's also a chance to roll type number 4 which also means that generation doesn't happen. Locations { Around @@ -42,7 +45,7 @@ Body { body = Sun - probability = 50 + probability = 1 // Not used unless there's more than 1 of the same type defined within a group reached = False semiMajorAxis @@ -82,20 +85,38 @@ } } } + } + } + + Asteroid + { + name = EarthFlybyAsteroids + interval = 30 + probability = 15 + minUntrackedLifetime = 1 + maxUntrackedLifetime = 20 + spawnGroupMinLimit = 1 + spawnGroupMaxLimit = 3 + Locations + { Flyby { Body { body = Kerbin - probability = 50 + probability = 1 minDuration = 15 maxDuration = 60 reached = False } } } + } + // All groups have same sizes + @Asteroid,* + { Size { key = 0 0