Hi, how can I equip classes (such as Necromancer, Warrior, and Monk) with different skill trees so that, e.g. the Necromancer has other skills to choose from than the Warrior etc.? and if I have decided in the game for a class that it will continue to play and how does it all work in multiplayer?
I hope that I have formulated it correctly? I currently use UE 4 at the version 4.21.2 and 4.22.1
Thanks for the help in advance
The answer to this is extremely complex and depends greatly on what you’ve implemented so far and how you’ve done it. The overview of what you’d likely want to have is a master character blueprint and then each of the classes being a child of it so that you only have to build the variables and whatnot once.
Then it depends on how you have the skills setup. Are they hard coded into the class blueprints or are they separate entities that can be swapped or adjusted on their own? If they’re in the class bps then you should be fine but limited in how you go forward and if they’re external entities then you could use an Enum to filter them by class so that the other classes don’t see them and can’t use them.
For the Multiplayer side you need to decide if it runs on a dedicated server setup or if a client hosts the game and others connect. Then you’ll need to work out save states and a ton of other things.
There is a LOT of work to get through before you would worry about the MP stuff. There are quite a few tutorials around the web (YouTube is a great resource) that can help you get the skill and class stuff up and running, though it may take combining a couple of the tutorials to get what you want.
I wish I had a more straight-forward answer for you but this is pretty much the path you’ll need to follow at a high level.
You could also look on the Marketplace as there are quite a few templates for sale that have the base work complete depending on the game-style you’re looking at making.
Best of luck.
Ok thanks for the information, then I look on youtube, helped me Thanks