Plugin Info | |
---|---|
Name | MQ2Labels |
Author | User: Baby Jesus |
Link | Wiki Link |
Commands | None |
Source Available | Yes |
Uses INI File | No |
Contents
Description
This plugin allows you to use MQ2Data within your Custom EQ UI. It provides a number of EQTypes which can be used exactly as you use the built-in EQTypes. If there is not suitable EQType for your use, you can use ToolTips to display custom information within your custom UI.
MQ2 EQTypes
EQType: MQ2Data * 1000: ${Me.CurrentMana} * 1001: ${Me.MaxMana} * 1002: ${Me.State} * 1003: ${Me.Speed} * 1004: ${Me.Heading} * 1005: ${Me.X} * 1006: ${Me.Y} * 1007: ${Me.Z} * 1008: ${Me.Dar} * 1009: ${Me.Cash} * 1010: ${Me.CashBank} * 1011: ${Me.Platinum) * 1012: ${Me.PlatinumShared} * 1013: ${Me.Gold} * 1014: ${Me.SilverBank} * 1015: ${Me.CopperBank} * 2000: ${Target.Level} * 2001: ${Target.Class} * 2002: ${Target.Race} * 2003: ${Target.Distance} * 2004: none * 2005: ${Target.State} * 2006: ${Target.X} * 2007: ${Target.Y} * 2008: ${Target.Z} * 2009: ${Target.Heading} * 2010: ${Target.Speed} * 2011: ${Target.ID} * 3000: ${Zone} * 3001: none * 3002: ${Me.Bound} * 3003: ${Time.Time24} * 3004: ${Time.Hour} * 3005: ${Time.Minute} * 3006: ${Time.Second} * 3007: ${Time.Date} * 3008: ${Time.Year} * 3009: ${Time.Month} * 3010: ${Time.Day} * 3011: ${If[${Spawn[gm].ID},TRUE,FALSE]} * 3012: ${Me.FreeInventory}
Example UI XML
<Label item ="Target_Level"> <ScreenID>TargetLevel</ScreenID> <EQType>2000</EQType> <Font>2</Font> <RelativePosition>true</RelativePosition> <Location> <X>24</X> <Y>33</Y> </Location> <Size> <CX>22</CX> <CY>14</CY> </Size> <Text>0</Text> <TextColor> <R>255</R> <G>255</G> <B>0</B> </TextColor> <NoWrap>true</NoWrap> <AlignCenter>false</AlignCenter> <AlignRight>true</AlignRight> <AlignLeft>false</AlignLeft> </Label>
Creating new EQTypes with ToolTip
If there is not a direct EQType available you can use the <EQType>9999</EQType> tag to specify a new EQType and then code in your MQ2Data string.
<EQType>9999</EQType> <TooltipReference>${Cast.Ready[myitem]}</TooltipReference>
Example UI ToolTip XML
<Label item ="BW_Buff0_Duration"> <ScreenID>Buff0Duration</ScreenID> <EQType>9999</EQType> <TooltipReference>${Me.Buff1.Duration}</TooltipReference> <Font>2</Font> <RelativePosition>true</RelativePosition> <Location> <X>23</X> <Y>3</Y> </Location> <Size> <CX>153</CX> <CY>14</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>
Availability
This plugin is included with the MMOBugs Compile.