Custom Asteroids

Custom Asteroids

21.6k Downloads

Specify comet orbit type when using PotatoComet instead of CaCometActive?

WarpPrime opened this issue ยท 3 comments

commented

I'm playing a heavily modded RSS game (no RO/RP-1, it kills my CPU), and have CustomAsteroids already running with some enhancements introduced by myself (Oort cloud objects, vulcanoids, interstellar comets, etc.). I've replaced almost all the instances of CaCometActive with PotatoComet to merge with the stock comet system so I can collect actual comet samples for science. However, all the comet objects spawned are labeled "Intermediate period," regardless of what orbit it is in.

I'd like for a parameter when using PotatoComet called something with the syntax of

ASTEROIDGROUP
{
    // stuff...
    asteroidTypes // copied from the oort asteroid group except CaCometActive is now PotatoComet, integrating into the stock comet system
    {
	key = 1.0 PotatoComet
    }
    CaCometOrbit // only used if PotatoComet is mentioned in the asteroidTypes keys.
    {
        type = short // intermediate, long, interstellar
    }
    // more stuff...
}

I would really appreciate it if you could integrate this into the next CustomAsteroids update. Thanks!

commented

I found on the API syntax that there was an orbitType class that I could use, but it seems not to be working in my RSS save.

commented

Sorry, can you give more detail? The default config for RSS also uses orbitType, and it was tested to work there. What versions of KSP, Custom Asteroids, and RSS are you using?

Also, is it not working with new comets? Once a comet/asteroid has been created, Custom Asteroids can't really affect it.

commented

Never mind, I didn't see the updated version of RSS. I'm using an older version that doesn't use orbitType, so when I tried to patch that with MM, I got a warning from it so I think something went wrong on my end.