Difference between revisions of "Areadata 2da"
From Dragon Age Toolset Wiki
(Created) |
(No difference)
|
Revision as of 23:07, 29 March 2012
The areadata 2da defines additional area properties.
The 2da is defined as an m2da in the M2DA_base 2da and has an ID of 225. It can be extended by m2da fragments which have names starting with "areadata".
Structure
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 | comment | |
NoTemplates | int | |
Template1 | int | not used |
Template2 | int | not used |
Template3 | int | not used |
TargetLevel | int | Items equipped by creatures in this area will be scaled to this level. |
ScaleGroup | int | |
MinLevel | int | |
MaxLevel | int | |
IgnoreAppMaxLevel | int | Ignores the max level for creatures set in APR_base 2da. All other level limits still apply. |
OneHitKillArea | int | If 1 then any creature with normal hurlock or genlock appearance will be assigned the one-hit-kill rank on spawn before being scaled. |
FastBodyDecay | int | Creatures in such areas will fade faster once dead. |
XPReward | int | |
AchievementFlag | int | |
AreaWeight | float | |
UnlockNotification | int | |
AreaFlags | int | |
ColorCurves | string | |
HsvBrightness | float | |
HsvContrast | float | |
HsvHue | float | |
HsvSaturation | float |
Remarks
To tell the game to use the values in this table, set the area's AREA_ID variable to the appropriate ID from this table.
One of the uses for the areadata 2da is creature scaling. When the player enters an area, the creatures in the area are scaled to Player's level provided it is within the MinLevel and MaxLevel values specified for the area. For example if MaxLevel is set to 5 and a level 8 Player enters, the game engine will scale the creatures to level 5. The creature's rank is a secondary scale applied after the level scaling.