Sprint and Stamina | Legend of Zelda in UE4 #2

  Рет қаралды 22,781

Cobb Dev

Cobb Dev

Күн бұрын

Пікірлер: 61
@MountainsOfSadness
@MountainsOfSadness 6 жыл бұрын
I'm an artist trying to improve my blueprinting. These tutorials are incredibly helpful. Great pacing and explanations. Didn't know Set Timer by Function Name was a thing. I knew overusing Tick could be bad, but not how to fix it! Thanks, and looking forward to following along with more :)
@CobbDev
@CobbDev 5 жыл бұрын
Chris the day I found Set Timer by Function Name was the day I was reborn
@Mr_Bloodjack
@Mr_Bloodjack Жыл бұрын
Followed this tutorial on UE 5.0 using ALSV4 (marketplace version) as a base, no issues! It works! The difference will be, on your "Player Input Graph" (and anywhere it's needed), what he shrink as a macro ( the walking/sprinting/running stats) , replace them by the appropriate "SET desired Gait" !
@TehYosher
@TehYosher 4 жыл бұрын
Great tutorial! Although I don't know how much I'd agree with using movement speed to check to see if someone can sprint. Instead I would bind them by checking to see if both the move forward key and the sprint key are down. And then and add the sprint function to the move forward event. That way the player can come to complete stop (with the sprint input down) and not break the sprinting system.
@exhorts
@exhorts 5 жыл бұрын
Great Tutorial and very efficient blueprint! I loved it! :)
@mattshu
@mattshu 3 жыл бұрын
thanks for this series I've been wanting something quick to follow along with and based off zelda
@unknowngamedev909
@unknowngamedev909 3 жыл бұрын
nobody: Cobb dev when he make a function: B R A N C H
@Will_Forge
@Will_Forge 4 ай бұрын
All I wanted was some help designing the blueprints for the classic Zelda combat system with lock-on, dodge roll, etc. which is in BotW. I could figure it out myself but was hoping to find a means of expediting that process. Unfortunately, like, which of these videos covers the combat? None of them mention the combat system in the names. is it in the health system or something? I dunno I'll just go digging and find out I guess.
@bigcharlie96
@bigcharlie96 2 ай бұрын
Last vid in the series mentions a video that covers combat systems
@Will_Forge
@Will_Forge 2 ай бұрын
@bigcharlie96 ah, I finished the series but I haven't seen that video. Or do you mean the recommendation for "code like me"? Because I did see that and have been learning from that guy. His also is adding the multiplayer element I need, so I am enjoying his tutorials. For a number of reasons Code Like Me makes me move significantly slower on my work which is a downside, but it's pretty good otherwise.
@roninvince
@roninvince 4 жыл бұрын
Thanks for making these videos, I'm trying to learn some basics. I did notice that you added some extra checks to prevent stamina depletion when the character is in the air and when he's not moving. But, if the character starts printing and then jumps or stops moving, the depletion will continue. So, how would you capture the character stopping or jumping to stop the stamina depletion?
@LuoJi_Music
@LuoJi_Music 6 жыл бұрын
Actually, I found a bug, or I am doing something wrong as setting IsExhausted in the first if-statement of StaminaRegenerationEvent Does not allow for regen when the button is released. The best most understandable tutorial I ever saw! Also Great concept, insta-fan.
@LuoJi_Music
@LuoJi_Music 6 жыл бұрын
The error was actually my fault, i had not connected an output to a execute :)
@asceofclubs
@asceofclubs 5 жыл бұрын
@@LuoJi_Music I'm having this problem, can you tell me what you missed?
@roblaatz4188
@roblaatz4188 4 жыл бұрын
@@asceofclubs make sure that all of your macros are connected up to an input and out
@chrispy6276
@chrispy6276 4 жыл бұрын
Okay so, like Earl Procko said below, I'm having an issue where I can't start off running by pressing shift before I move, and when I am sprinting and stop moving forward but still hold the shift key down my stamina continues to drain even though I'm no longer moving. I'm not entirely sure I grasp what Si No M said, but I've tried messing around with a few things that I thought he might be referring to but to no avail, anybody got an answer?
@earlprocko2181
@earlprocko2181 5 жыл бұрын
Hey Cobb! Great stuff here, very happy with the break down... looking forward to more of these. Quick question: When I hold shift(sprint button) first and then move it doesnt engage the sprint function. If im walking and then hold shift everything works fine. How would I change this to also activate if i was holding shift first. Thanks!
@gwchndlr
@gwchndlr 5 жыл бұрын
interested in a solution to this as well. i've tried to fix myself but no luck
@nobewayo
@nobewayo 5 жыл бұрын
Im late, but it's easy. The reason why it doesn't work, is because the whole sprint function is set to not go off if you're not moving. Just remove that, and have that check before the stamina depletion. That way, it'll always go off, just wont deplete if standing still :)
@elementalisland3685
@elementalisland3685 5 жыл бұрын
i cant get it to go down
@fpvbarry6851
@fpvbarry6851 4 жыл бұрын
How do i get a 4 leged character to match slop angle. If that makes sense. Thanks
@CobbDev
@CobbDev 4 жыл бұрын
There's a lot of good resources for this- look up "UE4 Foot IK". IK stands for Inverse Kinematics. Most links you'll get will be for bipeds, or two-legged characters, but you can just do the same process on all 4 legs of your character.
@fpvbarry6851
@fpvbarry6851 4 жыл бұрын
@@CobbDev first of all thank you for everything. just got home and seen a IK vid recommendation by Ryan Laley. go figure. I Just started this Endeavor two days ago and you and him are the BEST when it comes to simplifying the task at hand. So again thanks man for real looking forward for more content.
@loganharrison1079
@loganharrison1079 4 жыл бұрын
This a good tutorial my dude
@carterrogers8886
@carterrogers8886 4 жыл бұрын
Great tutorial! I'm coming to this late, but my stamina seems to deplete to 0 instantly the first time I hit shift. This then doesn't happen again. Any idea why?
@carterrogers8886
@carterrogers8886 4 жыл бұрын
Just realized my default stamina was set to .75 instead of 75. D'oh!
@t2smiles
@t2smiles Жыл бұрын
I'm experiencing a weird thing. When I follow this tutorial, I can only get the stamina depletion function to work when jumping...When on the ground, it does not work. I triple checked the isMovingOnGround reference and that is set to true. I tried changing it to false and it still doesn't fix the issue either. The only difference is, I am using the Enhanced input vs the older input option. Everything else works about this, except this one part. Any ideas? - It works perfectly if I change out the Enhanced input event for a LeftShift input event. Not sure why/how that is the case.
@TobyCrimson
@TobyCrimson 10 ай бұрын
late reply but i found a fix. connect the EnhancedInputAction [started] to the set SprintKey that we started in the beginning of the video instead of connecting it to [triggered]. following everything else in the video seems to work fine for me
@criticalcharly5884
@criticalcharly5884 4 жыл бұрын
I cant get it to get down the stamina when i sprint again, but i've followed the tutorial even checked twice.. :/
@adamb2749
@adamb2749 4 жыл бұрын
Did you ever work this out?
@criticalcharly5884
@criticalcharly5884 4 жыл бұрын
@@adamb2749 I got it working from another video, but i can't remember wich video was sorry
@bryceshinn3821
@bryceshinn3821 5 жыл бұрын
so i did what you said to do but when i push left shift it doesn't activate the sprinting. what should i do?
@kuro2ck
@kuro2ck 4 жыл бұрын
add a print string after the inputActionRun you created, you will see if left shift is doing anything. if nothing comes on the screen, then you will need to go into project settings and makes sure you have defined the relevant key.
@bigcharlie96
@bigcharlie96 2 жыл бұрын
Once my stamina reaches 100 it stays there idk what I did wrong, went through like three times as far as I can tell Ive set it up the same
@bigcharlie96
@bigcharlie96 2 жыл бұрын
Went through and changed some names of functions and that fixed it, idk what was wrong
@bigcharlie96
@bigcharlie96 2 ай бұрын
Following this tut again and ran into the exact same issue. Not sure how to fix it. Stamina does not deplete but everything else works. Cannot check exhaustion since stamina will not deplete.
@kyberries
@kyberries 4 жыл бұрын
How did you learn to be so fluent in UE4?
@CobbDev
@CobbDev 4 жыл бұрын
Just a few years of practice!
@kyberries
@kyberries 4 жыл бұрын
@@CobbDev Wow, are you self taught or did you take some courses somewhere? I'm really trying to become a game developer but I just don't know where to start.
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@MJ-om5go
@MJ-om5go 5 жыл бұрын
Hey Cobb Dev do you offer one on one tutoring for unreal engine? Via Skype or something?
@CobbDev
@CobbDev 5 жыл бұрын
Hey MJ! I offer certain benefits like that through my patreon, check it out! www.patreon.com/cobbdev
@kacpermadej568
@kacpermadej568 5 жыл бұрын
idk what to do, my stamina wont go up after depleting, please help
@AdamAli-ok9ff
@AdamAli-ok9ff 4 жыл бұрын
same :/
@bine7430
@bine7430 2 жыл бұрын
@@AdamAli-ok9ff and same too
@bine7430
@bine7430 2 жыл бұрын
Just set loop to true before the Macro set to Walk
@bine7430
@bine7430 2 жыл бұрын
@@AdamAli-ok9ff Just set loop to true before the Macro set to Walk
@runsbuns3675
@runsbuns3675 4 жыл бұрын
why would somone want stamina for a game it makes no sense lol why slow down ur action
@unknowngamedev909
@unknowngamedev909 3 жыл бұрын
Yeah! why not just ruin the game by making link always fFASSSST and making everything but good game
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@roblaatz4188
@roblaatz4188 4 жыл бұрын
because the first is a state of exhaustion with a max walk speed of ~200 while the second is a state of normality with a max walk speed of ~400. being exhausted is a temporary penalty for using the entire stamina bar which makes the player slower than usual.
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@wolflyset
@wolflyset 5 жыл бұрын
Question: Why not use the SET TO EXAUSTION as a SET TO WALK macro, so i can use 2 instead of three macros?
@ka1ock
@ka1ock 5 жыл бұрын
Max speed is different...
Circular Progress Bar | Legend of Zelda in UE4 #3
17:47
Cobb Dev
Рет қаралды 28 М.
How I Won The GMTK Game Jam
25:09
JimmyGameDev
Рет қаралды 588 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Heart Based Health System Part 1 | Legend of Zelda in UE4 #6
32:16
Environment Design & Inspiration | Devlog
12:40
Legend 64
Рет қаралды 86 М.
Sprinting And Stamina - Unreal Engine 5 Tutorial
17:00
Matt Aspland
Рет қаралды 79 М.
How To Set Up A Basic Stamina System - Unreal Engine 5 Tutorial
19:58
Pitchfork Academy (MizzoFrizzo & Co.)
Рет қаралды 3,1 М.
UE4 Breakdown - How I create grass for my indie game Lucen
19:24
Kris - LucenDev
Рет қаралды 85 М.
I Spent 1 YEAR Remaking Super Mario World In 3D!
18:26
Bobby Ivar
Рет қаралды 506 М.
[UE4] Overlay 3D Components Inside a Widget
6:23
Aaron Hunt
Рет қаралды 31 М.
Everything You Need To Start Making Games (As A Beginner)
16:11
Juniper Dev
Рет қаралды 246 М.
Retargeting Mixamo Animations | Legend of Zelda in UE4 #4
20:46