Jump to content

Recharging solid boosters


Recommended Posts

Not a standard thing to do, I grant you.  I feel I have gotten 95% of the way home, so this information may help others even if the last 5% remains elusive.

Briefly: Telemagic (among other things) is capable of refueling vehicles parked at certain designated, fuel aprons (KSC, Island Airport, Baikerbanur, Dessert Island).

The following short video shows a carrier jet fitted with a chute/sepatron very-short-landing arrester system, in which:

  • T+7: the arrester system is triggered/discharged on the ground at an apron
  • T+16: solid fuel Sepatrons are recharged by Telemagic
  • T+43: successful reuse of the Sepatrons is demonstrated
     

 

  • T+30: demonstrating that the sepatron engine fuel bars displayed in the staging stack in the bottom-left do not reflect the new levels, even while the Resource Panel (top-right) does.

Here's the Telemagic code in question:

                    if (resources.Count == 1 && resources[0].name == "SolidFuel") {
                        engine.UnFlameout(false);
                        engine.DeactivateRunningFX();
                        engine.EngineIgnited = false;    // probably not required with the addition of the engine.Shutdown() lower
                        engine.engineShutdown = true;    // ditto
                        engine.staged = true;
                        engine.Shutdown();

 

Any advice would be greatly appreciated.

(I think my cognitive problem is that I don't know the name of the class(es) that control the Staging stack and haven't been able to find it.  (Though www.kerbalspaceprogram.com/api is now online again...))

Edited by Hotel26
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...