Jump to content


Photo

Palette question


  • Please log in to reply
5 replies to this topic

#1 mevitar

mevitar

    REEEEEEEEEEEEE

  • Hosted
  • 1,971 posts
  • Location:your imagination
  • Projects:Doom Desire
  •  (◉ _ ◉)

Posted 21 November 2009 - 01:45 AM

The #0 color is for empty pixel. #1 is for shadows. #15 is for lights (like the ones on tanks). #16 up to #31 are for remap. My question is: do any other color get special treatment by the game or not? Is there any special logic assigned to any other number?
ded signature

(◉ ᗝ ◉)

#2 Starkku

Starkku

    Putting the Pro' in 'Procrastination'

  • Hosted
  • 434 posts
  • Location:Finland
  • Projects:Project Phantom
  •  Developer of Project Phantom mod for C&C: Yuri's Revenge.

Posted 21 November 2009 - 10:31 AM

IIRC colors 240-255 are not affected (or are affected in different way) by map lighting, as they are displayed in normal light even on dark maps. This is, for buildings atleast. Probably applies to infantry too. For voxels, I think those colors do not work at all and results to them being replaced by bright pink/blue (can't remember which one) ingame.

Edited by Starkku, 21 November 2009 - 10:42 AM.

eWPQbKY.png


#3 Mig Eater

Mig Eater

    5700 vxl files & counting...

  • Undead
  • 5,833 posts
  • Location:Eindhoven
  • Projects:D-Day
  •  Teh workaholic

Posted 21 November 2009 - 10:48 AM

What he said /\


Posted Image
Posted Image


#4 Apollo

Apollo

    The bringer of doom

  • Hosted
  • 3,467 posts
  • Location:Core of Nexus
  • Projects:Robot Storm, Project Phantom
  •  1337 Modder

Posted 21 November 2009 - 04:38 PM

Yeah voxels won't use the new colors except for top surface, else uses original colors.
Posted Image

EAApoc wrote:
The only written law in a C&C game I ever saw is please Mr.Developer make it fun and give me a lot of **** to explode, o and don't you ever get another soul to play Kane but Joe Kucan. Aside from those two rules, all bets are off =) hehe
-APOC

#5 mevitar

mevitar

    REEEEEEEEEEEEE

  • Hosted
  • 1,971 posts
  • Location:your imagination
  • Projects:Doom Desire
  •  (◉ _ ◉)

Posted 22 November 2009 - 09:29 AM

Thanks. I understand the #2 to #14 don't get any sepecial treatment at all?
ded signature

(◉ ᗝ ◉)

#6 mevitar

mevitar

    REEEEEEEEEEEEE

  • Hosted
  • 1,971 posts
  • Location:your imagination
  • Projects:Doom Desire
  •  (◉ _ ◉)

Posted 23 November 2009 - 10:31 PM

Ok, nevermind. Can be closed now.
ded signature

(◉ ᗝ ◉)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users