Difference between revisions of "CLA 2da"
From Dragon Age Toolset Wiki
m (Removing title, adding category) |
m (Added introduction) |
||
Line 1: | Line 1: | ||
− | {{2da start| | + | The [[CLA_ 2da]] contains defines the available Player and NPC [[class]]es and [[specialization]]s. |
+ | |||
+ | This 2da file is defined as an m2da and has an ID of 3 in the [[M2DA_base 2da]] and can be extended by m2da fragments named with the '''CLA_''' root. It can be referenced in scripting using the [[TABLE_*|TABLE_RULES_CLASSES]] constant. | ||
+ | |||
+ | The '''Label''' column is the name used by the Toolset in the [[Creature editor]] to populate the list of classes available in the '''Class''' property. | ||
+ | |||
+ | {{2da start | CLA_}} | ||
{{2da column| Label | string | }} | {{2da column| Label | string | }} | ||
{{2da column| NameStrref |int| the reference ID number of a string in the string table that has this class' name in it. Use the [[String Editor]] to view strings by ID.}} | {{2da column| NameStrref |int| the reference ID number of a string in the string table that has this class' name in it. Use the [[String Editor]] to view strings by ID.}} | ||
Line 19: | Line 25: | ||
{{2da column| IntAdjust |float| a bonus this class gets to starting cunning attribute }} | {{2da column| IntAdjust |float| a bonus this class gets to starting cunning attribute }} | ||
{{2da column| DexAdjust |float| a bonus this class gets to starting dexterity attribute }} | {{2da column| DexAdjust |float| a bonus this class gets to starting dexterity attribute }} | ||
− | {{2da column| MinLevel |int| The prerequesite level a character must be to take this class. If it's greater than zero, it's an advanced class. | + | {{2da column| MinLevel |int| The prerequesite level a character must be to take this class. If it's greater than zero, it's an advanced class.}} |
− | {{2da column| BaseClass |int| For advanced classes, this sets which base class it is an advanced class of. The number here refers to the ID of the row that it's a advanced class for. | + | {{2da column| BaseClass |int| For advanced classes, this sets which base class it is an advanced class of. The number here refers to the ID of the row that it's a advanced class for.}} |
{{2da column| BaseAttack | float | }} | {{2da column| BaseAttack | float | }} | ||
{{2da column| BaseDefense | float | }} | {{2da column| BaseDefense | float | }} |
Revision as of 12:14, 16 October 2011
The CLA_ 2da contains defines the available Player and NPC classes and specializations.
This 2da file is defined as an m2da and has an ID of 3 in the M2DA_base 2da and can be extended by m2da fragments named with the CLA_ root. It can be referenced in scripting using the TABLE_RULES_CLASSES constant.
The Label column is the name used by the Toolset in the Creature editor to populate the list of classes available in the Class property.
Column | Type | Description |
---|---|---|
ID | int | A number that uniquely identifies the entry (unless creating an M2DA override). ID numbers are listed from smallest to highest within a given file but do not need to be consecutive. |
Label | string | |
NameStrref | int | the reference ID number of a string in the string table that has this class' name in it. Use the String Editor to view strings by ID. |
PluralStrref | int | a string in the string table with the class' name, pluralized |
LowerStrref | int | |
DescStrref | int | A short description of the class. |
TooltipStrref | int | Tooltip text for the class. |
Icon | resource | Icon used to represent this class in character generation. |
Constant | string | The name of the constant used in scripts to refer to this class. eg, "CLASS_Warrior". |
Package | int | |
BaseHealth | float | |
bUsesMana | int | 0 sets this class to use stamina for its abilities, 1 sets it to use mana. |
BaseManaStamina | float | |
DepletableProgression | float | |
StrAdjust | float | a bonus this class gets to starting strength attribute |
ConAdjust | float | a bonus this class gets to starting constitution attribute |
WillAdjust | float | a bonus this class gets to starting willpower attribute |
MagAdjust | float | a bonus this class gets to starting magic attribute |
IntAdjust | float | a bonus this class gets to starting cunning attribute |
DexAdjust | float | a bonus this class gets to starting dexterity attribute |
MinLevel | int | The prerequesite level a character must be to take this class. If it's greater than zero, it's an advanced class. |
BaseClass | int | For advanced classes, this sets which base class it is an advanced class of. The number here refers to the ID of the row that it's a advanced class for. |
BaseAttack | float | |
BaseDefense | float | |
DefensePerLevel | float | |
HealthPerLevel | float | |
LevelsPerAbility | int | How many levels before gaining an ability. Example. If a 3 is here, it means you get an ability on every level divisible by 3 |
LevelsPerSkill | int | How many levels before gaining a skill. Example. If a 3 is here, it means you get an ability on every level divisible by 3 |
DamagePerLevel | float | This was a fudge added to the rule system to diminish the power that Strength's bonus damage had. Basically, this is just added to the base damage bonus of the character. |
StartingAbility1 | int | This is an index into the ABI 2da. If its valid it will add that ability to the character when you first take a level with the class. This is used for the hidden talent that all classes get. This talent is used in subsequent prereq checks |
StartingAbility2 | int | This is an index into the ABI 2da. If its valid it will add that ability to the character when you first take a level with the class. |
PlayerClass | int | Determines whether this class can be taken by a player. |
CharGenLabel | string | |
Achievement | string | Required Achievement to unlock this class |