Shadowmage Posted June 10, 2016 Share Posted June 10, 2016 (edited) Ever had a Kerbal stranded in orbit in a deflated USI inflatable module, or other crewed part without a hatch? This is your solution. This is a simple micro-addon that does one thing; restricts the pods that may be selected to spawn kerbals in for orbital rescue contracts. Any new contracts that are generated will have the part that they use validated against a list of approved parts and replaced with a random approved part if it is not on the list. This will not effect any contracts that you have already accepted, or any contracts that are already 'available'; as such you will need to complete or decline any existing rescue contracts after you first install the mod. The pods that are 'valid' are configurable via a simple config file, the default configuration file only includes stock command pods. Other 'valid' pods can be added by end-users through module manager (recommended) or manual edits (not recommended). See the included .cfg file for details / node names / etc. Downloads:https://github.com/shadowmage45/KSPRescuePodFix/releases Simply drop the KSPRescuePodFix folder from the .zip into your KSPs GameData folder and you should be good to go. Requirements:ModuleManager for KSP 1.6 (latest version you can find) (not included)Issues/Problems/Bug Reports: Please report all issues/bugs/feature-requests on the github issue tracker, located at: ( https://github.com/shadowmage45/KSPRescuePodFix/issues ) Legal: Source is licensed under GPL v3 ( http://www.gnu.org/licenses/gpl-3.0.en.html ), and is available on github: ( https://github.com/shadowmage45/KSPRescuePodFix ). Much of the source is based on the concept presented by @xEvilReeperx, which can be found at ( link ). Edited April 14, 2019 by Shadowmage Quote Link to comment Share on other sites More sharing options...
wgering Posted June 10, 2016 Share Posted June 10, 2016 Thanks Shadowmage! Can't wait to try it out. Quote Link to comment Share on other sites More sharing options...
Vrana Posted June 10, 2016 Share Posted June 10, 2016 Good job. Kerbals spawning in random parts with crew capacity but no hatch has a been long standing issue with rescue missions and part packs. Quote Link to comment Share on other sites More sharing options...
Jimbodiah Posted June 10, 2016 Share Posted June 10, 2016 (edited) I just installed it, but no new contracts are being generated at all now, of any type. http://kerbal.nl/sstu/KSP.log Edited June 10, 2016 by Jimbodiah Quote Link to comment Share on other sites More sharing options...
Shadowmage Posted June 10, 2016 Author Share Posted June 10, 2016 (edited) Hmm... apparently there are some issues with it parsing something improperly (it is expecting an integer, and something is passing it an 's'); I'll have to take a further look at it after I get home from work (it worked fine last night before I in-lined the parsing methods). Sadly, I cannot test or fix things that require launching KSP while at work =\ So.. check back in ~10 hours or so, sorry for the bad first release Actually, if you want, you can try out this 'fixed' .dll (merely replace the existing one with this one): https://github.com/shadowmage45/KSPRescuePodFix/raw/master/GameData/KSPRescuePodFix/KSPRescuePodFix.dll Was a quick recompile after fixing the errors from you log (thanks, btw, logs are always helpful!); basically just wrap the entire function in a try/catch block so that it shouldn't fubar all contracts if a null-value is detected in the config node (why does stock code return null?); no idea if it actually fixes the problem as I cannot test it yet due to being stuck at work.... (have re-uploaded the .zip as well) Edited June 10, 2016 by Shadowmage Quote Link to comment Share on other sites More sharing options...
theonegalen Posted June 10, 2016 Share Posted June 10, 2016 I will download this in ~10 hours or so, then. Quote Link to comment Share on other sites More sharing options...
Jimbodiah Posted June 10, 2016 Share Posted June 10, 2016 I'll try it out later tonight Mage. No rush. Quote Link to comment Share on other sites More sharing options...
Deimos Rast Posted June 10, 2016 Share Posted June 10, 2016 So this could be the savior Take Command needs. Currently that mod adds crew capacity to external command seats, and that causes them to be used for rescue missions. It's apparently considered game breaking, but it's a case of either break the mod or break the game. However, with this mod...you could add external command seats to the filter list. Quote Link to comment Share on other sites More sharing options...
Shadowmage Posted June 10, 2016 Author Share Posted June 10, 2016 31 minutes ago, Deimos Rast said: So this could be the savior Take Command needs. Currently that mod adds crew capacity to external command seats, and that causes them to be used for rescue missions. It's apparently considered game breaking, but it's a case of either break the mod or break the game. However, with this mod...you could add external command seats to the filter list. Actually you would leave the command seat -off- of the list. The list is a set of parts that are 'valid' for the contract; if you added the command-seat to the list it would allow contracts to generate using it (which is the current problem). So..... for your purposes, you would just download and install it as-is, and it would already/automatically 'fix' any -new- contracts that were generated with external seats by replacing the part with one from the 'valid parts' list. Quote Link to comment Share on other sites More sharing options...
panzerwaffe044 Posted June 10, 2016 Share Posted June 10, 2016 (edited) 3 hours ago, Vrana said: Good job. Kerbals spawning in random parts with crew capacity but no hatch has a been long standing issue with rescue missions and part packs. Yeah, or even in biplane cockpit in my case :-) Edited June 10, 2016 by panzerwaffe044 Quote Link to comment Share on other sites More sharing options...
Shadowmage Posted June 10, 2016 Author Share Posted June 10, 2016 Did some quick testing and it looks like the 'fix' I put in place earlier did in fact fix the problem. The existing release on GitHub should be good to go / ready to use (v1.0.0.3). Quote Link to comment Share on other sites More sharing options...
sardia Posted June 10, 2016 Share Posted June 10, 2016 If this works as advertised, I can finally ditch the claw and remove it from my rescue ship. Quote Link to comment Share on other sites More sharing options...
Enceos Posted June 13, 2016 Share Posted June 13, 2016 (edited) @Shadowmage Great solution! I've had Kerbals spawn so many times in Pathfinder portable modules. Took it like a punishment for having so many modded parts. Edited June 13, 2016 by Enceos Quote Link to comment Share on other sites More sharing options...
Shadowmage Posted June 13, 2016 Author Share Posted June 13, 2016 4 minutes ago, Enceos said: @Shadowmage Great solution! I've had Kerbals spawn so many times in Pathfinder portable modules. Took it like a punishment for having so many modded parts. Indeed Exactly what this little plugin is intended to prevent. For me it was always USI inflatable modules, spawning deflated, flinging the poor Kerbal out when he went to exit. Either way, shouldn't be a problem with this installed Quote Link to comment Share on other sites More sharing options...
invultri Posted June 23, 2016 Share Posted June 23, 2016 Thank you for creating this modlet. I will test it to see if it works, if it does it will mean no more save game editing! Quote Link to comment Share on other sites More sharing options...
DracoSilverpath Posted September 4, 2016 Share Posted September 4, 2016 Hey~ was just wondering, does this mod work in 1.1.3? And, any chance you could have it put up on CKAN? Quote Link to comment Share on other sites More sharing options...
Shadowmage Posted September 5, 2016 Author Share Posted September 5, 2016 Yes, it does work in 1.1.3. No, I don't do CKAN, sorry. Especially for this mod; its a single .dll and config file that can be placed anywhere in GameData... about as simple as an install can get. Quote Link to comment Share on other sites More sharing options...
Deewad Posted October 12, 2016 Share Posted October 12, 2016 Great mod, will this be updated for 1.2? Quote Link to comment Share on other sites More sharing options...
steve_v Posted October 13, 2016 Share Posted October 13, 2016 7 hours ago, Deewad said: Great mod, will this be updated for 1.2? Compiles fine for me and throws no errors, but functionality untested as yet. Recompile and give it a try. Quote Link to comment Share on other sites More sharing options...
Shadowmage Posted October 13, 2016 Author Share Posted October 13, 2016 It may not even need a recompile, and probably 'just works' with 1.2. Either way I'll work on testing/updating this little mod sometime over this upcoming weekend. Quote Link to comment Share on other sites More sharing options...
Kerbart Posted October 15, 2016 Share Posted October 15, 2016 On 10/13/2016 at 10:48 AM, Shadowmage said: It may not even need a recompile, and probably 'just works' with 1.2. Either way I'll work on testing/updating this little mod sometime over this upcoming weekend. Shadowmage, your mod is one of those tiny little mods that silently works in the background, and you don't realize how good it is until... you see a Kerbal Planetary Base Airlock showing up! Luckily those do come with an airlock, but I'm afraid it's not working as intended in 1.2 Spoiler RESCUE_POD_TYPES { part = landerCabinSmall part = mk2LanderCabin part = mk1pod part = Mark1-2Pod part = Mark1Cockpit part = MK1CrewCabin part = Mark2Cockpit part = mk2Cockpit_Standard part = mk2Cockpit_Inline } Here's the configuration used. Take your time, if it takes a month or even more so be it! But I'm looking forward to the update! Quote Link to comment Share on other sites More sharing options...
Shadowmage Posted October 15, 2016 Author Share Posted October 15, 2016 Have recompiled for KSP 1.2: https://github.com/shadowmage45/KSPRescuePodFix/releases/tag/1.0.0.4 Please let me know if you run into any problems. Quote Link to comment Share on other sites More sharing options...
Ferigad Posted October 26, 2016 Share Posted October 26, 2016 (edited) Where is this delete post button if you need it... sorry, wrong post! Edited October 26, 2016 by Ferigad Quote Link to comment Share on other sites More sharing options...
FlatEric Posted October 27, 2016 Share Posted October 27, 2016 (edited) On 5.9.2016 at 5:01 AM, Shadowmage said: ... No, I don't do CKAN, sorry. Especially for this mod; its a single .dll and config file that can be placed anywhere in GameData... about as simple as an install can get. Some version checking would be nice, if you don't like CKAN, maybe you can add the metadata for KSP-AVC ? But i think there is no matter, which metadata you go to support. Many KSP player would be pleased, if there is an announce of an new version on game start, so they can fetch the bug fixes. Thank you, for your time. Edited October 27, 2016 by FlatEric Quote Link to comment Share on other sites More sharing options...
steedcrugeon Posted November 2, 2016 Share Posted November 2, 2016 Would I be right in thinking that I could add an MM patch to my mod as such: @RESCUE_POD_TYPES:NEEDS[KSPPodRescueFix] { %name = rektkm1a %name = rektmk1d %name = rektmk1n } and this would implement the pods onto the existing list, where someone has your mod installed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.