...
As of 1.87.8193.35 you can now just have a single portrait and it can be DDS so the best of both worlds. The easiest one to use is just to have the largest possible size as _h and m and let the game resize it as needed (noting the TXI fix above if you sort the rest of the portraits into DDS).
...
| Portrait Size | Letter | Minimum Resolution | EE Recommendation | Usage |
|---|---|---|---|---|
| Huge | h | 256x512 canvas; upper 256x400 used | 1024 x 2048 - recommended to fit the UI max scaling of x4, game uses it for other slots automaticallyn/a - just use the _m size for new portraits | Character Creation (not needed for placeables) |
| Large | l | 128x256 canvas; upper 128x200 used | n/a - just use the _h m size for new portraits | Character Sheet (not needed for placeables) |
| Medium | m | 64x128 canvas; upper 64x100 used | n/a - just use the _h size for new portraits 1024 x 2048 - recommended to fit the UI max scaling of x4, game uses it for other slots automatically | Conversations, examine panel |
| Small | s | 32x64 canvas; upper 32x50 used | n/a - just use the _h m size for new portraits | Party bar, radial menus |
| Tiny | t | 16x32 canvas, upper 16x25 used | n/a - just use the _h m size for new portraits | Mouse over name windows, chat window |
...
Note that none of the categorisations below stops the portrait being selected in the toolset, and certainly has no restrictions in the game using SetPortraitId. It is purely the clientside restrictions of picking a portrait at character generation.
| Column Name | Example | Notes |
|---|---|---|
| BaseResRef | dw_f_01_ | The filename without the "po_" prefix or the corresponding "size" value (h, l, m, s, t) noted above after it. Example file would be po_dw_f_01_h.tga for the "Huge" one. |
| Sex | 1 | Index into gender.2da, the suggested gender of the portrait. For quick reference these numbers are: 0 - Male 1 - Female 2 - Both 3 - Other 4 - None PC chargen can only see those for their selected gender, ie 0 or 1, so anything which isn't 0 or 1 will be toolset only. The PC cannot ever see other opposite gender so if there are shared portraits add two entries with just the gender being different. |
| Race | 3 | Index into racialtypes.2da, the suggested race attached to the portrait |
| InanimateType | 7 | Index into placeabletypes.2da, the suggested category of placeable this portrait is related to. |
| Plot | 0 | If 0 it is allowed for players to pick this, if 1 the portrait is considered "plot" and not pickable by players (eg; Aribeths portrait in the OC) |
| LowGore | PLC_M06_ | If a resref is supplied and "low violence" mode is enabled this is show instead of the original. Same formatting as BaseResRef. |
...