chargenclothes.2da is used purely for character generation where it determines what clothes options can be chosen by a player.
Usage
The game needs the item blueprint (UTI file) to be available clientside, this means it being a base game item or included in a hakpack.
EE adds various optional restriction columns. See below for how they work. These restrictions seem to be just clientside, so are not validated on the server except that the item of clothing chosen is a valid one from the 2da at all.
2da Columns
| Column | Example Contents | Valid Values | Description and Notes |
|---|---|---|---|
| ItemResRef | NW_CLOTH001 | Resref of a item blueprint | Can be upper or lowercase. |
| ClassRestrict | 4 | **** or index into classes.2da | Has to be a single value, can't mix and match. Put in more than one line for multiple options with the same item. |
| RaceRestrict | 2 | **** or index into racialtypes.2da | As above. |
| AlignmentRestrict | TN | **** or: LG, LN, LE NG, TN, NE CG, CN, CE | A single alignment choice. Otherwise as above (put more than one line in to have more than one alignment per clothing item). |
| GenderRestrict | 1 | **** or: 0 - male 1 - female | As above. |