Reply
 
Thread Tools
Old October 20, 2003, 00:47   #1
gwillybj
Prince
 
gwillybj's Avatar
 
Local Time: 06:56
Local Date: November 2, 2010
Join Date: Mar 2001
Location: Eurytion Mining Camp: 100C dayside, 100F nightside.
Posts: 875
Faction Colors, Palettes, PCX files
These are relevant threads in this the AC-Creation section here at Apolyton. The date in parentheses is the last post date as of this writing. If you read them all, remember that the newer ones have information that overrides the older ones.

Problem with first pcx file (18-October-2003)

New Terrain Graphics? (26-September-2003)

Custom Facton Problem (02-August-2003)

Is there a way to change faction color? (25-April-2003)

New Faction Colors Possible? (12-October-2002)

Problem in custom faction graphics (12-February-2002)

Palette (10-December-2001)

.PCX Pics (27-September-2001)

No More Pink Squares, Permanent! (31-August-2001)
__________________
If at first you don't succeed, then skydiving isn't your thing.
gwillybj is offline   Reply With Quote
Old October 20, 2003, 00:53   #2
gwillybj
Prince
 
gwillybj's Avatar
 
Local Time: 06:56
Local Date: November 2, 2010
Join Date: Mar 2001
Location: Eurytion Mining Camp: 100C dayside, 100F nightside.
Posts: 875
Making and Using Palette Files
This is how I do it with JASC Paint Shop Pro (PSP). I'd expect it to be similar in Corel Photopaint and other graphics-editing programs that support palettes and the pcx format.

To create the .pal:
  • Start PSP
  • Open {palette.pcx} in the main SMAC program folder
  • Click {Colors}, {Save Palette...}
  • In the "File name" box, type: "SMAC256C.pal"
  • In the "Folders" list, select the SMAC program folder
  • Under "List files of type:", select "PAL - JASC Palette" (The other option is "PAL - Microsoft Palette". I don't know what the difference is.)
  • Click OK

To apply the .pal:
  • Open and edit the image file in PSP
  • Before saving it, Click {Colors}, {Load Palette...}
  • Navigate to the SMAC program folder and select "SMAC256C.pal"
  • Under "Apply Palette to Image using:", select {Nearest Color}
  • Save the edited image as "filename.pcx" (I don't change any of the options: File Sub-Format is Version 5; DPI is 150)

One thing I have changed is the RGB values for color 255. I can't work on that glaring pink background. I changed it to Red=100 Green=16 Blue=156 (which is identical to number 252 but causes no problems). I didn't come up with that change on my own, but I don't recall where I first read about it. I do remember mention of the SMAX pcx files having that color at 255, and the change being made to make the SMAC files compatible. Whatever the source, it causes no problems in the game. The images are properly transparent where they need to be. The game reads any pixel with color 255 as transparent, regardless of its RGB value in the stored file. I vaguely recall Cybergod's approach being slightly different from mine, but with the same end-result of avoiding screwy in-game display of various graphics.
I didn't have to change every pcx file for this to work. The only files in which I made the change are the faction base/logo/portrait images. In that case, the new palette must be applied before any other editing, by choosing {Colors}, {Load Palette...}, and under "Apply Palette to Image using:", select {Maintain Indexes}. When any other editng is finished, apply the palette again as above, and save the file.
After a few times, you don't even think about how to do it any more, it just happens.
__________________
If at first you don't succeed, then skydiving isn't your thing.
gwillybj is offline   Reply With Quote
Old July 11, 2004, 22:10   #3
Darsnan
supporter
Alpha Centauri PBEMACDG3 GaiansApolytoners Hall of FameC4DG Team Alpha CentauriansPolyCast TeamSpore
Emperor
 
Darsnan's Avatar
 
Local Time: 06:56
Local Date: November 2, 2010
Join Date: Dec 2001
Location: New Syracuse, Beta Prime
Posts: 3,793
bumped for the benefit of some of the really good Creationism thats currently going on in our Forum....
Thanx for the research gwillybj!


D
__________________
And if Dale DOES choose self exile, then 'poly just lost another one of their star gaming contributors, and that's a pity, since this is still a gaming site.

-=Vel=-
Darsnan is offline   Reply With Quote
Old July 11, 2004, 22:26   #4
smacksim
Alpha Centauri PBEMAlpha Centauri Democracy GameACDG3 Gaians
King
 
smacksim's Avatar
 
Local Time: 05:56
Local Date: November 2, 2010
Join Date: Feb 2004
Location: Deputy Chairman of the Council of Lords of Gaia
Posts: 1,300
Where are the Creationists....where? Evolve! It's aliiiiiiiivvvee.
__________________
Aldebaran 2.1 for Smax is in Beta Testing. Join us for our first Succession Game
smacksim is offline   Reply With Quote
Old June 12, 2009, 08:23   #5
gwillybj
Prince
 
gwillybj's Avatar
 
Local Time: 06:56
Local Date: November 2, 2010
Join Date: Mar 2001
Location: Eurytion Mining Camp: 100C dayside, 100F nightside.
Posts: 875
There seems to be some new players experimenting with editing the faction pcxs, so I thought I'd bump this for their benefit.
__________________
If at first you don't succeed, then skydiving isn't your thing.
gwillybj is offline   Reply With Quote
Reply

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 06:56.


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