Page 3 of 12

Posted: Mon Mar 15, 2004 5:46 am
by CyberCide
Have been trying to get MQ2Dps to show it's window with this UI, but am getting the following error:

[Mon Mar 15 02:41:36 2004] ScreenPiece DpsWindow referenced but not found in XML.

Posted: Mon Mar 29, 2004 7:12 pm
by Abrasive
Here is the updated EQUI_CompassWnd.xml to rid the ZEM since it is no longer functional :)

Code: Select all

<?xml version = "1.0"?>
<XML ID = "EQInterfaceDefinitionLanguage">
	<Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>

	<WindowDrawTemplate item = "WDT_RoundedNoTitle3">
		<Background>window_target_bar.tga</Background>
		<Border>
			<TopLeft>A_RoundedFrameTopLeft</TopLeft>
			<Top>A_RoundedFrameTop</Top>
			<TopRight>A_RoundedFrameTopRight</TopRight>
			<RightTop>A_RoundedFrameRightTop</RightTop>
			<Right>A_RoundedFrameRight</Right>
			<RightBottom>A_RoundedFrameRightBottom</RightBottom>
			<BottomRight>A_RoundedFrameBottomRight</BottomRight>
			<Bottom>A_RoundedFrameBottom</Bottom>
			<BottomLeft>A_RoundedFrameBottomLeft</BottomLeft>
			<LeftTop>A_RoundedFrameLeftTop</LeftTop>
			<Left>A_RoundedFrameLeft</Left>
			<LeftBottom>A_RoundedFrameLeftBottom</LeftBottom>
			<OverlapLeft>0</OverlapLeft>
			<OverlapTop>0</OverlapTop>
			<OverlapRight>0</OverlapRight>
			<OverlapBottom>0</OverlapBottom>
		</Border>
		<Titlebar>
			<Right>A_RoundedFrameTitleRight</Right>
			<Left>A_RoundedFrameTitleLeft</Left>
			<Middle>A_RoundedFrameTitleMiddle</Middle>
			<OverlapLeft>0</OverlapLeft>
			<OverlapTop>0</OverlapTop>
			<OverlapRight>0</OverlapRight>
			<OverlapBottom>0</OverlapBottom>
		</Titlebar>
	</WindowDrawTemplate>
	
	<TextureInfo item = "window_target_bar.tga">
		<Size>
			<CX>256</CX>
			<CY>256</CY>
		</Size>
	</TextureInfo>
	
	<Ui2DAnimation item = "A_Target_Cap">
		<Cycle>true</Cycle>
		<Frames>
			<Texture>window_target_bar.tga</Texture>
			<Location>
				<X>0</X>
				<Y>0</Y>
			</Location>
			<Size>
				<CX>256</CX>
				<CY>24</CY>
			</Size>
			<Hotspot>
				<X>0</X>
				<Y>0</Y>
			</Hotspot>
		</Frames>
	</Ui2DAnimation>
	
	<Ui2DAnimation item = "A_Target_Cap2">
		<Cycle>false</Cycle>
		<Frames>
			<Texture>window_target_bar.tga</Texture>
			<Location>
				<X>0</X>
				<Y>24</Y>
			</Location>
			<Size>
				<CX>256</CX>
				<CY>24</CY>
			</Size>
			<Hotspot>
				<X>0</X>
				<Y>0</Y>
			</Hotspot>
		</Frames>
	</Ui2DAnimation>
	
	<Ui2DAnimation item = "A_Target_Cap3">
		<Cycle>false</Cycle>
		<Frames>
			<Texture>window_target_bar.tga</Texture>
			<Location>
				<X>0</X>
				<Y>0</Y>
			</Location>
			<Size>
				<CX>256</CX>
				<CY>24</CY>
			</Size>
			<Hotspot>
				<X>0</X>
				<Y>0</Y>
			</Hotspot>
		</Frames>
	</Ui2DAnimation>
	
	
	
	
	<StaticAnimation item = "Place_Bar01">
		<ScreenID>Place_Bar01</ScreenID>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>0</X>
			<Y>0</Y>
		</Location>
		<Size>
			<CX>256</CX>
			<CY>24</CY>
		</Size>
		<Animation>A_Target_Cap</Animation>
	</StaticAnimation>

	
	
	<StaticAnimation item = "Place_Bar02">
		<ScreenID>Place_Bar02</ScreenID>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>0</X>
			<Y>0</Y>
		</Location>
		<Size>
			<CX>256</CX>
			<CY>24</CY>
		</Size>
		<Animation>A_Target_Cap2</Animation>
	</StaticAnimation>
	
	<StaticAnimation item = "Place_Bar03">
		<ScreenID>Place_Bar03</ScreenID>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>256</X>
			<Y>0</Y>
		</Location>
		<Size>
			<CX>256</CX>
			<CY>24</CY>
		</Size>
		<Animation>A_Target_Cap3</Animation>
	</StaticAnimation>
	
	<StaticAnimation item = "CMPW_Overlay">
		<ScreenID>CompassOverlay</ScreenID>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>0</X>
			<Y>0</Y>
		</Location>
		<Size>
			<CX>98</CX>
			<CY>24</CY>
		</Size>
		<Animation>A_CompassOverlay</Animation>
	</StaticAnimation>

	<StaticAnimation item = "CMPW_Strip1">
		<ScreenID>CompassStrip1</ScreenID>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>0</X>
			<Y>0</Y>
		</Location>
		<Size>
			<CX>180</CX>
			<CY>24</CY>
		</Size>
		<Animation>A_CompassStrip</Animation>
	</StaticAnimation>

	<StaticAnimation item = "CMPW_Strip2">
		<ScreenID>CompassStrip2</ScreenID>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>0</X>
			<Y>0</Y>
		</Location>
		<Size>
			<CX>180</CX>
			<CY>24</CY>
		</Size>
		<Animation>A_CompassStrip</Animation>
	</StaticAnimation>

	<Label item="MQ_TargetLevel">
		<ScreenID>MQ_TargetLevel</ScreenID>
		<EQType>9999</EQType>
		<Font>2</Font>
		<TooltipReference>$if("$target(level)"=="0","","$target(level) $target(class)")</TooltipReference>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>518</X>
			<Y>7</Y>
		</Location>
		<Size>
			<CX>105</CX>
			<CY>15</CY>
		</Size>
		<Text>100</Text>
		<TextColor>
			<R>255</R>
			<G>255</G>
			<B>255</B>
		</TextColor>
		<NoWrap>true</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
		<AlignLeft>true</AlignLeft>
	</Label>

	<Label item="MQ_TargetDirection"> 
    		<ScreenID>MQ_TargetDirection</ScreenID> 
    		<EQType>9999</EQType> 
		<Font>2</Font> 
       		<TooltipReference>$target(direction)</TooltipReference> 
    		<RelativePosition>true</RelativePosition> 
    		<Location> 
      			<X>635</X> 
      			<Y>7</Y> 
    		</Location> 
    		<Size> 
      			<CX>25</CX> 
     			<CY>15</CY> 
    		</Size> 
    		<Text>100</Text> 
    		<TextColor> 
      			<R>255</R> 
      			<G>255</G> 
      			<B>255</B> 
    		</TextColor> 
    		<NoWrap>true</NoWrap> 
    		<AlignCenter>false</AlignCenter> 
    		<AlignRight>false</AlignRight> 
    		<AlignLeft>true</AlignLeft> 
  	</Label> 
	
	<Label item="Target_Dist"> 
      		<ScreenID>Target_Dist</ScreenID> 
	        <EQType>9999</EQType> 
      		<Font>2</Font> 
		<TooltipReference>$if("$target(distance)"=="0","","$target(distance)")</TooltipReference>
      		<RelativePosition>true</RelativePosition> 
      		<Location> 
         		<X>616</X> 
         		<Y>7</Y> 
      		</Location> 
      		<Size> 
         		<CX>100</CX> 
         		<CY>14</CY> 
      		</Size> 
      		<Text>2</Text> 
      		<TextColor> 
         		<R>255</R> 
         		<G>255</G> 
         		<B>255</B> 
      		</TextColor> 
      		<NoWrap>true</NoWrap> 
      		<AlignCenter>false</AlignCenter> 
      		<AlignRight>true</AlignRight> 
      		<AlignLeft>false</AlignLeft> 
   	</Label> 

	<Label item="MQ_GMStatus"> 
      		<ScreenID>MQ_GMStatus</ScreenID> 
	        <EQType>9999</EQType> 
      		<Font>2</Font> 
		<TooltipReference>GM Status: $gm</TooltipReference>
      		<RelativePosition>true</RelativePosition> 
      		<Location> 
         		<X>100</X> 
         		<Y>7</Y> 
      		</Location> 
      		<Size> 
         		<CX>90</CX> 
         		<CY>14</CY> 
      		</Size> 
      		<Text>2</Text> 
      		<TextColor> 
         		<R>255</R> 
         		<G>255</G> 
         		<B>255</B> 
      		</TextColor> 
      		<NoWrap>true</NoWrap> 
      		<AlignCenter>false</AlignCenter> 
      		<AlignRight>false</AlignRight> 
      		<AlignLeft>true</AlignLeft> 
   	</Label>

	<Label item="MQ_ManaStatus"> 
      		<ScreenID>MQ_ManaStatus</ScreenID> 
	        <EQType>9999</EQType> 
      		<Font>3</Font> 
		<TooltipReference>$char(mana,cur)/$char(mana,max):$char(mana,regen)</TooltipReference>
      		<RelativePosition>true</RelativePosition> 
      		<Location> 
         		<X>300</X> 
         		<Y>7</Y> 
      		</Location> 
      		<Size> 
         		<CX>150</CX> 
         		<CY>14</CY> 
      		</Size> 
      		<Text>2</Text> 
      		<TextColor> 
         		<R>150</R> 
         		<G>150</G> 
         		<B>255</B> 
      		</TextColor> 
      		<NoWrap>true</NoWrap> 
      		<AlignCenter>false</AlignCenter> 
      		<AlignRight>false</AlignRight> 
      		<AlignLeft>true</AlignLeft> 
   	</Label>

	<Label item="MQ_HPStatus"> 
      		<ScreenID>MQ_HPStatus</ScreenID> 
	        <EQType>9999</EQType> 
      		<Font>3</Font> 
		<TooltipReference>$char(hp,cur)/$char(hp,max):$char(hp,regen)</TooltipReference>
      		<RelativePosition>true</RelativePosition> 
      		<Location> 
         		<X>325</X> 
         		<Y>7</Y> 
      		</Location> 
      		<Size> 
         		<CX>150</CX> 
         		<CY>14</CY> 
      		</Size> 
      		<Text>2</Text> 
      		<TextColor> 
         		<R>255</R> 
         		<G>150</G> 
         		<B>150</B> 
      		</TextColor> 
      		<NoWrap>true</NoWrap> 
      		<AlignCenter>false</AlignCenter> 
      		<AlignRight>true</AlignRight> 
      		<AlignLeft>false</AlignLeft> 
   	</Label>

	<Label item="MQ_TargetLoc"> 
      		<ScreenID>MQ_TargetLoc</ScreenID> 
	        <EQType>9999</EQType> 
      		<Font>2</Font> 
		<TooltipReference>$if("$target()"=="TRUE","$target(y) ($calc($target(y)-$char(y)))  ||  $target(x) ($calc($target(x)-$char(x)))","")</TooltipReference>
      		<RelativePosition>true</RelativePosition> 
      		<Location> 
         		<X>750</X> 
         		<Y>7</Y> 
      		</Location> 
      		<Size> 
         		<CX>400</CX> 
         		<CY>14</CY> 
      		</Size> 
      		<Text>2</Text> 
      		<TextColor> 
         		<R>255</R> 
         		<G>255</G> 
         		<B>255</B> 
      		</TextColor> 
      		<NoWrap>true</NoWrap> 
      		<AlignCenter>false</AlignCenter> 
      		<AlignRight>false</AlignRight> 
      		<AlignLeft>true</AlignLeft> 
   	</Label>

	<Label item="MQ_Time"> 
      		<ScreenID>MQ_Time</ScreenID> 
	        <EQType>9999</EQType> 
      		<Font>2</Font> 
		<TooltipReference>$time()</TooltipReference>
      		<RelativePosition>true</RelativePosition> 
      		<Location> 
         		<X>1170</X> 
         		<Y>7</Y> 
      		</Location> 
      		<Size> 
         		<CX>100</CX> 
         		<CY>14</CY> 
      		</Size> 
      		<Text>2</Text> 
      		<TextColor> 
         		<R>255</R> 
         		<G>255</G> 
         		<B>255</B> 
      		</TextColor> 
      		<NoWrap>true</NoWrap> 
      		<AlignCenter>false</AlignCenter> 
      		<AlignRight>true</AlignRight> 
      		<AlignLeft>false</AlignLeft> 
   	</Label>

	<Label item="MQ_Location"> 
      		<ScreenID>MQ_Location</ScreenID> 
	        <EQType>9999</EQType> 
      		<Font>2</Font> 
		<TooltipReference>$char(y)  ||  $char(x)</TooltipReference>
      		<RelativePosition>true</RelativePosition> 
      		<Location> 
         		<X>1100</X> 
         		<Y>7</Y> 
      		</Location> 
      		<Size> 
         		<CX>100</CX> 
         		<CY>14</CY> 
      		</Size> 
      		<Text>2</Text> 
      		<TextColor> 
         		<R>255</R> 
         		<G>255</G> 
         		<B>255</B> 
      		</TextColor> 
      		<NoWrap>true</NoWrap> 
      		<AlignCenter>false</AlignCenter> 
      		<AlignRight>true</AlignRight> 
      		<AlignLeft>false</AlignLeft> 
   	</Label>


	<Screen item = "CompassWindow">
		<!--<ScreenID/>-->
		<!--<Font/>-->
		<RelativePosition>false</RelativePosition>
		<Location>
			<X>0</X>
			<Y>729</Y>
		</Location>
		<Size>
			<CX>1290</CX>
			<CY>24</CY>
		</Size>
		<Style_VScroll>false</Style_VScroll>
		<Style_HScroll>false</Style_HScroll>
		<Style_Transparent>false</Style_Transparent>
		<!--<TooltipReference/>-->
		<DrawTemplate>WDT_RoundedNoTitle3</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>Place_Bar01</Pieces>
		<Pieces>CMPW_Strip1</Pieces>
		<Pieces>CMPW_Strip2</Pieces>
		<Pieces>Place_Bar02</Pieces>
		<Pieces>Place_Bar03</Pieces>
		<Pieces>CMPW_Overlay</Pieces>
		<Pieces>MQ_TargetLevel</Pieces>
		<Pieces>MQ_TargetDirection</Pieces>
		<Pieces>Target_Dist</Pieces>
		<Pieces>MQ_GMStatus</Pieces>
		<Pieces>MQ_ManaStatus</Pieces>
		<Pieces>MQ_HPStatus</Pieces>
		<Pieces>MQ_Time</Pieces>
		<Pieces>MQ_Location</Pieces>
		<Pieces>MQ_TargetLoc</Pieces>
		

	</Screen>

</XML>

Posted: Sun Apr 11, 2004 3:54 pm
by magictiger
Is anyone working on converting this to the new MQ2DataTypes?

I absolutely love this UI, but I'm not so good with the programming....

Posted: Mon Apr 12, 2004 3:47 am
by nouche
I see in the code xml petwindow a section concerning the pet buffs. How to activate this window ?

Code is same as saly UI I think.

Posted: Wed Apr 14, 2004 5:45 am
by WhiteWolf
id like to see this UI on MQ2Data too. i rather like it to most the others ive seen.

also, maybe the wrong place to ask, but i cant see another way to get it done without breaking the timer.
could someone implement a beneficial/detrimental color background to the buff window? i tried making it a mix'n'match with the buffwindow from solaria (i believe), but i couldnt quite get it working.

Posted: Thu Apr 15, 2004 7:26 am
by magictiger
The quick and easy way:
change

Code: Select all

		<ButtonDrawTemplate>
			<NormalDecal>BuffIcons</NormalDecal>
		</ButtonDrawTemplate>
to

Code: Select all

		<ButtonDrawTemplate>
			[color=red]<Normal>BlueIconBackground</Normal>[/color]
			<NormalDecal>BuffIcons</NormalDecal>
		</ButtonDrawTemplate>
and add in a good CS_Buttons.bmp

The "better" way involves moving stuff around, and I'm just too lazy for that.

Posted: Wed Apr 21, 2004 9:41 am
by Diazepam
Here's a summary of changes to allow SOES to use MQ2Data:

Code: Select all

EQUI_BuffWindow.xml

line 123, change $char(buff,1,durationsecs) to ${Me.Buff[1].Duration.Time}
--repeat for all buffs, replacing 1 with 2..3..4..etc

EQUI_CastSpellWnd.xml

line 249, replace $if("$char(gem,1)"=="NULL","","$int($calc($char(mana,cur)/$spell("$char(gem,1)",mana)))")
with:
${Int[${Math.Calc[${Me.CurrentMana}/${Me.Gem[1].Mana}]}]}
--repeat for all gem slots, replacing 1 with 2..3..4..etc

EQUI_CompassWnd.xml


line 193, replace $if("$target(level)"=="0","","$target(level) $target(class)")
with:
${If[${Target.Level},${Target.Level} ${Target.Class},*]}

line 219, replace $target(direction) with ${Target.HeadingTo.ShortName} 

line 245, replace $if("$target(distance)"=="0","","$target(distance)")
with:
${Target.Distance}

line 271, delete $gm. (I added ${Me.Hunger} and ${Me.Thirst} to this line, since I don't care about GM status and this gives me a heads up on when to force feed. Note that if you do this, you'll have to make the label a little wider.

line 323, replace $char(mana,cur)/$char(mana,max):$char(mana,regen)
with:
${Me.CurrentMana}/${Me.MaxMana}:${Me.ManaRegen}

line 349, replace $char(hp,cur)/$char(hp,max):$char(hp,regen)
with:
${Me.CurrentHPs}/${Me.MaxHPs}:${Me.HPRegen}

line 375, replace $if("$target()"=="TRUE","$target(y) ($calc($target(y)-$char(y)))  ||  $target(x) ($calc($target(x)-$char(x)))","")
with:
${If[${Target.ID},${Target.Y} ${Math.Calc[${Target.Y}-${Me.Y}]} || ${Target.X} ${Math.Calc[${Target.X}-${Me.X}]},*]}

line 401, replace $time with ${Time.Time24}

line 427, replace $char(y) || $char(x)
with:
${Me.Y} || ${Me.X}

EQUI_GroupWindow.xml

line 194, $if("$spawn($group(1),sclass)"=="NULL","","$spawn($group(1),level) $spawn($group(1),sclass)")
with:
${If[${Group[1].ID},${Group[1].Level} ${Group[1].Class.ShortName},*]}

--repeat for group members 2 - 5

EQUI_PetInfoWindow.xml

line 3415, replace $char(aa, exp)
with:
${Math.Calc[${Me.AAExp}/3.3]}

EQUI_PlayerWindow.xml

line 479, replace $char(exp) with ${Math.Calc[${Me.Exp}/3.3]}

line 1142, replace $char(state) with ${Me.State}

This was tested and working with the 4/19 zip.

Posted: Wed Apr 21, 2004 10:38 am
by magictiger
Really appreciate the changes!
For those looking for the GM indicator, ${Spawn[gm].GM} supposedly (if I'm reading this right) checks for a GM in zone and returns true if it's a GM. If there's not a GM, I'm not sure if this will return false or NULL. My money's on the NULL. I'll have to test it out to be sure.

Posted: Wed Apr 21, 2004 1:40 pm
by magictiger
Yep, returns null.
By the way, you've got a LOT of issues with missing }

Posted: Wed Apr 21, 2004 1:57 pm
by magictiger
castspellwnd:

Code: Select all

${Int[${Math.Calc[${Me.CurrentMana}/${Me.Gem[1].Mana}]}]}
compasswnd: (for GM/Hunger/Thirst info, recommend label size >150)

Code: Select all

${If[${Target.ID},${Target.Level} ${Target.Class},]}

GM: ${If[!${Spawn[gm]},FALSE,TRUE]}  Food: ${Math.Calc[${Me.Hunger}/1000]}  Drink: ${Math.Calc[${Me.Thirst}/1000]}

${If[${Target.ID},${Target.Y} (${Math.Calc[${Target.Y}-${Me.Y}]}) || ${Target.X} (${Math.Calc[${Target.X}-${Me.X}]}),]}
On the group window stuff, just eliminate the * to make it disappear and show nothing.

That's all that I remember off the top of my head. Working GREAT otherwise though, and removes the -1 chain-cast number for cannibalize spells and Levitation.

EDIT: Yeah, I'm a tard. Fixed the GM alert to say FALSE instead of NULL.

Posted: Wed Apr 21, 2004 2:09 pm
by Diazepam
I edited my post to add the final } to the Math.Calc lines -- I block copied the original post from old notes and forgot to update that part, thanks for catching it.

Why are you dividing Hunger and Thirst by 1000?

Posted: Wed Apr 21, 2004 2:16 pm
by magictiger
Because I'll always forget to force-feed if I see 2000 rather than 2 :)
Still working on some more cleanup for the GM alert. Trying to get it to say FALSE instead of NULL, and I think I got it...

Posted: Wed Apr 21, 2004 2:21 pm
by Diazepam
magictiger wrote:
On the group window stuff, just eliminate the * to make it disappear and show nothing.
This is true. The * is just personal preference, you can use - or just leave it blank if you want to.

Posted: Thu Apr 22, 2004 11:43 am
by magictiger
My GM alert code returns NULL if a GM is in zone, FALSE if no GM in zone. Fixing now.

Try changing the GM alert part to

Code: Select all

GM: ${If[${Spawn[gm].ID},TRUE,FALSE]}

Posted: Thu Apr 29, 2004 4:43 pm
by smalltech
Can someone host an updated zip of this UI. I love it. I tried to do the modifications myself but it just bombed the skin.