Different wireframe colors
Post #1 SinistrouS May 7 2012, 4:37 am
Post #3
jjf28
May 7 2012, 5:27 am
|
Relax.
|
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
|
.rapsdleF
|
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.
Also: http://www.staredit.net/?p=oldwiki&s=0#Unit_Sprite 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! times! |
Post #6 SinistrouS May 8 2012, 12:00 am
Post #7
Mini Moose 2707
May 8 2012, 3:58 pm
|
Everything was beautiful and nothing hurt.
|
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. ![]() ![]() ![]() ![]() ![]() ![]() “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.”
-René Descartes http://yourbrainonporn.com/ -- The Demise of Guys and The Great Porn Experiment (footnote e3, nsfw) http://youtu.be/7cKTBy7_S_I Adobe CS2 is free now. http://vimeo.com/59236702 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
+ guest(s)
+ guest(s)
[04:28 am]
[04:27 am]
[04:13 am]
[04:13 am]
[04:13 am]
[03:28 am]







times!![[close]](/images/up.gif)