MQ2Targets

From the wonderful RedGuides Wiki
MQ2Targets
Spawn tracker with optional notify and run-time modifiable HUD display.
View details
Authors Drunkendwarf, htw, Knightly, PeteSampras
Software type Plugin
Config file MQ2Targets.ini


Maintained Yes and supported
Acknowledgements MQ2-internal functions, MQ2SpawnTracker, MQ2Buffblock, and probably 1 or 2 others.
Links

🏠Resource (review)
🤝Support •🛠️Repository

MQ2Targets is a HUD Display-type spawn tracker with syntax similar to the Command:/where. Can track specific targets or all targets matching certain criteria (all npc clerics level 53-55 closer than range 100 for example).

Features

  • Search strings are saved per zone
  • Replace "add" with "notify" and it will do a popup for each spawn matching your search string
  • Can add as many search strings per zone as needed
  • Each HUD spawn matching the search shows by default Name, Level, Class, Distance, an arrow showing relative direction, and a Compass heading
  • Use MQ2HUD-type syntax strings to determine HUD display elements to completely customize the HUD display for each spawn
  • Default is 5 spawns show, can modify using "/watch count <num>"
  • HUD will highlight spawn if it's the current target
  • Guild members highlighted in HUD
  • HUD list sorted by distance ascending

Commands

Syntax Description
/watch [add|delete|notify target|n] [loc] <locname> Modify configurations for MQ2Targets, from targets that appear on the HUD to sounds that are played when triggered, and everything in between.

Settings

Note: All sound files must be placed in the resources folder.

[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=nosound
3=nosound
4=doh.wav
5=whohoo.wav
6=nosound
7=nosound
8=nosound
9=fox.mp3

[Plane of Knowledge]
spawn0=guild
spawn1=paladin pc range 70 80
spawn2=pc range 10|notify|sound|4

[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

See also


Top-Level Object(s)

TLOs added by MQ2Targets:

TLO Data Type(s) Description
Targ Targ Holds a much more interesting datatype of the same name.

Forms. Typical usage, /echo ${TLO}

Type TLO Description
Targ Targ Returns "TRUE" if loaded

Members. More may be available if inherited. Typical usage, /echo ${TLO.Member}

TLO Data Type Return Type Member Description
Targ Targ int Count Return number of entries on the watch list starting at 1.
Priority[<name>|<index>] The priority of the spawn (via index or Spawn search). If nothing assigned, default is -1.
spawn Spawn[<name>|<index>] Access DataType:spawn information for the specified Spawn search or index.