Advanced Question TerminalMFD INP command to kill all thrusters?

foundpra

Member
Joined
Apr 2, 2011
Messages
44
Reaction score
0
Points
6
Hi,

I use the TerminalMFD launch shuttle algorithm to launch
the shuttle into orbit.

While the shuttle is thrusting, I generally need to yaw
a bit to stay on course.

I've noticed if I am in the middle of a yaw (or if yaw thrusters
are firing to get back to the preset azimuth) when the autopilot
kills the main thrust, the yaw thrusters stay on. This of course
is bad for several reasons.

Is there an INP command I can type into the TerminalMFD
to kill all thrusters, or reset all thrusters -- something like this?

Thanks!

--PDN
 

kamaz

Unicorn hunter
Addon Developer
Joined
Mar 31, 2012
Messages
2,298
Reaction score
4
Points
0
v = vessel.get_focusinterface()
n = v:get_thrustercount()
for i=0,n-1 do
v:set_thrusterlevel(v:get_thrusterhandle(i), 0.0)
end
 
Top