Aller au contenu

Photo

Stumbling Through GDA's To Make a Tree?


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
ShawnieBoyUK

ShawnieBoyUK
  • Members
  • 3 messages
 I've been ploughing my way through the gda's in a vain attempt to piece together how to create new trees. I'm a complete modding noob but willing to share any info I do discover to help others, and hopefully get a bit of aid in return. :)

I've been concentrating on the Mage, hoping to make some kind of telepathy/mind-control specialisation tree, but should be the same for all others. I've managed to locate most of the obvious files which reference each other (Most of this is already common knowledge), but I think one of the file headings in abi_base.gda is linked to the number of upgrades on a particular ability.

The $BE5E317 heading has a value of either '0', '4096' or '6144'. A value of '0' has no upgrades, '4069' has one upgrade and '6144' has two upgrades.

Individual trees and specialisations have separate files: 'al_mage_' with a suffix of s01-03 for specialisations and t01-06 for the base trees. These all refer back to the abi_base.gda with the AbilityId for each ability and upgrade. These are in a strange order, at first I thought they were a set pattern to the ability locations on the tree, but they're not. Still a bit at a loss there.

The al_trees.gda must be for the layouts of the trees, but I can't see how any of the numbers reference to the abilities, though the layout is blatantly Mage (1000-5/1100-3) -> Rogue (2000-5/2100-3) -> Warrior (3000-5/3100-3) -> Companion(4100-50). The 'basepriority' column is also indicating if the tree is a base or specialisation (1=base, 5=specialisation). The other columns seem to refer to the ID's in the same file, but that makes no sense

The above numbers are kinda strange for the classes, as Mage and Warrior seem to be swapped, but they corellate to the values given in the al_mage_talents.gda and al_warrior_talents.gda (though no idea why one of the warrior floats in that file isn't just 1, but 1.04999995)!

So theorising, to make a new specialisation, (for mage, for example). Create a new al_Mage_s04.gda, referencing all the abilities and upgrades in the tree from abi_base.gda (whether existing or created, though with different ID's). Then it gets vague with having to add into the al_trees.gda, I'm guessing:

ID: 1103
basepriority: 5
All other Values: 0

Then adding into the al_mage_talents:

ID: 8
Tree ID: 1103
$DC95CE7: 1

And also adding the new values created in the abi_base.gda into the class_abilities_mage.gda (The Prereq and root) and added the specialisation to the cla_base.gda

Feel so close to some kinda breakthrough, if anyone has any info, or can point me somewhere, would be much appreciated. At the same time, just offering up info which may, or may not, be common knowledge.

Modifié par ShawnieBoyUK, 27 mars 2011 - 07:11 .


#2
ShawnieBoyUK

ShawnieBoyUK
  • Members
  • 3 messages
Just had another 'eureka' with column headings in abi_base.gda and tree layout. As $BE5E317 refers to the number of upgrades, $B2DE6B6B value is what the ability is linked from, ie. able to be unlocked by progressing down that route. For example, the 101010 ability WARRIOR_WEAPON_AND_SHIELD_BASH has the value 101001, which is the WARRIOR_WEAPON_AND_SHIELD_ROOT. The root ability is referring back to the PREREQ in the column $0CA45F1D with the value 101000.
Column $99F338A8 functions similarly, but for abilities that are linked by two others, eg WARRIOR_WEAPON_AND_SHIELD_CLEAR (in game name 'Scatter') has the value 101040 which is WARRIOR_WEAPON_AND_SHIELD_DEFENSE, and column $0CA45F1D refers back to 101010 which is the SHIELD_BASH.
Column $80E809E9 is doing a similar thing, for any abilities that link back to three other abilities (Just the one so far ROGUE_GENERAL_2_BLENDED (in game name Harmony, in the Rogue Specialist tree)

What I can only guess from this, is that the tree layout frame is dynamically created, as I have hunted out the frames in the textures, but found nothing.

Modifié par ShawnieBoyUK, 27 mars 2011 - 07:54 .


#3
ShawnieBoyUK

ShawnieBoyUK
  • Members
  • 3 messages
Ok, got that wrong, the column $BE5E5317 doesn't seem to correlate to number of upgrades, found other values:

0
2048
4096
6144
6146
6148
6152
6176

I've a feeling that the columns $AFE104A2 and $B6FA35E3 are referring to the icon shape (for highlighting I guess) and number of upgrades. The upgrades themselves are in the obviously titled upgrade_1 to _4 which refer to the values in the abi_base ID's

#4
cochran.191

cochran.191
  • Members
  • 100 messages
I know this thread is kind of old but I would be interested in an update to this either by the OP or by someone else.