• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Adding named spawn to hud?

CdnBacon

Member
Joined
Jan 27, 2017
RedCents
244¢
Anyone able to help me with adding named mobs up in zone to the bottom of the hud i am using? This is the one i use. its from mmobugs. i just want at the bottom of this ini to have 4 of the closest named to show on my hud. but cannot seem to figure out how or where to add the code.

Attached is the Hud.ini i am using. Anyone able to help me? I'm not good with any of this and can really use a hand.
 

Attachments

You dont want to do it. I did this added every named from all zones into my hud and it is a HUGE CPU issue. Went from 2% to 45% for one instance of EQ.
 
I wrote and use the following. If there is an NPC that you don't want to show, simply /alert add 1 Name of NPC

for this, once copied to your MQ2HUD.ini, you'll want to type /loadhud nearest

if once loaded, it's not where you want it you can use mq2hudmove plugin to move the element around.

/plugin mq2hudmove

/hudmove nearest left 10
will move it left 10 pixels.

The below code puts it left of my XTarget Window in the bottom right hand corner of the UI assuming you're using 1920/1080.

This doesn't cause a CPU issue for me at all.



Rich (BB code):
[Nearest]
    LineBreak4a=                    3,1600,808    ,255,255,0            ,${If[${NearestSpawn[1,npc named noalert 1].Name.NotEqual["NULL"]} ,___________________________,]}
    SpawnLocationText=                3,1600,808    ,255,255,0            ,             ${If[${NearestSpawn[1,npc named noalert 1].Name.NotEqual["NULL"]} ,NEAREST NAMED,]}
    LineBreak4b=                    3,1600,796    ,255,255,0            ,${If[${NearestSpawn[1,npc named noalert 1 noalert 1].Name.NotEqual["NULL"]} ,___________________________,]}
    Spawn1=                            3,1600,820    ,255,255,0            ,${If[${NearestSpawn[1,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[1,npc named noalert 1].Level},]} - ${If[${NearestSpawn[1,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[1,npc named noalert 1].CleanName},]} 
    Spawn2=                            3,1600,832    ,255,255,0            ,${If[${NearestSpawn[2,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[2,npc named noalert 1].Level},]} - ${If[${NearestSpawn[2,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[2,npc named noalert 1].CleanName},]} 
    Spawn3=                            3,1600,844    ,255,255,0            ,${If[${NearestSpawn[3,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[3,npc named noalert 1].Level},]} - ${If[${NearestSpawn[3,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[3,npc named noalert 1].CleanName},]} 
    Spawn4=                            3,1600,856    ,255,255,0            ,${If[${NearestSpawn[4,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[4,npc named noalert 1].Level},]} - ${If[${NearestSpawn[4,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[4,npc named noalert 1].CleanName},]} 
    Spawn5=                            3,1600,868    ,255,255,0            ,${If[${NearestSpawn[5,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[5,npc named noalert 1].Level},]} - ${If[${NearestSpawn[5,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[5,npc named noalert 1].CleanName},]}
    Spawn6=                            3,1600,880    ,255,255,0            ,${If[${NearestSpawn[6,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[6,npc named noalert 1].Level},]} - ${If[${NearestSpawn[6,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[6,npc named noalert 1].CleanName},]}
    Spawn7=                            3,1600,892    ,255,255,0            ,${If[${NearestSpawn[7,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[7,npc named noalert 1].Level},]} - ${If[${NearestSpawn[7,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[7,npc named noalert 1].CleanName},]}
    Spawn8=                            3,1600,904    ,255,255,0            ,${If[${NearestSpawn[8,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[8,npc named noalert 1].Level},]} - ${If[${NearestSpawn[8,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[8,npc named noalert 1].CleanName},]}
    Spawn9=                            3,1600,916    ,255,255,0            ,${If[${NearestSpawn[9,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[9,npc named noalert 1].Level},]} - ${If[${NearestSpawn[9,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[9,npc named noalert 1].CleanName},]}
    Spawn10=                        3,1600,928    ,255,255,0            ,${If[${NearestSpawn[10,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[10,npc named noalert 1].Level},]} - ${If[${NearestSpawn[10,npc named noalert 1].Name.NotEqual["NULL"]} ,${NearestSpawn[10,npc named noalert 1].CleanName},]}
    SpawnHeaderbg=                    3,1600,808    ,0,0,0                ,${If[${NearestSpawn[1,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn1bg=                        3,1600,820    ,0,0,0                ,${If[${NearestSpawn[1,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn2bg=                        3,1600,832    ,0,0,0                ,${If[${NearestSpawn[2,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn3bg=                        3,1600,844    ,0,0,0                ,${If[${NearestSpawn[3,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn4bg=                        3,1600,856    ,0,0,0                ,${If[${NearestSpawn[4,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn5bg=                        3,1600,868    ,0,0,0                ,${If[${NearestSpawn[5,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn6bg=                        3,1600,880    ,0,0,0                ,${If[${NearestSpawn[6,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn7bg=                        3,1600,892    ,0,0,0                ,${If[${NearestSpawn[7,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn8bg=                        3,1600,904    ,0,0,0                ,${If[${NearestSpawn[8,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn9bg=                        3,1600,916    ,0,0,0                ,${If[${NearestSpawn[9,npc named noalert 1].Name.NotEqual["NULL"]} ,████████████████████,]}
    Spawn10bg=                        3,1600,928    ,0,0,0                ,${If[${NearestSpawn[10,npc named noalert 1].Name.NotEqual["NULL"]},████████████████████,]}
 
Please change all
Rich (BB code):
.Name.NotEqual["NULL"]}
to
Rich (BB code):
.ID}!=0
parsing Name is incredibly expensive but more so it will never ever return a string that's actually "NULL" it might return NULL but that's a different thing...
 
Question - Adding named spawn to hud?

Users who are viewing this thread

Back
Top
Cart