|
Thread: How to add colors to pcx file? | |
|
songfx
Adventuring Hero
|
posted December 11, 2011 03:57 AM |
|
|
How to add colors to pcx file?
I want to modify the hero screen pcx, HEROSCRZ.pcx.
I successfully extract HEROSCRZ.bmp from h3bitmap.lod, and open it in Photoshop.
However, I failed to add some other colors such as red into the bmp.
In addtion, I can't replace colors in the color index, otherwise it will display incorrectly in game.
I noted there are many MODs have manager to replace hero screen, such as Master of Puppets. I wonder how they are done.
____________
Chinese WOG Forum
|
|
JimV
Responsible
Supreme Hero
|
posted December 11, 2011 06:02 AM |
|
|
Others know more about this than me, but I will write what I think I know.
Some pictures are meant to display with different colors for different players, for example, the menu buttons for the Adventure screen, or the borders of Hero screens. I believe Heroes 3 uses the last 32 colors of its 256-color palettes for these colors (4 colors per player - four shades of red, blue, etc.). Grayface's excellent tools will add these colors to palettes automatically, for the the DEF's which have this feature. For pictures which aren't part of DEF's, I think you will need a sample palette which has these last 32 colors (I don't have one), and will have to index all the rest of the colors you use into the first 224 colors of your palette.
I myself build DL pictures using GIMP, and index them to 224 colors. That way none of the colors I use will be replaced by different colors for different player flags. Before I figured this out I was shocked to see that my pictures which looked good in GIMP had muddied colors in Heroes.
|
|
|
|