DB/CharComponentTextureSections
Jump to navigation
Jump to search
Contains the coordinates within the character skinning texture for each component. and their sizes.
Structure
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Layout | iRefID | |
3 | Section | Integer | See below. |
4 | X | Integer | |
5 | Y | Integer | |
6 | Width | Integer | |
7 | Height | Integer |
enum TEXTURE_SECTION
TEXTURE_SECTION_ARMS_UPPER = 0, TEXTURE_SECTION_ARMS_LOWER, TEXTURE_SECTION_HANDS, TEXTURE_SECTION_TORSO_UPPER, TEXTURE_SECTION_TORSO_LOWER, TEXTURE_SECTION_LEGS_UPPER, TEXTURE_SECTION_LEGS_LOWER, TEXTURE_SECTION_FEET, TEXTURE_SECTION_UNK8, // Only used in Layout 2 (1024x512) TEXTURE_SECTION_SCALP_UPPER, TEXTURE_SECTION_SCALP_LOWER