Achievements 2da

From Dragon Age Toolset Wiki
Jump to: navigation, search

The Achievements 2da defines the achievements available in game.

The 2da is defined as an m2da in the M2DA_base 2da and has an ID of 268. It can be extended by m2da fragments which have names starting with Achievements. It can be referenced in scripting using the TABLE_ACHIEVEMENTS constant defined in 2da_constants_h.

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 Short, human-friendly description of the achievement.
AchievementID string Maximum 30 characters. This is how Plasma stores the unique AchievementID (as a string) when accessing the online servers.
GroupID string Plasma Achievements can fall into different groups, e.g. "Game" or "Community" achievements.
TitleStrRef int String ID for the title/name of the achievement.
HowToStrRef int String ID for the instructions of how to unlock the achievement.
DescStrRef int String ID for the unlocked description of the achievement.
RewardStrRef int String ID for the in-game benefit awarded when the achievement is unlocked.
RequiresStrRef int String ID for the name of module that contains or is required for achievement, e.g. the String ID for "The Stone Prisoner". Enter 0 (zero) for no requirement.
Icon resource
UnlockedAt int
Xbox360 int
Points int
Secret int
Class int ID of a class in CLA_ 2da
HandleFlag int
SortOrder int