DB/CharHairGeosets
Jump to navigation
Jump to search
Defines possible hairstyles for races.
0.5.3.3368-1.12.1.5875-3.0.2.8905-3.3.5.12340
Struct
struct CharHairGeosetsRec { uint32_t m_ID; uint32_t m_RaceID; uint32_t m_SexID; uint32_t m_VariationID; uint32_t m_GeosetID; uint32_t m_Showscalp; };
Table
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | God knows why these columns never start at 0.. |
2 | Race | iRefID | |
3 | Gender | Boolean | 0 = Male, 1 = Female |
4 | HairType | Integer | |
5 | Geoset | Integer | Defines the connection between HairType and Geoset number in MDX model |
6 | Bald | Boolean | If this hairstyle bald or not . |
Warlords
enum CharVariationType { Skin = 0, Face = 1, FacialHair = 2, Hair = 3, Underwear = 4, Custom1 = 5, Custom2 = 6, Custom3 = 7 }
6.0.1.18179
Struct
struct CharHairGeosetsRec { uint32_t m_ID; uint32_t m_RaceID; uint32_t m_SexID; uint32_t m_VariationID; uint32_t m_VariationType; // 0 = skinColor, 1 = face, 2 = beardStyle, 3 = hairStyle & hairColor uint32_t m_GeosetID; uint32_t m_GeosetType; uint32_t m_Showscalp; uint32_t m_ColorIndex; };
8.0.1.25902
struct CharHairGeosetsRec { uint32_t m_ID; uint32_t DHGeosetsModelHDFileDataID; // DH geosets HD model file data id uint8_t m_RaceID; uint8_t m_SexID; uint8_t m_VariationID; uint8_t m_VariationType; uint8_t m_GeosetID; uint8_t m_GeosetType; // (mesh = m_GeosetType * 100 + m_GeosetID) uint8_t m_Showscalp; uint8_t m_ColorIndex; uint32_t DHGeosetsModelFileDataID; // DH geosets model file data id };