Unreal Engine 5 RPG Tutorial Series - #7: Levels and XP

preview_player
Показать описание
Hello guys, in this quick and simple tutorial we are going to continue with my UE5 RPG Tutorial Series in Unreal Engine 5! In today's episode we will begin to make the player stats, such as health, stamina and XP!

unreal engine 5,ue5,RPG game,tutorial,quixel,megascans,unreal engine RPG game xp and levels,RPG game unreal engine 5,ue5 RPG player stats,ue5 beginner tutorial,ue5 how to make an rpg game,unreal engine 5 xp tutorial,unreal engine 5 easy RPG level system,unreal engine 5 asasins creed xp,ue5 xp and level,unreal engine 5 how to make assassins creed xp system, unreal engine 4,ue4,unreal engine 5 level system RPG game tutorial,ue5 RPG series, RPG game series in ue5
Рекомендации по теме
Комментарии
Автор

11:50 For those who don't want to use a database, you can also make a multiplier float to make it more efficient.
Try to connect your Max XP on a multiplier float with a 1.5x value for exemple and you will get a nice Max XP value by each next level ;).

LonePhoenix
Автор

Selecting the pelvis of the sprint animation and tilting it forward a bit looks really good

enderfire
Автор

You forgot to account for gaining more CurrentXP than the MaxXP at one time. In the IncreaseLevel, you will need to subtract the current MaxXP spent from the CurrentXP (not set to 0) and THEN increase the MaxXP amount. You will need to change the Branch in the IncreaseXP function to a WhileLoop. Hook the LoopBody to the IncreaseLevel and the Completed to the HUD updates. This will allow the IncreaseLevel to run until it needs to stop.

If you set the amount in the player blueprint to something high, you will see the results after doing this. This will allow wrap-around experience points.

Yggdrasil
Автор

Few tricks I did

- Off of first branch for EnhancedInputAction IA_Crouch - Made the Sprinting go into an not then to the or and plugged Sprinting? into the other end of or and then added all of that to the second input pin on the AND operator going into the first branch. (This is so I can press crouch while walking or sprinting and)

- In stamina section, Going into the first branch off of drain stamina. I added the same thing we added to the start. The Crouched? -> NOT -> And for 1 pin and Can sprint in the other pin to go into the branch condition coming out of drain stamina. (This was due to a bug where we were still depleting stamina if you held shift after pressing crouch, you would still deplete stamina.)

This might get fixed or be irrelevant later on, just wanted to share.

This is an awesome series so far, cant wait to catch up

TT_Teck
Автор

This is an excellent tutorial series for someone like myself with almost no experience with UE5, or any game developing software for that matter. I have very limited experience with 3d software but do have a motion graphics / video editing background. I am picking this up pretty quickly with your instruction and I'm very glad you made these videos. I just wanted to say thanks!

dedhead
Автор

First of all thanks for these tutorials I'm learning a lot, thanks to what I learned from you I can now also fix some bugs.
for example for running there are 3 bugs:
1- if you press the run button the stamina decreases even when you stand still
2- the event tick increases stamina infinitely
3-if the stamina ends can spint remains false and you can no longer run

I fixed all three bugs:
1- did I add a walking boolean? which is set to true at the start of the movement and false at the end and I added it to the AND condition with crouched? and can you sprint?
2-In the event tick I added an AND control with NOT Sprinting saying that current stamina must be != from Max Stamina to increase stamina
3- I add a check to the start that the stamina is greater than 0 if the condition is true set can spint to true and do what you have to do

I don't know if it's great but it solves everything, and I hope to be useful to someone. PS. If he fixes it in subsequent videos I'll get angry, but at least I'm satisfied that I'm learning to edit and fix things on my own. I left without knowing how to do anything :D

TheDjscrady
Автор

I can feel the progress already, often when you say things I go off thinking I know what to do now! many times I am wrong but it is good to see how far I have come, keep making such awesome content!

OliverSeeds
Автор

Thanks to you, I am learning things I have never learned yet. It has been an incredible training set. Thank you very much for sharing such a work.

acelyadehneli
Автор

I'd love to see the database for the XP required, I was thinking of using a multiplier but a database would be much more dynamic and changeable for future updates to games. Great work once again bud!

chrum
Автор

And I made a pelvic and head tilt forward for the sprint, as we did with the lean and it looks pretty good

MikBurlak
Автор

amazing series i've been following the series and everything works great. i did come into a few issues but thats just when i wasn't paying 100% attention lol

daytonchan
Автор

Yo man, love the tutorial. :D

About the camera zoom: You can save some time and space and just put boolean (Sprinting?) into a (Not Boolean) into a new (Branch), just before the (Crouched?) and (Not Boolean) (Branch) at the start. Then you only need to put it in once, rather than have it for each camera movement.

madsstensrud
Автор

Dude!!! Yesss we back at it lol was getting itches not being able to see ya vid yet lol 😂😂

Ya_Boi_Raptor
Автор

Mission #7 Successfully completed !!!! !!!! TY !!!!

dollggwp
Автор

Just a comment to thank you for your work.

thebugski
Автор

Hey Gorka, amazing tutorial so far! I was wondering, do you plan on showing how to connect certain events from the Widget to display when you level up? I'm trying to figure out how to have a widget animation play when the character levels up and I'm having a hard time figuring it out. Keep up the awesome work, man!

Zorkul
Автор

Binding the xp and level text in Widget itself is much simple and easy to follow than this all. Anyways you are doing a great job, Learning the other way around is fun too.

biraj
Автор

You’re actually one of the best people I have watched in my whole life

Funny_mustache_guy
Автор

Nice. Will take a few days till I get there.

RSProduxx
Автор

A thumbs up for the formatting text procedure. However, your code could be cleaner by making a function or variable for getting the HUD. or any other complex thing requiring casts and such. If you have reuable code, its best to put them in functions, macros, and/or variables.

rremnar