Home Forum Downloads My Favorites Register FAQ

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

Reply
 
Thread Tools Display Modes
Old 07-25-2004, 04:10 PM   #1
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Question Adding mana numbers???

Remelio was kind enough to post a quick how-to on adding mana numbers.
I was wondering, where exactly should the new code be added in the player window, or does it really matter? Also can the x-value be a negative number? He said the x-value should be 2 less, and mine is 0. I am using the KatnTKBeast(also Lore and Celtic)-fixed UI's in 1152x864 resolution.

Thank you in advance for any help on this matter.
__________________
The early bird may get the worm, but the second mouse gets the cheese.
Henaketh is offline   Reply With Quote
Old 08-10-2004, 12:45 PM   #2
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Default

Anyone???
Henaketh is offline   Reply With Quote
Old 08-10-2004, 02:15 PM   #3
Crackmaster
A Snow Griffin
 
Join Date: May 2003
Server: Tarew Marr
Posts: 59
Interface Author - Click to view interfaces
Send a message via AIM to Crackmaster
Default

You can add the numbers basically wherever you want. I'd just suggest adding them after

<Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />

that in the file. Then load up you favorite sidl program or EQ and check out the results.

PS - the values can be negative but the Y value should be less and not the X. G'luck with your modding
__________________
Retired 66 High Elf Cleric
Tarew Marr
Crackmaster is offline   Reply With Quote
Old 08-10-2004, 05:43 PM   #4
mortis42
eqmods.mortis42.net
 
mortis42's Avatar
 
Join Date: Aug 2002
Server: Rodcet Nife
Posts: 552
Interface Author - Click to view interfaces
Send a message via ICQ to mortis42 Send a message via AIM to mortis42 Send a message via MSN to mortis42 Send a message via Yahoo to mortis42
Default

Quote:
Originally Posted by Henaketh
Remelio was kind enough to post a quick how-to on adding mana numbers.
I was wondering, where exactly should the new code be added in the player window, or does it really matter?

The code needs to be added between the following lines:
Code:
<Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>
and
Code:
<Screen item = "PlayerWindow">

You also need to be sure to declare it in the
<Pieces> area at the end.

Quote:
Originally Posted by Henaketh
Also can the x-value be a negative number? He said the x-value should be 2 less, and mine is 0. I am using the KatnTKBeast(also Lore and Celtic)-fixed UI's in 1152x864 resolution.

Thank you in advance for any help on this matter.

Yes you may have negative values.

Quote:
Originally Posted by Crackmaster
PS - the values can be negative but the Y value should be less and not the X. G'luck with your modding

Not true. Your X,Y coordinates may be of any value and do not require either to be of a certain value. X is the horizontal axis, going left and right, Y is the vertical axis going top and bottom. The screen tarts a 0,0 in the top-left corner. At 1152x864 resolution, the bottom-right corner would be a coordinate 1152,864. X being the first number and Y being the second.
Now if you are talking about the size, then you only need ot insure that your values are positive so that they display. Negative values would act like 0 and would not appear.

Last edited by mortis42 : 08-10-2004 at 05:49 PM.
mortis42 is offline   Reply With Quote
Old 08-10-2004, 06:41 PM   #5
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Default

Thanks for your help. I added the code in and it killed my UI <pouts>. I am posting the XML file here. Would some one please make the correction for me(this is all Greek to me) so that this will work? If indeed it will work at all. I would also like to be able to see my total mana in the inv. window as well, but that's a whole different ball of wax.
Thanks again



<?xml version="1.0" encoding="us-ascii"?>
<XML ID="EQInterfaceDefinitionLanguage">
<Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />
<TextureInfo item="bst_target.png">
<Size>
<CX>512</CX>
<CY>128</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item="bsttarget">
<Cycle>false</Cycle>
<Frames>
<Texture>bst_target.png</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>512</CX>
<CY>128</CY>
</Size>
</Frames>
<CellHeight>0</CellHeight>
<CellWidth>0</CellWidth>
</Ui2DAnimation>
<Gauge item="Player_HP">
<ScreenID>PlayerHP</ScreenID>
<!--<Font>3</Font>-->
<TextColor>
<R>200</R>
<G>200</G>
<B>200</B>
<Alpha>255</Alpha>
</TextColor>
<RelativePosition>true</RelativePosition>
<Location>
<X>328</X>
<Y>-30</Y>
</Location>
<Size>
<CX>108</CX>
<CY>41</CY>
</Size>
<TextOffsetX>8</TextOffsetX>
<GaugeOffsetY>33</GaugeOffsetY>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<FillTint>
<R>240</R>
<G>0</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>220</R>
<G>220</G>
<B>0</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>1</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<Lines>A_GaugeLines</Lines>
<LinesFill>A_GaugeLinesFill</LinesFill>
<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>
<EndCapRight>A_GaugeEndCapRight</EndCapRight>
</GaugeDrawTemplate>
<Font>2</Font>
</Gauge>
<Label item="Player_HPLabel">
<ScreenID>HPLabel</ScreenID>
<EQType>19</EQType>
<RelativePosition>true</RelativePosition>
<Location>
<X>-228</X>
<Y>-125</Y>
</Location>
<Size>
<CX>1</CX>
<CY>1</CY>
</Size>
<Text>Playername123456</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
</Label>
<Label item="Player_HPPercLabel">
<ScreenID>HPPerLabel</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>-194</X>
<Y>-85</Y>
</Location>
<Size>
<CX>1</CX>
<CY>1</CY>
</Size>
<Text>%</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>false</AlignRight>
</Label>
<Gauge item="Pet_HP">
<ScreenID>PetHP</ScreenID>
<!--<Font>3</Font>-->
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<RelativePosition>true</RelativePosition>
<Location>
<X>332</X>
<Y>8</Y>
</Location>
<Size>
<CX>108</CX>
<CY>2</CY>
</Size>
<TextOffsetY>-50</TextOffsetY>
<GaugeOffsetY>-2</GaugeOffsetY>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<FillTint>
<R>51</R>
<G>192</G>
<B>51</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>0</G>
<B>0</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>16</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<!--<Lines>A_GaugeLines</Lines>-->
<LinesFill>A_GaugeLinesFill</LinesFill>
<!--<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>-->
<!--<EndCapRight>A_GaugeEndCapRight</EndCapRight>-->
</GaugeDrawTemplate>
</Gauge>
<Gauge item="Player_Mana">
<ScreenID>PlayerMana</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>468</X>
<Y>0</Y>
</Location>
<Size>
<CX>108</CX>
<CY>8</CY>
</Size>
<GaugeOffsetY>0</GaugeOffsetY>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<FillTint>
<R>0</R>
<G>0</G>
<B>240</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>220</G>
<B>220</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>2</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<Lines>A_GaugeLines</Lines>
<LinesFill>A_GaugeLinesFill</LinesFill>
<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>
<EndCapRight>A_GaugeEndCapRight</EndCapRight>
</GaugeDrawTemplate>
</Gauge>
<Gauge item="Player_Fatigue">
<ScreenID>PlayerFatigue</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>468</X>
<Y>5</Y>
</Location>
<Size>
<CX>108</CX>
<CY>2</CY>
</Size>
<GaugeOffsetY>0</GaugeOffsetY>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<FillTint>
<R>240</R>
<G>240</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>0</R>
<G>220</G>
<B>0</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>3</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<Lines>A_GaugeLines</Lines>
<LinesFill>A_GaugeLinesFill</LinesFill>
<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>
<EndCapRight>A_GaugeEndCapRight</EndCapRight>
</GaugeDrawTemplate>
</Gauge>
<Label item="TargetName">
<ScreenID>TargetName</ScreenID>
<EQType>28</EQType>
<Font>1</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>47</X>
<Y>10</Y>
</Location>
<Size>
<CX>140</CX>
<CY>16</CY>
</Size>
<Text>No Target</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>false</AlignRight>
</Label>
<Gauge item="TargetGauge">
<ScreenID>TargetHP</ScreenID>
<Font>3</Font>
<TextColor>
<R>240</R>
<G>240</G>
<B>240</B>
</TextColor>
<RelativePosition>true</RelativePosition>
<Location>
<X>46</X>
<Y>20</Y>
</Location>
<Size>
<CX>108</CX>
<CY>24</CY>
</Size>
<GaugeOffsetY>0</GaugeOffsetY>
<TextOffsetY>-30</TextOffsetY>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<TooltipReference />
<FillTint>
<R>240</R>
<G>0</G>
<B>0</B>
</FillTint>
<LinesFillTint>
<R>220</R>
<G>220</G>
<B>0</B>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>6</EQType>
<GaugeDrawTemplate>
<Background>A_GaugeBackground</Background>
<Fill>A_GaugeFill</Fill>
<Lines>A_GaugeLines</Lines>
<LinesFill>A_GaugeLinesFill</LinesFill>
<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>
<EndCapRight>A_GaugeEndCapRight</EndCapRight>
</GaugeDrawTemplate>
</Gauge>
<Label item="Target_Percent">
<Font>1</Font>
<ScreenID>Target_Percent</ScreenID>
<EQType>29</EQType>
<RelativePosition>true</RelativePosition>
<Location>
<X>75</X>
<Y>27</Y>
</Location>
<Size>
<CX>31</CX>
<CY>12</CY>
</Size>
<Text>100</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
<Alpha>255</Alpha>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
<Style_Transparent>True</Style_Transparent>
</Label>
<Label item="Target_PercentLabel">
<Font>1</Font>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>104</X>
<Y>27</Y>
</Location>
<Size>
<CX>11</CX>
<CY>13</CY>
</Size>
<Text>%</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>0</B>
<Alpha>255</Alpha>
</TextColor>
<NoWrap>true</NoWrap>
<AlignCenter>false</AlignCenter>
<AlignRight>true</AlignRight>
<AlignLeft>false</AlignLeft>
</Label>
<StaticAnimation item="bsttarget1">
<ScreenID>bsttarget1</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>340</CX>
<CY>50</CY>
</Size>
<Animation>bsttarget</Animation>
</StaticAnimation>
<Screen item="PlayerWindow">
<!--<ScreenID/>-->
<RelativePosition>false</RelativePosition>
<Location>
<X>516</X>
<Y>0</Y>
</Location>
<Size>
<CX>200</CX>
<CY>40</CY>
</Size>
<Text>Player</Text>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>true</Style_Transparent>
<TooltipReference>The Breath Meter</TooltipReference>
<DrawTemplate>WDT_Inner</DrawTemplate>
<Style_Titlebar>false</Style_Titlebar>
<Style_Closebox>false</Style_Closebox>
<Style_Minimizebox>false</Style_Minimizebox>
<Style_Border>False</Style_Border>
<Style_Sizable>false</Style_Sizable>
<Pieces>bsttarget1</Pieces>
<Pieces>Player_HP</Pieces>
<Pieces>Player_Mana</Pieces>
<Pieces>Player_Fatigue</Pieces>
<Pieces>Pet_HP</Pieces>
<Pieces>Player_HPLabel</Pieces>
<Pieces>Player_HPPercLabel</Pieces>
<Pieces>TargetGauge</Pieces>
<Pieces>TargetName</Pieces>
<Pieces>Target_Percent</Pieces>
<Pieces>Target_PercentLabel</Pieces>
</Screen>
</XML>

Last edited by Henaketh : 08-10-2004 at 07:45 PM.
Henaketh is offline   Reply With Quote
Old 08-11-2004, 01:05 AM   #6
Crackmaster
A Snow Griffin
 
Join Date: May 2003
Server: Tarew Marr
Posts: 59
Interface Author - Click to view interfaces
Send a message via AIM to Crackmaster
Default

When I said that the Y should be less and not the X, I was referring to Remelio's directions

Quote:
Make sure the X value MATCHES the X value of your last part, and the Y value is TWO LESS than the Y value of your last part.


in response to

Quote:
He said the x-value should be 2 less, and mine is 0


Hena, I don't see where you added the information from Remelio's post, unless you posted what you had before you added anything. I could add what you need if you wanted, unless you wanted to give it another go. I suggest going through Remelio's thread again and adding precisely what he says, and then loading up EQ, and it should work. Then you can fiddle with the X's and Y's to get it lined up correctly. If you can't get it to work, then either post your uierrors.txt file info and then you'll probably get help. If all else fails I can add it for you to the player window
Crackmaster is offline   Reply With Quote
Old 08-11-2004, 10:32 AM   #7
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Default

The file that I posted is pre-mod from the custom UI that I mentioned. I added the files(not shown in this post) that Rem said to add between the lines that you and Mortis said to. When I logged in my UI wouldn't load at all, and of course when I tried to find the error log, it didn't show anything but todays date(probly looked at the wrong one). I would be VERY greatful if you could make the changes requiered to make it work. Please

Thanks again.
Henaketh is offline   Reply With Quote
Old 08-11-2004, 12:32 PM   #8
Crackmaster
A Snow Griffin
 
Join Date: May 2003
Server: Tarew Marr
Posts: 59
Interface Author - Click to view interfaces
Send a message via AIM to Crackmaster
Default

Ok when I get some time today I'll take a peek at it and see what I can do
Crackmaster is offline   Reply With Quote
Old 08-11-2004, 01:02 PM   #9
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Default

Thank you Crankmaster. You ROCK!!!
Henaketh is offline   Reply With Quote
Old 08-11-2004, 02:41 PM   #10
Crackmaster
A Snow Griffin
 
Join Date: May 2003
Server: Tarew Marr
Posts: 59
Interface Author - Click to view interfaces
Send a message via AIM to Crackmaster
Default

Ok well I figured out what the problem is. The info is in the target window rather than the player window, so loading this up should solve your problem. Just copy it over your previous file.
Attached Files
File Type: xml EQUI_TargetWindow.xml (23.9 KB, 14 views)
Crackmaster is offline   Reply With Quote
Old 08-11-2004, 07:03 PM   #11
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Default

I will try it out. Thanks again.
Henaketh is offline   Reply With Quote
Old 08-12-2004, 01:55 PM   #12
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Default

YOU ROCK MAN!!!!
Henaketh is offline   Reply With Quote
Old 08-12-2004, 02:12 PM   #13
Crackmaster
A Snow Griffin
 
Join Date: May 2003
Server: Tarew Marr
Posts: 59
Interface Author - Click to view interfaces
Send a message via AIM to Crackmaster
Default

Quote:
Originally Posted by Henaketh
YOU ROCK MAN!!!!


Glad I could help you
Crackmaster is offline   Reply With Quote
Old 08-13-2004, 02:32 AM   #14
Henaketh
A Treant
 
Join Date: May 2003
Server: Brell
Posts: 29
Default

Is there a way to change the color of the numbers? they're a little hard to read, specialy when they turn green.
Henaketh 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 05:18 PM.


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