Persistent 2da

From Dragon Age Toolset Wiki
Jump to: navigation, search

The persistent 2da defines all area of effects in the game.

The 2da is defined as an m2da in the M2DA_base 2da and has an ID of 96. It can be extended by m2da fragments which have names starting with persistent. It can be referenced in scripting using the TABLE_VFX_PERSISTENT constants 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 string These labels are used as tags for the resulting objects, which are referenced in scripting. Do not alter the pre-defined labels.
SHAPE string
  • C - Circular: uses RADIUS
  • R - Rectangular: uses WIDTH and LENGTH
RADIUS float radius of a circular AOE in meters
WIDTH float width of a rectangular AOE in meters
LENGTH float length of a rectangular AOE in meters
EVENTSCR string Name of the script for handling all of the AOE's events
OrientWithGround bool Effect follows terrain height:
  • 0 - FALSE
  • 1 - TRUE
DurationVFX int