Profile image

XML Question: How may I stop an engine after a certain period

302k WinsWings  2.2 years ago

I want to add a rocket to my airplane to assist during take off (aka JETO Jet assisted Takeoff) and that engine should turn off after a few seconds (or) after reaching certain altitude like 2500 feet (the plane will continue its normal flight on its regular engines/props).

My question is can any one tell me how to edit the XML for that?

  • Log in to leave a comment
  • Profile image

    If you're using a jet engine / VTOL engine for the JATO (instead of a missile or something), you could try setting the input to something like [whateverYourInputIs] ? (AltitudeAgl < 762 ? 1 : 0) : 0 (and make sure that zeroOnDeactivate is set to true).

    That should make the engine go to full power when the input is active AND the aircraft is less than 762 meters (approx. 2500 feet) above the ground.

    Pinned 2.2 years ago
  • Profile image
    76.9k MrCOPTY

    @WinsWings I Think U Need Rockets Powered Engine, Because U Can't Use JATO Multiple Times, I Can Help U With This.

    +2 2.2 years ago
  • Profile image
    302k WinsWings

    @HuskyDynamics01 Thanks again and I am following you. You got a nice collection of builds

    +2 2.2 years ago
  • Profile image

    @WinsWings @Zaineman Glad to help!

    +2 2.2 years ago
  • Profile image
    302k WinsWings

    @Zaineman ha ha ha h a

    +1 2.2 years ago
  • Profile image
    302k WinsWings

    @HuskyDynamics01 Thank you so much. That's exactly what I was looking for. I will try it.

    +2 2.2 years ago
  • Profile image
    191k Zaineman

    @HuskyDynamics01 Wow that is some neat advice ! All of the neurons in my brain started firing thinking of all the different things I could use that for. Lol Z ; )

    +3 2.2 years ago
  • Profile image
    302k WinsWings

    @Zaineman @guyfolk

    +1 2.2 years ago