Hello, thank you for this fantastic tutorial! I'd like to clarify something in case people are going through this: you lose xp by resetting xp to 0 after leveling up, fortunately there's a very simple fix: - on the event graph in BP_ThirdpersonCharacter, around 2:55, between the "branch" true and the "increment int", place the "set" directly, link its condition to a "substract" node and indicate for the two inputs of this node "Get Xp" and "Get MaxXp". In this way, you can recover the remaining xp and add it directly to your XP.
@ciekaw I am not sure how it will react in that case, will test it when I am back home. If it don't work I think you can put a loop that have a condition of XP greater than XP Limit -> subtract XP Limit and add a level
ty for the tip and ty for this tutorial. but i found a bug. 1) This system is set each lvl y 50 max XP. This method only works fine if the action than less than the maximum experience value per level, that is, 50. If you win more than 100 the progees bar and the level number dont sohw the correct xp. Some idea? Ty 💜
Love the videos, would really love to see a video series out there helping beginners on the latest UE5, be able to build a survival game from the ground up, start to finish, small game & simple to help better understand what goes into making a survival game, keep up the amazing work :)
Thanks. What if I decide to implement a leveling in my puzzle game ? Siempre viene bien, y si me da por implementar un leveo a mi juego de puzzles ? nunca se sabe
Si simplemente puedes integrar lo del tutorial a tu juego de puzzles, si eso es a lo que te refires 😄, si necesitas resolver cualquier duda no dudes en avisarme!
First of all, great job. I need help with a system to upgrade my towers in game. Basically a player brings resources (supply, personnel, and siege weapons [optional]) to an NPC and once it has enough it places the first tower, then the player can upgrade the towers as they progress in the game. I have a lot of it done, just need help bringing it home.
So what you would do is that every time you level up, you increase the "maxXP" variable to a higher value. For example in the branch where we check if the current xp is larger or equal to the max xp, after all that you could increase the maxXP by a certain percentage or value each time
@@ossacipd8798you could make a branch to set the new MaxExp, by using multiply.. the MaxExp by the Level.. and use the return value to set the new MaxExp.. since the level goes up, the value will go up as its multiplied each time.
@@ossacipd8798 Not sure if you figured it out yet, but basically after the branch you would get the MaxXP and add it to the MaxXp times whatever % you want. Sorry if I didn't explain that right.
Looks great but can't get it working for the test 4:28 . Keeps continuing to output 0.0 every time I press it. Anything I could have done wrong anyone? Or is it because this is out of date? Edit: Nvm, figured it out 5 minutes later. Did a divide instead of plus at 1:26 lol 😅.
Great tutorials, thank you so much. I am having a problem I hope you can help with. I followed your tutoral "How to pick up coins" and got that working. I added in this XP system and got it working. I now have the same issues as @lersarteloza3643 posted previously and I tried your advice from that question, "so when you run the enemy`s death event, you cast to the player, and call the "Add XP" event, with the amount of XP you want to add". I tried following that however, I obviously missed something as it did not work for me. I wonder if you may be able to offer any further help or whether you have a tutorial already that might guide me through. Thanks for considering this.
Hello, thank you for this fantastic tutorial!
I'd like to clarify something in case people are going through this: you lose xp by resetting xp to 0 after leveling up, fortunately there's a very simple fix:
- on the event graph in BP_ThirdpersonCharacter, around 2:55, between the "branch" true and the "increment int", place the "set" directly, link its condition to a "substract" node and indicate for the two inputs of this node "Get Xp" and "Get MaxXp".
In this way, you can recover the remaining xp and add it directly to your XP.
@ciekaw I am not sure how it will react in that case, will test it when I am back home. If it don't work I think you can put a loop that have a condition of XP greater than XP Limit -> subtract XP Limit and add a level
@ciekaw glad to help :))
ty for the tip and ty for this tutorial. but i found a bug.
1) This system is set each lvl y 50 max XP. This method only works fine if the action than less than the maximum experience value per level, that is, 50. If you win more than 100 the progees bar and the level number dont sohw the correct xp.
Some idea? Ty
💜
Love the videos, would really love to see a video series out there helping beginners on the latest UE5, be able to build a survival game from the ground up, start to finish, small game & simple to help better understand what goes into making a survival game, keep up the amazing work :)
Thank you man! yeah great idea, I will think about making a series for beginners were we will cover on making a small game 👍
@@GorkaGames Very Cool! By the Way! Great Channel! ;)
Like a charm. Thank you
Im glad I could help!!
How would you set up a crafting system? That would be a great tutorial!
This helped me make a health bar too!
Cool vid! 🍻 loving the content!
thank you man! I really appreciate it
Very helpfull but you should expand this with a different max XP to Level Up for each Level. I figured it out myself but it’s a Tip for the future ❤
@aufgespeilt3768 @Gorka Games that is what i need too. i need a system for each enemy and each lvl difference between the actor and the enemy.
you just have to change the value of the max xp variable whenever you level up
Hello from Kazakhstan😁
Hello from Spain!
How would I go about making different exp amounts for different types of enemies?
I have it as a custom event within the enemy blueprint and set the exp amount to pass back to the player there
Just set the EXP amount on calling Add EXP.
Thanks. What if I decide to implement a leveling in my puzzle game ?
Siempre viene bien, y si me da por implementar un leveo a mi juego de puzzles ? nunca se sabe
Si simplemente puedes integrar lo del tutorial a tu juego de puzzles, si eso es a lo que te refires 😄, si necesitas resolver cualquier duda no dudes en avisarme!
First of all, great job. I need help with a system to upgrade my towers in game. Basically a player brings resources (supply, personnel, and siege weapons [optional]) to an NPC and once it has enough it places the first tower, then the player can upgrade the towers as they progress in the game. I have a lot of it done, just need help bringing it home.
Ты лучший, по твоим урокам игру создаю 🔥🔥🔥
thank you man!! Im glad I could help!
How do you make it so each level up requires more XP than the previous?
So what you would do is that every time you level up, you increase the "maxXP" variable to a higher value. For example in the branch where we check if the current xp is larger or equal to the max xp, after all that you could increase the maxXP by a certain percentage or value each time
Sorry for commenting on a year old post but, you mean just make another branch to make the max xp higher each time a lvl is gained?
@@ossacipd8798you could make a branch to set the new MaxExp, by using multiply.. the MaxExp by the Level.. and use the return value to set the new MaxExp.. since the level goes up, the value will go up as its multiplied each time.
@@ossacipd8798 Not sure if you figured it out yet, but basically after the branch you would get the MaxXP and add it to the MaxXp times whatever % you want. Sorry if I didn't explain that right.
it helped me a lot, would it be possible to show the level information within an inventory?!
¿Ya no harás la versión en español?
Hola! Si hare mas pero menos de vez en cuando, ya que la mayoría de mi publico es habla inglesa.
Friend, how to make the character gain experience when the enemy is destroyed? thanks in advance
so when you run the enemy`s death event, you cast to the player, and call the "Add XP" event, with the amount of XP you want to add
hello sr. can you make experience bar to get when kill monster ?
Looks great but can't get it working for the test 4:28 . Keeps continuing to output 0.0 every time I press it. Anything I could have done wrong anyone? Or is it because this is out of date?
Edit: Nvm, figured it out 5 minutes later. Did a divide instead of plus at 1:26 lol 😅.
До этого я додумался и самостоятельно, но проблема в том что с каждым уровнем сложность должна повышаться. А как это сделать я не пойму
hello how to do a level cap?
Set in the default value?
Dam that a veeery cheep way of doing it. Doesnt fit for me : (
Great tutorials, thank you so much. I am having a problem I hope you can help with. I followed your tutoral "How to pick up coins" and got that working. I added in this XP system and got it working. I now have the same issues as @lersarteloza3643 posted previously and I tried your advice from that question, "so when you run the enemy`s death event, you cast to the player, and call the "Add XP" event, with the amount of XP you want to add". I tried following that however, I obviously missed something as it did not work for me. I wonder if you may be able to offer any further help or whether you have a tutorial already that might guide me through. Thanks for considering this.