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

ColumnExample ContentsValid ValuesDescription and Notes
ItemResRefNW_CLOTH001Resref of a item blueprintCan be upper or lowercase.
ClassRestrict4**** or index into classes.2daHas to be a single value, can't mix and match. Put in more than one line for multiple options with the same item.
RaceRestrict2**** or index into racialtypes.2daAs above.
AlignmentRestrictTN

**** 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).
GenderRestrict1

**** or:

0 - male

1 - female

As above.

2da Contents

soundset.2da
2DA V2.0                 
                         
           ItemResRef    ClassRestrict    RaceRestrict    AlignmentRestrict  GenderRestrict  
                                                                                             
0          NW_CLOTH001   ****             ****            ****               ****            
1          NW_CLOTH002   ****             ****            ****               ****            
2          NW_CLOTH003   ****             ****            ****               ****            
3          NW_CLOTH004   ****             ****            ****               ****            
4          NW_CLOTH005   ****             ****            ****               ****            
5          NW_CLOTH006   ****             ****            ****               ****            
6          NW_CLOTH007   ****             ****            ****               ****            
7          NW_CLOTH008   ****             ****            ****               ****            
8          NW_CLOTH011   ****             ****            ****               ****            
9          NW_CLOTH017   ****             ****            ****               ****            
10         NW_CLOTH022   ****             ****            ****               ****            
11         NW_CLOTH024   ****             ****            ****               ****            
12         NW_CLOTH028   ****             ****            ****               ****            
13         NW_CLOTH013   ****             ****            ****               ****            
14         NW_CLOTH025   ****             ****            ****               ****            
15         X2_CLOTH008   ****             ****            ****               ****            
  • No labels