MQ2Targets¶
MQ2Targets
Spawn tracker with optional notify and run-time modifiable HUD display.
Authors: Drunkendwarf, htw, Knightly, PeteSampras • Config: MQ2Targets.ini
MQ2Targets is a HUD Display-type spawn tracker with syntax similar to /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¶
/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¶
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 Objects¶
Targ¶
Holds a much more interesting datatype of the same name.
DataTypes¶
Targ¶
Returns information on the spawns detected in MQ2Targets.
Members
spawn Spawn[name/#]¶
- Access spawn information for the specified spawn search or index.
int Count¶
- Return number of entries on the watch list starting at 1.
int Priority[name/#]¶
- The priority of the spawn (via index or spawn search). If nothing assigned, default is -1.