DB/CreatureDisplayInfo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__TOC__ | |||
This defines textures, scale, models and some other things that are used for showing creatures. | This defines textures, scale, models and some other things that are used for showing creatures. | ||
==0.5.3.3368== | ==Classic== | ||
===0.5.3.3368=== | |||
====Struct==== | |||
struct CreatureDisplayInfoRec { | struct CreatureDisplayInfoRec { | ||
uint32_t m_ID; | uint32_t m_ID; | ||
Line 12: | Line 15: | ||
uint32_t m_bloodID; | uint32_t m_bloodID; | ||
}; | }; | ||
== | ==Wrath | ||
===3.0.2.8905=== | |||
====Table==== | |||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" | ||
|- | |- | ||
Line 53: | Line 58: | ||
|- style="background:#C1FFC1;" | |- style="background:#C1FFC1;" | ||
| 16 || [[ObjectEffectPackage.dbc|objectEffectPackageID]] || iRefID || Set for gyrocopters, catapults, rocketmounts and siegevehicles. (WotLK) | | 16 || [[ObjectEffectPackage.dbc|objectEffectPackageID]] || iRefID || Set for gyrocopters, catapults, rocketmounts and siegevehicles. (WotLK) | ||
|} | |||
===3.3.5.12340=== | |||
====Table==== | |||
{| style="background:#FCFCFC; color:black" | |||
|- | |||
! width="80" | Column | |||
! width="180 " | Field | |||
! width="80" | Type | |||
! width="600" | Notes | |||
|- | |||
| 1 || ID || Integer || | |||
|- style="background:#F0F8FF;" | |||
| 2 || [[CreatureModelData.dbc|Model]] || iRefID || A model to be used. | |||
|- style="background:#F0F8FF;" | |||
| 3 || [[CreatureSoundData.dbc|Sound]] || iRefID || Not set for that much models. Can also be set in CreatureModelData. | |||
|- style="background:#F0F8FF;" | |||
| 4 || [[CreatureDisplayInfoExtra.dbc|ExtraDisplayInformation]] || iRefID || If this display-id is a NPC wearing things that are described in there. | |||
|- | |||
| 5 || Scale || Float || Default scale, if not set by server. 1 is the normal size. | |||
|- | |||
| 6 || Opacity || Integer || 0 (transparent) to 255 (opaque). | |||
|- | |||
| 7 || Skin1 || String || Skins that are used in the model. | |||
|- | |||
| 8 || Skin2 || String || See [[M2#Texture_Types|this]] for information when they are used. | |||
|- | |||
| 9 || Skin3 || String || | |||
|- | |- | ||
| cata || | | 10 || portraitTextureName || String || Holding an icon like INV_Misc_Food_59. Only on a few. | ||
|- | |||
| cata || sizeClass || Integer || | |||
|- style="background:#F0F8FF;" | |||
| 11 || [[UnitBloodLevels.dbc|bloodLevel]] || iRefID || If 0, this is read from CreatureModelData. (CGUnit::RefreshDataPointers) | |||
|- style="background:#F0F8FF;" | |||
| 12 || [[UnitBlood.dbc|blood]] || iRefID || | |||
|- style="background:#F0F8FF;" | |||
| 13 || [[NPCSounds.dbc|NPCSounds]] || iRefID || Sounds used when interacting with the NPC. | |||
|- style="background:#F0F8FF;" | |||
| 14 || [[ParticleColor.dbc|Particles]] || iRefID || Values are 0 and >281. Wherever they are used .. | |||
|- style="background:#C1FFC1;" | |||
| 15 || [[M2/.skin#Mesh_part_ID|creatureGeosetData]] || Integer || With this one, you can select an geoset out of the first 8 groups. 0x00200000 will select geoset 2 out of group 600 and therefore 602. | |||
|- style="background:#C1FFC1;" | |||
| 16 || [[ObjectEffectPackage.dbc|objectEffectPackageID]] || iRefID || Set for gyrocopters, catapults, rocketmounts and siegevehicles. (WotLK) | |||
|} | |} | ||
==6.0.1.18179== | |||
==Warlords== | |||
===6.0.1.18179=== | |||
====Struct==== | |||
struct CreatureDisplayInfoRec { | struct CreatureDisplayInfoRec { | ||
uint32_t m_ID; | uint32_t m_ID; | ||
Line 78: | Line 128: | ||
uint32_t m_stateSpellVisualKitID; | uint32_t m_stateSpellVisualKitID; | ||
}; | }; | ||
[[Category:DBC]][[Category:3.0.2.8905]][[Category: | [[Category:DBC]] | ||
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]] | |||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] | [[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Revision as of 02:40, 14 July 2016
This defines textures, scale, models and some other things that are used for showing creatures.
Classic
0.5.3.3368
Struct
struct CreatureDisplayInfoRec { uint32_t m_ID; uint32_t m_modelID; uint32_t m_soundID; uint32_t m_extendedDisplayInfoID; float m_creatureModelScale; uint32_t m_creatureModelAlpha; stringrefⁱ m_textureVariation[3]; uint32_t m_bloodID; };
==Wrath
3.0.2.8905
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Model | iRefID | A model to be used. |
3 | Sound | iRefID | Not set for that much models. Can also be set in CreatureModelData. |
4 | ExtraDisplayInformation | iRefID | If this display-id is a NPC wearing things that are described in there. |
5 | Scale | Float | Default scale, if not set by server. 1 is the normal size. |
6 | Opacity | Integer | 0 (transparent) to 255 (opaque). |
7 | Skin1 | String | Skins that are used in the model. |
8 | Skin2 | String | See this for information when they are used. |
9 | Skin3 | String | |
10 | portraitTextureName | String | Holding an icon like INV_Misc_Food_59. Only on a few. |
cata | sizeClass | Integer | |
11 | bloodLevel | iRefID | If 0, this is read from CreatureModelData. (CGUnit::RefreshDataPointers) |
12 | blood | iRefID | |
13 | NPCSounds | iRefID | Sounds used when interacting with the NPC. |
14 | Particles | iRefID | Values are 0 and >281. Wherever they are used .. |
15 | creatureGeosetData | Integer | With this one, you can select an geoset out of the first 8 groups. 0x00200000 will select geoset 2 out of group 600 and therefore 602. |
16 | objectEffectPackageID | iRefID | Set for gyrocopters, catapults, rocketmounts and siegevehicles. (WotLK) |
3.3.5.12340
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Model | iRefID | A model to be used. |
3 | Sound | iRefID | Not set for that much models. Can also be set in CreatureModelData. |
4 | ExtraDisplayInformation | iRefID | If this display-id is a NPC wearing things that are described in there. |
5 | Scale | Float | Default scale, if not set by server. 1 is the normal size. |
6 | Opacity | Integer | 0 (transparent) to 255 (opaque). |
7 | Skin1 | String | Skins that are used in the model. |
8 | Skin2 | String | See this for information when they are used. |
9 | Skin3 | String | |
10 | portraitTextureName | String | Holding an icon like INV_Misc_Food_59. Only on a few. |
cata | sizeClass | Integer | |
11 | bloodLevel | iRefID | If 0, this is read from CreatureModelData. (CGUnit::RefreshDataPointers) |
12 | blood | iRefID | |
13 | NPCSounds | iRefID | Sounds used when interacting with the NPC. |
14 | Particles | iRefID | Values are 0 and >281. Wherever they are used .. |
15 | creatureGeosetData | Integer | With this one, you can select an geoset out of the first 8 groups. 0x00200000 will select geoset 2 out of group 600 and therefore 602. |
16 | objectEffectPackageID | iRefID | Set for gyrocopters, catapults, rocketmounts and siegevehicles. (WotLK) |
Warlords
6.0.1.18179
Struct
struct CreatureDisplayInfoRec { uint32_t m_ID; foreign_keyⁱ<uint32_t, &CreatureModelDataRec::m_ID> m_modelID; foreign_keyⁱ<uint32_t, &CreatureSoundDataRec::m_ID> m_soundID; // if not found, resolve via CreatureModelDataRec::m_soundID foreign_keyⁱ<uint32_t, &CreatureDisplayInfoExtraRec::m_ID> m_extendedDisplayInfoID; float m_creatureModelScale; uint32_t m_creatureModelAlpha; stringrefⁱ m_textureVariation[3]; stringrefⁱ m_portraitTextureName; uint32_t m_portraitCreatureDisplayInfoID; uint32_t m_sizeClass; uint32_t m_bloodID; uint32_t m_NPCSoundID; uint32_t m_particleColorID; uint32_t m_creatureGeosetData; uint32_t m_objectEffectPackageID; uint32_t m_animReplacementSetID; uint32_t m_flags; uint32_t m_gender; uint32_t m_stateSpellVisualKitID; };