November 1, 200223 yr Hi Is it possible to toggle a function in a specific situation?E.g. engine failure caused by low oilpressure or high oiltemperature etc.I tried some code's, but that caused a brain-distortion.I thought about something like this, but of course.... no succes!(>K:TOGGLE_ENGINE1_FAILURE) if{ (A:General eng1 oil temperature, celsius) 200 > } I'm curious,http://ftp.avsim.com/dcforum/User_files/3dbc3a9471a37f1c.jpg Jan "Beatus ille qui procul negotiis..."
November 1, 200223 yr >Hi >>Is it possible to toggle a function in a specific situation? >E.g. engine failure caused by low oilpressure or high >oiltemperature etc. >I tried some code's, but that caused a brain-distortion. >I thought about something like this, but of course.... no >succes! >> > >(>K:TOGGLE_ENGINE1_FAILURE) if{ (A:General eng1 >oil temperature, celsius) 200 > } > Well, the if statment is inside out, for one thing... think backwards and upside down! :)((A:General eng1 oil temperature, celsius) 200 >) if{ (>TOGGLE_ENGINE1_FAILURE) }
November 1, 200223 yr Author Frather,Engines still running......http://ftp.avsim.com/dcforum/User_files/3dbc3a9471a37f1c.jpg Jan "Beatus ille qui procul negotiis..."
November 2, 200223 yr Maybe a zero has to be stored, like:0 (>K:TOGGLE_ENGINE1_FAILURE)This works for me anyway. In addition, I tend to use all my "runtimes" in the following fashion, and in separate gauges:(Check this) if{ Do your stuff }I'm not sure if it's by the book, but it works for me :)
November 2, 200223 yr Author Hallo Karl,with this code it is impossible to start the engine:(A:General eng1 oil temperature, celsius) 100 >) if{ (>K:TOGGLE_ENGINE1_FAILURE) }Temperature value doesn't matter.What is wrong?http://ftp.avsim.com/dcforum/User_files/3dbc3a9471a37f1c.jpg Jan "Beatus ille qui procul negotiis..."
November 2, 200223 yr Take out the parentheses surrounding the temp.. I.E>(A:General eng1 oil temperature, celsius) 100 > if{ (>K:TOGGLE_ENGINE1_FAILURE) }Remeber once failed you must go to the menu to "repair" it.Regards,Roman[link:www.packers.com]GREEN BAY PACKERS][/i :-ukliam :-beerchug FS RTWR SHRS F-111 JoinFS Little Navmap
November 2, 200223 yr Author Thanks Roman,Can you say that when temp. drops, starting should be possible with e.g.:(A:General eng1 oil temperature, celsius) 200 > if{ (>K:TOGGLE_ENGINE1_FAILURE) }(A:General eng1 oil temperature, celsius) 100 < if{ (>K:TOGGLE_ENGINE1_FAILURE) }??See you,http://ftp.avsim.com/dcforum/User_files/3dbc3a9471a37f1c.jpg Jan "Beatus ille qui procul negotiis..."
November 2, 200223 yr Well, make an engine failure warning light for tests and see what happens. I'm sure you'll be able to see instantly what is wrong then. If you don't succeed, I'll give you a more detailed description.Use (A:GENERAL ENG1 FAILED,bool) for the light, or some similar parameter.
November 2, 200223 yr Author Good evening everybody and thanks for the advicesI did a lot and now it is possible to get failures, oilpressure, hydraulic, electric, air etc. en repair them in flight.Made some lights and now busy with fine tuning, the big problem!.Anyway, it works and it is kind of a sensation to get an unexpected engine failure 2 NM finals.Karl, as always, i do want to know more about your work (and, of course, that of others)!Reg.http://ftp.avsim.com/dcforum/User_files/3dbc3a9471a37f1c.jpg Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment