DB/CreatureDisplayInfoExtra

From wowdev
Jump to navigation Jump to search

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 Look up into CharSections.dbc
5 FaceType Integer Look up into CharSections.dbc ?
6 HairStyle iRefID Look up into CharHairGeosets.dbc to define which Geoset to render.
7 HairColor iRefID Look up into CharSections.dbc, where GeneralType=3 to define which texture to use.
8 BeardStyle Integer Look up into CharacterFacialHairStyles.dbc
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;
};

In Legion+ NPC armor has been moved to DB/NpcModelItemSlotDisplayInfo.db2

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;
};