SDK Question Disable thruster group

bitblit

New member
Joined
May 17, 2009
Messages
10
Reaction score
0
Points
0
I would like to create all my thruster and thruster groups during initialization, and then programmatically enable and disable thruster groups. Is that possible? I didn't find anything in the SDK referring to thruster enable/disable. Basically, I want the user to control specific sets of cluster groups depending on mission segment. What is the best way to do this, without creating and deleting thruster groups?
 
Thats what I was afraid of. The documentation for SetThrusterLevel says:

"Certain thrusters are controlled directly by Orbiter via primary input controls, which may override this function."

So, I can control the thrust level programmatically, but the user can override it anyway. Doesn't do much good as an inhibit method. What about disconnecting it from its propellant source? I'm going to try that.
 
What about assigning the thrusters to a custom thruster group? I believe only a custom command can trigger them at that point. You'll have to assign them back to whatever group you originally had them if you're going to reenable user-control, but it should work at least in theory.
 
So, I can control the thrust level programmatically, but the user can override it anyway. Doesn't do much good as an inhibit method. What about disconnecting it from its propellant source? I'm going to try that.
Either just disconnect thrusters from the appropriate groups, either controll them all yourself, not by Orbiter core.
 
Back
Top