DB/TaxiPathNode

From wowdev
Jump to navigation Jump to search

Contains data for every point along a flight path. Col. 3 contains which point along the flight path the data applies to. May be ignored by WoW since patch 2.1.0 or whatever due to zeppelin-path-exploitation.

0.5.3.3368

struct TaxiPathNodeRec
{
  uint32_t m_ID;
  uint32_t m_PathID;
  uint32_t m_NodeIndex;
  uint32_t m_ContinentID;
  float m_LocX;
  float m_LocY;
  float m_LocZ;
  uint32_t m_flags;
};

1.12.1.5875

struct TaxiPathNodeRec
{
  uint32_t m_ID;
  uint32_t m_PathID;
  uint32_t m_NodeIndex;
  uint32_t m_ContinentID;
  float m_LocX;
  float m_LocY;
  float m_LocZ;
  uint32_t m_flags;
  uint32_t m_delay;
};

Structure

Column	Field 		Type 		Notes 
1 	ID 		Integer 	is this correct? 
2 	iRefID_PathID	Integer 	Path that these points are on (Ref to TaxiPath.dbc) 
3 	NodeIndex 	Integer 	The point number along the path (ie 1 -> 2 -> ... -> x) 
4 	iRefID_Map 	Integer 	Map the flight point is on 
5 	X 		Float 		The X coordinate 
6 	Y 		Float 		The Y coordinate 
7 	Z 		Float 		The Z coordinate 
8 	flags 	        Integer         2 is used for stopping the object for a number of seconds defined in column 9.
9 	Delay 		Integer 	Delay in seconds before moving to next point (used on boats / trams / zepplins) 
10     m_arrivalEventID Integer         Used for starting a script on the server when the transport object arrived to the last waypoint.
11     m_departureEventID Integer       Used for starting a script on the server when the transport object started moving.

Flags

0x1 = instigates a map change
0x2 = stops the object for m_delay seconds; ≥ PreVanilla (0.8.0.3734)

6.0.1.18179

struct TaxiPathNodeRec {
  uint32_t m_ID;
  uint32_t m_PathID;
  uint32_t m_NodeIndex;
  uint32_t m_ContinentID;
  float m_Loc[3];
  uint32_t m_flags;
  uint32_t m_delay;
  uint32_t m_arrivalEventID;
  uint32_t m_departureEventID;
};