Photo studio
Eleven Outfits studio tools: photograph every garment on your server, batch-retake outfit photos and place the camera framings by hand with a free camera.
What it is for
The studio is three staff commands to build the catalog faster and with matching photos:
| Command | What it does |
|---|---|
/clothesphotos [category|all] [redo] | Photographs every garment on your server, one by one, worn by your character. So you can see what clothes you have and plan your outfits. |
/outfitphotos [missing|all] | Batch-takes the catalog photo of every outfit without one (or of all of them). |
/outfitstudio | Free camera to place every photo framing by hand. |
Command names are changed in Config.Studio.commands. The whole studio is turned off with Config.Studio.enabled = false.
Before using it
- Permission: the commands are for the ACE in
Config.Studio.permission(group.adminby default). It is a different permission fromConfig.Staff: see Commands and permissions. - screenshot-basic must be running. Otherwise you get "The screenshot failed (is screenshot-basic running?)".
- Use an MP character, out of any vehicle and with the catalog closed.
- The photo spot is
Config.Studio.position. By default it is the Ponsonbys shop in Rockford Hills; move it to an empty interior or a quiet street on your map.
How a batch works
When you run /clothesphotos or /outfitphotos:
- The screen fades to black, your clothes and position are saved and you are taken to the photo spot.
- Your character is frozen and invincible, with no HUD. With
keepNeedsFull = true, hunger and thirst stay full while it runs (batches can take a while). - Garments or outfits are put on one after another and each photo is taken.
- When it ends (or you cancel) you are back where you were, in your own clothes, and a message tells you how many photos were taken and how many failed.
Backspace cancels any batch at any time. Details of each failure go to the F8 console.
Photos of every garment: /clothesphotos
/clothesphotos every main category
/clothesphotos c11 torsos only
/clothesphotos all redo all of them, repeating those that already have a photo
- For each category it strips your character down to the
Config.Studio.baseclothes, puts on each garment (texture 0) and photographs it with that category's framing. - Photos are saved in
outfit-catalog/studio/as<gender>_<category>_<number>.webp(for examplem_c11_0012.webp), atwidth×height(360 × 480 by default). - The number of colours of each garment is logged in the
outfit_catalog_garmentstable: colours are counted, not photographed. - Players never see these photos. They are for you: open the
studio/folder, look at your clothes and decide what to combine. - Run it again and it continues where it stopped, skipping garments that already have a photo. Add
redoto repeat all of them. - It photographs the clothes for your character's gender: run it once with a male character and once with a female one.
Categories
The order of Config.Studio.categories is the order of the batch. all covers every category except those marked extra, which you ask for by id.
| Id | Category | Framing |
|---|---|---|
c11 | Torsos | torso |
c8 | Undershirts | torso |
c4 | Legs | legs |
c6 | Shoes | feet |
p0 | Hats | head |
p1 | Glasses | head |
c1 | Masks | head |
c7 | Chains and ties | torso |
c9 | Vests | torso |
c5 | Bags | back |
c3 | Arms and gloves (extra) | torso |
c10 | Decals (extra) | torso |
p2 | Earrings | ear |
p6 | Watches | wrist |
p7 | Bracelets | wrist |
Each category's display name comes from the language file (studio.cat.<id>).
Tip
If garments look wrong (the bare base has an extra piece, or the garment is missing), change the numbers in Config.Studio.base. The defaults are the "nothing on" set of GTA's MP peds; if your server uses other base clothes, put yours there.
Batch catalog photos: /outfitphotos
/outfitphotos only outfits without a photo
/outfitphotos all retake the photo of every outfit
- It takes you to the photo spot, puts each outfit on over the bare base and takes the catalog photo with the body (full body) framing, at
Config.Photo.outWidth×outHeight. - The photo is stored as
Config.Photossays (see Photo storage) and replaces the previous one. - It only covers outfits for your character's gender: run it with a male character and with a female one.
- Handy to give the whole catalog identical photos, or to retake them after changing the framing or the spot.
Placing the framings: /outfitstudio
It takes you to the photo spot with a free camera. An on-screen frame shows the exact crop the photo will have. Step through the eight framings, place each one and save.
| Key | Action |
|---|---|
| Mouse | Look around |
W A S D | Move the camera |
E / Q | Up / down |
Shift | Move faster |
| Mouse wheel | Zoom + / zoom − |
→ / ← | Next / previous framing |
Left click or Enter | Test photo (shown on screen) |
G | Save |
Backspace or Esc | Exit |
GTA's own help buttons show the same keys at the bottom right.
The framings are: Torso, Legs, Feet, Head, Ear, Back, Wrist and Full body (catalog), which is the one /outfitphotos uses.
- What you move in one framing is kept when you switch to the next, but it is only written when you press
G. - It is saved in
outfit-catalog/studio/settings.json, relative to the character, so it stays valid even if you changeConfig.Studio.position. - Saved framings replace the starting values in
Config.Studio.cameras. To go back to those, deletestudio/settings.json.
Note
The photo taken from the catalog with New outfit or Retake photo is taken in the shop, wherever you stand, with the Config.Photo framing. The /outfitstudio framings are used by /clothesphotos and /outfitphotos.
Studio settings
Everything lives in Config.Studio:
| Key | Default | What it does |
|---|---|---|
enabled | true | Turns the three commands on. |
permission | 'group.admin' | ACE allowed to use the commands. |
commands | outfitstudio, clothesphotos, outfitphotos | Command names (studio, garments, outfits), without the slash. |
position | Ponsonbys, Rockford Hills | Photo spot (vec4 with heading). |
waitMs | 120 | Wait after putting a garment on, before the shot. Raise it if garments show up unloaded. |
width, height, quality | 360, 480, 0.82 | Size and quality of garment photos. |
keepNeedsFull | true | Keeps hunger and thirst full during batches. |
cameras | 8 framings | Starting framings: height (m above the ped's centre), distance, fov and turn (degrees around the ped). |
categories | 15 categories | What gets photographed, in what order and with which framing. extra = true leaves it out of all. |
base | GTA's "nothing on" set | Male (m) and female (f) base clothes while a garment is photographed. |
Warning
Do not delete the studio/ folder (or photos/): the resource cannot create it. Studio photos stay on your server and are never sent to players.