• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 Another oxygen question

Messages
1,468
Country
italy
In gauge 1 I have
Code:
(L:emergency,bool) 1 == if{ (P:local time,seconds) 20 + (>L:oxygen mask not pulled,number) }

and in gauge 2 I have
Code:
(L:oxygen mask not pulled,number) (P:local time, seconds) >
which controls how long to blackout so at the end a blackout screen appears.

My question how do I interrupt this sequence by "pulling the mask!" within the 20 secs.
e.g. (L:don_Mask,number) 1 ==

What I want is if within the 20 seconds the mask is pulled then no "blackout!"
vololiberista
 
How about only executing the second code if mask not pulled? You could also do something that sets the mask not pulled var to local time + 20 if the difference is less than 5 and the mask is in use - ie, update that the mask is in use each 15 sec...

Geoff
 
Hi,

how about this:
Code:
(L:oxygen mask not pulled,number) (P:local time, seconds) > (L:don_Mask,number) 1 != and if{ [I]activate blackout effect[/I] }

IF the time has expired AND mask is NOT donned THEN...

Hope this helps!

grt
Willem
 
Something like this could work:

Code:
Emergency triggered:
(L:Emergency,bool) if{ (P:local time,seconds) 20 + (>L:oxygen mask not pulled,seconds) }

Mask Donned:
*Blackout* ! if{ 1 (>L:don_Mask,bool) } 
(L:don_Mask,bool) if{ 0 (>L:Emergency,bool) }

Emergency status:
(L:Emergency,bool) (L:oxygen mask not pulled,seconds) (P:local time, seconds) < and if{ *Blackout* }

I assume once in *blackout* donning the mask it's not possible because the pilot would be sort of unconcious.

Tom
 
Something like this could work:

Code:
Emergency triggered:
(L:Emergency,bool) if{ (P:local time,seconds) 20 + (>L:oxygen mask not pulled,seconds) }

Mask Donned:
*Blackout* ! if{ 1 (>L:don_Mask,bool) } 
(L:don_Mask,bool) if{ 0 (>L:Emergency,bool) }

Emergency status:
(L:Emergency,bool) (L:oxygen mask not pulled,seconds) (P:local time, seconds) < and if{ *Blackout* }

I assume once in *blackout* donning the mask it's not possible because the pilot would be sort of unconcious.

Tom

Yes, basically if the pilot experiences blackout with the AP still on then there is another "Helios" in the making. Otherwise the aeroplane will fall to a lower altitude where the pilot will wake up and hopefully be able to regain control!!!
vololiberista
 
Back
Top