Page 1 of 2

My Hud - Various MQ2 Info Displayed.

Posted: Mon May 10, 2004 10:30 am
by Fuergrissa
Ok my Huds Display, Shows Title and result on the top left of screen.

Gametime (regardless of zone) also a True/False indicator if Night
Is GM in Zone (Not that accurate)
Cursor Item name (Lax's Default guide)
Speed of your character
Name of person who sent Last tell
How much PLAT you have in the BANK
Any Named mobs in zone (#) targets anything with a # before its name (Pets as well)
Total LDoN points to spend (Not working yet waiting for Struct)
Where you are currently Bound
Current Group Leadership XP Total
Name of Currently running Macro.

Code: Select all

[Elements] 
     GameTime=3,5,35,255,255,255,GameTime - ${GameTime} - Night=${GameTime.Night}
     GMIndicator=3,5,45,255,0,0,GM - ${Spawn[gm]}
     CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}
     Speed=3,5,55,255,255,255,Speed - ${Int[${Me.Speed}]}
     LastTell=3,5,65,255,255,255,LastTell - ${If[${MacroQuest.LastTell.NotEqual["NULL"]},${MacroQuest.LastTell},]}
     BankCash=3,5,75,255,255,255,Bank - ${Me.PlatinumBank} Platinum
     Named=3,5,85,255,255,255,Named - ${Spawn[#]}
     LDoNPoints=3,5,95,255,255,255,LDoN Points - ${Int[${Me.LDoNPoints}]}
     Bound=3,5,105,255,255,255,Bound in ${Me.Bound}
     GroupXP=3,5,115,255,255,255,Group LeaderXP - ${Float[${Me.PctGroupLeaderExp}]}%
     Macro=3,5,125,255,255,255,Macro - ${If[${Macro.Name.NotEqual["NULL"]},${Macro.Name},]}

Posted: Mon May 10, 2004 2:51 pm
by Draimen
I use a similar set up. Here is my code for Day/Night and GM.

Code: Select all

Night =3,212,70,255,255,0,${If[${String[${GameTime.Night}].Equal["TRUE"]},Night Time,]}${If[${String[${GameTime.Night}].NotEqual["TRUE"]},Day Time,]}

Code: Select all

GM1 =3,212,100,255,0,0,${NearestSpawn[1,GM]}

GM2 =3,212,115,255,0,0,${NearestSpawn[2,GM]}

GM3 =3,212,130,255,0,0,${NearestSpawn[3,GM]}
MGB Ready/Timer

Code: Select all

MGB =3,212,85,255,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},MGB Ready,]}${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["FALSE"]},MGB Not Ready - ${Me.AltAbilityTimer[Mass Group Buff]},]}
Raid # and avg lvl

Code: Select all

Raid =3,180,770,255,0,0,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]}    ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]}

Posted: Mon May 10, 2004 3:25 pm
by Drumstix42
I'm interested in this. Where would I place this code, and how does it show. Also, can it be moved around? (without changing all the X/Y variables)

Posted: Mon May 10, 2004 3:37 pm
by Preocts
For most of your questiosn everything is listed in Changes.Txt for the rescent release.

For the question "Can these be moved without changing..." the answer is not at this time. Lax has some ingame commands to change the mq2hud.ini on-the-fly but they don't exist at this time.

Posted: Mon May 10, 2004 3:58 pm
by Fuergrissa
just cut and paste my post in the "code" section into a file called MQ2hud.ini and place that ini in your release folder, but as Preocts says it is all documented in the Announcement thread and also in changes.txt.
- New Plugin MQ2HUD. Edit MQ2HUD.INI to add custom elements to your HUD. You pick the spot
on the screen, the color, and what gets displayed. Every element gets parsed for MQ2Data
each time it is displayed.
Example MQ2HUD.INI:
[Elements]
TargetInfo=3,5,35,255,255,255,${Target}
GMIndicator=3,5,45,0,0,255,${Spawn[gm]}
CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}
ClickMeForFun=6,-25,-25,255,255,255,${If[!${Cursor.ID},click me,]}
The order is TYPE,X,Y,RED,GREEN,BLUE,TEXT.
Type is currently any combination of the following:
1 - Display in non-full screen mode
2 - Display in full screen mode ("f10 mode")
4 - X,Y is based on cursor location
e.g. 1+2+4=7. 7 means all 3 of the above. 6 means 2 and 4. 3 means 1 and 2. Just add them
together. There is no way to end up with a number that could mean two different
combinations.
Red, Green and Blue are each from 0 to 255. 255,255,255 is white, 0,0,0 is black.
** There is currently not a command to add or remove these from inside the game. One will
probably be added soon. The plugin will automatically re-load the list from the .ini
when you modify and save the .ini.

Posted: Mon May 10, 2004 4:08 pm
by Drumstix42
Ah thank you. I totally missed that in the changes, because I 'was' looking for it :)

Posted: Fri May 14, 2004 9:54 pm
by Pheph
Draimen wrote: MGB Ready/Timer

Code: Select all

MGB =3,212,85,255,255,0,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},MGB Ready,]}${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["FALSE"]},MGB Not Ready - ${Me.AltAbilityTimer[Mass Group Buff]},]}
Why not just:

Code: Select all

MGB=3,212,85,255,255,255,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},MGB Not Ready - ${Me.AltAbilityTimer[Mass Group Buff]}]}

Posted: Sat May 15, 2004 10:46 am
by Pheph

Code: Select all

[Elements] 
     GameTime=3,945,205,255,255,255,GameTime: ${GameTime.Hour}:${GameTime.Minute} - ${If[${String[${GameTime.Night}].Equal["TRUE"]},Night,Day]}
     Time=3,945,215,255,255,255,Time: ${Time.Hour}:${Time.Minute}
     Speed=3,945,225,255,255,255,Speed - ${Int[${Me.Speed}]} 
     LastTell=3,945,235,255,255,255,LastTell - ${If[${MacroQuest.LastTell.NotEqual["NULL"]},${MacroQuest.LastTell},]} 
     Named=3,945,245,255,255,255,Named - ${Spawn[#]} 
     TributePoints=3,945,255,255,255,255,Tribute - ${Me.CurrentFavor}
     Bound=3,945,265,255,255,255,Bound in ${Me.Bound} 
     GroupXP=3,945,275,255,255,255,Group LeaderXP - ${Float[${Me.PctGroupLeaderExp}]}% 
     Macro=3,945,285,255,255,255,Macro - ${If[${Macro.Name.NotEqual["NULL"]},${Macro.Name},]} 
     MGB=3,945,295,255,255,255,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},MGB Ready,MGB available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]}
Took some pieces from here and there and tweaked them to fit my needs.
You'll more than likely need to change the coordinates as I have them next to a window on the righthand side of my screen.

Basically just some tweaks on some of the if-statements and stuff like that, plus utilizing the new way of showing time left on AA-timers that Lax kindly implemented on my request. (AltAbilityTimer now returns a ticks-element so you can format it better).

I also just put in CurrentFavor instead of LDoN-points. LDoN-points is static enough that I don't need to be able to see it all the time, whereas CurrentFavor will change every 10 minutes or so if you're using favors.

Posted: Fri May 21, 2004 2:35 am
by Klodderik
I like your idea Pheph - gonna try it later.
What about adding more than just MGB? Like Radiant Cure or other often used aa's? (I'm using Celestial Regen alot!)

Posted: Fri May 21, 2004 11:49 am
by Gabby
Just a heads up for those useing the spawn info in their HUDs

If you replace

Code: Select all

${Spawn[#]}
With

Code: Select all

${Spawn[NPC #]}
You will find it will filter out the Warders and Familiars of PCs

Example of my hud
Spawn1-4 Will show the nearest NPC, with # in its ID, in order from closest to farthest in the current zone

Code: Select all

     Night =3,955,245,255,255,0,${If[${String[${GameTime.Night}].Equal["TRUE"]},Night Time,]}${If[${String[${GameTime.Night}].NotEqual["TRUE"]},Day Time,]}
     Raid =3,955,265,255,0,0,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]}    ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]}
     Spawn1=3,955,275,255,255,0,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]}
     Spawn2=3,955,285,255,255,0,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]}
     Spawn3=3,955,295,255,255,0,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]}
     Spawn4=3,955,305,255,255,0,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]}
     GroupLeader =3,955,325,180,180,180,Group Leader : ${GroupLeader.Name}
     GroupMember1 =3,955,335,255,234,8, ${If[${Group[1].Name.NotEqual["NULL"]},${Group[1]},]} - ${If[${Group[1].Name.NotEqual["NULL"]},${Group[1].Level},]} - ${If[${Group[1].Name.NotEqual["NULL"]},${Group[1].Class},]}
     GroupMember2 =3,955,345,255,234,8, ${If[${Group[2].Name.NotEqual["NULL"]},${Group[2]},]} - ${If[${Group[2].Name.NotEqual["NULL"]},${Group[2].Level},]} - ${If[${Group[2].Name.NotEqual["NULL"]},${Group[2].Class},]}
     GroupMember3 =3,955,355,255,234,8, ${If[${Group[3].Name.NotEqual["NULL"]},${Group[3]},]} - ${If[${Group[3].Name.NotEqual["NULL"]},${Group[3].Level},]} - ${If[${Group[3].Name.NotEqual["NULL"]},${Group[3].Class},]}
     GroupMember4 =3,955,365,255,234,8, ${If[${Group[4].Name.NotEqual["NULL"]},${Group[4]},]} - ${If[${Group[4].Name.NotEqual["NULL"]},${Group[4].Level},]} - ${If[${Group[4].Name.NotEqual["NULL"]},${Group[4].Class},]}
     GroupMember5 =3,955,375,255,234,8, ${If[${Group[5].Name.NotEqual["NULL"]},${Group[5]},]} - ${If[${Group[5].Name.NotEqual["NULL"]},${Group[5].Level},]} - ${If[${Group[5].Name.NotEqual["NULL"]},${Group[5].Class},]}
     Bound=3,955,385,255,255,255,Bound in ${Me.Bound}
     Macro=3,955,395,255,255,255,Macro - ${If[${Macro.Name.NotEqual["NULL"]},${Macro.Name},]}
     TributePoints=3,935,657,255,255,255,Tribute - ${Me.CurrentFavor}

Posted: Fri May 21, 2004 3:00 pm
by s16z
Some stuff from my Hud. Yes, others have this, but mine is positioned to show the results at the same spot as other (vertical line up), and it's color coded based on the result.

Code: Select all

     GMInd1=3,5,65,255,0,0,${If[${Spawn[gm].ID},GM,]}
     GMInd2=3,5,65,0,255,0,${If[${Spawn[gm].ID},,GM]}
     GMInd3=3,90,65,255,0,0,${If[${Spawn[gm].ID},- YES,]}
     GMInd4=3,90,65,0,255,0,${If[${Spawn[gm].ID},,- NO]}

Posted: Mon May 24, 2004 9:43 pm
by Drumstix42
Created MQ2HUD.ini in my /Release folder

with:

Code: Select all

[Elements]
     GMIndicator=3,5,45,255,0,0,GM - ${NearestSpawn[GM]}
     Macro=3,5,55,255,255,255,Macro - ${If[${Macro.Name.NotEqual["NULL"]},${Macro.Name},]}
     Speed=3,5,65,255,255,255,Speed - ${Int[${Me.Speed}]}
     LastTell=3,5,75,255,255,255,LastTell - ${If[${MacroQuest.LastTell.NotEqual["NULL"]},${MacroQuest.LastTell},]}
     BankCash=3,5,85,255,255,255,Bank - ${Me.PlatinumBank} Platinum
     Named=3,5,95,255,255,255,Named - ${Spawn[npc #]}
     LDoNPoints=3,5,105,255,255,255,LDoN Points - ${Int[${Me.LDoNPoints}]}
     Bound=3,5,115,255,255,255,Bound in ${Me.Bound}
     Raid =3,5,125,255,0,0,${If[${Raid.Members}>0,In Raid - ${Raid.Members},]}   ${If[${Raid.Members}>0,Raid Level - ${Raid.AverageLevel},]}
     MGB=3,5,135,255,255,255,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},MGB Ready,MGB available in ${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}]}
     CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]}
Nothing shows :?

Posted: Mon May 24, 2004 9:48 pm
by Rassilon

Code: Select all

/plugin mq2hud

Posted: Mon May 24, 2004 9:52 pm
by Drumstix42
Already did that :roll:

Still nothing...

Posted: Mon May 24, 2004 9:57 pm
by Rassilon
Did you F10 to see if its hidden under something?