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.
[02:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
[02:41 am]
Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
[02:40 am]
Symmetry -- Human memory is a fragile, fallible thing
[02:39 am]
Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
[02:38 am]
Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
[02:38 am]
Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
[02:37 am]
Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
[02:22 am]
Symmetry -- was it idra
[01:52 am]
NudeRaider -- Oh_Man
Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
classic
[02:56 pm]
Oh_Man -- long story short - patience is a virtue!
Please log in to shout.


Members Online: Oh_Man, Sie_Sayoka