View Single Post
Old 05-18-2007, 12:23 PM   #3
fenrian1
A Shissar Defiler
 
fenrian1's Avatar
 
Join Date: Jun 2005
Posts: 164
Interface Author - Click to view interfaces
Default

To modify the title I will need to start with a custom tga file, then create a custom texture,templates and animations file. Rather than modifying the animations and templates file, I will do all the coding in the groupwindow file I will quote parts here and include a zip of the mod itself.

the first thing I will do is to copy and paste the code from the animations and templates files I used in my last post to the top of the group window.


Quote:
<?xml version="1.0" encoding="us-ascii"?>
<XML ID="EQInterfaceDefinitionLanguage">
<Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />


<TextureInfo item="window_pieces05.tga">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item="A_FiligreeFrameTitleLeft">
<Cycle>true</Cycle>
code removed
</Ui2DAnimation>

<Ui2DAnimation item="A_FiligreeFrameTitleMiddle">
<Cycle>true</Cycle>
code removed
</Ui2DAnimation>

<Ui2DAnimation item="A_FiligreeFrameTitleRight">
<Cycle>true</Cycle>
code removed
</Ui2DAnimation>

<WindowDrawTemplate item="WDT_Filigree">
Code removed
<Titlebar>
<Right>A_FiligreeFrameTitleRight</Right>
<Left>A_FiligreeFrameTitleLeft</Left>
<Middle>A_FiligreeFrameTitleMiddle</Middle>
<OverlapLeft>0</OverlapLeft>
<OverlapTop>0</OverlapTop>
<OverlapRight>0</OverlapRight>
<OverlapBottom>0</OverlapBottom>
</Titlebar>
</WindowDrawTemplate>


The bolded and colored code is the code I need to change, the code that is the same color is the code that needs to be modifed to match and is changed as so

Quote:
<?xml version="1.0" encoding="us-ascii"?>
<XML ID="EQInterfaceDefinitionLanguage">
<Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />


<TextureInfo item="GroupWindow.tga">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item="A_GroupTitleLeft">
<Cycle>true</Cycle>
<Frames>
<Texture>GroupWindow.tga</Texture>
<Location>
<X>5</X>
<Y>10</Y>
</Location>
<Size>
<CX>14</CX>
<CY>21</CY>
</Size>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item="A_GroupTitleMiddle">
<Cycle>true</Cycle>
<Frames>
<Texture>GroupWindow.tga</Texture>
<Location>
<X>25</X>
<Y>10</Y>
</Location>
<Size>
<CX>6</CX>
<CY>21</CY>
</Size>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item="A_GroupTitleRight">
<Cycle>true</Cycle>
<Frames>
<Texture>GroupWindow.tga</Texture>
<Location>
<X>35</X>
<Y>10</Y>
</Location>
<Size>
<CX>12</CX>
<CY>21</CY>
</Size>
</Frames>
</Ui2DAnimation>

<WindowDrawTemplate item="WDT_Group">
<Background>wnd_bg_light_rock.tga</Background>
<Titlebar>
<Right>A_GroupTitleRight</Right>
<Left>A_GroupTitleLeft</Left>
<Middle>A_GroupTitleMiddle</Middle>
<OverlapLeft>0</OverlapLeft>
<OverlapTop>0</OverlapTop>
<OverlapRight>0</OverlapRight>
<OverlapBottom>0</OverlapBottom>
</Titlebar>
</WindowDrawTemplate>


Note that all only the code that I modified is shown here, the unmodified code that is not shown must be included in the UI piece and will be drawn from the defaults like normal. Note also that I changed the locations of the new pieces, but I left them the defaul size, Since the title bar has some hard coding built into it, you cant make them too far different from the default size.

The custom tga file I made looks like this


and it yields this ugly mod



Next StaticAnimations...
Attached Files
File Type: zip EQUI_GroupWithUglyTitle.zip (2.6 KB, 23 views)
fenrian1 is offline   Reply With Quote