Blackout Redout Effect
[re-upload]
Sorry for the re-upload, I hope everything was fixed.
Blackout(greyout) and redout occurs when pilot experience high g-force sufficient to cause blood concentrate at lower part of body or head.
You can change some settings for your unrealistically high-g fighter jet.
1 Save as subassembly
After you download the craft, please zoom close enough to directly select the block at the middle of 6 invisible labels. Then drag and save it as a subassembly.
2 Connection
Drag it out from the subassembly to a space above the cockpit. Coordinate the block at the cockpit camera and connect it to your plane with attachment editor.
3 Variables
Variable name: Glimit
Expression: 09150308
Variable name: Gfun
Expression: VerticalG > floor ( Glimit / 1000000 ) ? ( Gfun >= 275 ? 275 : Gfun + VerticalG / floor ( Glimit / 10000 -floor ( Glimit / 1000000 ) * 100 ) ) : ( VerticalG > -floor ( Glimit / 100 -floor ( Glimit / 10000 ) * 100 ) ? ( ( Gfun < -5 ) | ( Gfun > 5 ) ? ( Gfun > 200 ? Gfun * 0.999 : Gfun * 0.99 ) : 0 ) : ( Gfun <= -275 ? -275 : Gfun + VerticalG / ( Glimit -floor ( Glimit / 100 ) * 100 ) )
4 Customize for your plane
Glimit is a variable that you can change.
The 8 digits are formed by four groups of 2 digit number
The default is 09150308
First group is for the G-Force number where the blackout start
The start is +9G in this case
Second group is for G-tolerance of blackout
The higher it is, the stronger the pilot is
Third group is for the G-Force number where the redout start
The start is -3G in this case
Fourth group is for G-tolerance of redout
The higher it is, the stronger the pilot is.
It is not recommended to set the second and fourth group too high.
Specifications
General Characteristics
- Successors 1 airplane(s) +28 bonus
- Created On Windows
- Wingspan 2.6ft (0.8m)
- Length 4.7ft (1.4m)
- Height 2.6ft (0.8m)
- Empty Weight 573lbs (260kg)
- Loaded Weight 573lbs (260kg)
Performance
- Wing Loading N/A
- Wing Area 0.0ft2 (0.0m2)
- Drag Points 138
Parts
- Number of Parts 8
- Control Surfaces 0
- Performance Cost 167
@SeagullOnWood
I under stand funky trees, but I have no clue what the heck is happening in this script.
If you don’t mind me asking, a version of this with with a G-LOC and redout veritable for disabling controls.
I would do it myself, but I’m too dumb.
:)
This is actually really useful and cool with how it works, I will definitely be using this on my 6th Gen Fighter, however, one problem I came across is that when you first load in the level the labels are 100% opaque and they stay that way till you experience at least -0.01 or 0.01 G good news is that if this happens all you have to do is have a 0.05 range Piston with 400% speed that pushes the Cockpit up or down under a input of Time>0.1 to create that 0.01 G. To make it where you do not have to add a Piston to the Cockpit I suggest trying to fix this issue. Other than that, Excellent work
@Mustang51 Give it like 15 seconds
Wait is this the correct thing to copy and paste into the label part?
VerticalG > floor ( 06100306 / 1000000 ) ? ( Gfun >= 275 ? 275 : Gfun + VerticalG / floor ( 06100306 / 10000 -floor ( 06100306 / 1000000 ) * 100 ) ) : ( VerticalG > -floor ( 06100306 / 100 -floor ( 06100306 / 10000 ) * 100 ) ? ( ( Gfun < -5 ) | ( Gfun > 5 ) ? ( Gfun > 200 ? Gfun * 0.999 : Gfun * 0.99 ) : 0 ) : ( Gfun <= -275 ? -275 : Gfun + VerticalG / ( 06100306 -floor ( 06100306 / 100 ) * 100 ) )
If something is wrong, can someone help me out with fixing it? Thanks!
@SeagullOnWood yes, I copied them, what now?
@ThatKindaWeeb did you copy the expression of variables?
@SeagullOnWood The only thing that's showing up when I use the Sub-Assembily is <C on all of the labels, am I doing something wrong? Am I using it on a aircraft with too much FT on it already?? I know barely anything about FT so I'm not sure