If you add 1, it will become a building, and crash.
If you subtract 1, it will no longer be an organic unit (medic can't heal, can't spawn broodlings, can't maelstrom), but it will also...
Be a flying robotic resource depot building add-on worker subunit hero detector that regenerates HP and can be harvested by workers among some other things ... But will still be perma-cloaked. (But will most definitely just crash).
The values have to be exact. Each value listed represents 1 single bit in binary (0x0001 is 0000000000000001, 0x0002 is 0000000000000010, 0x0400 is 000001000000000, etc.). Think of them as just a big long row of switches (which is why they are called flags). If you add one, you will just enable the first flag (building) -- unless it's already enabled, then it will disable building and enable the second one (addon). If you subtract one, it will disable building, or if building is already disabled it will disable the next lowest flag (in DT's case, Organic) and enable every flag in between.
So, to illustrate what I said before...
DT flags are, by default:
0x18410000 or 0001 1000 0100 0001 0000 0000 0000 0000 in binary.
(0x10000000 - Full Auto-Attack, 0x08000000 - Battle Reactions, 0x00400000 - Permanent Cloak, 0x00010000 - Organic Unit -- all of these add up to 0x18410000)
Adding one to default:
0x18410001 or 0001 1000 0100 0001 0000 0000 0000 0001 in binary.
(Adds 0x00000001 - Building)
Subtracting one from default:
0x1840FFFF or 0001 1000 0100 0000 1111 1111 1111 1111 in binary.
(Removes 0x00010000 - Organic Unit, but adds all of the following: 0x00000001 - Building, 0x00000002 - Addon, 0x00000004 - Flyer, 0x00000008 - Worker, 0x00000010 - Subunit, 0x00000020 - Flying Building, 0x00000040 - Hero, 0x00000080 - Regenerates HP, 0x00000100 - Animated Idle(?), 0x00000200 - Cloakable, 0x00000400 - Two Units in 1 Egg, 0x00000800 - Single Entity, 0x00001000 - Resource Depot, 0x00002000 - Resource Container, 0x00004000 - Robotic Unit, 0x00008000 - Detector -- All of these values add up to 0x0000FFFF)
Post has been edited 6 time(s), last time on Oct 8 2014, 8:27 pm by FaRTy1billion. Reason: clarifying
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!