DB/CreatureModelData: Difference between revisions
Jump to navigation
Jump to search
Barncastle (talk | contribs) m (→Struct) |
Barncastle (talk | contribs) m (→0.5.3.3368) |
||
Line 8: | Line 8: | ||
struct CreatureModelDataRec { | struct CreatureModelDataRec { | ||
uint32_t m_ID; | uint32_t m_ID; | ||
uint32_t m_flags; // &2: hide breath particles <code>CGUnit_C::DetermineBreathEffect</code>, &4: ignore creature texture variations <code>CGUnit_C::InitializeTextureVariations</code> | uint32_t m_flags; // &1: hide footprints, &2: hide breath particles <code>CGUnit_C::DetermineBreathEffect</code>, &4: ignore creature texture variations <code>CGUnit_C::InitializeTextureVariations</code> | ||
{{Template:Type|stringref}} m_ModelName; | {{Template:Type|stringref}} m_ModelName; | ||
uint32_t m_sizeClass; // multiplier for blood splat size and death thud sound. valid range is 0 to 4, if > 4 prevents both from sounding/displaying | uint32_t m_sizeClass; // multiplier for blood splat size and death thud sound. valid range is 0 to 4, if > 4 prevents both from sounding/displaying |
Revision as of 17:38, 11 October 2017
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 particlesCGUnit_C::DetermineBreathEffect
, &4: ignore creature texture variationsCGUnit_C::InitializeTextureVariations
stringrefⁱ m_ModelName; uint32_t m_sizeClass; // multiplier for blood splat size and death thud sound. valid range is 0 to 4, if > 4 prevents 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.5.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 |
Cata Additions
cata - missileCollisionRadius - Float
cata - missileCollisionPush - Float
cata - 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 |