[b40] Talent Points Plan Display

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2032
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[b40] Talent Points Plan Display

#1 Post by Zizzo »

Of the addons I've uploaded so far, Talent Points Plan Display is the only one that's going to need some explanation, as it's not exactly plug-n-play. The idea is to create a talent point plan using darkgod's Build Order Maker addon, and then use my addon to display it in the level-up dialog for reference while you're spending your talent points.

The complicated part is actually creating the talent point plan in the first place. Here's the steps involved:
  • Install the Build Order Maker addon and this addon.
  • If you're making a plan for an existing character, make a note of where you've already spent points for it, for reference while making your points plan..
  • Create a new character of the same race and class you want to make a points plan for. Necessary to avoid getting your real character marked with the 'cheater' flag.
  • Bring up the build-order dialog via <ctrl-alt-b> and choose "Output build order". You'll need this for references later. The build order file will get created in the same general areas your save files; on my Linux box, for instance, it lives at ~/.t-engine/4.0/tome/build-order/<class-name>-1.csv.
  • If you don't plan to back out and reallocate your initially assigned skill points, bring up the level-up dialog and make a note of where your character has points pre-spent. You can also check this in the initial build order file you created above.
  • Go back to the build-order dialog and choose "Reset talents, be level 50 and give talent points". This will, unfortunately, give you spurious "Level 10/20/30/40/50" achievements if you don't already have them, as you can see on my profile (honest and for truly, I was going to edit them out before I created the profile; I just forgot... :oops: ).
  • Go to the level-up dialog and allocate your talent points as you desire, remembering to match the pre-spent point allocation you noted earlier. Order doesn't matter, as we're not going to use it as an actual build order. NOTE: This will clobber your hotkeys, as any talents you started with will be duplicated onto a second hotkey, throwing all the rest out of sync. You can fix those now, if you want.
  • Go back to the build-order dialog and choose "Output build order" again to output your final build order. You can now quit and delete this scratch character.
  • Edit the initial and final build order files using your favorite text editor. In the initial build order, you'll see a dozen or so lines between "#Talents" and "#Types"; find the corresponding lines in the final build order and delete them. (These lines were left behind by the build order maker in the process of leveling up to level 50, and will cause those initial skill points to be double-counted if you leave them in.)
  • If your talent point plan is for a new character, create that character now and save it immediately. Then copy the modified final build order file into the character's save directory with the name 'points.csv'. Keep a copy of this file elsewhere, as it will be clobbered if your character dies and you restart it.
  • Reload your character and go the level-up dialog and the Talents tab therein. You should see a new column in the talents tree showing your points plan. Uncompleted talents will show their points target in yellow; completed talents will show the target in green. Similarly, categories that you plan to open will be marked with a yellow "[+]", and categories that you've opened according to plan will have a green "[+]".
*whew* That is way too complicated; We Apologize for the Inconvenience.(TM) This is just a first pass, though. Eventually, I'd like to have the point planning be done in-game, presumably by using the level-up dialog on a cloned copy of the character, so that plans can be made for an existing character that's already spent some points, easily changed later if you change your mind, and retained across a die/restart. I'd also like to have a dialog with checkboxes of the form "Include talent points/category unlock from Source X" for all the values of X you've seen with any of your characters (replaced by a note of the form "You already have points from Source X" if you've already obtained said points with the current character). I'm holding off on that for now because I don't yet know what all the values of X are.

On a tangentially related note, a couple questions:
  • Is there an official protocol for adding fields to the game.player table? A namespace convention, for instance, to avoid collisions between addons? Because this addon keeps its points plan in game.player, as does my Notes to Self addon with its character notes, so I want to be sure I'm doing it right.
  • Is it customary to have a topic in this area for all addons, or just the ones, like this one, that are involved enough to need one?
"Blessed are the yeeks, for they shall inherit Arda..."

darkgod
Master of Eyal
Posts: 10747
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [b40] Talent Points Plan Display

#2 Post by darkgod »

There is no protocol for naming fields, but try to namespace them with your addon name/shortname/... yeah.

*testing addon :)*
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply