Posted: Wed Mar 23, 2011 12:40 pm Post subject:
temperate.pal ?!
I've always thought that temperate.pal (snow, urban) are used just for ore and gems overlay types in YR. However, my attempt to modificate temperate.pal palette had caused unpredictable side effect. Vehicles (not infantry or buildings, no mater are they SHP or VXL) have got their colours messed. Here is screenshoot. I am also attaching my palette. Can anyone give a hint how to exactly this palette works?
I ran into this exact same problem a long time ago. I have no ideas on the exact workings of this but I have a theory that it is related to some leftover code from Red Alert, where units/buildings etc. used a palette with an identical name.
Something I managed to find out is that replacing the temperat.pal with some of the stock game palettes (forgotten the exact list, but unit*.pal was one of them for sure) does not cause side effects such as this.
I also managed to get around the problem with my own replacement palette by using unittem.pal as base, editing some of the color gradients to match my wishes and copypasting some colors from temperat.pal. Didn't help me to understand the actual nature of this problem at all, though. Altough the way your units appear mostly solid green and your palette having mostly same purple colors makes me think it's directly connected to the RGB values used on temperat.pal. _________________ QUICK_EDIT
Yeah this is somewhat known issue yet very strange one so if insist replacing it, have to hand craft it and effects on voxels is also nasty easily. QUICK_EDIT
Okay, i give up, this is indeed RGB. I can't understand how and why: index 21 with RGB values=0,168,0 cause this bug, but same #21 but RGB=0,176,0 had not. This is madness. I have carfully tried to add all requred colours to unittem clone and renamed it to temperate and it works so far. well, good, I think. _________________ Gangster is a Project Perfect Wuj (c)Aro QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sat Aug 16, 2014 2:16 pm Post subject:
Meaningful bump: cause of bug was the fact that color slots shared color on temperat.pal. I just replaced mine with a completely rainbow pal where no slots share their colors and no issues I ran into. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sat Aug 16, 2014 2:39 pm Post subject:
Currently all ore looks like rainbow mess of pixels but I'll fix that soon.
Gotta needed to try this out for something I plan for a long while now. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum