Skip to content

Features guide

How Cuxial Appearance is used in game: shops, creator, outfits, wardrobe, second hand, trimmer, photo studio and the staff panel.

What players and staff can do with Cuxial Appearance, and the rules behind each part.

Shops ​

A shop is a polygon on the map. Inside it the player sees a prompt and presses E to open the menu of that shop.

TypeTabsBlip
clothingClothes, accessories, outfitsYes
barberHair, makeupYes
surgeonHeritage, faceYes
appearanceEverything, plus tattoos when the built-in tattoos are activeNo
resaleSecond-hand counterYes
  • Price. Each shop has one price. It is charged once when the player confirms, whatever the number of changes. The player picks cash or bank.
  • Jobs. A shop with jobs is only usable by players with one of them. The prompt does not show for anyone else.
  • Restricted pieces. A shop can refuse to sell some pieces, for example masks.
  • Overlap. Where two shops overlap, the one the player opened is used; if that cannot be told, the most expensive one.

Shops are created and edited in game from the staff panel. The tabs of each type are set in data/menus.lua.

Character creator ​

A new character goes through the creator: the full menu, with no price and no way to leave without saving. The player is alone in their own instance while it is open. If saving the chosen look fails, a default look is saved so the character is never left without one.

The creator is launched by your multicharacter resource. See Exports & events.

Catalogue and photos ​

With photos taken, the catalogue shows each garment with its picture. Photos exist per gender and are taken by staff in the photo studio. Garments with no photo still appear, without a picture.

With cuxial_emotes running, the menu also offers poses to check the look.

Outfits ​

The outfits tab lists the personal outfits of the character and the job outfits their rank allows.

ActionWhat it does
Add outfitSaves the clothes being worn under a name. Inside a shop it costs the price of that shop; outside, prices.outfitPrice. Up to prices.maxOutfits per character.
Add job outfitOnly for the boss of a job. Saved with a minimum rank; every member with that rank or higher sees it.
UseWears the outfit.
UpdateOverwrites the outfit with the current clothes.
Rename, deleteManage the list.
ShareOffers the outfit to a player within 5 metres who uses the same model. They accept or decline.
CodeCreates a code other players can import into their own list.
SetPacks the outfit into an outfit item for prices.outfitBagPrice. Using the item wears it; it only fits the model it was made with.

Outfit bag ​

The outfit bag is an item. Using it places a bag on the ground in front of the player.

  • The bag holds outfits.bagSlots outfits. From the bag the player saves the current outfit into a slot, renames it, removes it, or wears it whole or in part: only the mask, the torso, the trousers or the shoes.
  • The owner can make the bag public, so other players can open it and wear its outfits, or keep it private.
  • Only the owner picks the bag up. A bag left on the ground is returned on the next login.
  • With outfits.bagStorage = 'citizenid' the outfits belong to the character. With 'item' they travel inside the item.

Opening and picking up a placed bag needs a target resource.

Wardrobe ​

/vestuario opens a panel with the pieces of the character grouped by head, torso and legs.

  • Taking a piece off turns it into a garment item in the inventory. Putting it on consumes the item.
  • A garment item remembers its piece, drawable, texture and collection, and shows the catalogue photo when there is one.
  • Using a garment item from the inventory wears it and returns, as an item, whatever was worn in that place.
  • Garments reserved in the whitelist cannot be worn by players without the grant.

Inventory mode ​

With the convar cuxial_appearance:inventory at 1, clothing moves into the inventory:

  • The wardrobe command opens the clothing panel of the inventory instead of its own panel.
  • Garment bags hold loose garments. Garments can be stored and worn in bulk from a bag.
  • Shopping bag. A purchase of minPieces garments or more, or whose garments do not fit loose, arrives in a shopping bag of slots slots. It disappears when the last garment is taken out.
  • Purchase returns. When a purchase replaces garments, the old ones are handed back as items: to a garment bag with room or to the inventory, in the order set in wardrobe.purchase.destination. If nothing fits, the player can add a new garment bag to the purchase for wardrobe.bag.price, or the purchase is refused.
  • Body search. Another resource can list what a player wears and take pieces from them. Only the pieces in wardrobe.search.pieces can be taken. Every piece taken is logged.
  • A worn garment can be handed to a nearby player.

Second hand ​

A resale shop buys loose garment items.

  • The counter lists the garments the player carries with the price offered for each.
  • The price is the base price of the piece × secondHand.payout, × secondHand.collectionFactor for collection garments.
  • Garments reserved in the whitelist and pieces with a base price of 0 are not bought.
  • Up to secondHand.maxPerSale garments per sale. The money goes to cash or bank, as set in secondHand.account.
  • Every sale is logged and shown in the staff panel.

Trimmer ​

Using the trimmer shaves the nearest player within trimmer.range.

  • Both players play a paired animation for trimmer.duration. If they are apart when it ends, nothing is applied.
  • The target ends up with the bald style of trimmer.bald, or with the custom haircut of a trimmer given by /givetrimmer.
  • The target cannot change hair for trimmer.hairLockMinutes, not even at a barber.
  • Neither player can be in a vehicle, and the target must use one of the models in trimmer.models.

The trimmer needs cuxial_emotes.

Restrictions ​

Three ways to keep garments or models out of reach, from the most general to the most specific:

ToolWhereUse it for
Blacklistdata/blacklist.luaHiding garments or models from everyone, from everyone outside a job shop, or from everyone outside a gang.
ACEaces in shared/config.luaGarments or models for players with an ACE permission: donors, staff.
WhitelistStaff panelGarments, accessories, hairstyles, heritage, eye colour, overlays or ped models reserved to characters, jobs or gangs.

Every restriction is checked again on the server when an appearance, clothes or an outfit is saved, and when a garment is used as an item: a restricted garment is discarded, and a model that is not allowed is refused. A gang group of the blacklist applies to everyone outside that gang; its members keep those garments. Staff are exempt from the blacklist and the ACE restrictions; for the whitelist, see Staff mode.

Staff panel ​

/adminclothing opens the panel. It has five sections.

SectionWhat you do there
ShopsCreate, edit, disable and delete shops. Draw the zone with a free camera by marking its corners on the ground. Set type, price, jobs, restricted pieces and the blip (on or off, sprite, colour, position). Import the default shops that are missing.
WhitelistReserve garments, features or ped models to characters, jobs or gangs. See Whitelist.
PlayersSee what an online player wears and the loose garments they carry. Take a piece off them, give them a garment item, or reload their look.
LogsThe latest second-hand sales and body searches.
SettingsPrices, wardrobe, second hand, trimmer and menu opacity. Changes apply at once to everyone, with no restart. Settings can be exported, imported and reset.

Shop and whitelist changes also reach every player at once. Staff actions are stored in an audit table and sent to the Discord webhook when one is set.

Whitelist ​

The Whitelist section of the staff panel reserves part of the look to the people you choose. Everyone else cannot see it in the menus or wear it.

TargetWhat it reserves
ClothingA garment of a clothing slot: jackets, trousers, shoes and the rest.
AccessoryAn accessory: hats, glasses, watches and the rest.
HairA hairstyle.
FaceA heritage face, in the mother, father or third slot, or in any of them.
SkinA heritage skin tone, by the same slots.
EyesAn eye colour.
OverlayA value of an overlay: beard, eyebrows, makeup, blush, lipstick and the rest.
ModelA ped model, by name.

Each grant also sets:

  • Sex: male, female or both. A grant for one sex leaves the same number of the other sex free.
  • Texture: one texture of the garment or all of them, for clothing and accessories.
  • Recipients: characters by CID, jobs with a minimum grade, and gangs with a minimum grade. Matching any recipient is enough.
  • Note: an optional reason.

The capture button next to the number reads what your character wears in that slot and fills in the grant. Garments are stored by their collection and their number inside it, so the grant keeps pointing at the same piece after you add clothing packs.

Grants apply at once: when a grant is created or edited, when a player's job or gang changes, and when a character loads. Anything a player is no longer allowed is taken off the character and out of the database, and the player gets a notice. A blocked overlay becomes invisible, and a blocked model is replaced by the freemode model of the character's sex. A grant left with no recipients is deleted.

Staff mode ​

Staff see the whitelist like any other player. The Staff mode switch in the Whitelist section lets a staff member skip it. It starts off and turns off when they disconnect.

Photo studio ​

/fotosropa male or /fotosropa female opens the studio.

  1. The staff member is moved to an empty spot in a separate instance, on the freemode model of that gender.
  2. They choose the categories to shoot and start. Each garment is put on, framed, captured and uploaded.
  3. The session can be paused, resumed and cancelled. Cameras can be adjusted per category and saved.
  4. On finish, the photos are published: the photos resource restarts and every player's catalogue updates.

A session can be limited to the garments that have no photo yet, so a new clothing pack only costs its own garments. A photo can be flagged to be taken again.

Run a session for each gender. A full first session takes a while: it goes through every garment of the game and of your clothing packs.

Logs ​

With a webhook set, these go to Discord: shop changes, body searches, second-hand sales and staff actions on players. The same actions are stored in the database; audit rows older than 60 days are removed every day.

© Cuxial