DB/CreatureModelData

From wowdev
Jump to: navigation, search

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

Classic

0.5.3.3368

Struct

struct CreatureModelDataRec {
  uint32_t m_ID;
  uint32_t m_flags;       // &1: hide footprints, &2: hide breath particles CGUnit_C::DetermineBreathEffect, &4: ignore creature texture variations CGUnit_C::InitializeTextureVariations, isPlayerModel
  stringref m_ModelName;
  uint32_t m_sizeClass;   // multiplier for blood splat size and death thud sound. valid range is 0 to 4, invalid values prevent both from sounding/displaying
  float m_modelScale;
  foreign_key<uint32_t, &UnitBloodLevelsRec::m_ID> m_bloodID;
  foreign_key<uint32_t, &FootprintTexturesRec::m_ID> m_footprintTextureID;
  float m_footprintTextureLength;
  float m_footprintTextureWidth;
  float m_footprintParticleScale;
  uint32_t m_foleyMaterialID;
  uint32_t m_footstepShakeSize;
  uint32_t m_deathThudShakeSize;
  foreign_key<uint32_t, &CreatureSoundDataRec::m_ID> m_soundID;
};

1.12.1.5875

struct CreatureModelDataRec {
  uint32_t m_ID;
  uint32_t m_flags;
  stringref m_ModelName;
  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;
  // foreign_key<uint32_t, &CreatureSoundDataRec::m_ID> m_soundID; ????
  float m_collisionWidth;
  float m_collisionHeight;
  float m_mountHeight;
};

Wrath

3.3.5.12340

Table

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. 0x10000: has wheels
3 ModelPath String *.MDX!
Removed AlternateModel String This is always 0. It was removed in a later version (probably before 3.3.5a.12340)! It would be used, if something was in here. Its pushed into M2Scene::AddNewModel(GetM2Cache(), Modelpath, AlternateModel, 0).
4 sizeClass Integer 4 got mostly big models (ragnaros, nef.) but again, not all big models got 4 ...
5 modelScale Float CMD.Scale * CDI.Scale is used in CUnit.
6 BloodLevel iRefID
7 Footprint iRefID Defines the footpritns you leave in snow.
8 footprintTextureLength Float most time 18.0
9 footprintTextureWidth Float mostly 12, others are 0.0 - 20.0
10 footprintParticleScale Float mostly 1.0, others are 0.0 - 5.0
11 foleyMaterialID Integer always 0.
12 footstepShakeSize iRefID
13 deathThudShakeSize iRefID
14 SoundData iRefID
15 CollisionWidth Float Size of collision for the model. Has to be bigger than 0.41670012920929, else "collision width is too small.".
16 CollisionHeight Float ZEROSCALEUNIT when 0-CollisionHeight < 0
17 mountHeight Float other collision data?
18 geoBoxMin Vec3F These values are the actually maximum and minimum coordinates of the vertices.
21 geoBoxMax Vec3F
24 worldEffectScale Float mostly 1.0, others are 0.03 - 0.9
25 attachedEffectScale Float mostly 1.0, others are 0.5 - 2.9
26 missileCollisionRadius Float
27 missileCollisionPush Float
28 missileCollisionRaise Float


Warlords

6.0.1.18179

Struct

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;
  foreign_key<uint32_t, &CreatureSoundDataRec::m_ID> 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;
};

Legion

7.0.1.21737

Table

Column Field Type Notes
1 ID Integer
2 Scale Float
3 FootPrintTextureLength Float
4 FootPrintTextureWidth Float
5 FootPrintParticleScale Float
6 CollisionWidth Float
7 CollisionHeight Float
8 MountHeight Float
9 GBMin_1 Float
10 GBMin_2 Float
11 GBMin_3 Float
12 GBMax_1 Float
13 GBMax_2 Float
14 GBMax_3 Float
15 WorldEffectScale Float
16 AttachedEffectScale Float
17 MissileCollisionRadius Float
18 MissileCollisionPush Float
19 MissileCollisionRaise Float
20 Unknown Float
21 Unknown Float
22 Unknown Float
23 Unknown Float
24 Unknown Float
25 Unknown Integer
26 ModelID iRefID
27 SizeClass Integer
28 BloodLevel iRefID
29 FootPrint iRefID
30 FoleyMaterialID Integer
31 Flags Integer
32 Unknown Integer
33 FootstepShakeSize iRefID
34 DeathThudShake iRefID
35 SoundDataID iRefID
36 Unknown Integer
37 Unknown Integer

BFA

8.0.1.25902

struct CreatureModelDataRec {
  uint32_t m_ID;
  float m_modelScale;
  float m_footprintTextureLength;
  float m_footprintTextureWidth;
  float m_footprintParticleScale;
  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;
  float m_hoverHeight;
  int32_t m_flags;
  uint32_t m_fileDataID;
  int32_t m_sizeClass;
  int32_t m_bloodID;
  int32_t m_footprintTextureID;
  int32_t m_foleyMaterialID;
  int32_t m_footstepShakeSize;
  int32_t m_deathThudShakeSize;
  int32_t m_soundID;
  int32_t m_creatureGeosetDataID;
};

8.0.1.26871

 "CreatureModelData": [
   { "data_type": "f", "field": "geo_box", "elements": 6 },
   { "data_type": "I", "field": "flags" },
   { "data_type": "I", "field": "file_data_id" },
   { "data_type": "B", "field": "blood_id" },
   { "data_type": "B", "field": "footprint_texture_id" },
   { "data_type": "f", "field": "footprint_texture_length" },
   { "data_type": "f", "field": "footprint_texture_width" },
   { "data_type": "f", "field": "footprint_particle_scale" },
   { "data_type": "B", "field": "foley_material_id" },
   { "data_type": "B", "field": "footstep_camera_effect_id"},
   { "data_type": "B", "field": "death_thud_camera_effect_id"},
   { "data_type": "H", "field": "sound_id" },
   { "data_type": "B", "field": "size_class" },
   { "data_type": "f", "field": "collision_width" },
   { "data_type": "f", "field": "collision_height" },
   { "data_type": "f", "field": "world_effect_scale" },
   { "data_type": "H", "field": "creature_geoset_data_id" },
   { "data_type": "f", "field": "hover_height" },
   { "data_type": "f", "field": "attached_effect_scale" },
   { "data_type": "f", "field": "model_scale" },
   { "data_type": "f", "field": "missile_collision_radius" },
   { "data_type": "f", "field": "missile_collision_push" },
   { "data_type": "f", "field": "missile_collision_raise" },
   { "data_type": "f", "field": "mount_height" },
   { "data_type": "f", "field": "override_loot_effect_scale" },
   { "data_type": "f", "field": "override_name_scale" },
   { "data_type": "f", "field": "override_selection_radius" },
   { "data_type": "f", "field": "tamed_pet_base_scale" }
 ],