Hi All. I'm working on a build and I wondered if it would be possible to set a secondary engine to become active (responsive to throttle and 0 on deactivate) when the vehicle reaches a certain climb angle, say 35 degrees, and then disengage after it levels out.
What would the input code be?
@MeetThyDoom are you editing it from the files or overload menu?
@MeetThyDoom maybe try this
PitchAngle >= 35 ? (Throttle) : 0
put this in the input. The problem here is that the input will be locked once you go below 35degree. or try thisPitchAngle >= 35
in activation group and don't forget aboutzeroOnDeactivate
totrue
@overlord5453 Thanks! This worked for a little while, but I've either broken the XML file or the game is just saying no, as it just simply won't work no even after inserting a new engine and the input code.
But many thanks! It was great whilst it worked :)
Try this
PitchAngle >= 35 ? 1 : 0
here, if the pitch angle is greater or equal to 35 you will get output of1
. If it's below 35, then you get output of0
.Put this in the activation group section if you only wants it to be activated and not running. You can use throttle or anything else to run the engine. If you want it to run the engine,put it in the input section instead.
Make sure to set
zeroOnDeactivate
totrue
or it won't turn off.