Profile image

Input Help

28.7k TWDDerSharkmarine  4.6 years ago

Does anyone know how to make an input active when the plane is inverted, i wanna make valve float carburetor failure like the one on Supermarine Spitfire where if you fly inverted the engine had a failure and the engine will produce black smoke, this probably best seen on opening scene from film Battle Of Britain, is there a way to do it here?


According to wikipedia (because of course):
"The use of carburettors was calculated to give a higher specific power output, due to the lower temperature, hence greater density, of the fuel/air mixture compared to injected systems.[53] However, the Merlin's float controlled carburettor meant that if Spitfires or Hurricanes were to pitch nose down into a steep dive, negative g-force (g) produced temporary fuel starvation causing the engine to cut-out momentarily."


I want to recreate this problem in SP

  • Log in to leave a comment
  • Profile image

    But its ok, i kinda don't need it anyway..., so i say just give a pass on that, woupd be realistic if it were to be cut completely...

    4.6 years ago
  • Profile image

    @SnoWFLakE0s so even if the power were to be cutted full (irl) i still want atleast a bit of thrust so people still have a chance to survive if they were to fly the plane in game

    4.6 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @TrislandianAlliance
    .
    Ah, forgot that you want Throttle to be a thing. Just add Throttle * to the front of the code I sent earlier. I don't quite understand the second question though, could you perhaps phrase it differently?

    4.6 years ago
  • Profile image

    @SnoWFLakE0s how do i make it works with throttle? And can i change the 0 input to atleast 0.25 (this two will be the last question i asked, sorry for the inconvenience)

    4.6 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @TrislandianAlliance
    .
    Input. Almost all basic FAQ should be answered here.

    4.6 years ago
  • Profile image

    @SnoWFLakE0s where di i type it, in input or max?

    4.6 years ago
  • Profile image

    @SnoWFLakE0s thanks, your help is apreciated :)

    4.6 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @TrislandianAlliance
    .
    Since we want = 0 whenever vertical g force is negative, simply use clamp01(!(sign(VertcialG) = -1))
    I think this should work.

    4.6 years ago
  • Profile image

    @SnoWFLakE0s oh ok, that was even more easy than i thought it would be..., so how do i type it?

    4.6 years ago
  • Profile image
    67.1k SnoWFLakE0s

    Easy. Just set the engine's input to evaluate to 0 if sign(VerticalG) is -1.

    4.6 years ago