Hello guys,
I’m new to Unreal 4 and I’ve been learning blue prints. Switching from Unity I’ve learned a few things and I would like to put together an Exp system that increases stats when the character levels up. I need help making sure this is correct, but first let me explain what I’ve done (sorry this is a different computer from the one I use to develop.
I started by creating various Integers that I would need:
- CurrentLVL
- Stat up
- MaxHP
- HP
- MaxMP
- MP
- ATK
- DEF
- MATK
- MDEF
- AGI
- DEX
- LUK
- EXP
- LVL (1-100) EXP *Basically 100 of this one which serves the purpose of exp needed to reach that level.
EXP System
- First I check to see if EXP is greater than or equal to LVL2EXP.
- Then It sets a Boolean that Executes a set CurrentLVL to 2
This would continue on till level 100
Stat System
- For level 1 I set the initial values for all of the stats including EXP to 0.
- Then for each level I get CurentLVL and find if it’s equal to 2 (through 100) *this determines what the current level is.
- From their I set a Boolean named Raise Stats which executes and sets the integer Statup to 10.
Below that (They are not connected)
I get Statup and every stat then add stat up to the stats (increasing everything by 10 each level).
My question is… Is this the right path, am I missing something. Doing this for all 100 levels will be a lot of work so I want to make sure this would work.
In order to make this entire thing work from the very beginning, is there something I need to start with such as executing this from game start or something?
Do I execute the level one stats which sets the default values from game start?
When finally working on a save system, Do I save the values of Current Level and all the Integers I’ve created?
I’ve been looking for tutorials on this and I’ve found none, so if you know of any tutorials that cover this, please send me the link!
Thanks!