Aawulf -> RE: LCU Symbol clarification (3/21/2019 3:53:02 PM)
|
quote:
ORIGINAL: inqistor My guess is, that those are logical bits (1 2 4 8 16). So, for 12, it will be 8+4 = 3rd, and 4th bit For 13 you will get 8+4+1 = same as for 12, plus 1st bit (probably para capable, unless 12 also have this ability) 17 is 16+1, so it have one capability from 13, which is not present for 12 (1st bit), and some unspecified capability from 5th bit (16, probably assault from submarine) 19 is 16+2+1, so the same as 17, plus 2nd bit When I pulled it from hex addresses for the original Pac War and later for WitP, I'm pretty sure it was a 256 limited integer field. "12" and "13" were "00 0c" and "00 0d" respectively. The following VBA code is what I used for WitP to extract the data for "sym" to Excel: ' Get _sym CellY = 31 Counter = 88001 + (LocNum - 1) * 2 Get #1, Counter, VarData1 Get #1, Counter + 1, VarData2 curVal = CCur(VarData1) + CCur(VarData2) * CCur(256) Worksheets("Allied LCUs").Cells(CellX, CellY).Value = curVal
|
|
|
|