Staredit Network > Forums > Modding Assistance > Topic: Adding NEW colors to SC1
Adding NEW colors to SC1
Oct 9 2020, 9:39 am
By: Netbek  

Oct 9 2020, 9:39 am Netbek Post #1



I want these 4 colors in my SC1 mod.
I tried to make unit names be displayed in these colors, so I edited tfontgam.pcx:
Normal tfontgam.pcx
Edited tfontgam.pcx
But the result is just the closest colors from the SC1 color scheme, which are more red-ish...
I'm not sure, but it seems that only the Index of a color in these .pcx files really matters, and it points to some sort of overarching palette?

Is it even possible to add fully new colors into the SC1 color scheme? Can't I actually replace colors? So far, editing .pcx files only lets me replace some color from the existing SC1 colors with another color from the existing SC1 colors.

Post has been edited 2 time(s), last time on Oct 9 2020, 10:12 am by Netbek.




Oct 9 2020, 4:11 pm DarkenedFantasies Post #2

Roy's Secret Service

You need to modify the backgnd.pcx palette for menu interfaces (found in glue\), or the tileset palettes for in-game (.wpe files under tileset\). Usually this will require you to replace existing colors as most palettes have little to no unused color indexes. I would recommend picking existing colors from the palette to create your new font color instead.

For your information, color index 0, 14-199, and 255 are shared between all tileset palettes (a.k.a the "gamebasic" palette), so you should choose a color in that range to maintain color consistency between tilesets.

Post has been edited 1 time(s), last time on Oct 9 2020, 4:19 pm by DarkenedFantasies.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[2026-7-26. : 11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Roy