DB/CinematicCamera: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
This table holds models that can be used as cameras for cinematics. Its defined where they end and which voiceover is used.
This table holds models that can be used as cameras for cinematics. Its defined where they end and which voiceover is used.


==0.5.3.3368==
struct CinematicCameraRec {
  uint32_t m_ID;
  {{Template:Type|stringref}} m_model;
  uint32_t m_soundID;
  float m_originX;
  float m_originY;
  float m_originZ;
  float m_originFacing;
};
==Structure==
==Structure==
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"

Revision as of 16:09, 5 June 2016

This table holds models that can be used as cameras for cinematics. Its defined where they end and which voiceover is used.

0.5.3.3368

struct CinematicCameraRec {
  uint32_t m_ID;
  stringref m_model;
  uint32_t m_soundID;
  float m_originX;
  float m_originY;
  float m_originZ;
  float m_originFacing;
};

Structure

Column Field Type Notes
1 ID Integer
2 Filepath String Which camera is used?
3 Voiceover iRefID Not set for PalantirOfAzora and Scry_cam.
4 X Float The coordinates define the end-point, not the start.
5 Y Float
6 Z Float
7 Rotation Float

6.0.1.18179

struct CinematicCameraRec {
  uint32_t m_ID;
  stringref m_model;
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_soundID;
  float m_origin[3];
  float m_originFacing;
};

6.0.?????

struct CinematicCameraRec {
  uint32_t m_ID;
  foreign_key<uint32_t, &FileDataRec::m_ID> m_model;
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_soundID;
  float m_origin[3];
  float m_originFacing;
};