Shop  •   Avatar  •   FAQ  •   Search  •   Memberlist  •   Usergroups  •   Profile  •   Log in to check private messages  •   Log in  •  Register 

npanth - Two flags
Post new topic   Reply to topic     Forum Index -> Reserved for Game MODS
View previous topic :: View next topic  
Author Message
corsair91
Sailing Master
Posts: 10372



296929 Gold -

more...
PostPosted: Fri Oct 01, 2021 3:16 am    Post subject: npanth - Two flags Reply with quote

Flags

Two flags for your pirate-ship - by npanth

flag_Serapis.dds
flag_Smiley.dds


11-30-04
Some new experiments and tidbits

Unzip all files to C:\Program Files\Firaxis Games\Sid Meier's Pirates!\custom

Choose your new flags from within Pirates!

npanth


Sourced from addicted to pirates
via wayback machine


https://drive.google.com/file/d/1ovZJaDL4tHk08ZArM4p9cyO28TtJB2mk/view?usp=sharing

npanth-flags.zip
Back to top
View user's profile Send private message
corsair91
Sailing Master
Posts: 10372



296929 Gold -

more...
PostPosted: Fri Oct 01, 2021 3:32 am    Post subject: Reply with quote

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!
Arrow To make a Sail Emblem, substitute 512x512 Pixels when you create the Photoshop file
Arrow Emblem files should be named ship_sail_emblem_lrg_NAME.dds
Arrow 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 Smile 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 Rolling Eyes




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
Back to top
View user's profile Send private message
corsair91
Sailing Master
Posts: 10372



296929 Gold -

more...
PostPosted: Fri Oct 01, 2021 3:51 am    Post subject: Reply with quote

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Reserved for Game MODS All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group