Difference between revisions of "ABI base.xls"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(ABI_Base worksheet)
m (Adding missing worksheets)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
These are the 2DAs that integrate all talents and spells into the game. They set their names, icons, prerequesites, and various standard details of how they function (animations, cooldown period, etc.).
+
The [[ABI_base.xls]] file contains the [[2da]] files that define and integrate all skills, spells, talents and item abilities in the game.
  
When making abilities the best way to proceed is to copy the nearest analogous ability and then modify the specific columns you need to.
+
The workbook contains the following worksheets:
  
During Dragon Age's development this file was automatically updated from an internal database. End user builders can update it manually.
+
* [[ABI_ 2da|ABI_Base]]
 
+
* [[ability_data 2da|ability_data]]
== ABI_Base worksheet ==
+
* [[ability_effects 2da|ability_effects]]
 
+
* [[passive_abilities 2da|passive_abilities]]
{{2da start|ABI_Base}}
+
* _tooltip_strings
{{2da column| label |string| Purely for readability, not accessed anywhere.}}
+
* _damage_strings
{{2da column| namestrref |int| String Ref ID of the name of the ability.}}
+
{{2da column| descstrref |int| String Ref ID of the description of the ability.}}
+
{{2da column| tooltipstrref |int| String Ref ID of the buff/deff format on mouse over. (Caution: Abilities with ID over 500000 is considered as debuff and will not take the format of normal buffs.) }}
+
{{2da column| strid_effect| int| String Ref ID of the buff/debuff description on mouse over.}}
+
{{2da column| icon|string| Name of the icon file, without extension.}}
+
{{2da column| abilitytype | int| See 2DA_Constants_H for what the numbers are. 1 - talent, 2 - spell, 3 - skill, 4 - item}}
+
{{2da column| abilitymode |int| }}
+
{{2da column| conditions |int| Flags that determine what conditions must be met before this ability can be used. 1 - 1h weapon, 2 - shield, 4 - ranged weapon, 8 - behind target, 16 - mode active, 32 - is humanoid, 64 - dual wielding, 128 - 2h weapon, 256 - dog, 512 - mana user}}
+
{{2da column| condition_mode | int| The ID of a modal ability that must be active before this ability can be used if Conditions is set to 16.}}
+
{{2da column| condition_group |int| This links modal abilities. Use the lowest integer of the group. Whenever one of these abilities is used it will turn off the other linked abilities. }}
+
{{2da column| cost| float| How much Mana/Stamina an ability will cost.}}
+
{{2da column| costupkeep |float| How much from the max Mana/Stamina an ability takes away until it is deactivated (modal abilities only)}}
+
{{2da column| prereqability |int | The ID of a prereq ability.}}
+
{{2da column| prereqlevel | int| Minimum character level to pick it up.}}
+
{{2da column| prereqattribute | int | Which attribute is a prereq for the ability. See [[properties.xls]] for what this number maps to.}}
+
{{2da column| prereqattvalue | int | The value the specified attribute has to be greater than.}}
+
{{2da column| guitype | int | This is the category that the ability is grouped into. Things like, "Creation" and "Primal". See [[guitypes.xls]].}}
+
{{2da column| targettype | int | A bit operator which indicates which classes of targets the ability will affect. Check out the "_Control" tab of ABI_base.xls. Search for "Friendly Creature" and you'll get to the right values. see [[Ability#Targeting Behavior]]}}
+
{{2da column| autotarget | int| If set to TRUE then it will automatically target a selected hostile or friendly creature. }}
+
{{2da column| range | int| Range 0 means melee (touching target), 1 close spell range (barely outside melee), 2 moderate spell range (typical cone range), 3 long spell range (edge of hostile detection range), 4+ extremely long range.}}
+
{{2da column| speed |int|  This determines how long the ability takes to activate. 0 is instant, 1 will play the chosen Cast animation. 2+ will create an interruptable cast-bar and will play the Conjure animation for it's duration. Once the cast bar finishes filling the Cast animation will be played.}}
+
{{2da column| usetype |int | Whether the ability is a passive, toggle, or instant use. 2 is toggle, 3 is passive, 4 is instant use.}}
+
{{2da column| spellscript |string| This is the script that is run when the ability is used. Includes the file extension ".ncs".}}
+
{{2da column| cooldown | float | The ability cooldown in seconds.}}
+
{{2da column| conjurevfx | int| This is the VFX that is played during both the conjure sequence and the cast sequence of the ability. This is defined in [[VFX_base.xls]].}}
+
{{2da column| blendtree | string| Set by animators for abilities that change the default animations of a PC or party member. E.g. when you use "Shield Wall" your idle becomes a defensive crouch using your shield prominently.}}
+
{{2da column| conjureanim | int | Which animation to play during the conjure sequence. A list of values is located at [[ANIM_base.xls]].}}
+
{{2da column| castanim | int | Which animation to play during the casting sequence. A list of values is located at [[ANIM_base.xls]].}}
+
{{2da column| projectile | int |  This is the model name for projectiles. See [[PRJ_base.xls]] for the integers. 1 is a common one for arrow.}}
+
{{2da column| autocancel | int| Obsolete }}
+
{{2da column| autodraw |int| This determines how the ability handles the drawn state of weapons. 0 will ignore weapon state, 1 will force the weapon to draw before use, and 2 will force a non-staff to sheathe before use.
+
Any spell with a speed higher than 1 should have this set to 2. The sheathing animation occurs during the conjure sequence without slowing it down, and putting away the weapon will prevent clipping.}}
+
{{2da column| threat_use|float| Obsolete}}
+
{{2da column| threat_impact|float| This is the amount of threat generated by each impact. May be obsolete.}}
+
{{2da column| aoe_type|int| 1 is a circle, 2 is a cone.}}
+
{{2da column| aoe_idx|int| Defined areas of effect. Located at [[VFX_base.xls]].}}
+
{{2da column| aoe_param1 |float| Either the radius of the circle or degree arc of the cone.}}
+
{{2da column| aoe_param2 |float| Obsolete}}
+
{{2da column| vfx_impact0| int| The VFX that is used at each impact. [[VFX_base.xls]]. See [[Ability_GetImpactLocationVfxId]]}}
+
{{2da column| vfx_impact1|int| This isn't used by the engine, but can be used as a constant in the scripts if you like. Many ITEMS use this to hold their VFX id to be used in scripting. See [[Ability_GetImpactObjectVfxId]]
+
Typically used by duration-based and modal abilities to reference the crust VFX to be used.}}
+
{{2da column| flags |int| Set to 1 for an ability that uses the attack animation of the equipped ranged weapon, 64 for a modal that expires when stamina runs out, 128 for magic subject to dispelling (?), 192 for a modal that expires when mana runs out. }}
+
{{2da column| showintactics| int| Set to 1 for abilities that PC or party members will want to use in the tactics system.}}
+
{{2da column| showinchargen |int| Bitwise flag, set to 2 to show in chargen only, set to 4 to show in talent/spell/skill book, set 7 to show in both chargen & talent/spell/skill book book (other values ?)}}
+
{{2da column| passive_id |int| Refers to the ID in passive_abilities page of [[ABI_base.xls]]. }}
+
{{2da column| crust_id | int| Obsolete}}
+
{{2da column| resistance |int | {{undocumented}} }}
+
{{2da column| damageinfo | int| {{undocumented}} }}
+
{{2da column| condition_appgroup|int|{{undocumented}} }}
+
{{2da column| ProcessWithEvent | int| If specified this ability does not use any of the normal ability functionality but instead fires and processes and event - meaning it even works when the game is paused. Use with care. }}
+
{{2da column| fatigue | float | If it is a modal ability, this determines the level of fatigue it will incur while active. }}
+
{{2da end}}
+
 
+
== ability_data worksheet ==
+
 
+
{{2da start|ability_data}}
+
{{2da column| Label | comment | {{undocumented}} }}
+
{{2da column| bHostileint | int | {{undocumented}} }}
+
{{2da column| effectImpact | int | {{undocumented}} }}
+
{{2da column| effectResisted| int | {{undocumented}} }}
+
{{2da column| effectDuration| float | positive: temporary. 0.0 instant. negative permanent }}
+
{{2da column| dmg_function | int | {{undocumented}} }}
+
{{2da column| dmg_param0 | float | {{undocumented}} }}
+
{{2da column| dmg_param1| int | {{undocumented}} }}
+
{{2da column| dmg_type| int |
+
*const int DAMAGE_TYPE_INVALID                      - 0;
+
*const int DAMAGE_TYPE_PHYSICAL                      - 1;
+
*const int DAMAGE_TYPE_FIRE                          - 2;
+
*const int DAMAGE_TYPE_COLD                          - 3;
+
*const int DAMAGE_TYPE_ELECTRICITY                  - 4;
+
*const int DAMAGE_TYPE_POISON                        - 5;
+
*const int DAMAGE_TYPE_LETHAL                        - 6;
+
*const int DAMAGE_TYPE_TBD                          - 7;}}
+
{{2da column| dmg_flags | int |
+
*const int DAMAGE_EFFECT_FLAG_NONE        - 0x00000000 ;
+
*const int DAMAGE_EFFECT_FLAG_CRITICAL    - 0x00000001; //critical hit
+
*const int DAMAGE_EFFECT_FLAG_DEATHBLOW  - 0x00000002; //death blow
+
*const int DAMAGE_EFFECT_FLAG_UPDATE_GORE - 0x00000004; //update gore on attacker
+
*const int DAMAGE_EFFECT_FLAG_LEECH_50    - 0x00000008; //leech 50% health back to attacker
+
*const int DAMAGE_EFFECT_FLAG_LEECH_75    - 0x00000010; //leech 75% health back to attacker
+
*const int DAMAGE_EFFECT_FLAG_LEECH_100  - 0x00000020; //leech 100% health back to attacker
+
*const int DAMAGE_EFFECT_FLAG_LEECH_MANA  - 0x00000040; // mana is leeched instead of health}}
+
{{2da end}}
+
 
+
== ability_effects worksheet ==
+
 
+
{{2da start|ability_effects}}
+
{{2da column| Label| string | {{undocumented}} }}
+
{{2da column| effect| int | {{undocumented}} }}
+
{{2da column| effect_label| comment | {{undocumented}} }}
+
{{2da column| effect_int1| int | {{undocumented}} }}
+
{{2da column| effect_int2| int | {{undocumented}} }}
+
{{2da column| effect_int3| int | {{undocumented}} }}
+
{{2da column| effect_float0| float | {{undocumented}} }}
+
{{2da column| effect_float1| float | {{undocumented}} }}
+
{{2da column| effect_object0 |int| 0 - don't set, 1 - set to OBJECT_SELF, 2 - set to caster}}
+
{{2da column| scaled_field |int| 0 - none, 1 - float0, 2 - float1}}
+
{{2da column| vfx| int | {{undocumented}} }}
+
{{2da column| resistance| int |
+
*const int PROPERTY_ATTRIBUTE_RESISTANCE_MENTAL    - 32;
+
*const int PROPERTY_ATTRIBUTE_RESISTANCE_AVOIDANCE  - 31;
+
*const int PROPERTY_ATTRIBUTE_RESISTANCE_PHYSICAL  - 33;}}
+
{{2da end}}
+
 
+
== passive_abilities worksheet ==
+
 
+
{{2da start|passive_abilities}}
+
{{2da column| Label | comment | }}
+
{{2da column| Prop1 |int| link to [[properties.xls]]}}
+
{{2da column| Modifier1|float| Modifier this applies onto the property}}
+
{{2da column| Prop2| int | }}
+
{{2da column| Modifier2| float | }}
+
{{2da column| Prop3| int | }}
+
{{2da column| Modifier3| float | }}
+
{{2da column| Comment| comment | Summary of the ability in human-readable form }}
+
{{2da end}}
+
  
 +
[[Category:Abilities]]
 
[[Category:XLS files]]
 
[[Category:XLS files]]
[[Category:Abilities]]
+
{{Languages}}

Latest revision as of 17:02, 4 January 2015

The ABI_base.xls file contains the 2da files that define and integrate all skills, spells, talents and item abilities in the game.

The workbook contains the following worksheets:


Language: English  • русский