MQ2Navigation - MMOBugs Wiki

Plugin Info
Name MQ2Navigation
Author Brainiac
Link Wiki Link
Commands /navigate; /nav stop; /nav reload
Source Available Yes
Uses INI File Yes


Description

We recommend switching to MQ2Nav as MQ2Navigation is now outdated.


MQ2Naviigation is a plugin that allows you to navigate through zones in EQ using a mesh layer that is created of the actual zone. The plugin automatically figures out the best way to get to the location or target based upon mesh files that you have created or downloaded. The mesh files are available to download under the files section on mmobugs, or you can create your own zone files by loading MeshGenerator.exe and selecting the zones you wish to create.


The first time you navigate in a zone, it will load the mesh, and will lag your client for a few seconds depending on how fast your computer is.

If you are having issues making the plugin work make sure you install DirectX End-User Runtime.

Commands

  • /navigate base command
  • /navi base command alias
  • /nav base command alias
  • /navigation [(id spawnid | name spawnname | target) (dist ##)] [loc Y X Z | locxyz X Y Z] ([item [click] [once]) (door [click] [once]) [stop] available parameters. The (dist ##) parameter has been removed from the plugin.
  • /nav parameter Navigates with parameter
  • /nav recordwaypoint "name" "tag" Creates a waypoint at your current location, with a name and a tag.
  • /nav waypoint "name" Navigates you to the waypoint.

Example Usage

  • /nav help Lists help options and parameters
  • /nav target Navigates to default distance (15) of current target. The distance parameter has been removed from the plugin. Default distance is now 0.
  • /nav target dist 5 Navigates to distance 5 of current target. The distance parameter has been removed from the plugin.
  • /nav id 545 dist 35 Navigates to distance 35 of spawn with id number 545. The distance parameter has been removed from the plugin.
  • /nav name "Julio Zimbabwe" Navigates to default distance (15) of Julio Zimbabwe. The distance parameter has been removed from the plugin, will got exactly onto the target.
  • /nav stop Stops navigation
  • /nav loc Y X Z Navigates to Y X Z coordinates
  • /nav recordwaypoint shady vendor Records a waypoint named shady at your current location with a tag of vendor.
  • /nav waypoint shady Navigates you to waypoint shady if that waypoint exists in the zone.

Macro Data

This plugin adds a new TLO

  • ${Navigation} : Bool - Returns TRUE if plugin is loaded.

ExampleType

  • Active : bool TRUE if currently navigating, FALSE if not
  • MeshLoaded : bool TRUE if mesh is loaded for current zone
  • Distance : float Distance to destination
  • PathExists[spawndata] : bool TRUE if a path exists for the spawn data.
  • PathLength[spawndata] : float Return Float value of the path length for spawn data

Example Usage

/if (${Navigation.Active}) /delay 5
/if (${Navigation.MeshLoaded}) /nav id ${Target.ID}
/if (${Navigation.PathExists[id ${NearestSpawn[2,npc noalert 1 targetable radius 100 zradius 20].ID}]}) /nav id ${NearestSpawn[2,npc noalert 1 targetable radius 100 zradius 20].ID}
/echo PathLength is: ${Int[${Navigation.PathLength[id ${NearestSpawn[3,npc noalert 1 targetable radius 100 zradius 20].ID}]}]}

Configuration

To Create your own mesh files:
1. Execute MeshGenerator.exe
2. Select desired zone to create mesh
3. Select the resolution sizes you want
4. Click Build
5. Click Save

Mesh Creation Configuration Notes:
1a. MeshGenerator.exe is located in mq2 folder.
1b. The first time you use it, you must click your base EQ folder, and base MQ2 folder so it knows where to look and store files.
2a. Zones.ini for zone list naming conventions.
3a. The more complex the zone, the higher resolution you need to navigate.
4a. Mesh creation process will take anywhere from seconds to an hour depending on your computer speed and resolution size of map.
5a. Maps are saved to your /MQ2/MQ2Nav folder you designated.

Sample Configuration

Zones.ini

[House of Thule]
somnium=Sanctum Somnium

Configuration Explanation

  • Plugin: The plugin is on or off

Version History

  • 1.1 author @ 2008-07-10
    • Change 1
    • Change 2
  • 1.0 author @ 2008-06-09
    • Change 1
    • Change 2


Availability

This plugin is included with the MMOBugs Compile.