Safer Asteroids

by Kryzeth

Prevents dangerous asteroids from spawning in planetary orbits, keeping Space Platforms safe. By default, only applies to the orbits of Nauvis, Vulcanus, Fulgora, and Gleba (can be expanded to others as well). Maximum asteroid size can be modified on a per-planet basis. Compatible with Any Planet Start or Planet Picker.

Tweaks
4 days ago
2.0
412

i [Implemented] asteroid size?

16 days ago

can you add a setting to set the max size of asteroid at each planet?

15 days ago
(updated 15 days ago)

I've made a preliminary step towards this, by implementing an maximum size limit on asteroids, though at the moment, this applies to all enabled planets and routes equally. I should be able to do this on a per-planet basis, but haven't yet decided on how to implement that (via settings).

The way it is now, the maximum size limit is set up as a cap that converts any asteroids above the limit (on enabled planets and routes) to the limit itself. The allowed values range from harmless, small, medium, and big, and makes sense as a global setting.

On an individual planet basis however.. not every planet has all of these sizes, so seeing "big", for example, as an allowed setting for vulcanus or fulgora, wouldn't make any sense, because these planets only spawn mediums by default. They would make even less sense on nauvis (or whatever starter planet was picked), since these can only spawn harmless asteroids anyways, so shouldn't really have any options.

12 days ago

the ability to change the rate of asteroids would be nice too.

12 days ago
(updated 12 days ago)

That one might be a little more difficult to do within the scope of this mod, in terms of settings. Each asteroid has its own proabability on every single planet and space location. I don't think the numbers are shared between any asteroid on any planet.

For example, default spawn rate on nauvis is:

  • metallic chunk: 0.0125
  • carbonic chunk: 0.00833.. (repeating)
  • oxide chunk: 0.004166.. (repeating)

The spawn rate on fulgora by comparison (looks a bit promising, the numbers are repeated per type):

  • metallic chunk: 0.0025
  • carbonic chunk: 0.001875
  • oxide chunk: 0.000625
  • medium metallic: 0.0025
  • medium carbonic: 0.001875
  • medium oxide: 0.000625

The spawn rate of gleba (but unfortunately, this one breaks that pattern by having slightly different numbers per type):

  • metallic chunk: 0.0012
  • carbonic chunk: 0.003
  • oxide chunk: 0.0006
  • medium metallic: 0.0001
  • medium carbonic: 0.0025
  • medium oxide: 0.00005

Lastly, spawn rate of vulcanus (this planet breaks the pattern even further, by having wildly different amounts per type):

  • metallic chunk: 0.002
  • carbonic chunk: 0.0008
  • oxide chunk: 0.0166.. (repeating)
  • medium metallic: 0.0025
  • medium carbonic: 0.0001
  • medium oxide: 0.0005
4 days ago
(updated 4 days ago)

Added the ability to modify each planet's maximum asteroid size individually from the rest, as of v1.1.0

I will likely not add functionality to modify each individual asteroid's spawn rate (at least, not within this mod), due to the sheer number of settings which would need to be added to reflect this (3-6 settings minimum, per planet)

8 hours ago

I mostly want more smalls on nauvis because it can take forever to set the materials for a new platform so one option per planet thay just multiplies with the default would work. But a mod that allows you to modify all levels of asteroid including adding more asteroid types to a planet that are not normally there would be nice but would have alot of settings.

4 hours ago

I think that might work better as a separate mod, because I can already see a bunch of issues applying that to more than just nauvis. Like one scalar per planet makes sense, but then doubling the asteroid spawn rate on a planet with dangerous asteroids will also make it exponentially more dangerous, when the goal might be to just increase the amount of harmless asteroids, while keeping the dangerous asteroids at the same rate.

With just two settings per planet, I think having that functionality as a separate mod would work well standalone, or in addition to this one. Just need a good catchy name that describes its ability to increase or decrease asteroid spawn rate... like Customizable Asteroid Spawns might imply that you could modify the spawn rate of every asteroid... More or Less Asteroids doesn't describe itself very well... hmmm

New response