DB/TaxiPathNode: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:
  8 flags         Integer        2 is used for stopping the object for a number of seconds defined in column 9.
  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)  
  9 Delay Integer Delay in seconds before moving to next point (used on boats / trams / zepplins)  
  10    m_arrivalEventID
  10    m_arrivalEventID Integer        Used for starting a script on the server when the transport object arrived to the last waypoint.
  11    m_departureEventID
  11    m_departureEventID Integer      Used for starting a script on the server when the transport object started moving.


==6.0.1.18179==
==6.0.1.18179==

Revision as of 12:38, 22 May 2016

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

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.

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;
};