Staredit Network > Forums > Modding Assistance > Topic: Fixing corrupt/sparkling pixels in custom terrain
Fixing corrupt/sparkling pixels in custom terrain
May 28 2017, 2:49 am
By: Pr0nogo  

May 28 2017, 2:49 am Pr0nogo Post #1



I've recently given terrain editing a try and came out with some promising results. The goal is to create doodads and eventually terrain types that represent protoss presence/architecture in the desert tileset.


However, it seems some pixels don't translate properly when in-game, and instead 'sparkle', oscillating between multiple colors in a rather distracting manner.

Example

After attempting to resolve this problem myself by setting the pixels to values that were accepted in other areas of the graphic, I recompiled the tileset and booted it up. This is what greeted me.



Is there a way to fix this? I'm honestly not even sure what's going on. I would think it's a palette issue but I'm exporting my image in photoshop using the desert palette, and it worked without issue for the pylon doodad. Any ideas?




May 29 2017, 5:30 am Pr0nogo Post #2



It looks like I was able to resolve the issue with the help of farty. He sent me a desert-nc palette that I used with photoshop to avoid the sparkling issue, and no black boxes have appeared so far. Here is a link to the act palettes for all -nc tilesets in case anyone else wants to make custom terrain and runs into this problem.



Thanks farty!




May 29 2017, 12:18 pm Voyager7456 Post #3

Responsible for my own happiness? I can't even be responsible for my own breakfast

Quote from Pr0nogo
Is there a way to fix this? I'm honestly not even sure what's going on. I would think it's a palette issue but I'm exporting my image in photoshop using the desert palette, and it worked without issue for the pylon doodad. Any ideas?

FYI, what was happening here is there are certain indices in the terrain palettes where SC cycles through different colors. This is how it produces the "waves" in water terrain and the glow for lava.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


May 29 2017, 2:34 pm Pr0nogo Post #4



Yeah, farty told me as much. Still puzzled about how that led to the black box issue.




May 29 2017, 2:54 pm Voyager7456 Post #5

Responsible for my own happiness? I can't even be responsible for my own breakfast

I ran into the same issue a few years ago, but I can't remember what the cause was.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
Please log in to shout.


Members Online: Ultraviolet, RIVE, Roy