Basic left side hud

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

Moderator: MacroQuest Developers

MareDK
a snow griffon
a snow griffon
Posts: 329
Joined: Mon Jan 31, 2005 12:01 pm

Post by MareDK » Fri Aug 11, 2006 2:12 pm

noticed that raidleader shows NULL when not in raid, shouldn't it show nothing like the groupleader does when not in grp?

Everything else looks super, should have time to add a few cleric AAs (those I got so far) soon when I am not hooked up in work all the time.

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Aug 11, 2006 2:14 pm

i realized what you were doing... so the field text was diff color....

I changed this part to

Put Mob name in yellow... other info in CON Color

Code: Select all

   //TargetInfo   
TargetName=1,5,240,255,255,0,${If[${Target.ID},${Target.CleanName} - ,]}        
      GreenCon=1,5,240,0,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["GREEN"]},${Target.CleanName} - ${Target.Level} ${Target.Race} ${Target.Class},]},]}
      LightBlueCon=1,5,240,0,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["LIGHT BLUE"]},${Target.CleanName} - ${Target.Level} ${Target.Race} ${Target.Class},]},]}
      BlueCon=1,5,240,0,0,255,${If[${Target.ID},${If[${Target.ConColor.Equal["BLUE"]},${Target.CleanName} - ${Target.Level} ${Target.Race} ${Target.Class},]},]}
      WhiteCon=1,5,240,255,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["WHITE"]},${Target.CleanName} - ${Target.Level} ${Target.Race} ${Target.Class},]},]}
      YellowCon=1,5,240,255,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["YELLOW"]},${Target.CleanName} - ${Target.Level} ${Target.Race} ${Target.Class},]},]}
      RedCon=1,5,240,255,0,0,${If[${Target.ID},${If[${Target.ConColor.Equal["RED"]},${Target.CleanName} - ${Target.Level} ${Target.Class},]},]}
      TargetSpeed=3,5,255,255,234,8,${If[${Target.Name.NotEqual["NULL"]},RunSpeed is: ,]} 
      TargetSpeed2=3,100,255,0,255,0,${If[${Target.Name.NotEqual["NULL"]},${Target.Speed},]} 
      TargetPctHP=3,5,270,255,234,8,${If[${Target.Name.NotEqual["NULL"]},Percent HP: ,]} 
      TargetPctHP2=3,100,270,0,255,0,${If[${Target.Name.NotEqual["NULL"]},${Target.PctHPs},]} 
      LoStext=3,5,285,255,234,8,${If[${Target.Name.NotEqual["NULL"]},Line of Sight:,]} 
      LoSinfoF=3,100,285,200,25,200,${If[${Target.Name.NotEqual["NULL"]},${LineOfSight[${Me.Y},${Me.X},${Me.Z}:${Target.Y},${Target.X},${Target.Z}]},]} 
      TargetDist=3,5,300,255,234,8,${If[${Target.Name.NotEqual["NULL"]},Target Distance:,]} 
      TargetDist2=3,100,300,0,255,0,${Target.Distance} 
which also added in con color for the mob
Last edited by armysoldier on Fri Aug 11, 2006 7:35 pm, edited 2 times in total.

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Aug 11, 2006 2:17 pm

also updated raidleader code so no null

RaidLeadertext=3,5,104,255,234,8,Raid Leader:
RaidLeader=3,80,104,0,255,0,${If[${Raid},${Raid.Leader},]}

MareDK
a snow griffon
a snow griffon
Posts: 329
Joined: Mon Jan 31, 2005 12:01 pm

Post by MareDK » Fri Aug 11, 2006 2:19 pm

dang that was fast lol I just posted that.

your update before that does that just show the con color of the mob or what changes does it make to the original code?

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Aug 11, 2006 2:24 pm

added your location to the player info

LocationText=3,5,191,255,234,8,Your Loc. is
Locationy=3,75,191,0,255,0, ${Me.Y} ${Me.X} ${Me.Z}

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Aug 11, 2006 2:26 pm

The target info i replaced the original code with what i posted above.

The Text color of your target name, level and class will change depending on the con of the mob to you.

i added the location piece right after the tribute code... and just edited the raidleader info as shown

ARMY

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Aug 11, 2006 3:18 pm

i edited alot of the player info

added raw mana and HP

Changed Group Leader to GL
Changed Raid Leader to RL

combined them onto one line

Added last tell

Added Avail AA and Spent AA to the AAXP line

added RL AA EXP

and added time played


Code: Select all

   //PlayerInfo 
      ZoneShortName=3,5,60,255,234,8,ZoneShortName: 
      ZoneText=3,90,60,0,240,0,${Zone.ShortName}
      Time=3,5,72,255,234,8,The Time Is:                     Played:
      Time2=3,70,72,0,240,0, ${Time.Time12}               ${Int[${Math.Calc[${MacroQuest.Running}/60000]}]}m / ${Math.Calc[${MacroQuest.Running}/60000/60]}h
      Speed=3,5,84,255,234,8,Your RunSpeed Is: 
      Speed2=3,100,84,0,240,0, ${Int[${Me.Speed}]}
      GroupLeadertext=3,5,96,255,234,8,GL: 
      GroupLeader=3,15,96,0,240,0,${If[${Group},${Group.Leader},]} 
      RaidLeadertext=3,100,96,255,234,8,RL: 
      RaidLeader=3,110,96,0,255,0,${If[${Raid},${Raid.Leader},]}
      LastTellText=3,5,108,255,234,8,Last Tell From:
      LastTellName=3,80,108,255,0,8,${If[${MacroQuest.LastTell.NotEqual["NULL"]},${MacroQuest.LastTell},]}
      XPText=3,5,120,255,234,8,XP: 
      XP=3,40,120,0,240,0,${Me.PctExp}
      AAXPText=3,5,132,255,234,8,AAXP:             Avail:        Spent:
      AAXP=3,40,132,0,240,0,${Me.PctAAExp}             ${Me.AAPoints}                ${Me.AAPointsSpent}
      GLXPText=3,5,144,255,234,8,GLXP:                 RLXP:
      GLXP=3,40,144,0,240,0,${Me.GroupLeaderExp}               ${Me.RaidLeaderExp} 
      ManaRegtext=3,5,156,255,234,8,Mana Regen:                           of
      ManaReginfo=3,70,156,0,240,0,${Me.ManaRegen}/Tic
      ManaRawinfo=3,120,156,255,0,8,${Me.CurrentMana}      ${Me.MaxMana}
      HPRegtext=3,5,168,255,234,8,HP Regen:                               of
      HPReginfo=3,70,168,0,240,0,${Me.HPRegen}/Tic
      HPRawinfo=3,120,168,255,0,8,${Me.CurrentHPs}      ${Me.MaxHPs}
      BuffText=3,5,180,255,234,8,Buffs: 
      BuffInfo=3,70,180,0,255,8,${Me.CountBuffs} / ${Int[${Math.Calc[15+(${Me.AltAbility["Mystical Attuning"]}/5)+${If[${Me.AltAbility["Embrace of the Keepers"].ID},1,0]}+${If[${Me.AltAbility["Embrace of the Dark Reign"].ID},1,0]}]}]}  (${Me.FreeBuffSlots} free slots) 
      TribText=3,5,192,255,234,8,Tribute: 
      TribInfo=3,70,192,0,255,0,[ ${If[${Me.TributeActive},On,]}${If[!${Me.TributeActive},Off,]} ] ${Me.CurrentFavor} pts. 
      LocationText=3,5,203,255,234,8,Your Loc. is
      Locationy=3,70,203,0,255,0,${Me.Y}  ${Me.X}  ${Me.Z}

      ;ATKText=3,5,192,255,234,8,ATK: 
      ;ATKInfo=3,5,192,0,255,0,ATK: [ ${Window[InventoryWindow].Child[IW_Subwindows].Child[IW_InvPage].Child[IW_ATKNumber].Text} ] 
      ;ACText=3,5,203,255,234,8,AC: 
      ;ACInfo=3,5,203,0,255,0,AC: [ ${Window[InventoryWindow].Child

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Aug 11, 2006 3:19 pm

this is a very nice HUD IMO ... not too bulky and not too obtrusive.

GREAT job Grund

MareDK
a snow griffon
a snow griffon
Posts: 329
Joined: Mon Jan 31, 2005 12:01 pm

Post by MareDK » Fri Aug 11, 2006 4:14 pm

I hope all these additions and stuff will be put together and put in the first post, some very great additions for sure

MareDK
a snow griffon
a snow griffon
Posts: 329
Joined: Mon Jan 31, 2005 12:01 pm

Post by MareDK » Fri Aug 11, 2006 4:28 pm

addition could we get the mob name changed back to yellow to make it easier to read and just have the lvl# change color please? /bow

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Fri Aug 11, 2006 4:40 pm

i changed the target info i posted..... all it needed was one line added

ARMY

User avatar
grunion
orc pawn
orc pawn
Posts: 27
Joined: Wed Feb 16, 2005 3:33 am

Post by grunion » Fri Aug 11, 2006 7:17 pm

Wow! Thanks Army! I'll edit my first post to include much of what you have here.

I'm still working on AAs, so if you have any more to post that would be great!

User avatar
grunion
orc pawn
orc pawn
Posts: 27
Joined: Wed Feb 16, 2005 3:33 am

Post by grunion » Sun Aug 13, 2006 12:16 pm

**8/13/06**
Added Armysoldier's modifications
Added Enchanter AAs, compliments of Armysoldier
I changed the target concolor bit. Instead of changing the name and level to reflect the concolor I added a block that changes color in front of the target's name. It is much easier to read that way easier to read.

armysoldier
a hill giant
a hill giant
Posts: 189
Joined: Mon Jun 27, 2005 2:13 am
Location: Florida (Stationed at FT Carson CO)

Post by armysoldier » Sun Aug 13, 2006 12:33 pm

hey grund on my target info ... i made the con color change so it shows the level race and class in the con color and the name in yellow as you had originally intended.

when i come home later i will post some other fun stuff 8-)

also the cleric and Mage AA's

army

User avatar
grunion
orc pawn
orc pawn
Posts: 27
Joined: Wed Feb 16, 2005 3:33 am

Post by grunion » Sun Aug 13, 2006 1:13 pm

I took out the race, I just didn't see a need for it, and it made the line on the HUD that much longer. As far as the colors, I made them green to stand out from the mob name. But I loved your concolors, which is why I put the little color block in there. :)

I'm looking forward to your other fun things hehe :)