Genetic Morphing & Face Sliders
Millimeter-grade blending of maternal and paternal features with fine slider controls.
coe_appearanceVisual Customization & Wardrobe
Gen9 Shaders Character Creator & Precision Wardrobe System
Complete facial sculpting, hairstyle, tattoo, and clothing editing suite. Offers 360° camera rotation, precise regional zoom (head, torso, feet), closet saved outfit management, and one-click career duty uniforms.
DirectX 12 fabric shaders and facial lighting eliminate texture stretching, shadow artifacts, and Alpha Blending seams.
Millimeter-grade blending of maternal and paternal features with fine slider controls.
Save and name multiple outfits accessible inside properties and safehouses.
Effortless zoom on face, hands, and feet with smooth 360-degree rotation.
Direct integration with career systems for job uniform deployment.
Every COE Framework script strictly follows the principle of separation of concerns. Interact with the 3D stack below:
Built with vanilla HTML5, CSS3 tokens, and modern JavaScript. No heavyweight frameworks (React/Vue/Electron). Rendered directly in FiveM DX12's Chromium Embedded Framework at 0.00 ms while closed.
Manage your city without relying on developers. Runtime parameters, auditing, and ACE-protected commands:
IsPlayerAceAllowed(src, "coe.admin")
exports.coe_audit:Record(severity, category, event, context)
Clean Architecture & HAL
Typed contracts to call from other resources. Full types live in types.lua and in the docs reference.
exports['coe_appearance']:OpenCreator(options)
→ boolean
Opens the character creator. Results are dispatched via local events `coe_appearance:creatorSubmit` and `coe_appearance:creatorCancelled`.
| Parameter | Type |
|---|---|
options | CoeAppearanceCreatorOptions |
local result = exports['coe_appearance']:OpenCreator(options)exports['coe_appearance']:CloseCreator()
→ void
Closes the creator interface leaving the screen dark: caller prepares the next scene and triggers the fade in.
No parameters.
exports['coe_appearance']:CloseCreator()exports['coe_appearance']:CreatorError(message)
→ void
Displays an error prompt on the creator UI (e.g. server persistence failure).
| Parameter | Type |
|---|---|
message | string|nil |
exports['coe_appearance']:CreatorError(message)exports['coe_appearance']:IsCreatorOpen()
→ boolean
Returns whether the character creator is currently active.
No parameters.
local result = exports['coe_appearance']:IsCreatorOpen()exports['coe_appearance']:Apply(ped, appearance)
→ boolean
Applies the appearance payload to a ped that matches the target model (does not swap ped model).
| Parameter | Type |
|---|---|
ped | integer |
appearance | table |
local result = exports['coe_appearance']:Apply(ped, appearance)exports['coe_appearance']:ApplyToPlayer(appearance)
→ boolean
Swaps the local player ped model and applies the full appearance dataset.
| Parameter | Type |
|---|---|
appearance | table |
local result = exports['coe_appearance']:ApplyToPlayer(appearance)exports['coe_appearance']:CreatePed(appearance, x, y, z, heading, gender)
→ integer|nil
Creates a local (non-networked) ped for cinematic scenes, with custom appearance or default gender clothing. Caller must delete entity when done.
| Parameter | Type |
|---|---|
appearance | table|nil |
x | number |
y | number |
z | number |
heading | number|nil |
gender | 'male'|'female'|nil |
local result = exports['coe_appearance']:CreatePed(appearance, x, y, z, heading, gender)exports['coe_appearance']:Normalize(raw)
→ table|nil
Validates and normalizes an incoming appearance table (database or foreign resource). Returns `nil` when invalid.
| Parameter | Type |
|---|---|
raw | any |
local result = exports['coe_appearance']:Normalize(raw)exports['coe_appearance']:Default(gender)
→ table
Returns initial default appearance for the given gender.
| Parameter | Type |
|---|---|
gender | 'male'|'female' |
local result = exports['coe_appearance']:Default(gender)exports['coe_appearance']:Version()
→ integer
Format schema version of appearance payload (`AppearanceSchema.Version`).
No parameters.
local result = exports['coe_appearance']:Version()/coe_fotos_roupas [male|female] [refazer]
Generates the clothing thumbnails used by the character creator (requires the configured ACE).