Aces High Bulletin Board
General Forums => Aces High General Discussion => Topic started by: SmokinLoon on August 09, 2011, 11:19:12 PM
-
The latest update had one of the greatest additions so far, imo. We now can look at the arena settings and without question know what they are. Radar settings, OBJ hardness, reset times, etc etc etc.
Good work, HTC! and thanks! :aok
-
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.
-
I also thought the patch giving Arena Settings a shot in the arm was a good one. :rock Thanks
Didn't find the P40C folder for skins yet..... but I only did a quick search. Anyone else see the reference to upcoming changes for the P40C? After the last update, I could have sworn they fixed the way my P40 used to loose wing lift suddenly. It has been a joy to fly and fight MA uber and perked rides against.
-
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.
Double clicking the item is to difficult?
HiTech
-
Double clicking the item is to difficult?
HiTech
DOH! :bhead
Never thought to try double-click.
-
Double clicking the item is to difficult?
HiTech
:rofl :rofl
:cheers: Oz
-
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
:aok
Oneway
learn more here:
http://en.wikipedia.org/wiki/Bit_field
http://weblogs.asp.net/wim/archive/2004/04/07/109095.aspx
-
I like HT's explanation better. :neener:
-
I like HT's explanation better. :neener:
I am a nerd
Guilty
:bolt:
-
Double clicking the item is too difficult?
HiTech
HT's spelling has gotten much better over time (or he uses spell check more) but I caught him! :banana:
Corrected. :)