Weapon Firing | Unreal Engine 5 First Person Shooter (FPS) Beginner Tutorial | #3

  Рет қаралды 47,269

Virtus Learning Hub

Virtus Learning Hub

Күн бұрын

In this video, we'll setup the firing animation and effect for our weapon for our first person shooter game inside of Unreal Engine 5. We'll be doing this with animation notifies to time the sounds and VFX with the animation. Stay tuned!
► View the full first person shooter course today on our website: wwww.virtushub.com/p/fps and receive 50% off the purchase price.
New UE5 FPS video every week.
0:00 - Intro
0:30 - Firing input setup
1:57 - Weapon fire trigger
3:22 - Animation blueprint setup
5:07 - Animation transitions
7:15 - Linking animations to the character
8:02 - Controller triggers
9:21 - Muzzle flash and sounds
14:20 - Outro
Don't forget to like the video and subscribe!
♥ Don't forget you can support the channel on Patreon for more content just like this! / virtushub
♥ Join the Virtus Discord: / discord
Virtus Creative Hub // Media
● Facebook Page - / virtushub
● Twitter Page - / virtushub
● Website - www.virtushub.com

Пікірлер: 106
@Ver2ion
@Ver2ion 7 ай бұрын
a little confused got everything working but id like some clarrification. How Can I set variables, at certain points in the animation, like the notify sfx/particles? and my particles leave behind a red residue??? where the particle effect was played
@4Lop532
@4Lop532 Жыл бұрын
Hello virtus learning hub, how can change the recoil of the gun to something more realistic?
@chankulovski
@chankulovski Жыл бұрын
Hey Luke, amazing video as always ! I am curious, are you gonna proceed with reloading, ammunition etc in the future videos? :) Are these videos gonna be in a long series with FPS ? Thanks again ! Vlad .
@VirtusEdu
@VirtusEdu Жыл бұрын
Hey, We have indeed made videos for reloading, ammunition etc as part of this course, you can see a full list of videos/topics on our website :)
@camielhop271
@camielhop271 10 ай бұрын
If the gun of your character isnt moving when shooting, make sure that you have "repeat" enable so the animation will replay
@brigeu
@brigeu 9 ай бұрын
where is that at
@awesomegaming5978
@awesomegaming5978 9 ай бұрын
@camielhop271 please tell where it is
@gameover_wt7077
@gameover_wt7077 9 ай бұрын
​@@awesomegaming5978 Click on the weapon fire state then at animation Arms fire and in details you will have an option "Loop Animation". Enable it.
@gameover_wt7077
@gameover_wt7077 9 ай бұрын
@@brigeu ​Click on the weapon fire state then at animation Arms fire and in details you will have an option "Loop Animation". Enable it.
@LilXnas
@LilXnas 9 ай бұрын
@@gameover_wt7077 There isnt a option there for loop animation can you be more specific?
@JPAS-YT
@JPAS-YT Жыл бұрын
Thank you. I love everything you do, keep it up
@VirtusEdu
@VirtusEdu Жыл бұрын
Thank you!
@atlantisfigi7583
@atlantisfigi7583 Жыл бұрын
@@VirtusEdu Are you going to add multiple guns?
@fredcannonvalley1699
@fredcannonvalley1699 11 ай бұрын
How do I make the animation only play once I've clicked without having to hold down? I'm trying to do a semi auto weapon.
@robpenfold9500
@robpenfold9500 Жыл бұрын
Does anyone know why the animation montages don't work? I am trying to play the Arms_Reload_Montage, but it doesn't work for the arms, unless I run it as "Play Animation", which then breaks the AnimBP. Any ideas?
@ProBectonGamer
@ProBectonGamer Жыл бұрын
How often will this be uploaded? Its very helpful!
@Starzie_
@Starzie_ 20 күн бұрын
heya so, ive followed all of the steps. But when i move the particle is lagging a bit and doesn't stay in the same position
@DzeProject
@DzeProject Жыл бұрын
so the full tutorial will not be available on yt?
@edodemerzel7032
@edodemerzel7032 9 ай бұрын
Thanks for the tutorial! Question: can we attach muzzle flash particle system to the specific socket on the gun's skeleton instead of setting up its location manually? Socket using seems to be faster and more accurate (hypothetically).
@VirtusEdu
@VirtusEdu 9 ай бұрын
Yes actually in hindsight you should be able to do that and it will work more efficiently, nice spot!
@edodemerzel7032
@edodemerzel7032 9 ай бұрын
@@VirtusEdu Thanks for Your reply!
@Vkcomedyentertainment
@Vkcomedyentertainment 4 ай бұрын
variable from mains fps blue is not moving into animation blueprint help
@trendyourdays7382
@trendyourdays7382 11 ай бұрын
the particles doesnt show up in game any help plz
@pescob004
@pescob004 7 ай бұрын
when I click the first person corrector it doesn't take me there
@AdiG-hy1dp
@AdiG-hy1dp 5 ай бұрын
It doesn't work for me. In the Arms_AnimBP preview, it shows it playing the animation after turning on loop but doesent play the animation in the game...? Please Help Me! It does say that Axis and Action mappings are now deprecated, please use enhanced input actions and input mapping contexts instead...
@yibblesnort
@yibblesnort 10 ай бұрын
for some reason whenever i press lmb the weapon doesnt stop firing. does anyone know why this is?
@joeydarden3778
@joeydarden3778 Жыл бұрын
Hey lucke I bought the course but having hard time finding the rest of the assets for the game the file you have for Fps in your drop box isn't it none of the UI or the AI chaters skeletons ect can you please help me get these files so I can continue the course. Thank luke
@VirtusEdu
@VirtusEdu Жыл бұрын
Hey Joey, drop me a message on Discord and I’ll point you in the right direction!
@theresourceroom7961
@theresourceroom7961 7 ай бұрын
my rifle does not fire in automatic how do i fix that?
@awssompro
@awssompro Жыл бұрын
Hey I was doing the the animation for the gun shooting and When I turn the boolean to true it shoots once instead of infinitely shooting does anyone know how to fiz it
@manualzshorts3928
@manualzshorts3928 10 ай бұрын
same for me
@coreV33421
@coreV33421 2 ай бұрын
Can you add an enemy tutorial?
@blank_b
@blank_b Жыл бұрын
hey what do I do if I'm doing this with a semi auto asset and I want to instead of holding down to play the animation I just click it once and it plays the whole thing once? In simpler words, how do I make it only shoot once?
@alexrnfl
@alexrnfl Жыл бұрын
hey did you find the answer?
@fredcannonvalley1699
@fredcannonvalley1699 11 ай бұрын
I want to know this too
@cactispartan
@cactispartan 9 ай бұрын
I the Arms_AnimBP section and double click on Arms_Fire there will be a box under settings called loop animation 4:50, undo it and it will play once every click. Then when I get to implimenting hit registering I'm guessing you can make it fire once every click Also If you find any good free use pistol models let me know because I also want to implement other weapon types like pistols, snipers
@RPGlock
@RPGlock 9 ай бұрын
Can anyone help me? I put in the arms fire animation and all but when I turn the "ShootWeapon" Boolean true it only moves the elbows up.
@awesomegaming5978
@awesomegaming5978 9 ай бұрын
same, maybe it is somethin with usin a new version of ue5, but idk im usin ue5 2
@RPGlock
@RPGlock 9 ай бұрын
@@awesomegaming5978 I think I found a solution, it seems like if you right click and type in "arms_fire" and then get it from there instead, connect it to the other node, hit compile, it works. Idk why you have to do this, cuz it should just work from the content browser, but hey at least it works. And if you still havin issues just troubleshoot, thats how I figured this out
@Refref1990
@Refref1990 9 ай бұрын
put the animation in loop
@yasserabooh6326
@yasserabooh6326 3 ай бұрын
@@Refref1990 how to do it , even assuming I did it correctly. It doesn't loop
@alfonseraffa2308
@alfonseraffa2308 3 ай бұрын
@@yasserabooh6326 I am also having this issue and I followed the tutorial to the tee. Any solution as to why this is happening ???
@Dog17248
@Dog17248 4 ай бұрын
I have done the whole tutorial and when I click once the gun shoots twice
@Freefolk69
@Freefolk69 Жыл бұрын
I tried following step by step but only my characters arms are moving and not the gun when shooting :(
@ArenBox
@ArenBox 10 ай бұрын
same as me
@VirtusEdu
@VirtusEdu Жыл бұрын
Hey everyone, in this video we show you how to get a weapon firing in Unreal Engine 5, enjoy!
@SmithSmith-ld8wy
@SmithSmith-ld8wy Ай бұрын
My code is the exact same as the video but I can't get the firing animation to repeat! What can I do?
@FakeDeath_
@FakeDeath_ Ай бұрын
In WeaponFiring state click on Arms_Fire node and on right side in the settings tab check "Loop Animation" box
@Hardwired_Productions
@Hardwired_Productions Жыл бұрын
my notify is firing 6 times per single trigger?? dafuq
@amosityeluxyt8350
@amosityeluxyt8350 11 ай бұрын
my gun just doesnt work no anymation no firing nothing help
@fuzzypanda1684
@fuzzypanda1684 Жыл бұрын
Hey Luke, I've gone through several of your series start to finish. I've learned a lot over the past 6 months and love everything you do. So please take this as constructive criticism, because that's how it's intended. The firing animation here... doesn't look so good. It's missing any kind of vertical and horizontal movements or offsets, and the recoil overall lacks impact and looks stiff and un-organic, if that's a word. I know darn well you're capable of making far a better feeling recoil system than this, perhaps in a weapons firing part 2? :) Anyway, just an opinion from a fan, keep creating!
@VirtusEdu
@VirtusEdu Жыл бұрын
Hey thanks for the feedback, very constructive and I really appreciate that! We actually have a whole recoil system planned, right now what you see is just an animation and is by no means the final result :) Stay tuned!
@awesomegaming5978
@awesomegaming5978 9 ай бұрын
@@VirtusEdu hey, im having an issue where when i set the firing boolean to true it only moves up the elbows and doesnt repeat it like it should, can you help me? i use ue5.2
@renexthegod4538
@renexthegod4538 4 ай бұрын
@@awesomegaming5978 You have to put the animation on repeat
@Ianb19
@Ianb19 Жыл бұрын
the arms on my gun just flop up and down and there is no recoil , then when i press the play button and fire it only fires once
@giodicapua3948
@giodicapua3948 Жыл бұрын
i'm having the same problem, did u solve it?
@Ianb19
@Ianb19 Жыл бұрын
@@giodicapua3948 no
@giodicapua3948
@giodicapua3948 Жыл бұрын
@@Ianb19 I solved it, in the WeaponFire State in the State Machine, you just need to click once on the Arms_Fire animation and in the details panel there's an option called 'Loop Animation' that is disabled by default, enable it and there you go.
@JohnGold137
@JohnGold137 Жыл бұрын
My weapon recoil animation isnt looping ive checked the loop box icon anyone no why?
@Ihasfinger911
@Ihasfinger911 Жыл бұрын
EDIT: Fixed by just going back into the WeaponsFiring state and removing then replacing the Arms_Fire anim. Go figure🤔. Same here. It seems to be working when I preview the animation from the contents draw. Did you fix?
@hoboRussian0
@hoboRussian0 Жыл бұрын
@@Ihasfinger911 im having the same problem and i tried that its still not working EDIT: k so click on the Arms_Fire anim in the WeaponFiring(state) and scroll down on the details tab find "loop animation" under settings and click check
@brigeu
@brigeu 9 ай бұрын
@@hoboRussian0 BRO THANK YOU SO MUCH!
@hoboRussian0
@hoboRussian0 9 ай бұрын
@@brigeu yea fs
@resetXform
@resetXform 11 ай бұрын
Link does not work.
@mandlawi
@mandlawi 9 ай бұрын
hi there. I want to gather people with these skills to develop a first shooter game, not just a game, but a special one. So that I will tell them what to make, how each character moves and attack, what environment and so on. Would you please direct me where to start or how to get in contact with another person that knows better that should tell me what to do from start to end please?
@VirtusEdu
@VirtusEdu 9 ай бұрын
Hey there, if you join our Discord server (linked in the description) you'll find 1000s of game devs and artists wanting to collaborate on projects. It's a great space to meet people and build your game
@mandlawi
@mandlawi 9 ай бұрын
@@VirtusEdu I want to join, but I can't write anything because I don't have permission. can someone accept me there please?
@VirtusEdu
@VirtusEdu 9 ай бұрын
@@mandlawi You should have permission to join? There are no permission based restrictions. What link are you clicking?
@mandlawi
@mandlawi 9 ай бұрын
@@VirtusEdu virtus- creative co..
@mandlawi
@mandlawi 9 ай бұрын
@VirtusEdu could you add me please? Alex Andford
@loading...7583
@loading...7583 Жыл бұрын
what happened to virtus educattion?
@matteoramanzini1842
@matteoramanzini1842 Жыл бұрын
my Arms_Fire animation doesn't work. the character just lift the arms but the weapon doesn't move
@joshuaadkison2227
@joshuaadkison2227 Жыл бұрын
I'm having the same issue. Have you figured it out yet?
@tinreydu5099
@tinreydu5099 Жыл бұрын
@@joshuaadkison2227 Make sure to tick "loop" in Arms_Fire
@awesomegaming5978
@awesomegaming5978 9 ай бұрын
@@tinreydu5099 where is that located?
@8monkeyboy841
@8monkeyboy841 9 ай бұрын
​@@tinreydu5099it did nothing
@WxrshipRaven
@WxrshipRaven 3 ай бұрын
i have loop ticked and none of the animations working, i left click and nothing happes did i mess up mapping the left click maybe @@tinreydu5099
@Vexeton
@Vexeton Жыл бұрын
my gun isnt moving only my hands are doing the animations
@gabrielmegret3939
@gabrielmegret3939 Жыл бұрын
Same
@gabrielmegret3939
@gabrielmegret3939 Жыл бұрын
Found it : DOubleClick on WeaponFiring (state), one click on Arms_Fire, then in Details : enable "Loop animation"
@Vexeton
@Vexeton Жыл бұрын
Its because i had to put the grip point to the gun
@Freefolk69
@Freefolk69 Жыл бұрын
How did you fix this, or did you? I have the same issue
@BSSC1775
@BSSC1775 2 ай бұрын
yeah this didnt work for me
@shroudoodle
@shroudoodle 9 ай бұрын
the animation isnt proper idk why
@Spieledeveloper
@Spieledeveloper Жыл бұрын
Yay
@VirtusEdu
@VirtusEdu Жыл бұрын
Indeed!
@JohnDoe-np7do
@JohnDoe-np7do 3 ай бұрын
Lol the input firing section was sad & underwhelming. Was expecting actual programming for ex using the builtin input class (if it has one) & responding to when lmouse was clicked.. something basic but not as basic as using a GUI 😂 Edit: skipped past the whole vid & the only constant was the blueprint window 😂
@AyuAyu-ti5yr
@AyuAyu-ti5yr Жыл бұрын
hi bro
@VirtusEdu
@VirtusEdu Жыл бұрын
Hey!
@lolrip818
@lolrip818 Жыл бұрын
First
@imrazvan9514
@imrazvan9514 Жыл бұрын
im first
@VirtusEdu
@VirtusEdu Жыл бұрын
Someone beat you to it!
@fo0lonxbox360
@fo0lonxbox360 10 ай бұрын
Nothing works other than the animations and arms. Everything else just doesn't work. Don't recommend. (UE5.1)
@cecilias-exoticbutters
@cecilias-exoticbutters 10 ай бұрын
Same here
How to attach a weapon to your character in Unreal Engine 5
7:01
Unreal By Yourself
Рет қаралды 29 М.
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 10 МЛН
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 131 МЛН
How To Choose Ramen Date Night 🍜
00:58
Jojo Sim
Рет қаралды 50 МЛН
Unreal Engine Customize Weapon Tutorial
6:07
Seredias
Рет қаралды 6 М.
3 Devs Make An FPS - Godot vs Unity vs Unreal || GameDev Battles
12:39
UNREAL ENGINE 5 | How to make ENEMY HEALTH BAR
3:59
UntitledProjectX
Рет қаралды 628
Weapons In Video Games (This is How it's Done!)
6:36
MoBassem
Рет қаралды 42 М.
I Made a Game With Only FREE Assets In Unreal Engine 5
11:45
Smart Poly
Рет қаралды 459 М.
How I made my own FPS Game - (Without Programming)
6:29
jonei
Рет қаралды 109 М.
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 10 МЛН