Staredit Network

Staredit Network -> StarForge -> i found something weird with beacons
Report, edit, etc...Posted by axblader on 2005-04-17 at 21:36:01
in SF it looks a very pleasant green:
user posted image
but in SC:
user posted image

??? weird, i think this has been found before?
Report, edit, etc...Posted by EzDay281 on 2005-04-18 at 02:41:50
EGAD MY EYES!

It's because SF doesn't inerpret colors directly from SC.
I mean, everything above 15 looks black in SF...
Report, edit, etc...Posted by Yoshi da Sniper on 2005-04-18 at 07:43:55
>> STARFORNGE!
Report, edit, etc...Posted by Heimdal on 2005-04-18 at 08:32:59
Color numbers above 11 are undefined in Starcraft, although SF makes it look like the first 16 are.
Report, edit, etc...Posted by KrAzY on 2005-04-18 at 10:29:12
Umm that happens, if color is beyond 11.
Report, edit, etc...Posted by Clokr_ on 2005-04-18 at 11:06:36
QUOTE(krazydrunkking @ Apr 18 2005, 03:29 PM)
Umm that happens, if color is beyond 11.
[right][snapback]190628[/snapback][/right]


A buffer overflow. Lemme explain:

It loads into memory 12 colors. After those 12 colors it loads another unrelated data.
When it has to display color 4 it goes to the memory place where the first color is stored, and counts 4 colors more.
If it tries to display color 15 it'll go to that place and count 15 colors more, so it will read wrong data thinking that it is a color.

Result: An unpredictable color will be shown that might even change when you do something in the map.
Report, edit, etc...Posted by axblader on 2005-04-18 at 17:37:17
cool. but shouldnt it jsut restart the list? so if you go to 15, it should go back to 3...
anyways, if i can find the things after the colors and change it, the color might change?
Report, edit, etc...Posted by Clokr_ on 2005-04-18 at 18:01:16
I already saw a few maps with that, that a color changes when you kills an unit or something like that.
Report, edit, etc...Posted by chuiu on 2005-04-18 at 18:28:18
In my crystal cannon defense map sprites will blink colors as units are killed. It's a pretty cool effect to simulate the cannons firing, but Its too bad I cannot control them the way I have my map setup.
Report, edit, etc...Posted by Navilin on 2005-04-19 at 16:58:22
You should look around the forums before you post something like this. There's already a thread (a recent one) about changing colors. And there is my old thread about changing colors. Just a thought you know so the forums dont get clogged.
Next Page (1)