• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Sail Mods

Civrules

We the People
Joined
Apr 6, 2003
Messages
5,621
Location
US
You can even create your own sail mods, this can make for literally limitless possibilities.

Here's what I did:

CAME.jpg
 
Hrhr... looks fun. Imagine my face on the sails... no, not really... but I can imagine some nice red crosses or something like that on the sails.
 
LMAO Love the camel sails! Can't wait for some beautiful sail designs to come out.
 
Very nice.

I noticed they are .dds files.

That's made by a DirectX SDK program. Did you have to use mipmaps or just import the texture?
 
zarigueya said:
Very nice.

I noticed they are .dds files.

That's made by a DirectX SDK program. Did you have to use mipmaps or just import the texture?

Nope, I didn't have to use anything. It's very easy to do. Create an image with a multiple of two like 512x512 or even 128x128. Save it as a bmp. import, and then save it as a .dds in the game folder... :)
 
A few questions.
What should I name the file?
I noticed there are already files like sail_lrg_pir.dds and sail_lrg_spa.dds Should I overwrite these files?

The tutorial just says "XXX" which I assume means "pir" or "spa" (or whatever the case may be)

I want to change the sail just for my ships, not any of the other ships. Is that possible?
It seems this will change it for all pirate ships or all spanish ships.
 
Nevermind. Solved my own problem. You just have to go to Options and choose a sail emblem.
 
I've got me some nice sail :D

20041130111557_pirates2_shabba.jpg


Strangely enough, now I sometimes see sails with pink sails. That must be some opacity error.
 
Nice one :)
I can't get multiple color images (like my avatar) right. Am I missing something? Wolfwood's tutorial only talks about colored images, not with multiple colors. The image in civrules first post looks like a multiple color image though.
 
Multiple color images work fine.
Just look at my Swords sail and the Mickey one I did.

Here's what I do:
Crop and resize the image to 512x512 because that's the size of the sails that came with the game, but I don't believe this is required. ;)

Use the magic wand or any other masking tool to mask off the area that you don't want to see and color it WHITE.
Save BMP #1

Now, color the same area BLACK.
Invert selection.
Color remaining area WHITE.
Save BMP #2

Now load the BMP #1 into your DXTBmp program.
Click Alpha > Import Alpha Channel > OK and load BMP #2

File > Save As > DDS Texture
Filename: ship_sail_emblem_lrg_whatever.dds
Save as Type: DDS DXT3
 
Yeah, I could have done better with a larger image, but here's what I was able to do just working from your avatar.
If you don't like the stripes I can change that, but I really need a larger image to work with.
14332.jpg
 

Attachments

Hey man, thanks for the effort! I had made the BMP #1 area transparent instead of white, maybe that was the problem.
Another thing, since I implemented my fabulous sail, I occasionally see ships with the "wrong" sail, like spanish ships with the pirate skull. I'm convinced it's a bug.
 
Back
Top Bottom