DB/Vehicle: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
Line 15: Line 15:


== Structure ==
== Structure ==
http://dev.trinitycore.org/trinitycore2/src/561ac59c59ac/src/game/DBCStructure.h


  '''Column Field Type Notes'''
  struct VehicleEntry
  1 ID Integer
  {
2 Unknown Integer
    uint32  m_ID;                                          // 0
3 Unknown Integer
    uint32  m_flags;                                        // 1
4 Unknown Integer
    float  m_turnSpeed;                                    // 2
5 Unknown Integer
    float  m_pitchSpeed;                                  // 3
  6 Unknown Integer
    float  m_pitchMin;                                    // 4
7 Unknown Integer
    float  m_pitchMax;                                    // 5
  8 Unknown Integer
    uint32 m_seatID[8];                                    // 6-13
9 Unknown Integer
    float  m_mouseLookOffsetPitch;                        // 14
  10 Unknown Integer
    float  m_cameraFadeDistScalarMin;                      // 15
11 Unknown Integer Values { 0, 415, 481, 981, 1476 }
    float  m_cameraFadeDistScalarMax;                      // 16
12 Unknown Integer Values { 0, 416, 482 }
    float  m_cameraPitchOffset;                            // 17
13 Unknown Integer Values { 0, 417, 483 }
    //int    m_powerType[3];                              //      removed in 3.1
  14 Unknown Integer Values { 0 }
    //int    m_powerToken[3];                              //      removed in 3.1
    float  m_facingLimitRight;                            // 18
    float  m_facingLimitLeft;                              // 19
    float  m_msslTrgtTurnLingering;                        // 20
    float  m_msslTrgtPitchLingering;                      // 21
    float  m_msslTrgtMouseLingering;                      // 22
    float  m_msslTrgtEndOpacity;                          // 23
    float  m_msslTrgtArcSpeed;                            // 24
    float  m_msslTrgtArcRepeat;                            // 25
    float  m_msslTrgtArcWidth;                            // 26
    float  m_msslTrgtImpactRadius[2];                      // 27-28
    char*  m_msslTrgtArcTexture;                          // 29
    char*  m_msslTrgtImpactTexture;                        // 30
    char*  m_msslTrgtImpactModel[2];                      // 31-32
    float  m_cameraYawOffset;                              // 33
    uint32 m_uiLocomotionType;                            // 34
    float  m_msslTrgtImpactTexRadius;                      // 35
    uint32 m_uiSeatIndicatorType;                          // 36
                                                            // 37, new in 3.1
                                                            // 38, new in 3.1
                                                              // 39, new in 3.1
  };


[[Category:DBC]]
[[Category:DBC]]

Revision as of 22:39, 14 June 2009

Vehicle

Header Info

Records....................76
Fields.....................14
Record Size................56
String Block Size...........1

Notes

This file has been added with WoW 3.0.1.8303

Last updated against: WoW 3.0.1.8334

Structure

http://dev.trinitycore.org/trinitycore2/src/561ac59c59ac/src/game/DBCStructure.h

struct VehicleEntry
{
    uint32  m_ID;                                           // 0
    uint32  m_flags;                                        // 1
    float   m_turnSpeed;                                    // 2
    float   m_pitchSpeed;                                   // 3
    float   m_pitchMin;                                     // 4
    float   m_pitchMax;                                     // 5
    uint32  m_seatID[8];                                    // 6-13
    float   m_mouseLookOffsetPitch;                         // 14
    float   m_cameraFadeDistScalarMin;                      // 15
    float   m_cameraFadeDistScalarMax;                      // 16
    float   m_cameraPitchOffset;                            // 17
    //int     m_powerType[3];                               //       removed in 3.1
    //int     m_powerToken[3];                              //       removed in 3.1
    float   m_facingLimitRight;                             // 18
    float   m_facingLimitLeft;                              // 19
    float   m_msslTrgtTurnLingering;                        // 20
    float   m_msslTrgtPitchLingering;                       // 21
    float   m_msslTrgtMouseLingering;                       // 22
    float   m_msslTrgtEndOpacity;                           // 23
    float   m_msslTrgtArcSpeed;                             // 24
    float   m_msslTrgtArcRepeat;                            // 25
    float   m_msslTrgtArcWidth;                             // 26
    float   m_msslTrgtImpactRadius[2];                      // 27-28
    char*   m_msslTrgtArcTexture;                           // 29
    char*   m_msslTrgtImpactTexture;                        // 30
    char*   m_msslTrgtImpactModel[2];                       // 31-32
    float   m_cameraYawOffset;                              // 33
    uint32  m_uiLocomotionType;                             // 34
    float   m_msslTrgtImpactTexRadius;                      // 35
    uint32  m_uiSeatIndicatorType;                          // 36
                                                            // 37, new in 3.1
                                                            // 38, new in 3.1
                                                             // 39, new in 3.1
};