Different wireframe colors
Post #1 SinistrouS May 7 2012, 4:37 am
Already well known and documented. Thanks for the heads up, nevertheless.
Nice find! Should be able to squeeze out some more colors now.Attachments:
Really? (link please) I know using the extra hitpoints bit for colors is well documented but I couldn't find any documentation for taking advantage of sprites HP default to work with colors
Since you didn't post an example I scraped together a little something:
Post #4 SinistrouS May 7 2012, 9:24 am
I haven't seen a single thing related to the use of unit sprites.
After more testing I've noticed it does not work with shields or zerg units, due to the regeneration. So zerg units are stuck with the normal way to do it.
It would also seem the ratio of hp has everything to do with color, so some units will not be able to achieve the same effects as others.
There seems to be two different types of wireframes, filled and normal. Filled being archon/mineral field/critters/etc. And normal being anything not filled like marine/wraith/etc.
A ratio of 50/1 would make normal wireframes blackened 100% of the time, and 5/1 ratio would make filled wireframes blackened 100%.
Both units have a normal wireframe
Shows an example of some different colors available(probe). And the 50/1 ratio.
Another peculiar thing I noticed was having a ratio of 20,000/1 on a mineral field. The colors would change depending on your screen position, but you would either have to move your cursor over the wireframe or click the mineral field again to show the new colors.
This post was edited 1 time, last edit by SinistrouS: May 7 2012, 9:34 am.
Post #5 O)FaRTy1billion May 7 2012, 8:53 pm
It's because it isn't really useful .. it only works on pre-placed units, and you cannot heal them or get them back up to those levels.
Before when I was playing with this I just placed a bunch of them with 1 hp, and then had a unit that does 1 damage to attack them and watch as it goes through many different colors ... I liked the purple ones, or perhaps the glowing ones on solid wireframes.
Wireframe colors are from this table:
Doing higher values just makes it pick wrong indexes, or perhaps nonexistent ones (buffer overflow) ...
This post was edited 2 times, last edit by FaRTy1billion: May 7 2012, 9:11 pm.
TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
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 times!
Post #7 Mini Moose 2707 May 8 2012, 3:58 pm
Everything was beautiful and nothing hurt.
I cannot exactly document for you (other than by providing old maps), but I can tell you that I used it in a map last modified October 24, 2004. So, Deathknight was working them and the knowledge was around back then and probably earlier.
“Any community that gets its laughs by pretending to be idiots will eventually be flooded by actual idiots who mistakenly believe they're in good company.”
http://yourbrainonporn.com/ -- The Demise of Guys and The Great Porn Experiment (footnote e3, nsfw)
Adobe CS2 is free now.
Dear Gun Control Democrats: 6 Ways to Make a Better Argument
A Mathematician's Lament
0 members in this topic (italic members are currently writing a reply): None
jjf28 -- Russell married Timmy <3
jjf28 -- Granny Smith > Gala > ... no competition after that
Azrael -- Granny Smith for life.
Azrael -- Fuck yeah.
Azrael -- "Lanthanide -- eating a granny smith apple now and it's delicious"
Wing Zero -- now it won't boot with the hdd plugged in.