Console command to give yourself a talent tree
Moderator: Moderator
Console command to give yourself a talent tree
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
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
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
-
- Thalore
- Posts: 148
- Joined: Fri Aug 19, 2011 5:06 pm
Re: Console command to give yourself a talent tree
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.
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
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.
-
- Thalore
- Posts: 148
- Joined: Fri Aug 19, 2011 5:06 pm
Re: Console command to give yourself a talent tree
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?
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
Hidden Files!!!! I don't know if you could here some thunder but that was my facepalming. Yeah I just found it thanks man.
-
- Thalore
- Posts: 148
- Joined: Fri Aug 19, 2011 5:06 pm
Re: Console command to give yourself a talent tree
Well I slept through the thunderstorm, but I'm glad that I could help all the same.