Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > Graphics modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 09-30-2004, 11:30 AM   #1
stryc9
A Fire Beetle
 
Join Date: Sep 2002
Server: Morell
Posts: 2
Default TGA Alpha Channel Help

Hey all,

I have read through as many posts as I could and also looked at the default .tga files to try and match my own custom images but I cannot get my .tga to show up. Nothing at all displays (which I am assuming is an alpha channel problem)

I am using Adobe Photoshop 7.0 and I even tried using Gimp 2.0.

Funny thing though, when I view the default .tga in photoshop, there is no alpha channel listed...just RGB, R, G, & B (four total)

I have also tried saving both with/without the a-channel and 24/32 bit. I just can't seem to figure out what I am doing wrong.

Attached are 2 tga files and my .xml.

Would someone take a look at them and tell me what I am doing wrong exactly? I'm seriously stumped.

Thanks in advance and be gentle...i'm still learning =)

...
stryc9
Attached Files
File Type: zip HotButtonHelp.zip (27.8 KB, 8 views)
stryc9 is offline   Reply With Quote
Old 09-30-2004, 12:01 PM   #2
Tekyn
A Tormented Soul
 
Tekyn's Avatar
 
Join Date: Sep 2002
Posts: 46
Interface Author - Click to view interfaces
Default Defining the texture first.

You need to add this to your xml file in the begining:

<TextureInfo item = "name_of_file.tga">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>

Also use hotbuttonicons.tga instead of hotbuttonicons2.tga. Unless u patched photoshop7.0 to 7.0.1 or whatever they called it, the alpha layer is built into the TGA file. you just have to set it to transparent. Hope this solves your issue
Tekyn is offline   Reply With Quote
Old 09-30-2004, 01:14 PM   #3
stryc9
A Fire Beetle
 
Join Date: Sep 2002
Server: Morell
Posts: 2
Default Thank You!

Thank you! That worked!

I knew it had to be something simple like that.

It makes sense to me now. I never declared the whole texture. The default HotButtonWnd.xml didn't have it in there because it's in the default EQUI_Animations.xml which list all default textures.

Thank you again.

...
stryc9
stryc9 is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 03:51 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI