MQ2Targets - MMOBugs Wiki

Revision as of 10:29, 26 November 2010 by Htw (talk | contribs) (→‎Example Configuration: UseConColor addition)
Plugin Info
Name MQ2Targets
Author Drunkdwarf
Link MQ2 Forum Link
Commands /watch
Source Available Yes
Uses INI File Yes





Description

MQ2Targets allows you to create a custom list of watched targets to be displayed in your HUD. You must have HUD enabled (F11) to be able to view your watch list. Also you can enable a pop up notify message as well for watch targets in addition to the list. The target list is displayed in the hud sorted by distance (if watching more than 1 target) with level/class/distance/direction indicated.

Commands

  • /watch add <Search String> Add a new watch entry based on the parameters specified. See configuration below for parameters.
  • /watch list Display current watch entries.
  • /watch remove <ListEntry> Remove watch list entry X, this stops watching that specific search entry.
  • /watch x <LOC> Sets the X display coordinate for the watch list.
  • /watch y <LOC> Sets the Y display coordinate for the watch list
  • /watch increment <Value in Pixels> Sets the spacing distance (vertical) in pixels between displayed watch list entries in the HUD.
  • /watch show <# of Targets to Show> Set the number of targets to show in the HUD.
  • /watch notify <Search String> Will trigger a pop up message when search string is met. Also you can combine notify with watch add as well, i.e. /watch add gigyn brute npc|notify.
  • /watch hud <New HUD String> Alter the way targets are displayed in the HUD.

Configuration

MQ2Targets is configured either via an .ini file or through slash commands. See slash commands available listed above. The default HUDString (how information is presented) is:

  • &clr${Target.CleanName}(${Target.Race})${Target.Level}${Target.Class.ShortName}${Target.Distance}&arr(${Target.HeadingTo})
  • &clr is replaced with ">>" to show the current target, and turns on guild/corpse colors
  • &dst is replaced with the distance to target plus +/- for Z-axis indication
  • &arr is replaced with an arrow indicating direction to mob

Example Configuration

MQ2Targets.ini

[Settings] 
CheckInterval=10 
NumDisplayed=10 
HUDXStart=200 
HUDYStart=200 
HUDYIncrement=12 
HUDColor=-5624 
GuildHUDColor=-65281 
DeadHUDColor=-7829368 
TargetHUDColor=-65536 
HUDString=&clr${Target.CleanName}(${Target.PctHPs}%) ${Target.Level}${Target.Class.ShortName} ${Target.Distance}&arr(${Target.HeadingTo}) 
NotifyHUDString=${Target.CleanName}(${Target.Level}${Target.Class.ShortName}) 
UseMQ2Chat=1
MP3Length=3000
WavLength=0
UseTimeStamp=1
TimeStampFormat=[%H:%M:%S]
UseChatReport=1
NotifyChatString=${Target.CleanName} (${Target.Level} ${Target.Class.ShortName}) ${If[${Target.Guild.NotEqual["NULL"]},in ${Target.Guild},]}${If[${Target.Guild.NotEqual["NULL"]},${If[${Target.GuildStatus.NotEqual["member"]}, (${Target.GuildStatus}),]},]}
UseAllZone=1
UseConColor=1

[Sounds] 
1=nosound 
2=sounds\alert2.wav 
3=sounds\alert3.wav 
4=sounds\alert4.wav 
5=sounds\alert5.wav 
6=nosound 
7=nosound 
8=nosound 
9=sounds\startup.mp3 

[South Karanas] 
spawn0=quillmane npc|notify|sound|5 
spawn1=fabled quillmane npc|notify|sound|5

[Iceclad Ocean] 
spawn0=lodizal npc|notify|sound|5 
spawn1=fabled lodizal npc|notify|sound|5
spawn2=stormfeather npc|notify|sound|5 
spawn3=fabled stormfeather npc|notify|sound|5
spawn4=dire wolf stalker npc|notify|sound|5

[Lair of the Korlach] 
spawn0=korlach npc 
spawn1=chancellor npc 
spawn2=vision of the witheran beast npc 
[Plane of Torment] 
spawn0=kaniz painbringer npc 
[South Ro] 
spawn0=cyclops npc 
[The Plane of Hate] 
spawn0=a teir`dal guardian npc 
[Caverns of the Lost] 
spawn0=therigals scholar 
spawn1=captain therimel 
[Asylum of Anguish] 
spawn0=damlin lingering npc|notify 
spawn1=grenlok npc|notify 
spawn2=vilria npc|notify 
spawn3=a languished convert npc|notify 
spawn4=administrator charial npc|notify 
spawn5=first lieutenant minas npc|notify 
[Living Larder] 
spawn0=foddin npc 
spawn1=foreman zlixtil npc 
spawn2=sizz kipcoil npc 
spawn3=alizis parbrind npc 
spawn4=terrzin wirecrimp npc 
spawn5=virak the devourer npc 
spawn6=wicyl, the watcher|notify 
[The Nargilor Pits] 
spawn0=race chest 
spawn1=captain|notify 
spawn2=a reanimated legionnaire 
[Plane of Storms] 
spawn0=neffiken npc 
spawn1=guild 
[The Root of Ro] 
spawn0=a mineralized guardian|notify 
[The Accursed Nest] 
spawn0=mournful npc 
spawn1=cleric pc 
spawn2=concentra npc|notify 
spawn3=npc race "dragon egg"|notify 
spawn4=black wing drake npc 
[Gulf of Gunthak] 
spawn0=enforcer npc|notify 
spawn1=thug npc|notify 
spawn2=krill the backbleeder npc|notify 
[Qvic, Prayer Grounds of Calling] 
spawn0=dvoin npc|notify 
spawn1=mnat npc|notify 
[Eastern Wastes] 
spawn0=fabled npc|notify 
[Kael Drakkal] 
spawn0=fabled npc|notify 
[Lavastorm Mountains] 
spawn0=paladin range 65 70 pc 
spawn1=shaman range 65 70 pc 
[The Ruined City of Dranik] 
spawn0=prodigy npc|notify 
[Sewers of Dranik] 
spawn0=cunning drag npc|notify 
[Catacombs of Dranik] 
spawn0=insidious dragorn npc|notify 
[Stoneroot Falls] 
spawn0=chamber guardian npc 
[Barindu, Hanging Gardens] 
spawn0=aneuk npc|notify 
spawn1=ixt npc|notify 
spawn2=kyv npc|notify 
spawn3=ikaav npc|notify 
[Qinimi, Court of Nihilia] 
spawn0=kyv npc|notify 
spawn1=aneuk npc|notify 
[Undershore] 
spawn0=seeker 
[Queen Sendaii's Lair] 
spawn0=queen npc 
[Dreadlands] 
spawn0=chaos elemental npc|notify 
[The Scarlet Desert] 
spawn0=elite sun revenant npc|notify 
[Great Divide] 
spawn0=krom npc 
[Dragon Necropolis] 
spawn0=npc race human range 70 80 
[Kod'Taz, Broken Trial Grounds] 
spawn0=ikaav npc|notify 
spawn1=ixt npc|notify 
[The Wakening Land] 
spawn0=remains npc|notify 
[Razorthorn, Tower of Sullon Zek] 
spawn0=a shadow of rage|notify 
spawn1=ghost npc|notify 
[The Bloodfields] 
spawn0=reclusive girplan|notify 
spawn1=roundbelly npc|notify 
spawn2=flighty|notify 
spawn3=marshal npc|notify 
[Ruins of Takish-Hiz] 
spawn0=lifestone npc|notify 
[The Devastation] 
spawn0=titanothon npc|notify 
[Riftseekers' Sanctum] 
spawn0=shardtend npc 
spawn1=pyrilen researcher npc 
spawn2=discordling shardmender|notify 
spawn3=gelidran frostformer|notify 
spawn4=gelidran conjurer|notify 
[The Guild Lobby] 
spawn0=cleric pc range 65 70|notify 
spawn1=shaman pc range 70 70 
spawn2=paladin pc range 70 70 
[Muramite Proving Grounds] 
spawn0=taskfiend caikap npc|notify 
spawn1=blind hunter npc|notify 
spawn2=odiumate isienne npc|notify 
spawn3=bluespark npc|notify 
[Theater of Blood] 
spawn0=npc range 76 90 
[Wall of Slaughter] 
spawn0=shaman pc 
spawn1=paladin pc 
spawn2=discordling warfiend npc|notify 
spawn3=shadowhunter npc|notify 
spawn4=cipheron npc|notify 
[Sverag, Stronghold of Rage] 
spawn0=the eviscerator|notify 
spawn1=restrained cereton npc|notify 
spawn2=jyrta npc|notify 
spawn3=yoon npc|notify 
spawn4=tyrant npc|notify 
spawn5=subjugant npc|notify 
spawn6=funival npc|notify 
spawn7=keloss npc|notify 
spawn8=mengalor npc|notify 
[The Hive] 
spawn0=group 
spawn1=taskmaster shadowspin npc 
[Relic] 
spawn0=port npc|notify 
spawn1=shar`drahn npc|notify 
[Guild Hall] 
spawn0=shaman pc|notify|sound|5 
spawn1=paladin pc|notify|sound|5 
[Plane of Knowledge]
spawn0=guild
spawn1=pc range 10|notify|sound|4
[Brell's Temple]
spawn0=npc range 80 88
spawn1=pc range 1 85

Availability

This plugin is included with the MMOBugs Compile.