WhirligigGirl / Alien-Space-Programs

Moves the KSC to other planets in the stock Kerbol system in KSP.
Creative Commons Attribution Share Alike 4.0 International
3 stars 3 forks source link

Restored Duna KSC in a valley, KSC both buried and hovering #11

Closed gordonfpanam closed 6 years ago

gordonfpanam commented 7 years ago

I tried troubleshooting a reported problem with the KSC slightly hovering over the terrain and simultaneously burying parts of the runway in Restored Duna Space Program. After adding height (heightMapDeformity), and shifting the position of the PQS city (longitude) compared to the MapDecal (decalLongitude), I've concluded that the problem is the underlying terrain being not flat.

It appears Kopernicus does not add height uniformly to the specified height map, instead just raising the underlying height map by a fixed amount while keeping the lay of the terrain unchanged. I could put the KSC on a 1 km plateau and get the same result.

The solution appears to be, either move KSC to flatter terrain, or smooth the terrain underneath the current location. I'm not so skilled as to manipulate individual pixels in a height map, nor can I easily tell where on the height map I'd need to make the adjustments. The terrain just south of the current location looks inviting, and would also help space planes land easier in slightly thicker atmosphere, though it would mess with the orbital inclination of launches somewhat.

gordonfpanam commented 6 years ago

Managed to move Duna about three degrees south, to flatter land. This messes orbital inclination some, but not that much.

This and other changes are addressed in a 1.1.1-pre-release I just posted. I'll do a pull request after additional tests.