MQ2Targets - MMOBugs Wiki

Revision as of 20:10, 4 April 2011 by Htw (talk | contribs) (→‎Commands: formatting)
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 by default (customizable) with level/class/distance/direction indicated (also customizable).

Besides mobs which can be shown on the HUD, the list is also available via the ${Targ} TLO.

Commands

  • /watch add "<SpawnSearch String>" [notify] [sound #] [nohud] [priority #] [/all] Add a new watch entry based on the parameters specified. See configuration below for parameters.
  • /watch (l)ist Display current watch entries.
  • /watch del(ete)|rem(ove) "<SpawnSearch String>" Remove watch list entry that matches this search string. This stops watching that specific search entry.
  • /watch del(ete)|rem(ove) "<Index #>" Remove watch list entry that matches this entry number. This stops watching that specific search entry.
  • /watch help Shows the help information.
  • /watch time(stamp) Toggles the timestamp option, which enables or disables putting a timestamp before chat and popup output lines.
  • /watch chat Toggles the chat option, which enables or disables output to the mq2 chat window.
  • /watch all Toggles the all option, which enables or disables using the [all] entries for watches (for all zones) plus any entries for the specific zone you are in, or just the entries for the specific zone you are in (if all option is off).
  • /watch debug Causes some additional output to help track down issues.
  • /watch verbose Toggles the verbose option, for some output of what the plugin is doing.
  • /watch concolor Toggles using con colors for the HUD entries, or using only the configured HUD color.
  • /watch mq2chat Toggles using the mq2 chat window, vs. the eq chat window, for output.
  • /watch font # Sets the font size for the HUD entries (default is 2).
  • /watch bg Toggles whether the plugin updates hud display when the EQ session is in the background (the watch targets themselves, for access via TLO, are always updated).
  • /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 [color] [hud|guild|dead|target|chatadd|chatrem] [RGB] Sets the color for the indicated option. Colors are ######, in Red/Greenblue, hex values. Ex: CF4515 (google html color codes)
  • /watch [color] [popupadd|popuprem] [color] Sets the color for the overlay popup add or remove data. Colors are names. If you do not provide a color, a list will be presented so you know what options are available.
  • /watch [sorttype|sortorder|hudsorttype|hudsortorder] [type|order] Sets the sort type or order for the indicated option. If you do not provide a type or order, a list of available options will be presented to you.
  • /watch sound [list|stop|id filename] Allows you to manage sounds. List will list the sound options in the ini file. stop will stop any currently playing sound. 'id filename' assigns sound id 'id' as filename 'filename' (paths, relative or absolute, can be used).
  • /watch timeformat [reload|show|String] Reloads, shows, or sets the display format for the timestamp option.
  • /watch hudstring [reload|show|String] Reloads, shows, or sets the display format for the HUD entries.
  • /watch notifyhudstring [reload|show|String] Reloads, shows, or sets the display format for the overlay popups.
  • /watch notifychatstring [reload|show|String] Reloads, shows, or sets the display format for the chat window reports.

Options for /watch add:

  • "<SpawnSearch String>" Spawn search parameters to use. /watch help will show pre-defined options. Any text that is not an option, is literal (i.e., part or all of the name to watch for).
  • notify Turns on the notify (overlay popup) option.
  • sound # Associates sound # to this entry.
  • nohud Entries matching this search will not be shown in the hud, but still be in the global watch list (accessible via TLO).
  • priority # Assigns a priority number to this group, that is accessible via TLO.
  • /all Adds this entry under the [all] zones section, instead of zone specific section.

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] 
NumDisplayed=20 
HUDXStart=400 
HUDYStart=500 
HUDYIncrement=14 
HUDColor=FFEA08 
GuildHUDColor=FF00FF 
DeadHUDColor=007777 
TargetHUDColor=FF0000 
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=yes
Verbose=no
HUDSortType=distance
HUDSortOrder=normal
SortType=priority
SortOrder=normal
HUDFontSize=4
UpdateInBackground=off
PopupColorAdd=lightgreen
PopupColorRem=red
ChatColorAdd=009933
ChatColorRem=CC0033

[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 

[all]
spawn0=guild|notify|sound|4

[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.