For FlightModeFlags code 128, what are the individual flags set to...or ExitWhileMoving code 64?
I agree it's nice to see the value for individual items like radar range, mute times, etc. But for grouped items like each country's radar mode or flight mode flags, having the serial total value of the selected flags kinda means nothing.
To answer your question correctly and succinctly...you have all options off but the 8'th (9'th in a zero array) chosen...in other words the only possible way to have 128 as a value is that you have chosen the 8'th item and only the 8'th item in the list of possible choices...it is impossible to have an integral value of 128 expressed via bit field operators unless you have chosen only one option in the list....the 8'th option...because of the principals of Binary Progression and Bit Field operators
Bit Fields ~ Bit Flags explained....Any setting that is a Flag is a binary bit field..or bit Flag
The bit array progression is: 0,1,2,4,8,16,32,64,128...for field index 0,1,2,3,4,5...
The depth of the field is contingent upon the nature of the field variable...8 bit, 16 bit, 32 bit etc
Each slot in the field is simply an off on switch 1/0
The nature of binary progression is such that if any switch in the field is on or off, an integral value can be summed from the field, and will always result in a unique value that can be expressed by a positive integer value.
Thus, if flag slots (dispense with zero) 1 3 and 5 were switched on, then the resultant flag integer value would be 21...indicating that 1(1), 3(4) and 5(16) were switched on (1+4+16)
An 8 bit var would look like this 01010100 if you peeked under the hood (showing slots 1 3 5 switched on
0=0
1=1 (On)
2=2
3=4 (On)
4=8
5=16 (On)
6=32
7=64
and so on...this Flag translated to an integral value = 21
But like HT says...simply load it up off line and find the flag combinations that result in that setting...or write an excel spread sheet that translates as much
It is not rocket science...and besides...HT gives an option to input an integer value instead of checking boxes...providing the integer value is a valid Bit Flag sum...and if it is...the game will automatically reconcile the correct switches and check boxes
Oneway
learn more here:
http://en.wikipedia.org/wiki/Bit_fieldhttp://weblogs.asp.net/wim/archive/2004/04/07/109095.aspx