Skip to main content
Part of Configuration. Every key on this page lives in config.lua.

Theme

theme overrides ug-lib’s theme for ug-appearance only. It takes the same fields as the ug-lib theme: mode, colors, radius, font and scale. colors takes HSL triplets keyed by ug-lib token, plus one color per editor tab and the two ends of the heritage mix bar:
  • Tabs: model, heritage, features, eyes, skin, hair, facialHair, makeup, clothing, accessories, tattoos, outfits.
  • Mix bar: mixFirst, mixSecond.
config.lua

Layout

layout shapes the editor screen. A key you leave out keeps its default.

Tools

features turns editor tools on and off. A tool set to false is hidden. Rotate, zoom, compare and poses are refused by the game too, so no script can use them.

Controls

config.lua
  • dragSpeed: degrees the ped turns per dragged pixel.
  • zoomSpeed: meters per mouse wheel unit.
  • keyRotate: degrees per Q or E press. 0 turns the keys off.
  • rotateStep: degrees per toolbar turn button.
camera.zoomDuration (default 150) is how many ms the camera glides on each wheel step. See Camera.

Lights

lights lists the light presets on the toolbar, in order: natural, studio, day, night. The first one is on when the editor opens. Leave one out to remove it. studio sets the clock for day and night, and the lamps of the studio preset:
config.lua
Each lamp sets its angle from the camera side, its distance and height from the ped, its color { r, g, b }, its range and its intensity.

Sounds

soundEffects maps each event to a game sound, { name, set }. A sound you leave out is silent.
config.lua