Thread Tools
Old May 13, 2002, 01:12   #1
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 19:36
Local Date: October 31, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
Weird Colors associated with Icon gif?
Ok, I subsituted a unique graphic in the icon gif (it's actually a bmp now), and it looks ok when the main initial screen comes up. But when I go to the foreign advisor/diplomacy box . . . weird color schemes are there now. Stuff I have NOT put in myself. A black background with lots of white dots, other weird colors.

Any idea what is happening and how to prevent it?

Besides replacing the boxes with the same boring gray colors in the default icon gif.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old May 13, 2002, 01:34   #2
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 19:36
Local Date: October 31, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
A clue.
Looking back through the ancient archives, I found a thread by Allard Hofelt, talking about colors and palettes and such. Here is an interesting passage;

"Below this second grid (the one you see when grid is turned on), you'll see the background of the title of almost all civ2 texts boxes and most other things. You certainly have noticed it.
There's also a second background used, the one used in the interface box on the right of the screen when playing, and also the background of all pop-up boxes. This texture is created by tiling the upperright texture (left of the Woman's Suffrage Wonder). The two other textures are not used."

Now, can someone explain to me the meaning of the word "tiling" in the 4th sentence? I keep reading this over and over, but can't quite grasp what is happening. These are the boxes that I meddled with, however. I can always simply change it back to dull gray, but would like to be able to use the graphic I created--but only if it won't screw up the background in the pop-up boxes.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old May 13, 2002, 03:18   #3
Jacobite1688
Spanish Civers
Prince
 
Jacobite1688's Avatar
 
Local Time: 18:36
Local Date: October 31, 2010
Join Date: Jul 2001
Location: Chicago, IL U.S.A.
Posts: 300
I've seen this before, but have no idea how to prevent it. I too will be intrested in an answer to this.
Jacobite1688 is offline  
Old May 13, 2002, 06:21   #4
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 19:36
Local Date: October 31, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
Once again . . .
Problem solved. After much experimentation (and some lucky guesswork ), I've come up with a good solution to this problem. Part of it involves changing the data in the image to "optimized 256 color," whatever that means. Once I did that, the images I selected, after being shrunk, were recognizable and didn't disrupt the other colors elsewhere.

Now I've got another problem. I've created 3 different "border" images, they're all good, and I can't decide which one to use.

Here's the first;
Attached Thumbnails:
Click image for larger version

Name:	battleship.jpg
Views:	72
Size:	7.5 KB
ID:	15291  
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old May 13, 2002, 06:27   #5
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 19:36
Local Date: October 31, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
Here's the 2nd;
Ooops. Never mind--I'll just ask the playtesters.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old May 13, 2002, 12:00   #6
Stefan Härtel
Civilization II Democracy Game: ExodusScenario League / Civ2-Creation
King
 
Stefan Härtel's Avatar
 
Local Time: 01:36
Local Date: November 1, 2010
Join Date: Jul 1999
Location: Some cold place
Posts: 2,336
In that sense...
...does anybody know if it is possible to change the text color of the pop-up boxes?
__________________
Follow the masses!
30,000 lemmings can't be wrong!
Stefan Härtel is offline  
Old May 13, 2002, 14:19   #7
hardjoy
Scenario League / Civ2-Creation
Prince
 
hardjoy's Avatar
 
Local Time: 01:36
Local Date: November 1, 2010
Join Date: May 2001
Location: Odense, Denmark
Posts: 305
Re: Weird Colors associated with Icon gif?
Quote:
Originally posted by Exile
Ok, I subsituted a unique graphic in the icon gif (it's actually a bmp now), and it looks ok when the main initial screen comes up. But when I go to the foreign advisor/diplomacy box . . . weird color schemes are there now. Stuff I have NOT put in myself. A black background with lots of white dots, other weird colors.

Any idea what is happening and how to prevent it?

Besides replacing the boxes with the same boring gray colors in the default icon gif.
Don't know if this is what you're asking about, but here goes anyway.

When you import any graphic into the civ2 image files, it is a good idea to first convert the image to truecolor i.e. the largest available color palette, then rescale and do adjustments, if it doesn't come out right.

Then load in the (previously saved) civ2 palette of the file you wish to paste it into. Then you can cut'n paste the image without any color divergence.

Note, however, that a number of colors in the end of the civ2 palette is reserved for special purposes, so if your image uses these, they should be manually replaced with similar colours from another place in the palette.

BTW, "tiling" simply means that civ2 'tiles' the background icons, i.e. they are repeated continuously to fill a large background, like when used behind text messages.
__________________
The Slim End Of The Long Tail -
Kaplak Stream
hardjoy is offline  
Old May 13, 2002, 15:54   #8
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 19:36
Local Date: October 31, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
Some answers.
Stephan; the post by Allard also said some things about changing the text color, but, IIRC, it said that it can't be done or can't be done easily.

Hardjoy; Yeah, when I reread the stuff I did last night this morning, it hit me what "tiling" meant. DOH! But, all I know about graphics is that my method (whatever it is) works, for now. So I'll stick with it. But thanks for the assistance.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old May 14, 2002, 08:12   #9
Cam
King
 
Local Time: 10:06
Local Date: November 1, 2010
Join Date: Dec 1969
Location: Australia
Posts: 1,282
You might find this item on the old Scenario League Design Tips site of interest re. text colour. I was able to change the text, but had difficulty regarding changing the colour scheme of the radar buttons or submit buttons. Allard was confident that these could be changed too, but I don't recall if there was any further discoveries on this question.
Cam is offline  
Old May 14, 2002, 15:57   #10
Exile
Scenario League / Civ2-Creation
King
 
Exile's Avatar
 
Local Time: 19:36
Local Date: October 31, 2010
Join Date: Sep 2000
Location: of the Benighted Realms
Posts: 1,791
Thanks, Cam.
It was informative, but the one thing he failed to touch on was the rectangle in Icons.gif that I played with.

He is much more methodical than me, however.

I just toyed with it until discovering something that worked. Then stuck with that method.

Also, I replaced all the squares in Icons.gif, just to see what would happen. None of the buttons you mentioned changed. I have yet to figure out how to do that myself.
__________________
Lost in America.
"a freaking mastermind." --Stefu
"or a very good liar." --Stefu
"Jesus" avatars created by Mercator and Laszlo.
Exile is offline  
Old May 14, 2002, 17:58   #11
Mercator
Scenario League / Civ2-Creation
Emperor
 
Mercator's Avatar
 
Local Time: 02:36
Local Date: November 1, 2010
Join Date: Dec 1969
Posts: 3,079
I don't know about the rest, but the radio buttons and checkboxes definitely can't be changed! These graphics are located inside the civ2 executable itself... To put it differently, they can be changed (quite easily even), but you have to edit the Civ2.exe for that.
__________________
Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)
Mercator is offline  
Old May 17, 2002, 12:14   #12
Allard HS
Prince
 
Allard HS's Avatar
 
Local Time: 02:36
Local Date: November 1, 2010
Join Date: Dec 1969
Location: NL
Posts: 747
Quote:
Now, can someone explain to me the meaning of the word "tiling" in the 4th sentence?
Tiling? One of the words I invented, I guess. I mean to say that the square is put next to the same square, making one big area with the same little squares. Kind of like the desktop of Windows, where you can select to "tile" your picture so that they are displayed next to and above and under themselves.

To preview squares to check if there's no ugly border between the squares and at least dither it, there's an excellent program called Harmwave (I believe it's called sTile now), which you can download here:

http://www.users.qwest.net/~sharman1/

Quote:
...does anybody know if it is possible to change the text color of the pop-up boxes?
Very easy; just edit the palette. Which ones to edit is all explained in my sleague design tip on palettes. Only the UNITS.GIF palette is important, the other palettes don't matter.

Quote:
had difficulty regarding changing the colour scheme of the radar buttons or submit buttons. Allard was confident that these could be changed too, but I don't recall if there was any further discoveries on this question.
Of course, without confidence, there's no point in doing anything.
Well, it is actually very much possible. The radio buttons and check buttons, as well as some other things are stored in the Civ.exe file. You need a resource editor to edit them. There are lots of them, but I recently discovered Exescope, which can also change file sizes and 16bit programs (like CivNet, CivWin). Download it here:

http://www.vector.co.jp/authors/VA003525/

You can also use this program to edit the dll's of the game. This program is actually much better than GifX, because it also allows the file sizes to be changed, which makes it a lot easier, cause you don't have to stay under a limited file size anymore.

The graphics we were talking about (radio and check buttons) are easy to change to anything you like, but hard to distribute with your scenario, as there are a lot of different versions of civ.exe around and you don't want to mess people's files up.
Allard HS 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 20:36.


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