View Single Post
Old 06-21-2018, 06:00 PM   #7
Tiane
A Hill Giant
 
Tiane's Avatar
 
Join Date: Sep 2003
Posts: 31
Interface Author - Click to view interfaces
Default

Yup. In my case I had to make the entire centre of a_spellgembackground transparent where before it was just black (and thus usually transparent on most older TGA uses, but DBG decided to get all strict.)

You can do it with photoshop or gimp or whatever. Just look at the code in equi_castspellwnd.xml and see what .tga file is being referenced, and the x and y coords for the icon. Load it up in an editor, find the area, then make it transparent in the middle.

Same goes for a_spellgemhighlight (or whatever your .xml file calls it), needs to be transparent in the middle.

Worst case, for testing, you can copy the definitions from the equi_animations.xml file as placeholders so you can see where your particular problem lies. i.e. rem out whatever definition is in that spot and paste in:

Code:
<Ui2DAnimation item="insert_custom_spellgembackround_name_here"> <Frames> <Texture>window_pieces02.tga</Texture> <Location> <X>209</X> <Y>177</Y> </Location> <Size> <CX>39</CX> <CY>32</CY> </Size> </Frames> </Ui2DAnimation>


Which is the spot in the newly modified window_pieces02 where DBG has their transparent spell gem background.
Tiane is offline   Reply With Quote