UE5 - Player Stats Component Guide (Part 1): Building the Core Functions

  Рет қаралды 3,558

MrButier

MrButier

Күн бұрын

Пікірлер: 39
@itamihanzo
@itamihanzo 11 ай бұрын
This is exactly what Im looking for, very neat and structured and easy to build one can't wait for the next video in this series, def subbing!
@pryzmgaming
@pryzmgaming 11 ай бұрын
nice looking good so far
@MrButiier
@MrButiier 11 ай бұрын
Thanks 😎
@WolfBytesDev
@WolfBytesDev 11 ай бұрын
so far so good, love the presentation, the speed, and i think out of every tut for stats i have seen this will be expandable for my own project, i do want to add other stats, like food and water. looking forward to more. the only down side with finding a new series that is "so new" you can just binge watch and complete the project in a single sitting hahah ..
@MrButiier
@MrButiier 11 ай бұрын
Haha glad you love it enough to want to binge it, everyone's support for this series definitely helps push me to release this series faster so I'll do my best to not make everyone wait too long.😂 I haven't thought about including survival type stats yet but I'll add that to the list of potential functions for this series and see if I find something I'm comfortable making and including it in a video for this series.
@WolfBytesDev
@WolfBytesDev 11 ай бұрын
@@MrButiier I really, appericate the time and effort that goes into doing tutorials .. the main problem when learning i find is everyones approach is different and very rarely is it easily interchanagble between methods. and you always want something that the tutor doesnt do. or you get the age old problem of ok you completed video one, with my hand holding.. now we gonna one to skip a few and ill just speed run the rest. i also like when someone is creating the systems as we go... not all planned out and working .. this way you learn how to debug and fault find as the problems arise. anyhoo..i will be watching each vid as it emergies. *when they ready :)
@MrButiier
@MrButiier 11 ай бұрын
@@WolfBytesDev Oh absolutely, everyone always wants to do "something" different when they do their tutorials to stand out. Although I admit I fall into that sometimes but I I research a ton to utilize what the majority people do. It's pretty common for tutorials to just assume you understand some basics of what theyre doing and just run through without explaining what they did which is the whole reason I made my channel because that frustrated me lol. And to keep it transparent as possible, none of my videos are planned out ahead of time. I just sit at my computer and decide which feature I'll work on (its just a google document with bullet points), get an idea then record. I do however edit out the long pauses of debugging because videos could get to an hour long or more. I think I'd rather do a live stream of building a feature rather than making hour long videos. I appreciate your continued support
@WolfBytesDev
@WolfBytesDev 11 ай бұрын
@@MrButiier a live stream would be an awesome idea where we could all get involved and have direct feed back but i could imagine it getting very hectic trying to answer everyones questions and issues. could end up being a lot longer than a mamoth video. haha.. just keep doing what you doing. 👍
@MrButiier
@MrButiier 11 ай бұрын
@@WolfBytesDev I'll consider it I don't mind the idea of helping people as I go with whatever knowledge I have.
@Tokorai
@Tokorai Ай бұрын
I cannot get this to work, when I press Q, it just says that Exp is 0.0 and the Level is blank. The AC Stat System in the character blueprint has default values as you set them. I cannot figure out why it's setting those values to 0. Do you have any idea?
@MrButiier
@MrButiier 27 күн бұрын
Sorry for the way! I could help debug however honestly, I remade this entire system in this video: kzbin.info/www/bejne/g2iwqoKbr6d2oZo I improved it heavily, not only in visually but made it significantly simpler to understand/build. I'd recommend taking a look at that system instead.
@Tokorai
@Tokorai 26 күн бұрын
@MrButiier I'll check it out. Thanks! I think your videos are pretty good =]
@Chatmanstreasure
@Chatmanstreasure 9 ай бұрын
Been waiting on a series like this excited for it.
@MrButiier
@MrButiier 9 ай бұрын
Glad to hear man!! Feel free to comment anytime you have questions or join the discord if you need help debugging.
@GrigoriNightDragon_imabba-p3
@GrigoriNightDragon_imabba-p3 9 ай бұрын
@@MrButiier can you link your discord?
@Galadx25
@Galadx25 2 ай бұрын
Just started learning all this, but wouldn't it be more efficient if you were to instead of creating separate functions, add an input boolean for subtract or add?
@MrButiier
@MrButiier 2 ай бұрын
Unfortunately, using a bool only has true/false so that gives two options and we need 3. Also I have made an improved system of this series here: kzbin.info/www/bejne/g2iwqoKbr6d2oZo
@Galadx25
@Galadx25 2 ай бұрын
@@MrButiier Awesome, thank you! I also want to add I wasn't critiquing you, I was genuinely asking. I am almost finished with the video, as I have been experimenting with ideas along the way. For example, instead of the data table, I went with a multiplier value that is also in the enum table. So when the character levels up ( new level * multiplier ) + Base -> SetStatValue()
@MrButiier
@MrButiier 2 ай бұрын
@@Galadx25 oh no worries at all! I didn't take it personal lol. If you can find edits or improve it for yourself then I encourage it 😁 Oh definitely the multiplier is way simpler than a very manual data table, that's one of the things i got rid of when i revamped the system. Feel free to post any edits you made that you found more useful or just in general better performance or functionality. I enjoy reading the ideas from others and seeing if I can use it to improve future stuff 👀
@GrigoriNightDragon_imabba-p3
@GrigoriNightDragon_imabba-p3 9 ай бұрын
hello im making a demo with your system was trying to make a level cap can you do a vd on it plz thx
@GAMERSMOBILE
@GAMERSMOBILE 5 ай бұрын
can the stats be used for objects like tiles and objects other than player or ai?
@MrButiier
@MrButiier 5 ай бұрын
It could however it may be better to implement something a bit more simple for things like tiles/objects unless you're looking to do calculations based on armor etc. Stationary or environment objects typically would just need a health value.
@dem_xennies9820
@dem_xennies9820 7 ай бұрын
Alright. Has anyone run into this problem? I have a Data Table JUST for MaxXP. The program runs fine until i try to attach the data table and run to check if the XP values are scaling correctly, it will get to Level 2 and say there was an infinite loop found and cant run it anymore. Prior to that, the priblem was that the Level_1 XP was set to the default 100 instead of 8 for the Data Table. It would literally work fine except for that part, but now it doesnt work and says theres an infinite loop that i cant find (though it only comes up when i attach the data table) EDIT: RESOLVED!! I found out that in the F_Stats List, there was a default value tab there for some reason. I removed it and it immediately fixed the issue!
@MrButiier
@MrButiier 7 ай бұрын
Oh great to here! You found a resolution before I had a chance to wake up haha.
@Suffi8150
@Suffi8150 11 ай бұрын
Will this series be optimised to run efficiently? And will you use the stats to influence attack damages and what equipment can used by level.
@MrButiier
@MrButiier 11 ай бұрын
Yes! The goal is for the component to continuously update in functionally and efficiently, and address problems as we run into them. To teach people how to build but how to improve their existing features😎 not everything will be correct/perfect in these videos such as using an enum instead of a struct to contain stats (mainly because for blueprints visuals are helpful and easy to manage) And yes to the second part, we will be utilizing the core stats to influence the sub-stats such as damage. I won’t be going into an inventory system in this however I will look into creating functions that could be used for those type of systems 💪
@Suffi8150
@Suffi8150 11 ай бұрын
@@MrButiier how many parts do you think this series will be? Also it would be interesting to see an example at the end of the series seeing the whole series being used to make a prototype game.
@MrButiier
@MrButiier 11 ай бұрын
@@Suffi8150 I don't have any set amount of parts for this series planned, as long as viewers and I are interested in more parts we could make this a long or short series. Every video will show case its functionality but whenever it is complete I will make sure to show case how easy it is to use 😎
@Suffi8150
@Suffi8150 11 ай бұрын
@@MrButiier that's great to hear about the show case because it's always good to show people examples of what you can do with the system.
@Chatmanstreasure
@Chatmanstreasure 9 ай бұрын
If this is address at a later time ignore it.... but when removing xp it goes in the negative and does not de-increment level...loving it so far
@MrButiier
@MrButiier 9 ай бұрын
Oooo I didn't think about people wanting to remove EXP, currently haven't set a function that decreases exp or level. We'd have the basically do the increase level function but in reverse.
@Chatmanstreasure
@Chatmanstreasure 9 ай бұрын
ok...yea like if you die you lose xp and if you lose to much you could de-level
@ruellerz
@ruellerz 7 күн бұрын
playerstate? we using it?
@MrButiier
@MrButiier 5 күн бұрын
?
@itamihanzo
@itamihanzo 11 ай бұрын
Hey I ran into a problem. everything is working fine adding and subtracting and printing out values correctly. however it doesnt't seem to do anything else than print out values, the stats are not changing. if i do a print string on a stat check it only takes my base values, not the upgraded ones, do you have the same problem or am i missing something? (Can Enums be changed in runtime?)
@MrButiier
@MrButiier 11 ай бұрын
Hey! Yes enums can be changed in runtime. If your stat check is only populating the base values then I would suggest taking a look at your Add/Subtract/Set functions if they are properly set up. It could something as simple as wrong nodes connected or missing a node but hard to tell without visuals.
@itamihanzo
@itamihanzo 11 ай бұрын
I will double check, but it's weird it is updating when adding and subtracting correctly and I can gain level and it updates my experience and when reaching cap updated the level etc, everything works exactly like in your video when adding and subtracting , but when i do a simple state check with a pritnt string after updating these it just shows me the base for some reason. I can try post in your discord maybe. thanks for the reply.
@mavencore3557
@mavencore3557 8 ай бұрын
Dataassets are better than using enums and datatables.
@MrButiier
@MrButiier 8 ай бұрын
Not if you're trying to modify it, its more of a hassle so I opt out of using it.
UE5 - Modular Stat System: Full Guide
2:39:47
MrButier
Рет қаралды 2,6 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
AI Image to 3D Game Ready Character for Indie Developers | Unreal Engine
15:11
How I designed Fruit Ninja
22:58
Luke Muscat
Рет қаралды 7 МЛН
How To Use Unreal's Built-In Dialogue System - Common Conversation
17:23
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 349 М.
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 1,5 МЛН
Factorio teaches you software engineering, seriously.
21:27
Tony Zhu
Рет қаралды 2 МЛН
the 7 levels of game developers
10:58
samyam
Рет қаралды 39 М.
Why Majora's Mask's Blue Dog Took 25 Years to Win the Race
21:04
Vidya James
Рет қаралды 2,9 МЛН
Slot Inventory Tutorial Part 1 - Unreal Engine 5.4+
17:19
Lisowi
Рет қаралды 12 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 735 М.