Size 170 TGA files

This forum is for outdated or irrelevant Modding Information that may or may not be 3 months old.

Moderator: thunderchero

Post Reply
User avatar
Bigmac57
Cadet 4th Year
Cadet 4th Year
Posts: 18
Joined: Tue Jan 20, 2009 3:00 am

Size 170 TGA files

Post by Bigmac57 »

I'm having problems editing in new pictures for the game.

It's the 170 files.

Parts of the background map are breaking through.

How do I stop this from happening?

Thank you.
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2404
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Post by Tethys »

Yeah im having the same problems... in the Build screen right? It happens with Ferengi structures mostly ive noticed...
Not for the weak of heart...
Galaxies MOD v0.4.0 <--- GALM/Galaxies Mod latest version
User avatar
Bigmac57
Cadet 4th Year
Cadet 4th Year
Posts: 18
Joined: Tue Jan 20, 2009 3:00 am

Post by Bigmac57 »

Yup.. The Build Screen.

I'm trying to edit in "Starfleet Intelligence".

It's a tall building on a sunny day. Blue/White background.

Stray pixels are breaking through. This doesn't happen with the other pics..

Pain in the butt!!
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7949
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Post by thunderchero »

Bigmac57,

there are 3 colors I know of that are transparent in BOTF

black (000000)
white (ffffff)
pink (ff00ff)

you might be able to convert image to a gif, then edit color table slightly and then save as tga? I have not tried this but should work.

thunderchero
User avatar
Bigmac57
Cadet 4th Year
Cadet 4th Year
Posts: 18
Joined: Tue Jan 20, 2009 3:00 am

Post by Bigmac57 »

I fixed it!!

Thunderchero and Tethys:

I don't think its any specific color that's transparent.

I surrounded the 170 x 142 with one pixel of purple that I put in. I had to shrink the original so that the total size, with this border of one pixel of purple on all sides, was still 170 x 142.

I think the game samples a corner and then, for that image, that color is the transparency color.

I kind of got this clue when I was looking at the Mizarian Monument of Surrender. The image is surrounded, not by black like most others, but by a shade of black/brown.

I think as long as you pick a color for the border that is NOT in the image, then NONE of the image becomes transparent. That's so different images with different colors can be displayed correctly.

Let's say I wanted an image with black. My border cant be black, it has to be some other color not used in the image. But then let's say that some parts of the image I want transparent, so I'll make a border of that color, otherwise not used in the image, and use that for any parts of the image I want to be transparent.

I tried some offshoot of purple/pink and viola!! Perfect and with rounded corners, etc. In this case, I wanted no part of the image transparent.

Again, this only seems to be needed for the Build Screen 170 x 142 images and not the smaller ones in the Science/Tech or Structure screens.

For the Wire-frame images, its obvious that Black is the transparency color.

Goodbye Federation Replicators. Hello Starfleet Intelligence!!

I'm going to grab and existing wire-frame image and just do a rename. Something that looks close. I'm not that good..
Last edited by Bigmac57 on Sun Dec 06, 2009 7:09 pm, edited 1 time in total.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7949
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Post by thunderchero »

some images also require a single pixel in upper left corner to be "pink (ff00ff)"

thunderchero
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2404
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Post by Tethys »

i usually just invert the image to reflect the wireframe since im not too good at wireframing either
Not for the weak of heart...
Galaxies MOD v0.4.0 <--- GALM/Galaxies Mod latest version
User avatar
Bigmac57
Cadet 4th Year
Cadet 4th Year
Posts: 18
Joined: Tue Jan 20, 2009 3:00 am

Post by Bigmac57 »

Perfect!!

I used CompuPic "Color Adjust" which modes everything to green (or I did, anyway...) after inverting the image.

It looks really good!

Perfect all around now.

This is great!

I took away the Federation Replicators but gave the Federation Basic Replicators instead and put in Starfleet Intelligence with a 15% General Intelligence and +1 Morale at Tech 5.

Moved the building to Defense and edited the starting levels for the game to properly include Basic Replicators and a few other odds and ends with UE.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7949
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Post by thunderchero »

Bigmac57 wrote:Yup.. The Build Screen.

I'm trying to edit in "Starfleet Intelligence".

It's a tall building on a sunny day. Blue/White background.

Stray pixels are breaking through. This doesn't happen with the other pics..

Pain in the butt!!
I noticed same thing on one of the images used by UDMIII.

To correct this, all I did was change color of upper left pixel to "pink (ff00ff)" This color is not shown "transparent" And all looked good in image after that.

thunderchero
Post Reply

Return to “Modding Information Archive”