Announcement

Collapse
No announcement yet.

Faction Colors, Palettes, PCX files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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)
    I am on a mission to see how much coffee it takes to actually achieve time travel.

  • #2
    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.
    I am on a mission to see how much coffee it takes to actually achieve time travel.

    Comment


    • #3
      bumped for the benefit of some of the really good Creationism thats currently going on in our Forum....
      Thanx for the research gwillybj!


      D

      Comment


      • #4
        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

        Comment


        • #5
          There seems to be some new players experimenting with editing the faction pcxs, so I thought I'd bump this for their benefit.
          I am on a mission to see how much coffee it takes to actually achieve time travel.

          Comment

          Working...
          X