BaseAppearance
type BaseAppearance = {
eyeColor?: number;
faceFeatures?: number[];
hairColor?: {
color: number;
highlight: number;
};
hairStyle?: PedComponent;
headBlend?: HeadBlend;
headOverlays?: Record<number, HeadOverlay>;
model: string;
};Defined in: src/modules/core/characters/types.ts:78
Base character appearance data - stored in database. Does NOT include clothing components or props (those come from equipment). Includes model, face/body customization for freemode characters.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
eyeColor? | number | Eye color | src/modules/core/characters/types.ts:101 |
faceFeatures? | number[] | Face features for freemode characters (array of 20 values, -1.0 to 1.0) | src/modules/core/characters/types.ts:89 |
hairColor? | { color: number; highlight: number; } | Hair color (primary and highlight) | src/modules/core/characters/types.ts:95 |
hairColor.color | number | - | src/modules/core/characters/types.ts:96 |
hairColor.highlight | number | - | src/modules/core/characters/types.ts:97 |
hairStyle? | PedComponent | Hair style (component 2) - kept in base because it's part of character identity | src/modules/core/characters/types.ts:83 |
headBlend? | HeadBlend | Head blend for freemode characters | src/modules/core/characters/types.ts:86 |
headOverlays? | Record<number, HeadOverlay> | Head overlays indexed by overlay ID (0-12) | src/modules/core/characters/types.ts:92 |
model | string | Model hash or model name (e.g., "mp_m_freemode_01") | src/modules/core/characters/types.ts:80 |