DB/CreatureDisplayInfoExtra: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 55: | Line 55: | ||
| 5 || FaceType || Integer || | | 5 || FaceType || Integer || | ||
|- | |- | ||
| 6 || HairType || | | 6 || HairType || iRefID || Look up into [[CharHairGeosets.dbc]] to define which Geoset to render. | ||
|- | |- | ||
| 7 || HairStyle/HairColor || | | 7 || HairStyle/HairColor || iRefID || Look up into [[CharSections.dbc]], where GeneralType=3 to define which texture to use. | ||
|- | |- | ||
| 8 || BeardStyle || Integer || | | 8 || BeardStyle || Integer || |
Revision as of 21:21, 11 March 2018
Defines certain characteristics for npcs.
Classic
0.5.3.3368
Struct
struct CreatureDisplayInfoExtraRec { uint32_t m_ID; uint32_t m_DisplayRaceID; uint32_t m_DisplaySexID; uint32_t m_SkinID; uint32_t m_FaceID; uint32_t m_HairStyleID; uint32_t m_HairColorID; uint32_t m_FacialHairID; uint32_t m_NPCItemDisplay[10]; stringrefⁱ m_BakeName; };
1.12.1.5875
Struct
struct CreatureDisplayInfoExtraRec { uint32_t m_ID; uint32_t m_DisplayRaceID; uint32_t m_DisplaySexID; uint32_t m_SkinID; uint32_t m_FaceID; uint32_t m_HairStyleID; uint32_t m_HairColorID; uint32_t m_FacialHairID; uint32_t m_NPCItemDisplay[10]; uint32_t m_flags; stringrefⁱ m_BakeName; };
Wrath
3.0.3.8905-3.3.5.12340
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Race | iRefID | |
3 | CreatureType | iRefID | Removed around 3.2. Maybe sooner ? 3.0.9.9551 doesn't feature it anymore. |
3 | Gender | Boolean | 0 for Male, 1 for Female |
4 | SkinColor | Integer | |
5 | FaceType | Integer | |
6 | HairType | iRefID | Look up into CharHairGeosets.dbc to define which Geoset to render. |
7 | HairStyle/HairColor | iRefID | Look up into CharSections.dbc, where GeneralType=3 to define which texture to use. |
8 | BeardStyle | Integer | |
9 | Helm | iRefID | These columns define the displayid that the NPC is wearing. |
10 | Shoulder | iRefID | |
11 | Shirt | iRefID | |
12 | Cuirass | iRefID | |
13 | Belt | iRefID | |
14 | Legs | iRefID | |
15 | Boots | iRefID | |
16 | Wrist | iRefID | |
17 | Gloves | iRefID | |
18 | Tabard | iRefID | |
19 | Cape | iRefID | |
20 | CanEquip | Boolean | Can equip additional things when used for players. |
21 | Texture | String | The texture used on the model. .blp extension can be omitted. Name must not be empty, otherwise client crashes. |
Warlords
6.0.1.18179
Struct
struct CreatureDisplayInfoExtraRec { uint32_t m_ID; uint32_t m_DisplayRaceID; uint32_t m_DisplaySexID; uint32_t m_SkinID; uint32_t m_FaceID; uint32_t m_HairStyleID; uint32_t m_HairColorID; uint32_t m_FacialHairID; uint32_t m_NPCItemDisplay[11]; uint32_t m_flags; uint32_t m_fileDataID; uint32_t m_hdFileDataID; };
8.0.1.25902
struct CreatureDisplayInfoExtraRec { // uint32_t m_ID; uint32_t m_fileDataID; uint32_t m_hdFileDataID; uint8_t m_DisplayRaceID; uint8_t m_DisplaySexID; uint8_t m_DisplayClassID; // 7.x uint8_t m_SkinID; // or is this face? uint8_t m_FaceID; // or is this skin? uint8_t m_HairStyleID; uint8_t m_HairColorID; uint8_t m_FacialHairID; uint8_t CustomDisplayOption[3]; // 7.x uint8_t m_flags; };