Thread Tools
Old November 28, 1999, 17:37   #1
Allard HS
Prince
 
Allard HS's Avatar
 
Local Time: 07:50
Local Date: October 31, 2010
Join Date: Dec 1969
Location: NL
Posts: 747
Finally! I found out how to change the radar map colours!
I originally intended to keep this secret until the revealing of my next scenario, but it's not só useful after all . So I decided to reveal my "secret" to the scenario community so they can enjoy too making nicely coloured radar maps.


Observating an extremely shitty scenario (no offense to its author, if any) from the Apolyton archives, one "Biowar", I finally found the solution to a mystery that has haunted me all too long.
This scenario's author took the big step of including his own units.bmp, but used a strange palette (not the standard one). Obviously, all game colours were now messed up and the whole game looked like ****. It surprises me that he didn't notice it during playtesting, but perhaps he did not playtest it.
Anyway, the colours of the radar map were also changed to this strange palette and this enabled me to realize that the radar map colours were changeable (not hardcoded as I always thought) and how they were to be changed.

Apparently, as I found out the colour palette of UNITS.GIF determines the palettes of all other .GIF files too. If colour at palette no 0 is black, it supposes it is too in ICONS.GIF. If you turn this palette colour into white, it will also change the black colours in ICONS.GIF into white when playing. Therefore, if you change the palette to your liking in UNITS.GIF, save that palette and apply it to all the other files too.

The radar map has land (normal=green) and sea (normal=blue) colours. They are paletter no 38 (land) and 83 (sea) in UNITS.GIF and changing these will change the colours of the radar map. (be sure to check if all units still look good and be sure to apply the palette to the other gifs and check their colours).
This is not very handy in most scenarios, but can be useful in desert scenarios, such as Stefan's Pharaon, or Afrika Corps when you turn palette 38 into yellow.

As I went further experimenting, I found out that all colours in the game were actually determined by this palette, so also: the background colour behind the civ2 logo (palette no 148) (nice for something different, or for changing back all of ToT to civ2 ), a large (if not all) number of in-game text colours and so on.
For example: Normal text colour has pixel number 6 with a shadow of pixel colour 23. Text in the title border of pop-up boxes have pixel number 16 with background 0 (also used for shadow of city names). A number of other texts have 31 and also 0 for their shadow.

Anyway, these are just a few of the things you can do. Basically every single colour in the game is determined by the palette of UNITS.GIF.
Allard HS is offline  
Old November 28, 1999, 18:07   #2
William Keenan
Scenario League / Civ2-Creation
Prince
 
William Keenan's Avatar
 
Local Time: 00:50
Local Date: October 31, 2010
Join Date: Sep 1999
Location: New Jersey, USA, Earth, Sol, Milky Way
Posts: 705
Thank you, Allard!

This is very interesting. Would you consider writing a tip on this topic?
William Keenan is offline  
Old November 28, 1999, 18:55   #3
Cam
King
 
Local Time: 15:20
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Australia
Posts: 1,282
Thank you! Thank you William for asking exactly what was on my mind!

Allard - if you don't want to do a tip on this finding, I'll be happy to look into it myself.

I don't think it's a "not só useful" finding at all - particularly as the Civ2 palette seems to use only about 200 of the 256 colours available. With these extra colours, it seems you have found a way to address Techumseh's inquiry some weeks ago on how to change the text colour. I suppose that you will also need to include a scenario palette in with the zipped package of a scenario now?
Cam is offline  
Old November 28, 1999, 19:28   #4
Allard HS
Prince
 
Allard HS's Avatar
 
Local Time: 07:50
Local Date: October 31, 2010
Join Date: Dec 1969
Location: NL
Posts: 747
A tip? Actually I more or less considered this as a tip already.. But ok, I'll try to write something more decent

It ís useful, but not for my scenario. Changing the radar map colours is not handy here (there still are only 2 colours) and changing text colours is fun but not great.

Quote:
I suppose that you will also need to include a scenario palette in with the zipped package of a scenario now?
What do you mean? The palette is included in any gif file. Well, yeah, I guess you could add a .pal file to the zipped archive for decency, but it's not necessary for functioning.
Allard HS is offline  
Old November 28, 1999, 20:00   #5
Kull
lifer
King
 
Local Time: 22:50
Local Date: October 30, 2010
Join Date: Mar 1999
Location: El Paso, TX USA
Posts: 1,751
I am continually amazed by the ingenuity of people on this forum! Kudos to you Allard for finding a new twist in what is really a VERY old game!
Kull is offline  
Old November 28, 1999, 20:31   #6
blackclove
Guest
 
Posts: n/a
This is great! I would definitely want to see this in tip format.

 
Old November 28, 1999, 21:57   #7
Cam
King
 
Local Time: 15:20
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Australia
Posts: 1,282
Allard,

Once you start swapping colours around, I thought that the traditional Civ2 palette wouldn't by definition be the same and a new one would need to be provided(?). Sorry if I've got 'the wrong end of the stick' here.
[This message has been edited by Cam (edited November 28, 1999).]
Cam is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:50.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team