Description
KSPRescueContractFix fixes the following issues with KSP's stock rescue contract when using mods:
Kerbals spawning in crewed parts without EVA hatches
Rescue Contract orbits are sometimes spawned inside the atmosphere when using a rescaled planet pack
Kerbals spawning in crewed parts without EVA hatches
Anytime a Kerbal rescue contract is offered, the part will be checked against an allowed parts list and replaced with a random allowed part if it's not on the list. For contracts where you have to recover both the Kerbal and the part, the mod will attempt to choose an allowed part that is close in mass. Contracts where you have to recover just a part are not effected by the allowed parts list. Also, as this only works when the contract is first offered, it will not fix any existing offered or accepted contracts.
The list of allowed parts is configured through the config file RescueContract.cfg and additional parts can be added through a Module Manager patch or manually editing the file. Out of the box, parts from Stock, Making History, and the following mods are supported:
Airplane Plus
Bluedog Design Bureau
HabTech 2
Mark IV Spaceplane System
Nearfuture Spacecraft
reDIRECT
SOCK
Station Parts Expansion Redux
Tantares
Tundra Exploration
Rescue Contract orbits are sometimes spawned inside the atmosphere when using a rescaled planet pack
Anytime an orbital rescue contract is accepted, the spawned vessel's orbit is checked to see if the periapsis falls inside the planet's atmosphere and if it does, raises the periapsis above the atmosphere. The apoapsis is also raised in order maintain the original orbit's eccentricity. More specifically, only the semi-major axis of the orbit is changed; all other orbital parameters are left alone (eccentricity, inclination, argument of the periapsis, longitude of the ascending node, and mean anomaly at epoch). As this fix happens on contract acceptance, it will not work on any already accepted contracts.
Configuration
For additional details on the configuration file format, see the README on Github.
Downloads
Github
Spacedock
Dependencies
Module Manager
Acknowledgements
The rescue contract part replacement is based off of @Shadowmage KSP Rescue Pod Validator
License
KSPRescueContractFix is licensed under the GPLv3.