Yet another HUD

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Yet another HUD

Post by aChallenged1 » Wed Jan 05, 2005 5:40 pm

Revamped to go along with Crazy's modified HUD plugin, that thing rocks.

This is my current HUD. It was originally meant for a 1280x1024 resolution, however, with Crazybard's updated HUD plugin and the hudmove plugin it can now be adjusted for most resolutions.
At the end of the code is an example of what one of my characters setup is. It's a good starting place.

Code: Select all

[elements]
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}

[smallme]
       MyHP=3,585,800,0,255,255,MyHP - ${Me.CurrentHPs} 
     MyMana=3,585,815,0,255,0,MyMana - ${Me.CurrentMana}
       MyXP=3,585,830,223,255,0,MyXP - ${Me.PctExp}


[GMTELL]
GMIndicator=3,700,800,255,0,0,GM - ${NearestSpawn[GM]}
   LastTell=3,700,815,0,255,200,LastTell - ${If[${MacroQuest.LastTell.NotEqual["NULL"]},${MacroQuest.LastTell},]}
      Named=3,700,830,52,159,250,Named - ${Spawn[npc #]}

[Macrotime]
      Macro=3,475,800,255,255,255,Macro - ${If[${Macro.Name.NotEqual["NULL"]},${Macro.Name},]}
       Time=3,475,830,255,255,255,Real Time: ${Time}

[STATUSATTACK]
; SIT/STAND & ATTACK
      MyState=1,1185,07,255,255,255,${Me.State} 
     AttackON=1,1185,20,255,000,000,${If[${Me.Combat},ATTACK ON,]} 
    AttackOFF=1,1185,20,255,255,255,${If[${Me.Combat},,Attack Off]}

[BTSR]
;BOUND TARGET SPEED RAID DATA
      Bound=3,010,160,200,200,200,Bound in ${Me.Bound}
      Speed=3,010,180,255,255,255,Speed - ${Int[${Me.Speed}]}
      Raid =3,010,190,255,0,0,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]}   ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]} 
;Raidleader =3,010,205,255,0,0,${If[${Raid.Members}>0,Raidleader: ${Raid.Leader},]}
Raidleader =3,010,205,255,0,0,Raidleader: ${Raid.Leader}

[basictarg]
;TARGET DATA
Target=3,520,175,255,255,255,~~~~~~ Target Data ~~~~~~ 
TData1=3,520,190,255,255,255,${If[${Target.ID},Name: ${Target.CleanName} ( ${Target.Race} ),]} 
TData2=3,520,215,255,255,255,${If[${Target.ID},Class: ${Target.Level} ${Target.Class},]} 
TData3=3,520,230,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]} 
TData4=3,520,245,255,255,255,${If[${Target.ID},Melee Range: ${Target.MaxRange},]}
TData5=3,520,260,255,255,255,${If[${Target.ID},${Target.CleanName}    HP: ${Target.PctHPs},]}

;==============================================================================================================================================
;==============================================================================================================================================

[Advtarg]
;TARGET DATA
           TargetInfo=1,590,150,255,234,8,Target Information: 
         TargetNameHP=1,570,170,255,255,255,${If[${Target.ID},${Target.CleanName},]} 
          TargetGuage=1,570,180,255,0,0,${String[====================].Left[${Int[${Math.Calc[${Int[${Target.PctHPs}]}*.2]}]}]} 
            NormGuage=1,570,180,255,255,255,${If[${Target.ID},====================  ${Target.PctHPs}%,]} 
       TargetLVLClass=1,570,190,0,255,0,${If[${Target.ID},${Target.Level} ${Target.Class},]} 
             GreenCon=1,570,205,0,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["GREEN"]},${Target.ConColor},]},]} 
         LightBlueCon=1,570,205,0,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["LIGHT BLUE"]},${Target.ConColor},]},]} 
              BlueCon=1,570,205,0,0,255,${If[${Target.ID},${If[${Target.ConColor.Equal["BLUE"]},${Target.ConColor},]},]} 
             WhiteCon=1,570,205,255,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["WHITE"]},${Target.ConColor},]},]} 
           YelllowCon=1,570,205,255,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["YELLOW"]},${Target.ConColor},]},]} 
               RedCon=1,570,205,255,0,0,${If[${Target.ID},${If[${Target.ConColor.Equal["RED"]},${Target.ConColor},]},]} 
	       TDataD=1,635,205,255,255,255,${If[${Target.ID},Distance:  ${Target.Distance},]}
TargetMaxMeleeHeading=1,570,215,10,200,10,${If[${Target.ID},Max Melee: ${Target.MaxRangeTo}   Heading: ${Target.Heading},]} 
            TargetLOC=1,570,225,10,200,10,${If[${Target.ID},Y: ${Target.Y} (${Math.Calc[${Target.Y}-${Me.Y}]}) X: ${Target.X} (${Math.Calc[${Target.X}-${Me.X}]}),]} 
              TargetZ=1,570,235,10,200,10,${If[${Target.ID},Z: ${Target.Z} (${Math.Calc[${Target.Z}-${Me.Z}]}),]} 

[HoTT]
;HoTT DATA
          ToTargetInfo=1,810,150,255,234,8,${If[${Target.ID},HoTT Information:,]}
       ToTargetNameHP=1,790,170,255,255,255,${If[${Target.ID},${Me.TargetOfTarget.CleanName},]}
        ToTargetGuage=1,790,180,255,0,0,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.TargetOfTarget.PctHPs}]}*.2]}]}]}
         ToTNormGuage=1,790,180,255,255,255,${If[${Target.ID},====================  ${Me.TargetOfTarget.PctHPs}%,]}
     ToTargetLVLClass=1,790,190,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.Level} ${Me.TargetOfTarget.Class},]}   
          ToTGreenCon=1,790,205,0,255,0,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["GREEN"]},${Me.TargetOfTarget.ConColor},]},]}
      ToTLightBlueCon=1,790,205,0,255,255,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["LIGHT BLUE"]},${Me.TargetOfTarget.ConColor},]},]}        
           ToTBlueCon=1,790,205,0,0,255,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["BLUE"]},${Me.TargetOfTarget.ConColor},]},]}
          ToTWhiteCon=1,790,205,255,255,255,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["WHITE"]},${Me.TargetOfTarget.ConColor},]},]}
        ToTYelllowCon=1,790,205,255,255,0,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["YELLOW"]},${Me.TargetOfTarget.ConColor},]},]}
            ToTRedCon=1,790,205,255,0,0,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["RED"]},${Me.TargetOfTarget.ConColor},]},]}
	     ToTDataD=3,715,205,255,255,255,${If[${Target.ID},ToT Distance:  ${Me.TargetOfTarget.Distance},]}
   ToTMaxMeleeHeading=1,790,215,10,200,10,${If[${Target.ID},Max Melee: ${Me.TargetOfTarget.MaxRangeTo}   Heading: ${Me.TargetOfTarget.Heading},]}
          ToTargetLOC=1,790,225,10,200,10,${If[${Target.ID},Y: ${Me.TargetOfTarget.Y} (${Math.Calc[${Me.TargetOfTarget.Y}-${Me.Y}]}) X: ${Me.TargetOfTarget.X} (${Math.Calc[${Me.TargetOfTarget.X}-${Me.X}]}),]}
            ToTargetZ=1,790,235,10,200,10,${If[${Target.ID},Z: ${Me.TargetOfTarget.Z} (${Math.Calc[${Me.TargetOfTarget.Z}-${Me.Z}]}),]}

[me]
;MY INFO
       MyInfo=1,1145,42,255,234,8,My Information:
 
         MyHp=1,1145,72,255,255,255,H 
    MyHpGuage=1,1157,72,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.PctHPs}]}*.2]}]}]} 
   MyHpGuage2=1,1157,72,255,255,255,==================== 
      MyHpPct=1,1158,62,255,255,255,${Me.PctHPs}% 
      MyHpNum=1,1195,62,000,255,000,${Me.CurrentHPs} / ${Me.MaxHPs}  +${Me.HPRegen} 

       MyMana=1,1145,95,255,255,255,M 
  MyManaGuage=1,1157,95,000,140,255,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.PctMana}]}*.2]}]}]} 
 MyManaGuage2=1,1157,95,255,255,255,==================== 
    MyManaPct=1,1158,85,255,255,255,${Me.PctMana}% 
    MyManaNum=1,1195,85,000,200,255,${Me.CurrentMana} / ${Me.MaxMana}  +${Me.ManaRegen} 

        MyEnd=1,1145,118,255,255,255,E 
   MyEndGuage=1,1157,118,255,234,008,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.PctEndurance}]}*.2]}]}]} 
  MyEndGuage2=1,1157,118,255,255,255,==================== 
     MyEndPct=1,1158,108,255,255,255,${Me.PctEndurance}% 
     MyEndNum=1,1195,108,255,234,008,${Me.Endurance} / ${Me.MaxEndurance} 

        MyExp=1,1136,141,255,255,255,Exp 
   MyExpGuage=1,1157,141,230,234,070,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.PctExp}]}*.2]}]}]} 
  MyExpGuage2=1,1157,141,255,255,255,==================== 
     MyExpPct=1,1195,131,230,234,070,${Me.PctExp}% 

      MyAAExp=1,1137,164,255,255,255,AA 
 MyAAExpGuage=1,1157,164,230,234,070,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.PctAAExp}]}*.2]}]}]} 
MyAAExpGuage2=1,1157,164,255,255,255,==================== 
   MyAAExpPct=1,1195,154,230,234,070,${Me.PctAAExp}% 

[spellbuffs]
; MY BUFFS
     BuffInfo=1,1090,280,255,234,8,Buff Information: 
      MyBuff1=1,1090,290,255,255,255, ${If[${Me.Buff[1].Name.NotEqual["NULL"]},1    ${Me.Buff[1]},]} 
       Timer1=1,1090,290,000,255,000, ${If[${Me.Buff[1].Name.NotEqual["NULL"]},1    ${Me.Buff[1]},]}  ${If[${Me.Buff[1].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[1].Duration.TimeHMS}],]} 
      MyBuff2=1,1090,302,255,255,255, ${If[${Me.Buff[2].Name.NotEqual["NULL"]},2    ${Me.Buff[2]},]} 
       Timer2=1,1090,302,000,255,000, ${If[${Me.Buff[2].Name.NotEqual["NULL"]},2    ${Me.Buff[2]},]}  ${If[${Me.Buff[2].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[2].Duration.TimeHMS}],]} 
      MyBuff3=1,1090,314,255,255,255, ${If[${Me.Buff[3].Name.NotEqual["NULL"]},3    ${Me.Buff[3]},]} 
       Timer3=1,1090,314,000,255,000, ${If[${Me.Buff[3].Name.NotEqual["NULL"]},3    ${Me.Buff[3]},]}  ${If[${Me.Buff[3].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[3].Duration.TimeHMS}],]} 
      MyBuff4=1,1090,326,255,255,255, ${If[${Me.Buff[4].Name.NotEqual["NULL"]},4    ${Me.Buff[4]},]} 
       Timer4=1,1090,326,000,255,000, ${If[${Me.Buff[4].Name.NotEqual["NULL"]},4    ${Me.Buff[4]},]}  ${If[${Me.Buff[4].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[4].Duration.TimeHMS}],]} 
      MyBuff5=1,1090,338,255,255,255, ${If[${Me.Buff[5].Name.NotEqual["NULL"]},5    ${Me.Buff[5]},]} 
       Timer5=1,1090,338,000,255,000, ${If[${Me.Buff[5].Name.NotEqual["NULL"]},5    ${Me.Buff[5]},]}  ${If[${Me.Buff[5].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[5].Duration.TimeHMS}],]} 
      MyBuff6=1,1090,350,255,255,255, ${If[${Me.Buff[6].Name.NotEqual["NULL"]},6    ${Me.Buff[6]},]} 
       Timer6=1,1090,350,000,255,000, ${If[${Me.Buff[6].Name.NotEqual["NULL"]},6    ${Me.Buff[6]},]}  ${If[${Me.Buff[6].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[6].Duration.TimeHMS}],]} 
      MyBuff7=1,1090,362,255,255,255, ${If[${Me.Buff[7].Name.NotEqual["NULL"]},7    ${Me.Buff[7]},]} 
       Timer7=1,1090,362,000,255,000, ${If[${Me.Buff[7].Name.NotEqual["NULL"]},7    ${Me.Buff[7]},]}  ${If[${Me.Buff[7].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[7].Duration.TimeHMS}],]} 
      MyBuff8=1,1090,374,255,255,255, ${If[${Me.Buff[8].Name.NotEqual["NULL"]},8    ${Me.Buff[8]},]} 
       Timer8=1,1090,374,000,255,000, ${If[${Me.Buff[8].Name.NotEqual["NULL"]},8    ${Me.Buff[8]},]}  ${If[${Me.Buff[8].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[8].Duration.TimeHMS}],]} 
      MyBuff9=1,1090,386,255,255,255, ${If[${Me.Buff[9].Name.NotEqual["NULL"]},9    ${Me.Buff[9]},]} 
       Timer9=1,1090,386,000,255,000, ${If[${Me.Buff[9].Name.NotEqual["NULL"]},9    ${Me.Buff[9]},]}  ${If[${Me.Buff[9].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[9].Duration.TimeHMS}],]} 
     MyBuff10=1,1090,398,255,255,255,${If[${Me.Buff[10].Name.NotEqual["NULL"]},10   ${Me.Buff[10]},]} 
      Timer10=1,1090,398,000,255,000,${If[${Me.Buff[10].Name.NotEqual["NULL"]},10   ${Me.Buff[10]},]}  ${If[${Me.Buff[10].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[10].Duration.TimeHMS}],]} 
     MyBuff11=1,1090,410,255,255,255,${If[${Me.Buff[11].Name.NotEqual["NULL"]},11   ${Me.Buff[11]},]} 
      Timer11=1,1090,410,000,255,000,${If[${Me.Buff[11].Name.NotEqual["NULL"]},11   ${Me.Buff[11]},]}  ${If[${Me.Buff[11].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[11].Duration.TimeHMS}],]} 
     MyBuff12=1,1090,422,255,255,255,${If[${Me.Buff[12].Name.NotEqual["NULL"]},12   ${Me.Buff[12]},]} 
      Timer12=1,1090,422,000,255,000,${If[${Me.Buff[12].Name.NotEqual["NULL"]},12   ${Me.Buff[12]},]}  ${If[${Me.Buff[12].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[12].Duration.TimeHMS}],]} 
     MyBuff13=1,1090,434,255,255,255,${If[${Me.Buff[13].Name.NotEqual["NULL"]},13   ${Me.Buff[13]},]} 
      Timer13=1,1090,434,000,255,000,${If[${Me.Buff[13].Name.NotEqual["NULL"]},13   ${Me.Buff[13]},]}  ${If[${Me.Buff[13].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[13].Duration.TimeHMS}],]} 
     MyBuff14=1,1090,446,255,255,255,${If[${Me.Buff[14].Name.NotEqual["NULL"]},14   ${Me.Buff[14]},]} 
      Timer14=1,1090,446,000,255,000,${If[${Me.Buff[14].Name.NotEqual["NULL"]},14   ${Me.Buff[14]},]}  ${If[${Me.Buff[14].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[14].Duration.TimeHMS}],]} 
     MyBuff15=1,1090,458,255,255,255,${If[${Me.Buff[15].Name.NotEqual["NULL"]},15   ${Me.Buff[15]},]} 
      Timer15=1,1090,458,000,255,000,${If[${Me.Buff[15].Name.NotEqual["NULL"]},15   ${Me.Buff[15]},]}  ${If[${Me.Buff[15].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[15].Duration.TimeHMS}],]} 

[songbuffs]
; SONG BUFFS
     SongInfo=1,1080,470,255,234,8,Song Information: 
      Mysong1=1,1080,482,255,255,255,${If[${Me.Song[1].Name.NotEqual["NULL"]},1    ${Me.Song[1]},]} 
   SongTimer1=1,1080,482,000,255,000,${If[${Me.Song[1].Name.NotEqual["NULL"]},1    ${Me.Song[1]},]}  ${If[${Me.Song[1].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Song[1].Duration.TimeHMS}],]} 
      MySong2=1,1080,494,255,255,255, ${If[${Me.Song[2].Name.NotEqual["NULL"]},2    ${Me.Song[2]},]} 
   SongTimer2=1,1080,494,000,255,000, ${If[${Me.Song[2].Name.NotEqual["NULL"]},2    ${Me.Song[2]},]}  ${If[${Me.Song[2].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Song[2].Duration.TimeHMS}],]} 
      Mysong3=1,1080,506,255,255,255, ${If[${Me.Song[3].Name.NotEqual["NULL"]},3    ${Me.Song[3]},]} 
   SongTimer3=1,1080,506,000,255,000, ${If[${Me.Song[3].Name.NotEqual["NULL"]},3    ${Me.Song[3]},]}  ${If[${Me.Song[3].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Song[3].Duration.TimeHMS}],]} 
      Mysong4=1,1080,518,255,255,255, ${If[${Me.Song[4].Name.NotEqual["NULL"]},4    ${Me.Song[4]},]} 
   songTimer4=1,1080,518,000,255,000, ${If[${Me.Song[4].Name.NotEqual["NULL"]},4    ${Me.Song[4]},]}  ${If[${Me.Song[4].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Song[4].Duration.TimeHMS}],]} 
      Mysong5=1,1080,530,255,255,255, ${If[${Me.Song[5].Name.NotEqual["NULL"]},5    ${Me.Song[5]},]} 
   songTimer5=1,1080,530,000,255,000, ${If[${Me.Song[5].Name.NotEqual["NULL"]},5    ${Me.Song[5]},]}  ${If[${Me.Song[5].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Song[5].Duration.TimeHMS}],]} 
      Mysong6=1,1080,542,255,255,255, ${If[${Me.Song[6].Name.NotEqual["NULL"]},6    ${Me.Song[6]},]} 
   songTimer6=1,1080,542,000,255,000, ${If[${Me.Song[6].Name.NotEqual["NULL"]},6    ${Me.Song[6]},]}  ${If[${Me.Song[6].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Song[6].Duration.TimeHMS}],]} 

[group]
; GROUP INFO
	  GLD=3,1111,573,200,200,200,Group Leader: ${If[${Group}>0,${GroupLeader.Name},]} 

	  G0C=3,1115,615,127,127,127,${If[${Group[0].ID},${Group[0].Level} ${Group[0].Class.ShortName},]} 
	  G0N=3,1165,615,255,255,255,${If[${Group[0].Invis},(${Group[0].CleanName}),${Group[0].CleanName}]} 
	  G0S=3,1145,615,125,127,127,${If[${Group[0].ID},${If[${Group[0].Feigning},F,-]}${If[${Group[0].Mount.ID},M,${If[${Group[0].Sitting},S,-]}]},]} 
	  G0F=3,1100,623,255,255,000,${If[${Group[0].ID},F1,]} 
	  G0L=3,1237,623,255,255,000,${Group[0].PctHPs} 
	  G0G=3,1115,623,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Group[0].PctHPs}]}*.2]}]}]} 
	  G0P=3,1115,620,000,255,000,${String[____________________].Left[${Int[${Math.Calc[${Int[${Group[0].Pet.PctHPs}]}*.2]}]}]} 

	  G1C=3,1115,640,127,127,127,${If[${Group[1].ID},${Group[1].Level} ${Group[1].Class.ShortName},]} 
	  G1N=3,1165,640,255,255,255,${If[${Group[1].Invis},(${Group[1].CleanName}),${Group[1].CleanName}]} 
	  G1S=3,1243,640,125,127,127,${If[${Group[1].ID},${If[${Group[1].Feigning},F,-]}${If[${Group[1].Mount.ID},M,${If[${Group[1].Sitting},S,-]}]},]} 
	  G1F=3,1100,648,255,255,000,${If[${Group[1].ID},F2,]} 
	  G1L=3,1237,648,255,255,000,${Group[1].PctHPs} 
	  G1G=3,1115,648,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Group[1].PctHPs}]}*.2]}]}]} 
	  G1P=3,1115,645,000,255,000,${String[____________________].Left[${Int[${Math.Calc[${Int[${Group[1].Pet.PctHPs}]}*.2]}]}]} 

	  G2C=3,1115,665,127,127,127,${If[${Group[2].ID},${Group[2].Level} ${Group[2].Class.ShortName},]} 
	  G2N=3,1165,665,255,255,255,${If[${Group[2].Invis},(${Group[2].CleanName}),${Group[2].CleanName}]} 
	  G2S=3,1243,665,125,127,127,${If[${Group[2].ID},${If[${Group[2].Feigning},F,-]}${If[${Group[2].Mount.ID},M,${If[${Group[2].Sitting},S,-]}]},]} 
	  G2F=3,1100,672,255,255,000,${If[${Group[2].ID},F3,]} 
	  G2L=3,1237,672,255,255,000,${Group[2].PctHPs} 
	  G2G=3,1115,672,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Group[2].PctHPs}]}*.2]}]}]} 
	  G2P=3,1115,670,000,255,000,${String[____________________].Left[${Int[${Math.Calc[${Int[${Group[2].Pet.PctHPs}]}*.2]}]}]} 

	  G3C=3,1115,690,127,127,127,${If[${Group[3].ID},${Group[3].Level} ${Group[3].Class.ShortName},]} 
	  G3N=3,1165,690,255,255,255,${If[${Group[3].Invis},(${Group[3].CleanName}),${Group[3].CleanName}]} 
	  G3S=3,1243,690,125,127,127,${If[${Group[3].ID},${If[${Group[3].Feigning},F,-]}${If[${Group[3].Mount.ID},M,${If[${Group[3].Sitting},S,-]}]},]} 
	  G3F=3,1100,698,255,255,000,${If[${Group[3].ID},F4,]} 
	  G3L=3,1237,698,255,255,000,${Group[3].PctHPs} 
	  G3G=3,1115,698,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Group[3].PctHPs}]}*.2]}]}]} 
	  G3P=3,1115,695,000,255,000,${String[____________________].Left[${Int[${Math.Calc[${Int[${Group[3].Pet.PctHPs}]}*.2]}]}]} 

	  G4C=3,1115,710,127,127,127,${If[${Group[4].ID},${Group[4].Level} ${Group[4].Class.ShortName},]} 
	  G4N=3,1165,710,255,255,255,${If[${Group[4].Invis},(${Group[4].CleanName}),${Group[4].CleanName}]} 
	  G4S=3,1243,710,125,127,127,${If[${Group[4].ID},${If[${Group[4].Feigning},F,-]}${If[${Group[4].Mount.ID},M,${If[${Group[4].Sitting},S,-]}]},]} 
	  G4F=3,1100,718,255,255,000,${If[${Group[4].ID},F5,]} 
	  G4L=3,1237,718,255,255,000,${Group[4].PctHPs} 
	  G4G=3,1115,718,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Group[4].PctHPs}]}*.2]}]}]} 
	  G4P=3,1115,720,000,255,000,${String[____________________].Left[${Int[${Math.Calc[${Int[${Group[4].Pet.PctHPs}]}*.2]}]}]} 

	  G5C=3,1115,740,127,127,127,${If[${Group[5].ID},${Group[5].Level} ${Group[5].Class.ShortName},]} 
	  G5N=3,1165,740,255,255,255,${If[${Group[5].Invis},(${Group[5].CleanName}),${Group[5].CleanName}]} 
	  G5S=3,1243,740,125,127,127,${If[${Group[5].ID},${If[${Group[5].Feigning},F,-]}${If[${Group[5].Mount.ID},M,${If[${Group[5].Sitting},S,-]}]},]} 
	  G5F=3,1100,748,255,255,000,${If[${Group[5].ID},F6,]} 
	  G5L=3,1237,748,255,255,000,${Group[5].PctHPs} 
	  G5G=3,1115,748,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Group[5].PctHPs}]}*.2]}]}]} 
	  G5P=3,1115,750,000,255,000,${String[____________________].Left[${Int[${Math.Calc[${Int[${Group[5].Pet.PctHPs}]}*.2]}]}]} 


[spells]
; SPELL GEMS
         LOSCheck=1,10,345,255,234,8,${If[${Target.ID},Line of Sight:,]} 
LOSCheckResponseT=1,80,345,0,255,0,${If[${Target.ID},${If[${Target.LineOfSight},TRUE,]},]} 
LOSCheckResponseF=1,80,345,255,0,0,${If[${Target.ID},${If[${Target.LineOfSight},,FALSE]},]} 

RangeFinder1label=1,10,220,255,234,8,1 
     RangeFinder1=1,20,220,0,255,0,${If[${Me.Gem[1].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[1].Range}]},Y,]},]},]} 
  RangeFinder1OOR=1,20,220,255,0,0,${If[${Me.Gem[1].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[1].Range}]},N,]},]},]} 
   RangeFinder1NA=1,20,220,255,255,255,${If[${Me.Gem[1].Range}==0,NA,]} 
       Spell1Name=1,40,220,255,255,255,${If[${Me.SpellReady[1]},${Me.Gem[1]},]} 
 Spell1NameNotRDY=1,40,220,100,100,100,${If[${Me.SpellReady[1]},,${Me.Gem[1]}]} 
Spell1CastAmmount=1,40,220,0,255,255,${If[${Me.Gem[1].Name.NotEqual["NULL"]},${Me.Gem[1]}  [ ${If[${Me.Gem[1].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[1].Mana},${Me.Gem[1].Mana},9999999999]}].Int},]} ],]} 

RangeFinder2label=1,10,235,255,234,8,2 
     RangeFinder2=1,20,235,0,255,0,${If[${Me.Gem[2].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[2].Range}]},Y,]},]},]} 
  RangeFinder2OOR=1,20,235,255,0,0,${If[${Me.Gem[2].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[2].Range}]},N,]},]},]} 
   RangeFinder2NA=1,20,235,255,255,255,${If[${Me.Gem[2].Range}==0,NA,]} 
       Spell2Name=1,40,235,255,255,255,${If[${Me.SpellReady[2]},${Me.Gem[2]},]} 
 Spell2NameNotRDY=1,40,235,100,100,100,${If[${Me.SpellReady[2]},,${Me.Gem[2]}]} 
Spell2CastAmmount=1,40,235,0,255,255,${If[${Me.Gem[2].Name.NotEqual["NULL"]},${Me.Gem[2]}  [ ${If[${Me.Gem[2].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[2].Mana},${Me.Gem[2].Mana},9999999999]}].Int},]} ],]} 

RangeFinder3label=1,10,250,255,234,8,3 
     RangeFinder3=1,20,250,0,255,0,${If[${Me.Gem[3].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[3].Range}]},Y,]},]},]} 
  RangeFinder3OOR=1,20,250,255,0,0,${If[${Me.Gem[3].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[3].Range}]},N,]},]},]} 
   RangeFinder3NA=1,20,250,255,255,255,${If[${Me.Gem[3].Range}==0,NA,]} 
       Spell3Name=1,40,250,255,255,255,${If[${Me.SpellReady[3]},${Me.Gem[3]},]} 
 Spell3NameNotRDY=1,40,250,100,100,100,${If[${Me.SpellReady[3]},,${Me.Gem[3]}]} 
Spell3CastAmmount=1,40,250,0,255,255,${If[${Me.Gem[3].Name.NotEqual["NULL"]},${Me.Gem[3]}  [ ${If[${Me.Gem[3].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[3].Mana},${Me.Gem[3].Mana},9999999999]}].Int},]} ],]} 

RangeFinder4label=1,10,265,255,234,8,4 
     RangeFinder4=1,20,265,0,255,0,${If[${Me.Gem[4].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[4].Range}]},Y,]},]},]} 
  RangeFinder4OOR=1,20,265,255,0,0,${If[${Me.Gem[4].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[4].Range}]},N,]},]},]} 
   RangeFinder4NA=1,20,265,255,255,255,${If[${Me.Gem[4].Range}==0,NA,]} 
       Spell4Name=1,40,265,255,255,255,${If[${Me.SpellReady[4]},${Me.Gem[4]},]} 
 Spell4NameNotRDY=1,40,265,100,100,100,${If[${Me.SpellReady[4]},,${Me.Gem[4]}]} 
Spell4CastAmmount=1,40,265,0,255,255,${If[${Me.Gem[4].Name.NotEqual["NULL"]},${Me.Gem[4]}  [ ${If[${Me.Gem[4].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[4].Mana},${Me.Gem[4].Mana},9999999999]}].Int},]} ],]} 

RangeFinder5label=1,10,280,255,234,8,5 
     RangeFinder5=1,20,280,0,255,0,${If[${Me.Gem[5].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[5].Range}]},Y,]},]},]} 
  RangeFinder5OOR=1,20,280,255,0,0,${If[${Me.Gem[5].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[5].Range}]},N,]},]},]} 
   RangeFinder5NA=1,20,280,255,255,255,${If[${Me.Gem[5].Range}==0,NA,]} 
       Spell5Name=1,40,280,255,255,255,${If[${Me.SpellReady[5]},${Me.Gem[5]},]} 
 Spell5NameNotRDY=1,40,280,100,100,100,${If[${Me.SpellReady[5]},,${Me.Gem[5]}]} 
Spell5CastAmmount=1,40,280,0,255,255,${If[${Me.Gem[5].Name.NotEqual["NULL"]},${Me.Gem[5]}  [ ${If[${Me.Gem[5].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[5].Mana},${Me.Gem[5].Mana},9999999999]}].Int},]} ],]} 

RangeFinder6label=1,10,295,255,234,8,6 
     RangeFinder6=1,20,295,0,255,0,${If[${Me.Gem[6].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[6].Range}]},Y,]},]},]} 
  RangeFinder6OOR=1,20,295,255,0,0,${If[${Me.Gem[6].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[6].Range}]},N,]},]},]} 
   RangeFinder6NA=1,20,295,255,255,255,${If[${Me.Gem[6].Range}==0,NA,]} 
       Spell6Name=1,40,295,255,255,255,${If[${Me.SpellReady[6]},${Me.Gem[6]},]} 
 Spell6NameNotRDY=1,40,295,100,100,100,${If[${Me.SpellReady[6]},,${Me.Gem[6]}]} 
Spell6CastAmmount=1,40,295,0,255,255,${If[${Me.Gem[6].Name.NotEqual["NULL"]},${Me.Gem[6]}  [ ${If[${Me.Gem[6].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[6].Mana},${Me.Gem[6].Mana},9999999999]}].Int},]} ],]} 

RangeFinder7label=1,10,310,255,234,8,7 
     RangeFinder7=1,20,310,0,255,0,${If[${Me.Gem[7].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[7].Range}]},Y,]},]},]} 
  RangeFinder7OOR=1,20,310,255,0,0,${If[${Me.Gem[7].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[7].Range}]},N,]},]},]} 
   RangeFinder7NA=1,20,310,255,255,255,${If[${Me.Gem[7].Range}==0,NA,]} 
       Spell7Name=1,40,310,255,255,255,${If[${Me.SpellReady[7]},${Me.Gem[7]},]} 
 Spell7NameNotRDY=1,40,310,100,100,100,${If[${Me.SpellReady[7]},,${Me.Gem[7]}]} 
Spell7CastAmmount=1,40,310,0,255,255,${If[${Me.Gem[7].Name.NotEqual["NULL"]},${Me.Gem[7]}  [ ${If[${Me.Gem[7].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[7].Mana},${Me.Gem[7].Mana},9999999999]}].Int},]} ],]} 

RangeFinder8label=1,10,325,255,234,8,8 
     RangeFinder8=1,20,325,0,255,0,${If[${Me.Gem[8].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[8].Range}]},Y,]},]},]} 
  RangeFinder8OOR=1,20,325,255,0,0,${If[${Me.Gem[8].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[8].Range}]},N,]},]},]} 
   RangeFinder8NA=1,20,325,255,255,255,${If[${Me.Gem[8].Range}==0,NA,]} 
       Spell8Name=1,40,325,255,255,255,${If[${Me.SpellReady[8]},${Me.Gem[8]},]} 
 Spell8NameNotRDY=1,40,325,100,100,100,${If[${Me.SpellReady[8]},,${Me.Gem[8]}]} 
Spell8CastAmmount=1,40,325,0,255,255,${If[${Me.Gem[8].Name.NotEqual["NULL"]},${Me.Gem[8]}  [ ${If[${Me.Gem[8].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[8].Mana},${Me.Gem[8].Mana},9999999999]}].Int},]} ],]} 

RangeFinder9label=1,10,340,255,234,8,9
     RangeFinder9=1,20,340,0,255,0,${If[${Me.Gem[9].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[9].Range}]},Y,]},]},]}
  RangeFinder9OOR=1,20,340,255,0,0,${If[${Me.Gem[9].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[9].Range}]},N,]},]},]}
   RangeFinder9NA=1,20,340,255,255,255,${If[${Me.Gem[9].Range}==0,NA,]}
       Spell9Name=1,40,340,255,255,255,${If[${Me.SpellReady[9]},${Me.Gem[9]},]}
 Spell9NameNotRDY=1,40,340,100,100,100,${If[${Me.SpellReady[9]},,${Me.Gem[9]}]}
Spell9CastAmmount=1,40,340,0,255,255,${If[${Me.Gem[9].Name.NotEqual["NULL"]},${Me.Gem[9]}  [ ${If[${Me.Gem[9].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[9].Mana},${Me.Gem[9].Mana},9999999999]}].Int},]} ],]}

[pet]
; MY PET INFO
      PetInfo=1,010,260,255,234,8,${If[${Me.Pet.ID},Pet Information: ${Me.Pet.Name},]}
   PetHpGuage=1,010,270,255,000,000,${If[${Me.Pet.ID},${String[====================].Left[${Int[${Math.Calc[${Int[${Me.Pet.PctHPs}]}*.2]}]}]},]} 
  PetHpGuage2=1,010,270,255,255,255,${If[${Me.Pet.ID},====================,]} 
     PetHpPct=1,140,270,255,255,255,${If[${Me.Pet.ID},${Me.Pet.PctHPs}%,]} 
     PetBuff1=1,010,280,255,255,255,${If[${Me.PetBuff[1].Name.NotEqual["NULL"]},${Me.PetBuff[1]},]} 
     PetBuff2=1,010,290,255,255,255,${If[${Me.PetBuff[2].Name.NotEqual["NULL"]},${Me.PetBuff[2]},]} 
     PetBuff3=1,010,300,255,255,255,${If[${Me.PetBuff[3].Name.NotEqual["NULL"]},${Me.PetBuff[3]},]} 
     PetBuff4=1,010,310,255,255,255,${If[${Me.PetBuff[4].Name.NotEqual["NULL"]},${Me.PetBuff[4]},]} 
     PetBuff5=1,010,320,255,255,255,${If[${Me.PetBuff[5].Name.NotEqual["NULL"]},${Me.PetBuff[5]},]} 
     PetBuff6=1,010,330,255,255,255,${If[${Me.PetBuff[6].Name.NotEqual["NULL"]},${Me.PetBuff[6]},]} 
     PetBuff7=1,010,340,255,255,255,${If[${Me.PetBuff[7].Name.NotEqual["NULL"]},${Me.PetBuff[7]},]} 
     PetBuff8=1,010,350,255,255,255,${If[${Me.PetBuff[8].Name.NotEqual["NULL"]},${Me.PetBuff[8]},]} 
     PetBuff9=1,010,360,255,255,255,${If[${Me.PetBuff[9].Name.NotEqual["NULL"]},${Me.PetBuff[9]},]} 
    PetBuff10=1,010,370,255,255,255,${If[${Me.PetBuff[10].Name.NotEqual["NULL"]},${Me.PetBuff[10]},]} 
    PetBuff11=1,010,380,255,255,255,${If[${Me.PetBuff[11].Name.NotEqual["NULL"]},${Me.PetBuff[11]},]} 
    PetBuff12=1,010,390,255,255,255,${If[${Me.PetBuff[12].Name.NotEqual["NULL"]},${Me.PetBuff[12]},]} 
    PetBuff13=1,010,400,255,255,255,${If[${Me.PetBuff[13].Name.NotEqual["NULL"]},${Me.PetBuff[13]},]} 
    PetBuff14=1,010,410,255,255,255,${If[${Me.PetBuff[14].Name.NotEqual["NULL"]},${Me.PetBuff[14]},]} 
    PetBuff15=1,010,420,255,255,255,${If[${Me.PetBuff[15].Name.NotEqual["NULL"]},${Me.PetBuff[15]},]} 

;==============================================================================================================================================
;==============================================================================================================================================

;[MQ2HUD]
;Last=Elements
;SkipParse=10
;CheckINI=100
;UpdateInBackground=off
[Somedamntoon_nameless]
Last=Elements,me,advtarg,spellbuffs,spells,macrotime,gmtell,smallme,songbuffs
SkipParse=10
CheckINI=100
UpdateInBackground=on
You really need Crazy's Improved HUD plugin for this to work. See his link above.
23:30 1/8/05
Last edited by aChallenged1 on Sat Jan 08, 2005 11:27 pm, edited 3 times in total.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Jan 05, 2005 10:06 pm

Opps, need to work on the group section. I'll fix it sometime tomorrow.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

krea823
orc pawn
orc pawn
Posts: 16
Joined: Thu Apr 15, 2004 9:57 am

Post by krea823 » Thu Jan 06, 2005 6:47 pm

Nicely done aC1. I like

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Jan 06, 2005 9:08 pm

still need to fix the group section, but yeah, I like the set up.
Now I just need to figure out how to make the spell list disappear when it's a non caster. I'm sure it's in the manual and when I get it done I'll make that go away, like the pet info and target info do currently.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Jan 06, 2005 11:40 pm

Or you could use the hud patch I just posted to turn sections on and off rather than evaluating conditions every frame just to not display things..

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Jan 07, 2005 7:12 am

Sure Crazy, tease me but leave me stranded looking for the patch. LOL
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Fri Jan 07, 2005 8:26 am


User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Fri Jan 07, 2005 10:22 am

Playing with this a bit. Nice hud, a few suggestions.

Many of us have >15 buff slots. You can check how any >15 they have by checking how many points they've spent on the "mystical attuning" AA and dividing that by 5. You also might want to display {Me.FreeBuffSlots} somewhere prominent..useful info to have.

Show the slot # even when there's no buff in that slot. This gives another quick visual cue as to how many slots are free, and a lot of people like to try to keep certain buffs in certain slots, especially when engaging a dispelling mob or what-have-you. This also helps if you've made aliases like /click1 - /click20 to click off unwanted buffs quickly.

Yet another buff suggestion. Do something with Buff[x].Spell.SpellType (perhaps showing the number in red or green) to show whether the buff is beneficial or detrimental, since they won't have the icons to use as a visual cue. Maybe also some indication if they're soon-to-fade.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Jan 07, 2005 3:06 pm

Cr4zyb4rd wrote:Playing with this a bit. Nice hud, a few suggestions.

Many of us have >15 buff slots. You can check how any >15 they have by checking how many points they've spent on the "mystical attuning" AA and dividing that by 5. You also might want to display {Me.FreeBuffSlots} somewhere prominent..useful info to have.

Show the slot # even when there's no buff in that slot. This gives another quick visual cue as to how many slots are free, and a lot of people like to try to keep certain buffs in certain slots, especially when engaging a dispelling mob or what-have-you. This also helps if you've made aliases like /click1 - /click20 to click off unwanted buffs quickly.

Yet another buff suggestion. Do something with Buff[x].Spell.SpellType (perhaps showing the number in red or green) to show whether the buff is beneficial or detrimental, since they won't have the icons to use as a visual cue. Maybe also some indication if they're soon-to-fade.
Nice. I don't have OoW, so I wasn't aware of the additional buff slots, just like I wasn't aware of the additional spell gem.

I guess for the buff slot = pos v. neg would use a simple if statement such as... if buff[n] != detrimental then show color red else green. I'll look into what I can do for that. Should be intersting, I'm gonna learn something I'm sure.

As for the rest, I'll try to figure it out... time to read the manual some more. Thanks for the ideas.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Clueless_Coder
a hill giant
a hill giant
Posts: 192
Joined: Wed Aug 25, 2004 3:18 pm

Post by Clueless_Coder » Sat Jan 08, 2005 4:29 pm

Very nice HUD. Just a cuppla quick questions tho:

One: Where does the HUD pull the info for spell availability from? I generally keep both Divine Aura and Divine Barrier loaded. It shows DA and Yaulp VII as NA, which makes sense, since they're self only. But it also shows DA as being available to cast on my target. Confusing the spell with the AA ability BDA perhaps?

Two: Yes I'm a n00b to HUDs. The one I've used up to now has been more informational than really functional. If I wanted to use the HUD in place of say, the Buff window or spell window, how do you load and unload spells or click off buffs without having the actual window open?

Meantime been fiddling with this and:

Added the 9th spell gem to the Spells section:

Code: Select all

[spells]
; SPELL GEMS
         LOSCheck=1,10,355,255,234,8,${If[${Target.ID},Line of Sight:,]}
LOSCheckResponseT=1,80,355,0,255,0,${If[${Target.ID},${If[${Target.LineOfSight},TRUE,]},]}
LOSCheckResponseF=1,80,355,255,0,0,${If[${Target.ID},${If[${Target.LineOfSight},,FALSE]},]}

RangeFinder1label=1,10,220,255,234,8,1
     RangeFinder1=1,15,220,0,255,0,${If[${Me.Gem[1].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[1].Range}]},Y,]},]},]}
  RangeFinder1OOR=1,15,220,255,0,0,${If[${Me.Gem[1].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[1].Range}]},N,]},]},]}
   RangeFinder1NA=1,15,220,255,255,255,${If[${Me.Gem[1].Range}==0,NA,]}
       Spell1Name=1,30,220,255,255,255,${If[${Me.SpellReady[1]},${Me.Gem[1]},]}
 Spell1NameNotRDY=1,30,220,100,100,100,${If[${Me.SpellReady[1]},,${Me.Gem[1]}]}
Spell1CastAmmount=1,30,220,0,255,255,${If[${Me.Gem[1].Name.NotEqual["NULL"]},${Me.Gem[1]}  [ ${If[${Me.Gem[1].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[1].Mana},${Me.Gem[1].Mana},9999999999]}].Int},]} ],]}

RangeFinder2label=1,10,235,255,234,8,2
     RangeFinder2=1,15,235,0,255,0,${If[${Me.Gem[2].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[2].Range}]},Y,]},]},]}
  RangeFinder2OOR=1,15,235,255,0,0,${If[${Me.Gem[2].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[2].Range}]},N,]},]},]}
   RangeFinder2NA=1,15,235,255,255,255,${If[${Me.Gem[2].Range}==0,NA,]}
       Spell2Name=1,30,235,255,255,255,${If[${Me.SpellReady[2]},${Me.Gem[2]},]}
 Spell2NameNotRDY=1,30,235,100,100,100,${If[${Me.SpellReady[2]},,${Me.Gem[2]}]}
Spell2CastAmmount=1,30,235,0,255,255,${If[${Me.Gem[2].Name.NotEqual["NULL"]},${Me.Gem[2]}  [ ${If[${Me.Gem[2].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[2].Mana},${Me.Gem[2].Mana},9999999999]}].Int},]} ],]}

RangeFinder3label=1,10,250,255,234,8,3
     RangeFinder3=1,15,250,0,255,0,${If[${Me.Gem[3].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[3].Range}]},Y,]},]},]}
  RangeFinder3OOR=1,15,250,255,0,0,${If[${Me.Gem[3].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[3].Range}]},N,]},]},]}
   RangeFinder3NA=1,15,250,255,255,255,${If[${Me.Gem[3].Range}==0,NA,]}
       Spell3Name=1,30,250,255,255,255,${If[${Me.SpellReady[3]},${Me.Gem[3]},]}
 Spell3NameNotRDY=1,30,250,100,100,100,${If[${Me.SpellReady[3]},,${Me.Gem[3]}]}
Spell3CastAmmount=1,30,250,0,255,255,${If[${Me.Gem[3].Name.NotEqual["NULL"]},${Me.Gem[3]}  [ ${If[${Me.Gem[3].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[3].Mana},${Me.Gem[3].Mana},9999999999]}].Int},]} ],]}

RangeFinder4label=1,10,265,255,234,8,4
     RangeFinder4=1,15,265,0,255,0,${If[${Me.Gem[4].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[4].Range}]},Y,]},]},]}
  RangeFinder4OOR=1,15,265,255,0,0,${If[${Me.Gem[4].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[4].Range}]},N,]},]},]}
   RangeFinder4NA=1,15,265,255,255,255,${If[${Me.Gem[4].Range}==0,NA,]}
       Spell4Name=1,30,265,255,255,255,${If[${Me.SpellReady[4]},${Me.Gem[4]},]}
 Spell4NameNotRDY=1,30,265,100,100,100,${If[${Me.SpellReady[4]},,${Me.Gem[4]}]}
Spell4CastAmmount=1,30,265,0,255,255,${If[${Me.Gem[4].Name.NotEqual["NULL"]},${Me.Gem[4]}  [ ${If[${Me.Gem[4].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[4].Mana},${Me.Gem[4].Mana},9999999999]}].Int},]} ],]}

RangeFinder5label=1,10,280,255,234,8,5
     RangeFinder5=1,15,280,0,255,0,${If[${Me.Gem[5].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[5].Range}]},Y,]},]},]}
  RangeFinder5OOR=1,15,280,255,0,0,${If[${Me.Gem[5].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[5].Range}]},N,]},]},]}
   RangeFinder5NA=1,15,280,255,255,255,${If[${Me.Gem[5].Range}==0,NA,]}
       Spell5Name=1,30,280,255,255,255,${If[${Me.SpellReady[5]},${Me.Gem[5]},]}
 Spell5NameNotRDY=1,30,280,100,100,100,${If[${Me.SpellReady[5]},,${Me.Gem[5]}]}
Spell5CastAmmount=1,30,280,0,255,255,${If[${Me.Gem[5].Name.NotEqual["NULL"]},${Me.Gem[5]}  [ ${If[${Me.Gem[5].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[5].Mana},${Me.Gem[5].Mana},9999999999]}].Int},]} ],]}

RangeFinder6label=1,10,295,255,234,8,6
     RangeFinder6=1,15,295,0,255,0,${If[${Me.Gem[6].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[6].Range}]},Y,]},]},]}
  RangeFinder6OOR=1,15,295,255,0,0,${If[${Me.Gem[6].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[6].Range}]},N,]},]},]}
   RangeFinder6NA=1,15,295,255,255,255,${If[${Me.Gem[6].Range}==0,NA,]}
       Spell6Name=1,30,295,255,255,255,${If[${Me.SpellReady[6]},${Me.Gem[6]},]}
 Spell6NameNotRDY=1,30,295,100,100,100,${If[${Me.SpellReady[6]},,${Me.Gem[6]}]}

Spell6CastAmmount=1,30,295,0,255,255,${If[${Me.Gem[6].Name.NotEqual["NULL"]},${Me.Gem[6]}  [ ${If[${Me.Gem[6].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[6].Mana},${Me.Gem[6].Mana},9999999999]}].Int},]} ],]}

RangeFinder7label=1,10,310,255,234,8,7
     RangeFinder7=1,15,310,0,255,0,${If[${Me.Gem[7].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[7].Range}]},Y,]},]},]}
  RangeFinder7OOR=1,15,310,255,0,0,${If[${Me.Gem[7].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[7].Range}]},N,]},]},]}
   RangeFinder7NA=1,15,310,255,255,255,${If[${Me.Gem[7].Range}==0,NA,]}
       Spell7Name=1,30,310,255,255,255,${If[${Me.SpellReady[7]},${Me.Gem[7]},]}
 Spell7NameNotRDY=1,30,310,100,100,100,${If[${Me.SpellReady[7]},,${Me.Gem[7]}]}
Spell7CastAmmount=1,30,310,0,255,255,${If[${Me.Gem[7].Name.NotEqual["NULL"]},${Me.Gem[7]}  [ ${If[${Me.Gem[7].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[7].Mana},${Me.Gem[7].Mana},9999999999]}].Int},]} ],]}

RangeFinder8label=1,10,325,255,234,8,8
     RangeFinder8=1,15,325,0,255,0,${If[${Me.Gem[8].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[8].Range}]},Y,]},]},]}
  RangeFinder8OOR=1,15,325,255,0,0,${If[${Me.Gem[8].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[8].Range}]},N,]},]},]}
   RangeFinder8NA=1,15,325,255,255,255,${If[${Me.Gem[8].Range}==0,NA,]}
       Spell8Name=1,30,325,255,255,255,${If[${Me.SpellReady[8]},${Me.Gem[8]},]}
 Spell8NameNotRDY=1,30,325,100,100,100,${If[${Me.SpellReady[8]},,${Me.Gem[8]}]}
Spell8CastAmmount=1,30,325,0,255,255,${If[${Me.Gem[8].Name.NotEqual["NULL"]},${Me.Gem[8]}  [ ${If[${Me.Gem[8].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[8].Mana},${Me.Gem[8].Mana},9999999999]}].Int},]} ],]}

RangeFinder9label=1,10,340,255,234,8,9
     RangeFinder9=1,15,340,0,255,0,${If[${Me.Gem[9].Range}>0,${If[${Target.ID},${If[${Target.Distance}<=${Math.Calc[1.00*${Me.Gem[9].Range}]},Y,]},]},]}
  RangeFinder9OOR=1,15,340,255,0,0,${If[${Me.Gem[9].Range}>0,${If[${Target.ID},${If[${Target.Distance}>${Math.Calc[1.00*${Me.Gem[9].Range}]},N,]},]},]}
   RangeFinder9NA=1,15,340,255,255,255,${If[${Me.Gem[9].Range}==0,NA,]}
       Spell9Name=1,30,340,255,255,255,${If[${Me.SpellReady[9]},${Me.Gem[9]},]}
 Spell9NameNotRDY=1,30,340,100,100,100,${If[${Me.SpellReady[9]},,${Me.Gem[9]}]}
Spell9CastAmmount=1,30,340,0,255,255,${If[${Me.Gem[9].Name.NotEqual["NULL"]},${Me.Gem[9]}  [ ${If[${Me.Gem[9].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[9].Mana},${Me.Gem[9].Mana},9999999999]}].Int},]} ],]}
Added the extra 5 Buff slots :

Code: Select all

; MY BUFFS
     BuffInfo=1,1080,280,255,234,8,Buff Information:
      MyBuff1=1,1080,290,255,255,255, ${If[${Me.Buff[1].Name.NotEqual["NULL"]},1    ${Me.Buff[1]},]}
       Timer1=1,1080,290,000,255,000, ${If[${Me.Buff[1].Name.NotEqual["NULL"]},1    ${Me.Buff[1]},]}  ${If[${Me.Buff[1].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[1].Duration.TimeHMS}],]}
      MyBuff2=1,1080,302,255,255,255, ${If[${Me.Buff[2].Name.NotEqual["NULL"]},2    ${Me.Buff[2]},]}
       Timer2=1,1080,302,000,255,000, ${If[${Me.Buff[2].Name.NotEqual["NULL"]},2    ${Me.Buff[2]},]}  ${If[${Me.Buff[2].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[2].Duration.TimeHMS}],]}
      MyBuff3=1,1080,314,255,255,255, ${If[${Me.Buff[3].Name.NotEqual["NULL"]},3    ${Me.Buff[3]},]}
       Timer3=1,1080,314,000,255,000, ${If[${Me.Buff[3].Name.NotEqual["NULL"]},3    ${Me.Buff[3]},]}  ${If[${Me.Buff[3].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[3].Duration.TimeHMS}],]}
      MyBuff4=1,1080,326,255,255,255, ${If[${Me.Buff[4].Name.NotEqual["NULL"]},4    ${Me.Buff[4]},]}
       Timer4=1,1080,326,000,255,000, ${If[${Me.Buff[4].Name.NotEqual["NULL"]},4    ${Me.Buff[4]},]}  ${If[${Me.Buff[4].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[4].Duration.TimeHMS}],]}
      MyBuff5=1,1080,338,255,255,255, ${If[${Me.Buff[5].Name.NotEqual["NULL"]},5    ${Me.Buff[5]},]}
       Timer5=1,1080,338,000,255,000, ${If[${Me.Buff[5].Name.NotEqual["NULL"]},5    ${Me.Buff[5]},]}  ${If[${Me.Buff[5].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[5].Duration.TimeHMS}],]}
      MyBuff6=1,1080,350,255,255,255, ${If[${Me.Buff[6].Name.NotEqual["NULL"]},6    ${Me.Buff[6]},]}
       Timer6=1,1080,350,000,255,000, ${If[${Me.Buff[6].Name.NotEqual["NULL"]},6    ${Me.Buff[6]},]}  ${If[${Me.Buff[6].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[6].Duration.TimeHMS}],]}
      MyBuff7=1,1080,362,255,255,255, ${If[${Me.Buff[7].Name.NotEqual["NULL"]},7    ${Me.Buff[7]},]}
       Timer7=1,1080,362,000,255,000, ${If[${Me.Buff[7].Name.NotEqual["NULL"]},7    ${Me.Buff[7]},]}  ${If[${Me.Buff[7].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[7].Duration.TimeHMS}],]}
      MyBuff8=1,1080,374,255,255,255, ${If[${Me.Buff[8].Name.NotEqual["NULL"]},8    ${Me.Buff[8]},]}
       Timer8=1,1080,374,000,255,000, ${If[${Me.Buff[8].Name.NotEqual["NULL"]},8    ${Me.Buff[8]},]}  ${If[${Me.Buff[8].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[8].Duration.TimeHMS}],]}
      MyBuff9=1,1080,386,255,255,255, ${If[${Me.Buff[9].Name.NotEqual["NULL"]},9    ${Me.Buff[9]},]}
       Timer9=1,1080,386,000,255,000, ${If[${Me.Buff[9].Name.NotEqual["NULL"]},9    ${Me.Buff[9]},]}  ${If[${Me.Buff[9].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[9].Duration.TimeHMS}],]}
     MyBuff10=1,1080,398,255,255,255,${If[${Me.Buff[10].Name.NotEqual["NULL"]},10   ${Me.Buff[10]},]}
      Timer10=1,1080,398,000,255,000,${If[${Me.Buff[10].Name.NotEqual["NULL"]},10   ${Me.Buff[10]},]}  ${If[${Me.Buff[10].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[10].Duration.TimeHMS}],]}
     MyBuff11=1,1080,410,255,255,255,${If[${Me.Buff[11].Name.NotEqual["NULL"]},11   ${Me.Buff[11]},]}
      Timer11=1,1080,410,000,255,000,${If[${Me.Buff[11].Name.NotEqual["NULL"]},11   ${Me.Buff[11]},]}  ${If[${Me.Buff[11].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[11].Duration.TimeHMS}],]}
     MyBuff12=1,1080,422,255,255,255,${If[${Me.Buff[12].Name.NotEqual["NULL"]},12   ${Me.Buff[12]},]}
      Timer12=1,1080,422,000,255,000,${If[${Me.Buff[12].Name.NotEqual["NULL"]},12   ${Me.Buff[12]},]}  ${If[${Me.Buff[12].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[12].Duration.TimeHMS}],]}
     MyBuff13=1,1080,434,255,255,255,${If[${Me.Buff[13].Name.NotEqual["NULL"]},13   ${Me.Buff[13]},]}
      Timer13=1,1080,434,000,255,000,${If[${Me.Buff[13].Name.NotEqual["NULL"]},13   ${Me.Buff[13]},]}  ${If[${Me.Buff[13].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[13].Duration.TimeHMS}],]}
     MyBuff14=1,1080,446,255,255,255,${If[${Me.Buff[14].Name.NotEqual["NULL"]},14   ${Me.Buff[14]},]}
      Timer14=1,1080,446,000,255,000,${If[${Me.Buff[14].Name.NotEqual["NULL"]},14   ${Me.Buff[14]},]}  ${If[${Me.Buff[14].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[14].Duration.TimeHMS}],]}
     MyBuff15=1,1080,458,255,255,255,${If[${Me.Buff[15].Name.NotEqual["NULL"]},15   ${Me.Buff[15]},]}
      Timer15=1,1080,458,000,255,000,${If[${Me.Buff[15].Name.NotEqual["NULL"]},15   ${Me.Buff[15]},]}  ${If[${Me.Buff[15].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[15].Duration.TimeHMS}],]}
     MyBuff16=1,1080,470,255,255,255,${If[${Me.Buff[16].Name.NotEqual["NULL"]},16   ${Me.Buff[16]},]}
      Timer16=1,1080,470,000,255,000,${If[${Me.Buff[16].Name.NotEqual["NULL"]},16   ${Me.Buff[16]},]}  ${If[${Me.Buff[16].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[16].Duration.TimeHMS}],]}
     MyBuff17=1,1080,482,255,255,255,${If[${Me.Buff[17].Name.NotEqual["NULL"]},17   ${Me.Buff[17]},]}
      Timer17=1,1080,482,000,255,000,${If[${Me.Buff[17].Name.NotEqual["NULL"]},17   ${Me.Buff[17]},]}  ${If[${Me.Buff[17].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[17].Duration.TimeHMS}],]}
     MyBuff18=1,1080,494,255,255,255,${If[${Me.Buff[18].Name.NotEqual["NULL"]},18   ${Me.Buff[18]},]}
      Timer18=1,1080,494,000,255,000,${If[${Me.Buff[18].Name.NotEqual["NULL"]},18   ${Me.Buff[18]},]}  ${If[${Me.Buff[18].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[18].Duration.TimeHMS}],]}
     MyBuff19=1,1080,506,255,255,255,${If[${Me.Buff[19].Name.NotEqual["NULL"]},19   ${Me.Buff[19]},]}
      Timer19=1,1080,506,000,255,000,${If[${Me.Buff[19].Name.NotEqual["NULL"]},19   ${Me.Buff[19]},]}  ${If[${Me.Buff[19].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[19].Duration.TimeHMS}],]}
     MyBuff20=1,1080,518,255,255,255,${If[${Me.Buff[20].Name.NotEqual["NULL"]},20   ${Me.Buff[20]},]}
      Timer20=1,1080,518,000,255,000,${If[${Me.Buff[20].Name.NotEqual["NULL"]},20   ${Me.Buff[20]},]}  ${If[${Me.Buff[20].Duration.TimeHMS.NotEqual["NULL"]},[${Me.Buff[20].Duration.TimeHMS}],]}

And added a HoTT Module that sits right next to the AdvTarg Module:

Code: Select all

[HoTT]
;HoTT DATA
	   TargetInfo=1,810,150,255,234,8,${If[${Target.ID},HoTT Information:,]}
	 TargetNameHP=1,790,170,255,255,255,${If[${Target.ID},${Me.TargetOfTarget.CleanName},]}
          TargetGuage=1,790,180,255,0,0,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.TargetOfTarget.PctHPs}]}*.2]}]}]}
            NormGuage=1,790,180,255,255,255,${If[${Target.ID},====================  ${Me.TargetOfTarget.PctHPs}%,]}
       TargetLVLClass=1,790,190,0,255,0,${If[${Target.ID},${Me.TargetOfTarget.Level} ${Me.TargetOfTarget.Class},]}   
 	     GreenCon=1,790,205,0,255,0,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["GREEN"]},${Me.TargetOfTarget.ConColor},]},]}
	 LightBlueCon=1,790,205,0,255,255,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["LIGHT BLUE"]},${Me.TargetOfTarget.ConColor},]},]}	      
	      BlueCon=1,790,205,0,0,255,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["BLUE"]},${Me.TargetOfTarget.ConColor},]},]}
 	     WhiteCon=1,790,205,255,255,255,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["WHITE"]},${Me.TargetOfTarget.ConColor},]},]}
           YelllowCon=1,790,205,255,255,0,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["YELLOW"]},${Me.TargetOfTarget.ConColor},]},]}
               RedCon=1,790,205,255,0,0,${If[${Target.ID},${If[${Me.TargetOfTarget.ConColor.Equal["RED"]},${Me.TargetOfTarget.ConColor},]},]}
TargetMaxMeleeHeading=1,790,215,10,200,10,${If[${Target.ID},Max Melee: ${Me.TargetOfTarget.MaxRangeTo}   Heading: ${Me.TargetOfTarget.Heading},]}
            TargetLOC=1,790,225,10,200,10,${If[${Target.ID},Y: ${Me.TargetOfTarget.Y} (${Math.Calc[${Me.TargetOfTarget.Y}-${Me.Y}]}) X: ${Me.TargetOfTarget.X} (${Math.Calc[${Me.TargetOfTarget.X}-${Me.X}]}),]}
              TargetZ=1,790,235,10,200,10,${If[${Target.ID},Z: ${Me.TargetOfTarget.Z} (${Math.Calc[${Me.TargetOfTarget.Z}-${Me.Z}]}),]}
Nothing fancy. The buffs are just to show all 20 slots if available. The HoTT reflects the same data as the Adv Target and sits right next to it

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sat Jan 08, 2005 11:28 pm

Two: Yes I'm a n00b to HUDs. The one I've used up to now has been more informational than really functional. If I wanted to use the HUD in place of say, the Buff window or spell window, how do you load and unload spells or click off buffs without having the actual window open?
You've got two options here, you can go with a minimal UI -- say a transparent window that only has a tiny button for each spell/buff that you can still use if you want to click them off, or just completely transparent with regions you can click on that you'd have to line up with your HUD. As far as I know, nobody's written these (or at least not posted them) though I may be mistaken.

Option two, use commands. Make an alias for all of your common spells

Code: Select all

/alias /memsnare /mem 1 "Skippy McGee's Tangling Foot Fungus"
/alias /memnuke /mem 1 "Set Up Us The Bomb"
or use /loadspell and go with spellsets. You can do the same for clicking off buffs. I have aliases set up for

Code: Select all

/buff2=/notify BuffWindow Buff1 leftmouseup
/buff3=/notify BuffWindow Buff2 leftmouseup
/buff4=/notify BuffWindow Buff3 leftmouseup
/buff5=/notify BuffWindow Buff4 leftmouseup
and so on.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sat Jan 08, 2005 11:32 pm

Updated my hud at the top implementing the 9th spell gem by Clueless_Coder and HER Target of Target (in its own hud setting).

Some of the changes due to forgetting to check song buff lineup, they weren't set up properly but should be now.

Again, you really need to go to http://www.macroquest2.com/phpBB2/viewtopic.php?t=9946 the plugin at this address as well as the one at this thread http://www.macroquest2.com/phpBB2/viewtopic.php?t=9087

Edited to remove the offending "his" for a fem coder. LOL
Last edited by aChallenged1 on Sun Jan 09, 2005 6:32 am, edited 1 time in total.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Clueless_Coder
a hill giant
a hill giant
Posts: 192
Joined: Wed Aug 25, 2004 3:18 pm

Post by Clueless_Coder » Sun Jan 09, 2005 6:18 am

aChallenged1 wrote:Edited to remove the offending "his" for a fem coder. LOL
TY TY TY :P

Kaitan
a lesser mummy
a lesser mummy
Posts: 63
Joined: Thu Aug 18, 2005 12:44 am

Post by Kaitan » Thu Aug 03, 2006 8:05 am

Been looking at all sorts of different hud code and came across this one. Would love to implement it all to see what it truely looks like. I've noticed this code still has the ${string} issue in it and spent about 4 hours scouring the forums, wiki, and experimenting with it to try to make it work. I now ask is it possible to make the bars work as originally intended? This is just one section of the code that I'm curious about.

Code: Select all

        MyHp=1,1145,72,255,255,255,H
    MyHpGuage=1,1157,72,255,000,000,${String[====================].Left[${Int[${Math.Calc[${Int[${Me.PctHPs}]}*.2]}]}]}
   MyHpGuage2=1,1157,72,255,255,255,====================
      MyHpPct=1,1158,62,255,255,255,${Me.PctHPs}%
      MyHpNum=1,1195,62,000,255,000,${Me.CurrentHPs} / ${Me.MaxHPs}  +${Me.HPRegen}
I've come to a personal conclusion that it's no longer possible but since I just dabble a little in this aspect of things I decided to finally post and see what the experts had to say about if this is still possible. Thanks in advance for any help.

toomanynames
a grimling bloodguard
a grimling bloodguard
Posts: 1844
Joined: Mon Apr 11, 2005 11:10 am

Post by toomanynames » Thu Aug 03, 2006 9:33 am

I'm not sure how you can do it in just HUD code but if you had / have a macro running you could do this:

In your macro

Code: Select all

/declare HPHudBar string outer "===================="
In the hud code you have

Code: Select all

MyHpGuage=1,1157,72,255,000,000,${HPHudBar.Left[${Int[${Math.Calc[${Int[${Me.PctHPs}]}*.2]}]}]} 
   MyHpGuage2=1,1157,72,255,255,255,==================== 
I think this would work, could have some issues if the hud is up without the macro running but they shouldn't be catasrophic
[quote="DKAA"]You cant. Only the server knows.[/quote]