Is there any kind of list of the Macros available in the string templates?
For example, one of the ability templates:
<tlkElement>
<tlkID>6201951</tlkID>
<tlkString><requirements/>
<conditions/>
<description/>
Size: <radius/>m
Cost: <cost/> mana
Cooldown: <cooldown/>s
Type: <usetype/>
</tlkElement>
I see what they do, and I note that while some of them are pretty straightforward coming right from the GDA, others involve more processing, like <requirements />.
I'd like to add the type_cost field to this template, but <type_cost />, <costtype />, <typecost />, etc do not work.
Is there a list somewhere of what string macros are available? I am thus far unable to find anything in the data folder, but I would expect it to be in there somewhere... hopefully not in a script.
String Editing and Macros
Débuté par
Signo Vir
, avril 17 2011 12:23
#1
Posté 17 avril 2011 - 12:23
#2
Posté 17 avril 2011 - 02:38
Going to start compiling a list here. The below only apply to DA2, many of the DAO strings are still in the file, but don't matter here.
<FirstName/>
<DogName/> (always Dog, but whatever....)
Values and "formulas"
<float1/>
<float2/>
etc...
<float1x100/>
<multiplyfloat8/>
<passive1/>
<passive2/>
etc..
<passive1x100/>
<int1/>
<int2/>
etc
Upgrade inclusion
<upgrade1/>
<upgrade2/>
Icons for CCC effects, etc.
<staggericon/>
<disorienticon/>
<brittleicon/>
<TheSpecializationStar_Icon/>
<TheHoldPosition_Icon/>
<TheMoveFreely_Icon/>
Skill basic effects
<force/>
<duration/>
<damage/>
<interval/>
<cooldown/>
<radius/>
<usetype/> (Passive, sustained,..)
<upkeep/> (% of mana or stamina for sustained effects)
<roguedamage/> (only used in duelist skill Vendetta and Assassin skill Assassinate, it seems)
<nocopy/> (two of these surround text in the upgrade description designating text that should not be included when the upgrade info is included)
<requirements/> (string generated based on prerequisite fields)
<conditions/>
<description/> (based on skill and upgrades. <nocop/> sections are omitted)
There are also numerous item macros not covered in as much detail, but include
<itemrequirements/>
<powervalue/>
<powervaluex100/>
<value/>
<aoesize/>
<procchance/> (e.g. chance to inflict extra damage)
<float5xlevel/> (used to calculate grenade damage/effects. probably also works in skills)
General Macros
<vsrank2/> (these three are used in the character attribute screen for some tooltips. might work elsewhere?)
<vsrank3/>
<vsrank5/>
Miscellaneous macros:
<percent>
<money/>
<mostpowerfulslain/>
<timehms>
<name/> (e.g. Friendship with <name/>)
There are also Macros for many (all?) of the keys:
<PauseKey/>
<LeftClickDefault/>
<LeftClickDefaultCapped/>
<QuickSlot1Key/>
<QuickSlot2Key/> (etc)
<InventoryKey/>
<FirstName/>
<DogName/> (always Dog, but whatever....)
Values and "formulas"
<float1/>
<float2/>
etc...
<float1x100/>
<multiplyfloat8/>
<passive1/>
<passive2/>
etc..
<passive1x100/>
<int1/>
<int2/>
etc
Upgrade inclusion
<upgrade1/>
<upgrade2/>
Icons for CCC effects, etc.
<staggericon/>
<disorienticon/>
<brittleicon/>
<TheSpecializationStar_Icon/>
<TheHoldPosition_Icon/>
<TheMoveFreely_Icon/>
Skill basic effects
<force/>
<duration/>
<damage/>
<interval/>
<cooldown/>
<radius/>
<usetype/> (Passive, sustained,..)
<upkeep/> (% of mana or stamina for sustained effects)
<roguedamage/> (only used in duelist skill Vendetta and Assassin skill Assassinate, it seems)
<nocopy/> (two of these surround text in the upgrade description designating text that should not be included when the upgrade info is included)
<requirements/> (string generated based on prerequisite fields)
<conditions/>
<description/> (based on skill and upgrades. <nocop/> sections are omitted)
There are also numerous item macros not covered in as much detail, but include
<itemrequirements/>
<powervalue/>
<powervaluex100/>
<value/>
<aoesize/>
<procchance/> (e.g. chance to inflict extra damage)
<float5xlevel/> (used to calculate grenade damage/effects. probably also works in skills)
General Macros
<vsrank2/> (these three are used in the character attribute screen for some tooltips. might work elsewhere?)
<vsrank3/>
<vsrank5/>
Miscellaneous macros:
<percent>
<money/>
<mostpowerfulslain/>
<timehms>
<name/> (e.g. Friendship with <name/>)
There are also Macros for many (all?) of the keys:
<PauseKey/>
<LeftClickDefault/>
<LeftClickDefaultCapped/>
<QuickSlot1Key/>
<QuickSlot2Key/> (etc)
<InventoryKey/>





Retour en haut






