From: Washington, DC
OK, still making good progress on the eqp files, but have a basic question: I'm trying to build in a filter for equipment by flag values, but now see that many flags contain "cumulative" flag values, ie equipment can have a FLAG0 has a value of 12, which I guess means that they are both Active Defenders (4) and Recon Capable (8). Other equipment has a FLAG0 value of 14, so I guess Active Defenders (4), Recon Capable (8), and Armored (2)...
I've seen this kind of stuff before, so am guessing that there must be a standard formula or algorithm for figuring out what combination is represented by the various numbers? Can anyone point me towards this formula/algorithm or even tell me what this formula/algorithm/process is called so that I can Google it?