PDA

View Full Version : Am making a mod for a game DFX, have problems with a 32 bit TGA file, need help


p75
05-23-2005, 08:43 AM
I'm making a sp mod. I found the TGA that makes up the Inset scope aka the old DF1 scope, it's a 32 bit image, I deleted the file from the pff, and then there is the inset but no crosshair, see:


http://www.elite-bodybuilding.com/Inset%20without%20crosshair.jpg


Now I can delete the file, and get no crosshair. But if I want to change it, the problems begin. First of all, not 1 viewer shows it correctly when opend with a photo editing program, meaning it shows a white square of 256*256 pixels. One thumbview program showed a good preview, but when you open it in large its all white again, see photo's:

Preview


http://www.elite-bodybuilding.com/preview%20TGA%20crosshair%20file.jpg


As you can see, the TGA appears to be white or transparant in the preview. Pretty confused because when you open it up in say Photoshop elements it's gone see picture:


http://www.elite-bodybuilding.com/elements%20fullscreen%20TGA.jpg


Tried to make my own TGA, 32 bit, converted a scope into TGA but it was black. See picture:


http://www.elite-bodybuilding.com/Editted%20scope%20in%20tga%20format.jpg


The end result in the game is, see picture:


http://www.elite-bodybuilding.com/Changed%20fu%20crosshairs%20in%20tga%2032%20bit.jpg


Obviously, I'm doing something wrong. Think the orginal TGA is transparant or something. Maybe a photoshop guru can help me out. If you can, please do so.

Cheers

EricChadwick
05-23-2005, 11:54 PM
Try posting this in the Photoshop forum...

p75
05-24-2005, 09:03 AM
I have an answer, it has something to do with alpha channel, been able to fix it, please close this thread.

Cheers

CGTalk Moderation
05-24-2005, 09:03 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.