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.
[12:32 pm]
Oh_Man -- yea APM vs eAPM
[08:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[08:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
[08:06 am]
NudeRaider -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
*Pluto's wraiths
[08:05 am]
NudeRaider -- Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
[02:18 am]
Oh_Man -- Close enuf
[2026-9-21. : 4:14 pm]
Vrael -- perhaps there is a small professional player trapped in a box in the server rack where pluto is running? hmm?
[2026-9-21. : 4:14 pm]
Vrael -- 240*12*2 is 5760, where is the other 240 APM?
[2026-9-21. : 3:44 pm]
Oh_Man -- 1 action is selecting the unit and another action is moving it
[2026-9-21. : 2:58 pm]
Vrael -- 240*12 is 2880, where is the other 3000 APM?
Please log in to shout.


Members Online: DarkenedFantasies