Very minimal HUD pieces

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

Moderator: MacroQuest Developers

Gurash
decaying skeleton
decaying skeleton
Posts: 9
Joined: Thu Jul 26, 2018 10:40 am

Very minimal HUD pieces

Post by Gurash » Thu Sep 13, 2018 5:25 am

I created this for my wife who didn't want so much stuff on her screen. I like it, so I actually have been using MQ2HUD with this in my .ini file. The background looks solid black most of the time, but I've noticed it could use some more filler lines to make it perfect. Doesn't bother me though. Perhaps this could be useful for someone. Note: If you copy/paste this, be sure it doesn't word-wrap the GTime code

Code: Select all

[Elements] 
// Cursor
;      CursorItem=7,2,75,25,215,215,215,${If[${Cursor.ID},${Cursor},]}

// Player
      InvisStatus=3,2,75,95,0,255,255,${If[${Me.Invis},(Invis),]}
      AFKStatus=3,2,145,95,255,0,0,${If[${Me.AFK},(AFK),]}
      LineBreak2a=3,2,60,100,192,192,192,______________________ 
      LineBreak2b=3,2,60,115,147,112,219, ${Me.Level} ${Me.Race} ${Me.Class}
      LineBreak2c=3,2,60,120,192,192,192,______________________ 
      BG2a=3,2,60,110,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG2b=3,2,60,115,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG2c=3,2,60,120,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG2d=3,2,61,110,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG2e=3,2,61,115,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG2f=3,2,61,120,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      ExperienceText=3,2,60,133,192,192,192, XP:                 AA:
      Experience=3,2,80,133,0,255,0, ${Me.PctExp} %          ${Me.PctAAExp} %
      BG211a=3,2,60,130,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG211b=3,2,61,130,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG211c=3,2,60,136,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG211d=3,2,61,136,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      ZoneName=3,2,60,146,192,192,192, Zone:
      ZoneNameText=3,2,95,146,0,255,0,${Zone.Name}
      BG221a=3,2,60,143,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG221b=3,2,61,143,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG221c=3,2,60,149,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG221d=3,2,61,149,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      LocationText=3,2,60,159,192,192,192, Loc:
      Location=3,2,85,159,147,112,219,${Me.Y}  ${Me.X}  ${Me.Z}
      BG231a=3,2,60,156,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG231b=3,2,61,156,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG231c=3,2,60,162,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG231d=3,2,61,162,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      GTimeText=3,2,60,172,192,192,192, Game Time:
      GTime=3,2,118,172,0,204,255, ${If[${GameTime.Hour} > 12,${Int[${Math.Calc[${GameTime.Hour}-12]}]},${GameTime.Hour}]}:${If[${GameTime.Minute} < 10,0${GameTime.Minute},${GameTime.Minute}]} ${If[${GameTime.Hour} > 11,PM,AM]}
      BG241a=3,2,60,169,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG241b=3,2,61,169,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG241c=3,2,60,173,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG241d=3,2,61,173,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      ETimeText=3,2,60,185,192,192,192, Earth Time:
      ETime=3,2,118,185,255,255,255, ${Time.Time12} ${If[${Time.Hour} > 11,PM,AM]}
      BG251a=3,2,60,182,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG251b=3,2,61,182,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG251c=3,2,60,188,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG251d=3,2,61,188,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      
// Target
      LineBreak1a=3,2,60,189,192,192,192,______________________
      LineBreak1b=3,2,61,204,255,255,255,${If[${Target.ID},  Target    |,]}
      LineBreak1c=3,2,115,204,255,0,0,${If[${Spawn[gm].ID},GM in zone!,]}
      LineBreak1d=3,2,115,204,0,255,0,${If[!${Spawn[gm].ID},No GM present,]}
      LineBreak1e=3,2,60,209,192,192,192,______________________ 
      BG1a=3,2,60,199,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG1b=3,2,60,207,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG1d=3,2,61,199,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      BG1e=3,2,61,207,0,0,0,|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 
      TargetName=3,2,62,222,255,244,8,${If[${Target.ID},${Target.CleanName} - ,]} 
      TargetLevel=3,2,62,222,0,255,0,${If[${Target.ID},${Target.CleanName} - ${Target.Level} ${Target.Class},]} 
      GreyCon1=1,2,56,222,128,128,128,${If[${Target.ID},${If[${Target.ConColor.Equal["GREY"]},||,]},]} 
      GreenCon1=1,2,56,222,0,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["GREEN"]},||,]},]} 
      LightBlueCon1=1,2,56,222,0,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["LIGHT BLUE"]},||,]},]} 
      BlueCon1=1,2,56,222,0,0,255,${If[${Target.ID},${If[${Target.ConColor.Equal["BLUE"]},||,]},]} 
      WhiteCon1=1,2,56,222,255,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["WHITE"]},||,]},]} 
      YellowCon1=1,2,56,222,255,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["YELLOW"]},||,]},]} 
      RedCon1=1,2,56,222,255,0,0,${If[${Target.ID},${If[${Target.ConColor.Equal["RED"]},|||,]},]} 
      GreyCon2=1,2,57,222,128,128,128,${If[${Target.ID},${If[${Target.ConColor.Equal["GREY"]},||,]},]} 
      GreenCon2=1,2,57,222,0,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["GREEN"]},||,]},]} 
      LightBlueCon2=1,2,57,259,0,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["LIGHT BLUE"]},||,]},]} 
      BlueCon2=1,2,57,222,0,0,255,${If[${Target.ID},${If[${Target.ConColor.Equal["BLUE"]},||,]},]} 
      WhiteCon2=1,2,57,222,255,255,255,${If[${Target.ID},${If[${Target.ConColor.Equal["WHITE"]},||,]},]} 
      YellowCon2=1,2,57,222,255,255,0,${If[${Target.ID},${If[${Target.ConColor.Equal["YELLOW"]},||,]},]} 
      RedCon2=1,2,57,222,255,0,0,${If[${Target.ID},${If[${Target.ConColor.Equal["RED"]},||,]},]} 
      BG111a=3,2,60,219,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG111b=3,2,60,225,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG111c=3,2,61,219,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG111d=3,2,61,225,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      TargetPctHPText=3,2,60,235,255,234,8,${If[${Target.ID}, Health (%): ,]} 
      TargetPctHP=3,2,145,235,0,255,0,${If[${Target.ID},${Target.PctHPs},]} 
      BG121a=3,2,60,232,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG121b=3,2,60,238,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG121c=3,2,61,232,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG121d=3,2,61,238,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      LoSText=3,2,60,248,255,234,8,${If[${Target.ID}, Line of Sight:,]} 
      LoS=3,2,145,248,200,25,200,${If[${Target.ID},${LineOfSight[${Me.Y},${Me.X},${Me.Z}:${Target.Y},${Target.X},${Target.Z}]},]} 
      BG131a=3,2,60,245,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG131b=3,2,60,251,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG131c=3,2,61,245,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG131d=3,2,61,251,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      TargetDistText=3,2,60,261,255,234,8,${If[${Target.ID}, Distance:,]} 
      TargetDist=3,2,145,261,0,255,0,${If[${Target.ID},${Target.Distance} ,]}
      BG141a=3,2,60,258,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG141b=3,2,60,264,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG141c=3,2,61,258,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
      BG141d=3,2,61,264,0,0,0,${If[${Target.ID},||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||,]}
Last edited by Gurash on Fri Sep 14, 2018 4:40 am, edited 2 times in total.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: Very minimal HUD pieces

Post by SwiftyMUSE » Thu Sep 13, 2018 10:08 am

You can change all the ${If[${Target.Name.NotEqual["NULL"]} stuff to ${If[${Target.ID}

That will only be true if you have a target.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

Gurash
decaying skeleton
decaying skeleton
Posts: 9
Joined: Thu Jul 26, 2018 10:40 am

Re: Very minimal HUD pieces

Post by Gurash » Fri Sep 14, 2018 4:33 am

I figured I could. I was modifying what originally came with MMOBugs version of mq2, and that's what they had. A lot of it I did change. Thank you for the reply. I've edited the original post to reflect my changes.