DB/CreatureModelData: Difference between revisions

From wowdev
Jump to navigation Jump to search
(add full and correct info for 6.0.1.18179)
mNo edit summary
Line 66: Line 66:
==6.0.1.18179==
==6.0.1.18179==
  struct CreatureModelDataRec {
  struct CreatureModelDataRec {
   int m_ID;
   uint32_t m_ID;
   int m_flags;
   uint32_t m_flags;
   int m_fileDataID;
   uint32_t m_fileDataID;
   int m_sizeClass;
   uint32_t m_sizeClass;
   float m_modelScale;
   float m_modelScale;
   int m_bloodID;
   uint32_t m_bloodID;
   int m_footprintTextureID;
   uint32_t m_footprintTextureID;
   float m_footprintTextureLength;
   float m_footprintTextureLength;
   float m_footprintTextureWidth;
   float m_footprintTextureWidth;
   float m_footprintParticleScale;
   float m_footprintParticleScale;
   int m_foleyMaterialID;
   uint32_t m_foleyMaterialID;
   int m_footstepShakeSize;
   uint32_t m_footstepShakeSize;
   int m_deathThudShakeSize;
   uint32_t m_deathThudShakeSize;
   int m_soundID;
   uint32_t m_soundID;
   float m_collisionWidth;
   float m_collisionWidth;
   float m_collisionHeight;
   float m_collisionHeight;
Line 94: Line 94:
   float m_overrideSelectionRadius;
   float m_overrideSelectionRadius;
   float m_tamedPetBaseScale;
   float m_tamedPetBaseScale;
   int m_creatureGeosetDataID;
   uint32_t m_creatureGeosetDataID;
   float m_hoverHeight;
   float m_hoverHeight;
  };
  };
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC]][[Category:DBC_WotLK]]

Revision as of 20:19, 2 November 2014

9551

Column Field Type Notes
1 ID Integer
2 Flags Integer Known to be checked: 8, 0x40. Known: 4: Has death corpse. 0x80: CGUnit_C::CanCurrentFormMount
3 ModelPath String *.MDX!
4 AlternateModel String This is always 0. It would be used, if something was in here. Its pushed into M2Scene::AddNewModel(GetM2Cache(), Modelpath, AlternateModel, 0).
5 sizeClass Integer 4 got mostly big models (ragnaros, nef.) but again, not all big models got 4 ...
6 modelScale Float CMD.Scale * CDI.Scale is used in CUnit.
7 BloodLevel iRefID
8 Footprint iRefID Defines the footpritns you leave in snow.
9 footprintTextureLength Float most time 18.0
10 footprintTextureWidth Float mostly 12, others are 0.0 - 20.0
11 footprintParticleScale Float mostly 1.0, others are 0.0 - 5.0
12 foleyMaterialID Integer always 0.
13 footstepShakeSize iRefID
14 deathThudShakeSize iRefID
15 SoundData iRefID
16 CollisionWidth Float Size of collision for the model. Has to be bigger than 0.41670012920929, else "collision width is too small.".
17 CollisionHeight Float ZEROSCALEUNIT when 0-CollisionHeight < 0
18 mountHeight Float other collision data?
19 geoBoxMin Vec3F These values are the actually maximum and minimum coordinates of the vertices.
22 geoBoxMax Vec3F
25 worldEffectScale Float mostly 1.0, others are 0.03 - 0.9
26 attachedEffectScale Float mostly 1.0, others are 0.5 - 2.9
cata missileCollisionRadius Float
cata missileCollisionPush Float
cata missileCollisionRaise Float

Partly retrieved from "http://www.sourcepeek.com/wiki/CreatureModelData.dbc"

--schlumpf_ 00:53, 10 July 2009 (CEST)

This dbc is being monitored by Warden. --feangren 23 May 2012

6.0.1.18179

struct CreatureModelDataRec {
  uint32_t m_ID;
  uint32_t m_flags;
  uint32_t m_fileDataID;
  uint32_t m_sizeClass;
  float m_modelScale;
  uint32_t m_bloodID;
  uint32_t m_footprintTextureID;
  float m_footprintTextureLength;
  float m_footprintTextureWidth;
  float m_footprintParticleScale;
  uint32_t m_foleyMaterialID;
  uint32_t m_footstepShakeSize;
  uint32_t m_deathThudShakeSize;
  uint32_t m_soundID;
  float m_collisionWidth;
  float m_collisionHeight;
  float m_mountHeight;
  float m_geoBoxMin[3];
  float m_geoBoxMax[3];
  float m_worldEffectScale;
  float m_attachedEffectScale;
  float m_missileCollisionRadius;
  float m_missileCollisionPush;
  float m_missileCollisionRaise;
  float m_overrideLootEffectScale;
  float m_overrideNameScale;
  float m_overrideSelectionRadius;
  float m_tamedPetBaseScale;
  uint32_t m_creatureGeosetDataID;
  float m_hoverHeight;
};