Jump to content

How to make a part only work when submerged


Recommended Posts

 

I have a very old water propeller mod (not mine) which I've been using and tweaking over the years. But a few years ago, KSP finally changed too much, and it stopped working. I've made it work again. (sorta) using firespitter to make it spin, and the stock ModuleEngineFx to give it thrust, but naturally, it gives thrust no matter the situation. MHvUMgG.png

I would like it to not produce thrust when the part isn't touching water. (Or at least if the center isn't in water). Is there a way, using either the stock modules or a common mod, to stop all thrust when not in water? 

If you wish to have a look, here's the part from the original mod. 

https://drive.mobisystems.com/sharelink/MXRob21hc3dhbGRlcjFAZ21haWwuY29t.4PhGMvOM0JvBC82MNKQ4NC?fbclid=IwAR2KLxx1W_BpwTv_y-bW-eReiRMnDfBMzdqHF4iUADrbM_V0N9Kcuu8hH3Q

This should be the version I bodged to make work, but I might have the links the wrong way around. 

https://drive.mobisystems.com/sharelink/MXRob21hc3dhbGRlcjFAZ21haWwuY29t.2XnRPiVswqDrVbGTDKusoh?fbclid=IwAR0eicn8gcEJEQWO20V0lqUjpDpgmpJXfOAs6AblPMWMISbTGE-x1--NqUs

Alternatively, if you are able to, this is the source code from the original mod: Perhaps something here could be salvaged to make it work again? It also didn't support action groups, which was a bit of a downside...
But even then perhaps someone could get this to work with modern KSP?

 

  Reveal hidden contents

 

Edited by Tw1
Link to comment
Share on other sites

this may or may not help - but from Snark - MM patch

  Reveal hidden contents

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...