cls_skill_xxx.2da files defines what skills are class skills for the given class. There is some default defined behaviour if a skill is not listed here.
AllClassesCanUse skills
If a skill is missing in this file but has AllClassesCanUse set to 1, it will allow selection on levelup. For instance if you're adding a new "Poison" skill which all classes can take, with a skills.2da like this:
Label Name Description Icon Untrained KeyAbility ArmorCheckPenalty AllClassesCanUse Category MaxCR Constant HostileSkill 28 Poison 879 879 isk_poison 1 INT 0 1 **** **** SKILL_POISON 0
The existing cls_skill_xxx.2da files won't reference this, but the undefined behaviour is to still show it, but it will be as if ClassSkill was set to 0.
If AllClassesCanUse is set to 0 omitting the skill means it will not appear available for levelup if excluded from the cls_skill_xxx.2da file (Which is done by Bioware for instance with Perform).
2da Columns
| Column | Example | Valid Values | Description and Notes |
|---|---|---|---|
| SkillLabel | Heal | Text | Human readable label |
| SkillIndex | 1 | skills.2da line | The index into skills.2da of the skill |
| ClassSkill | 1 | 1 or 0 | If set to 1 then this is class skill, and you spend 1 available point to get 1 skill rank. Skill limit is character level + 3. This is also needed if the skill is marked with AllClassesCanUse set to 0. If set to 0, or if the line is not defined, you spend 2 available points to get 1 skill rank. Limit is character level + 3)/2, rounded down (which is half of the limit for class skills). If the skill has AllClassesCanUse set to 0 then it won't be available to pick. |
Default 2das
Each class has a skill definition file, for reference these are:
| 2da Name | Class | Notes |
|---|---|---|
2da Contents
Example contents from cls_feat_bard.2da
2DA V2.0
SkillLabel SkillIndex ClassSkill
0 Concentration 1 1
1 DisableTrap 2 0
2 Discipline 3 1
3 Heal 4 1
4 Hide 5 1
5 Listen 6 1
6 Lore 7 1
7 MoveSilently 8 1
8 OpenLock 9 0
9 Parry 10 1
10 Perform 11 1
11 Persuade 12 1
12 PickPocket 13 1
13 Search 14 0
14 SetTrap 15 0
15 Spellcraft 16 1
16 Spot 17 0
17 Taunt 18 1
18 UseMagicDevice 19 1
19 Appraise 20 1
20 Tumble 21 1
21 CraftTrap 22 1
22 Bluff 23 1
23 Intimidate 24 0
24 CraftWeapon 26 1
25 CraftArmor 25 1
26 Ride 27 0