Palette documentation, volume I

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Palette documentation, volume I

Post by ChrisCF »

I am hoping to see at some point a fully-documented palette, showing what all the colours are, and what they represent in the game (i.e. some represent flashing in DOS, others represent transparency, and some more for player colours). I have started work on a visual translation table showing what the player colour IDs are on the palette, and which colours they translate to when given player colours are selected. Should be done and finished in a couple of weeks (I hope ot get a preliminary impression done before the start of next week), and will be issued under the GNU FDL (Google might help with this one).

If there is plenty of interest in this, I shall bring it up my list of priorities and get it out sooner.
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

I already love it :-)
I have a changed grf with the palette so you can watch it blinking...
I will post it tonight.
Prof. Frink
Tycoon
Tycoon
Posts: 3849
Joined: 20 Jan 2003 14:51
Location: Broadstone, Dorset
Contact:

Re: Palette documentation, volume I

Post by Prof. Frink »

ChrisCF wrote:some represent flashing in DOS
And Win since a9VCs(1/2)
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

Here is a file to show you all palette colors of the win version at the start screen. Backup everything first!
Windows version.
Hope it helps. :-)
Attachments
startcol.zip
Here you go
(244.1 KiB) Downloaded 759 times
ChaosDeathFish
Engineer
Engineer
Posts: 20
Joined: 25 Nov 2003 12:13
Location: Nottingham, UK

Re: Palette documentation, volume I

Post by ChaosDeathFish »

ChrisCF wrote:I am hoping to see at some point a fully-documented palette
Ooh - That'll be amazingly useful for me! But I'm not working on my TT-related stuff at the moment, so don't rush for my sake.
broodje
Director
Director
Posts: 615
Joined: 13 Jul 2003 12:47
Location: Alphen aan den Rijn
Contact:

Post by broodje »

hmm I have a litle list I use, not that fancy, but it works for me
http://home.tiscali.nl/broodje/TTD_colour_codes.txt

ahh shoot not what I wanted

Code: Select all

6-12-2003

This file contains the till now found special colours from the windows palet
Got some more, please tell me.

Daan  
d.krantz_at_hccnet_dot_nl


52 = see trough for the station roofs

138= red flashing light (only in fullscreen)

198-205 = are all company colours

215= black ingame

222-226= grey blue to white slow blinking (the water pixels in fullscreen mode (tnx TBOT) 

227-231= brownish fast colour cycle (by TBOT and a litle testing by me :P)

232-238= red flashing light, are part of the fire on the oil platforms (only in fullscreen, also by TBOT )

239-240= if 239 goes light red 240 goes dark red, if 239 then goes dark red 240 goes light red, (thanks nils) 

244-243-242-241= Yelow flashing in the order they are written down (only fullscreen (thanks marcel))
ChaosDeathFish
Engineer
Engineer
Posts: 20
Joined: 25 Nov 2003 12:13
Location: Nottingham, UK

Post by ChaosDeathFish »

What would be very useful would be (along with the palette description) the exact colours used for the various flashing/animating values.
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Image
Attachments
colours.zip
The next release will feature the palette indices on the image
(2.01 KiB) Downloaded 581 times
Bugzilla available for use - PM for details.
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

Cool :-) These are the player colors, right?
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Yes. To use this chart to decide which shade of player-colour to use:

1. Look up the actual colour you need
2. Use the colour under "Dark Blue" (the first column)
3. Check in game that with the correct colour in use the sprite looks correct

Not all of the colour ranges are sequential, which is why I will be adding the palette IDs
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Palette IDs now in stock :)
Attachments
colours-palid.png
colours-palid.png (115.82 KiB) Viewed 14355 times
Bugzilla available for use - PM for details.
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13225
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Nasty request: the same colour overview with the RGB values in it?!
SHADOW-XIII
Tycoon
Tycoon
Posts: 14278
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

load this file in MSPaint and use probe
what are you looking at? it's a signature!
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13225
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

MSPaint? No way!!! But a new suggestion for Chris: maybe put a red cross through 'wrong colours' if you release the entire palette?
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Suggestion #1: That'll probably come next, though any graphics editing tool worth its salt should be able to tell you the RGB value with the mouse over a pixel.

Suggestion #2: Maybe. Depends on what you mean by "wrong colours"
Bugzilla available for use - PM for details.
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

Sugestion concerning 2)
Better paint a line of the colors the flashing pixels get in order.
For example with the yellow black blinking colors:

Code: Select all

     begin  then   then   then
241: black  black  black  yellow
242: black  black  yellow black
243: black  yellow black  black
244: yellow black  black  black
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13225
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

ChrisCF wrote:Suggestion #1: That'll probably come next, though any graphics editing tool worth its salt should be able to tell you the RGB value with the mouse over a pixel.
But not the other way round (anymore)
ChrisCF wrote:Suggestion #2: Maybe. Depends on what you mean by "wrong colours"
Colours that are reserved for special effects, usually blinking but there is magic pink and background blue too.
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Hyronymus wrote:But not the other way round (anymore)
That's why I've posted the one with palette IDs :roll:
Bugzilla available for use - PM for details.
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

What exactly is magic pink? I saw pink turning to black because I did use the wrong grfcodec settings, but later I never saw something similar
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

"Magic Pink" = 255,0,255, and usually means transparency. For people that actually want to use magic pink, 254,0,254 is recommended. Of course, that isn't in the TTD palette.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google [Bot] and 19 guests