Started by
Spai
on
Topic category: Help with MCreator software
My main language is not English, but my question is how to create a skill tree as a GUI, that blocks certain branches when following others and that unlocks mechanics or skills that are activated when using certain keys. The truth is I'm just exploring the world of Minecraft mods and I'm quite clumsy at this, if you can explain the immersion to me it would be greatly appreciated
Edited by Spai on Mon, 03/18/2024 - 01:40
You can try on variables, for example, "skill 1" is available if the variable "progress" = 1, "skill 2" is available if the variable is 2, and skills 3 and 4 if the variable is 3, so that 1 of them is closed if the other is studied, you can do by type if the variable is 1 or 2 visible skill 1 if the variable is 2 or 3, then skill 2 is visible, when learning skill 1, equate the variable to 1, in this case skill 2 will not be visible (I used a translator, if something is wrong, I'm sorry)
P.s. base variable =2(in example with 2 skills)
Regarding the menu, just use the GUI, there is also a key assignment in MCreator, for example - if the variable "learned skill 2" = true, then {skill action 2} and attach this procedure to the button