DB/CharSections: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Reordered for WotLK, new style.)
Line 1: Line 1:
==Header Info==
This table defines the textures for the different types of character-variations that involve a texture only. These are hair, beards, the base skin etc.
Records..................4848
Fields.....................10
Record Size................40
String Block Size......270034


==Structure==
==Structure==
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Column
! width="180 " | Field
! width="80" | Type
! width="600" | Notes
|-
| 1  || ID  || Integer  ||
|- style="background:#F0F8FF;"
| 2  || [[ChrRaces.dbc|Race]]  || iRefID  ||
|-
| 3  || Gender  || Boolean  || Male = 0, female = 1.
|-
| 4  || GeneralType  || Integer  || See below.
|-
| 5  || Texture1  || String  ||
|-
| 6  || Texture2  || String  ||
|-
| 7  || Texture3  || String  ||
|-
| 8  || Flags  || Integer  ||
|-
| 9  || Type  || Integer  ||
|-
| 10  || Variation  || Integer  || These are the variations / colors of the Type.
|}


'''Column Field Type Notes'''
It seems to have been reordered in WotLK. The Type and Variation fields have been in front of the textures before.
1 ID Integer
2 iRefID_[[ChrRaces.dbc|ChrRaces]] Integer
3 Gender Boolean male = 0, female = 1
4 Type Integer See Field Descriptions.  
5 Section Integer
6 Color Integer
7 sRefPath_Texture 1 String
8 sRefPath_Texture 2 String
9 sRefPath_Texture 3 String
10 isSpecialNPC Boolean 0 for characters, 1 for special npcs


==Field Descriptions==
==Field Descriptions==


The meaning of some of the fields change depending on the Type value.  
The meaning of some of the fields change depending on the GeneralType value.  


'''Type Value Description Section Color Texture1 Texture2 Texture3'''  
{| style="background:#FCFCFC; color:black"
0 Base Skin - Skin Color Skin  Extra Skin  -
|-
1 Face Face Type Skin Color Face Lower  Face Upper  -
! width="80" |  /
2 Facial Hair Facial Hair Type Hair Color Facial Lower  Facial Upper  -
! width="120 " | 0 - ''Base Skin''
3 Hair Hair Style Hair Color Hair  Scalp Lower  Scalp Upper 
! width="120" | 1 - ''Face''
4 Underwear - Skin Color Pelvis  Torso  -  
! width="120" | 2 - ''Facial Hair''
! width="120" | 3 - ''Hair''
! width="120" | 4 - ''Underwear''
|-
| '''Type''' || - || FaceType || FacialHairType || HairStyle || -
|-
| '''Color''' || SkinColor || SkinColor || HairColor || HairColor || SkinColor
|-
| '''Texture1''' || SkinTexture || FaceLowerTexture || FacialLowerTexture || HairTexture || PelvisTexture
|-
| '''Texture2''' || ExtraSkinTexture || FaceUpperTexture || FacialUpperTexture || ScalpLowerTexture || TorsoTexture
|-
| '''Texture3''' || - || - || - || ScalpUpperTexture || -
|}


Retrieved from "http://www.sourcepeek.com/wiki/CharSections.dbc"
[[Category:DBC]][[Category:3.0.2.8905]]
 
[[Category:DBC]]

Revision as of 18:31, 29 September 2008

This table defines the textures for the different types of character-variations that involve a texture only. These are hair, beards, the base skin etc.

Structure

Column Field Type Notes
1 ID Integer
2 Race iRefID
3 Gender Boolean Male = 0, female = 1.
4 GeneralType Integer See below.
5 Texture1 String
6 Texture2 String
7 Texture3 String
8 Flags Integer
9 Type Integer
10 Variation Integer These are the variations / colors of the Type.

It seems to have been reordered in WotLK. The Type and Variation fields have been in front of the textures before.

Field Descriptions

The meaning of some of the fields change depending on the GeneralType value.

/ 0 - Base Skin 1 - Face 2 - Facial Hair 3 - Hair 4 - Underwear
Type - FaceType FacialHairType HairStyle -
Color SkinColor SkinColor HairColor HairColor SkinColor
Texture1 SkinTexture FaceLowerTexture FacialLowerTexture HairTexture PelvisTexture
Texture2 ExtraSkinTexture FaceUpperTexture FacialUpperTexture ScalpLowerTexture TorsoTexture
Texture3 - - - ScalpUpperTexture -