DB/GroundEffectDoodad

From wowdev
Jump to navigation Jump to search

requirements to model

  • one skin profile (view)
  • exactly one texture
  • exactly one batch
  • exactly one bone

0.5.3.3368, 1.12.1.5875

struct GroundEffectDoodadRec {
  uint32_t m_ID;
  uint32_t m_doodadIdTag;
  stringref m_doodadpath;
};

Structure

Column Field Type Notes
1 ID Integer
2 Internal ID Integer Secondary ID, unique. Mostly a difference of one to ID. Removed around 3.2.
2 GroundModels String Models found in World\NoDXT\Detail\; *.MDL or *.MDX
3 flags Integer

0x1 : First implemented around 6.0. Does something with vertexes (CDetailDoodadBatch::FillVertexBuf). 0x2 : tells that doodad should ignore mccv color as fallback color 0x1 appeared on 3.x in 26 WotLK doodads but is unused by the client as of 3.3.5. 0x2 seems used by the client but never set by blizzard in 3.3.5

6.0.1.18179

struct GroundEffectDoodadRec {
  uint32_t m_ID;
  stringref m_doodadpath;
  enum {
    probably_regard_wind = 1,  // or push? idk
    dont_use_mccv = 2,         // 0xFF7F7F7F instead
  };
  uint32_t m_flags;
  float m_animscale;           // only applied to models with a vertex > 0.5 (?)
  float m_pushscale;
};