Page 1 of 1

Console command to give yourself a talent tree

Posted: Thu Mar 15, 2012 7:48 pm
by Vortex
Debugging section in the wiki tells you how to access a talent, but not a tree. Can anyone help?

Re: Console command to give yourself a talent tree

Posted: Thu Mar 15, 2012 8:03 pm
by edge2054
game.player:learnTalentType("wild-gift/harmony", true) -- will set it as already learned
game.player:learnTalentType("wild-gift/harmony", false) -- not learned but known, costs a category point
game.player:setTalentTypeMastery("wild-gift/harmony", game.player:getTalentTypeMastery("wild-gift/harmony") + 0.1) -- increases talent mastery level by 0.1

Re: Console command to give yourself a talent tree

Posted: Thu Mar 15, 2012 8:44 pm
by Vortex
Thanks.

Re: Console command to give yourself a talent tree

Posted: Thu Mar 15, 2012 11:47 pm
by Avianpilot
I've always done (for example):
game.player.talents_types["celestial/light"] = true/false/nil

Is the 'learnTalentType' way to do it preferred? As far as I can tell they do the same thing, but I don't know if there are any subtle differences that I'm overlooking.

Re: Console command to give yourself a talent tree

Posted: Fri Mar 16, 2012 1:28 am
by Dude892
I've been trying to find the HOME/.t-egine/4.0/settings directory, but with no luck. I'm on a HP Mini 1000, with Linux Ubuntu 11.10. Someone help me find it please.

Re: Console command to give yourself a talent tree

Posted: Fri Mar 16, 2012 2:07 am
by Avianpilot
Finding it shouldn't be too hard, but perhaps you're not seeing it. Are you showing hidden files (hit ctrl+H to check)? By default they're not shown, and the /.t-engine directory is hidden because of it.

I must say that I've not used the Unity interface of Ubuntu 11.04+ (I'm on 10.04 myself); my instructions are based on looking for the folder through Nautilus. All I can say is that pre-Unity you can view the directory if you show hidden files in your home directory. I'm pretty sure that you can do that in Unity as well, but as I've mentioned I've not used it, so I am unfortunately unable to guide you.

Forgive me if sounds stupid -- I don't know your level of experience with the OS. You are looking in your /home/<username> folder, right? Not just /home?

Re: Console command to give yourself a talent tree

Posted: Fri Mar 16, 2012 11:31 am
by Dude892
Hidden Files!!!! I don't know if you could here some thunder but that was my facepalming. Yeah I just found it thanks man.

Re: Console command to give yourself a talent tree

Posted: Fri Mar 16, 2012 12:34 pm
by Avianpilot
Well I slept through the thunderstorm, but I'm glad that I could help all the same.