corsair91

Sailing Master 
Posts: 10372 

 
296929 Gold -

more...
|
Posted: Fri Oct 01, 2021 3:32 am Post subject: |
|
|
npanth 2004 Flags Creation Guide
from addicted to pirates
(some of the download links may no longer work)
https://web.archive.org/web/20060211231340/http://www.addictedforums.com/index.php?showtopic=822
npanth
Ok, here goes. I tried it and it worked fine for me. Your mileage may vary.
1. Open Photoshop, create new image 256x256 Pixels
2. Draw/paste your picture
3. Save the file to C:\Program Files\Firaxis Games\Sid Meier's Pirates!\flag_NAME.BMP
4. Download and install DXTBMP from
http://www.doug96.freeserve.co.uk/download/dxtbmpx.EXE
(see below for updated link)
5. Open your flag_NAME.BMP from within DXTBMP.
6. Choose ALPHA:IMPORT ALPHA CHANNEL, navigate to the .bmp you created in #3
7. Choose ALPHA:SEND ALPHA TO EDITOR
8. Photoshop will receive a grayscale "positive" of your picture . Choose IMAGE:ADJUSTMENTS:INVERSE to create a grayscale "negative" of your picture
9. Adjust the mask so that the white/light areas coorespond to the parts of your picture that you want to be most prominent, and the black/dark areas coorespond to the parts of your picture that you want to be translucent/transparent
10. Choose FILE:SAVE
11. In DXTBMP, Select EXPORT:DDS IMAGE
12. Save your new texture to C:\Program Files\Firaxis Games\Sid Meier's Pirates!\flag_NAME.DDS
13. Choose your new flag in Pirates!
To make a Sail Emblem, substitute 512x512 Pixels when you create the Photoshop file
Emblem files should be named ship_sail_emblem_lrg_NAME.dds
Flag files should be named flag_NAME.dds
Ok, so I assume you have and know how to use Photoshop. Anyone know any GNU/GPL programs (other than GIMP that can create alpha channels?
Xara X:
http://www.xara.com/products/xarax/
Here are a couple things I've picked up about alpha channels
Alpha channels are picture masks that tell Pirates! how opaque to make the picture. All White, and your picture is completely opaque (ie, the game doesn't do those cool fades on your texture) All Black, and your picture is completely translucent.
To create a good mask, import the alpha mask from within DXTBMP. Choose the .bmp you're working on. Edit the new mask in your photo editor. You will probably have to inverse the image, because DXTBMP is sending a "positive" impression of your picture to the editor. You want the "negative". By adjusting the gray level of the alpha channel, you can make your picture more or less prominent on the sail/flag. The rest of the alpha channel should be black.
I'll update this as I figure more stuff out.[/img]
Edit: I updated this because I realized that I didn't know black from white
http://developer.nvidia.com/object/nv_texture_tools.html
You can read/write DDS directly from Photoshop or PaintShop Pro using the plugin on nvidia's page. It doesn't completely replace the utility kit, but it's a lot easier than going to/from BMP all the time.
Last edited by corsair91 on Sat Oct 02, 2021 2:11 am; edited 5 times in total |
|