Jump to content

Press X to fly


Recommended Posts

The problem is: When ever you would press X it would have to store that value of the previous throttle to a memory store, then cut it. This would be minor but you would still have a delay before cut throttle. Now, what if you wanted to cut throttle again without reverting back to the previous throttle? This is the problem, it seems easy enough to implement, but code wise, I do belive it is hard.

Link to comment
Share on other sites

The logic is pretty simple:

When pressing X, if there is throttle, remember it's value and kill it. If there is no throttle and there is remembered value -restore it. No throttle and no previous value - do nothing.

This will take nanoseconds to execute and won't introduce any significant delay.

And what do you mean by "cut throttle again". If it's cut there's no reason to cut it again. If it was restored by pressing X or manually, it will be cut, no problem.

Also, I don't really understand why some people want different keys for this. But OK, let it be configurable, so you can choose same key or different.

Link to comment
Share on other sites

Just for reference, here's a couple of threads which discussed this back in the old suggestion forums:

http://forum.kerbalspaceprogram.com/showthread.php/38140-instant-throttle

http://forum.kerbalspaceprogram.com/showthread.php/35674-Engine-to-max-power

They are talking about max power button. My suggestion is about using X for toggling throttle for short precisely controlled bursts of any power, for example, while landing

Link to comment
Share on other sites

It remembers the thrust, which was while landing (when you cut it last time). Why should it remember from before?

I imagine this use case in the final stage of landing

determine a thrust that kills vertical speed

X

get some vertical speed

X

kill vertical speed

X

get some vertical speed, descend some more

X

kill vertical speed

Repeat until touchdown.

So we have 1-button landing, if there's no problem with horizontal speed

Link to comment
Share on other sites

I do not think you get what I mean. I am saying, during Munar orbit, I cut throttle, then when landing I have to quickly cut throttle again. But instead of the throttle cutting, it actually goes to full throttle.

It wouldn't. The suggestion asks for the following logic:

IF throttle > 0

DO stored_throttle = throttle, throttle = 0

ELSE DO throttle = stored_throttle, stored_throttle = 0

Nothing else.

For the record: I still disagree with any such "restore" button. Cutting throttle makes sense - cut the fuel supply - but opening the valve to full in a split second isn't exactly the safest thing to do.

Link to comment
Share on other sites

So with this code (Sorry, never learnt C# only C++) it is saying that if the throttle is greater than zero then it will store the throttle until done again?

That's not implemented in a language, just pseudo code. ;)

What it says is that it will check if the throttle is greater than zero - If it is, it will store the current value and cut the throttle to zero. If it isn't (the current throttle, therefore, is zero), it restores the last stored value.

Link to comment
Share on other sites

See, now I am saying this. It will save my throttle from the previous cut off. If I cut the throttle at full, it will restore to that. Full Throttle.

Yes, it will. Once. After that, the pseudocode listed resets the throttle value of the "X" key to 0 so the next time you use it you'll MECO like normal.

-- Steve

Link to comment
Share on other sites

What about all 3 behavior?

x = cut throttle

alt + x = full throttle

ctrl + x = restore throttle (behaves like alt + x if throttle changed since last cut, or maybe does nothing?)

All these key bindings would just make it hard to remember which one does what, and it would make it a bit more difficult.

Link to comment
Share on other sites

ctrl + x = restore throttle (behaves like alt + x if throttle changed since last cut, or maybe does nothing?)

I dislike this idea. If I need to jump to my higher throttle setting to avoid a crash or unplanned rapid docking event with a solar panel, I hold down ctrl, and... instead of going back up, my throttle decreases. I then press "x", and my throttle jumps up, and then, because I'm holding ctrl, it drops again.

Shift and ctrl should be strictly reserved keys for throttle, and not used as modifiers to other actions. It would be a bad thing.

Link to comment
Share on other sites

I agree. X should be reserved for killing throttle, SHIFT and CONTROL reserved exclusively for throttle, and Z for max throttle. The pulsing throttle suggestion is a good idea, but I suspect down the road that might have throttle limited engines with restart delays... if the placeholders in the engine descriptions are any indication of future intent. In which case methinks that a plugin would be the best route for that idea.

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...