Switch Firing Modes | Full Auto, Burst And Single Fire - Unreal Engine 4 Tutorial

  Рет қаралды 18,811

Matt Aspland

Matt Aspland

Күн бұрын

Hey guys, in today's video, I'm going to be showing you how to create full auto, burst and single fire modes for your guns and how to switch or toggle between these.
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:18 - Overview
00:48 - Creating The Modes
10:24 - Switching Modes
15:15 - Final Overview
15:38 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Пікірлер: 62
@aleksvitek798
@aleksvitek798 2 жыл бұрын
Straight to the point, excellent tutorial, thank you
@TorQueMoD
@TorQueMoD 2 жыл бұрын
Thanks so much for the video, I had no idea there was a Do N node! Rather than the convoluted mess of boolean checks for switching your firing mode, you could simplify it by using two flip flop nodes connected to each other and toggle between the firing modes that way. It's less confusing to look at anyway.
@TheF4c3m4n
@TheF4c3m4n 3 жыл бұрын
Nice job Matt! I always was a fan of the burst fire in FPS. Thanks!
@MattAspland
@MattAspland 3 жыл бұрын
Thank you! Yeah I love using it too, easier to control than full-auto sometimes lol. No problem!
@ztormsink5931
@ztormsink5931 2 жыл бұрын
Well done. It save me a lot of headaches! Thanks for the good work
@zonian8782
@zonian8782 Жыл бұрын
ur simple explanation is great straight forward focused on each individual function, pls do projectiles travel to center of crosshair
@abdullahsohail5395
@abdullahsohail5395 3 жыл бұрын
Going to hit 3 k congrats and nice video also
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much man! Thanks for all your support on the journey, I really appreciate it :)
@kriskata7653
@kriskata7653 3 жыл бұрын
Matt almost 3k buddy !!
@MattAspland
@MattAspland 3 жыл бұрын
Thank you! We're nearly there :)
@oedipesgames4950
@oedipesgames4950 8 ай бұрын
I would use a switch node but It is still a great tutorial man!
@fulcifan6946
@fulcifan6946 3 жыл бұрын
Your channel has a lot of stuff that I had in mind for putting in a game I want to develop. Do you have a portfolio with your finished animations that I could take a look at?
@MattAspland
@MattAspland 3 жыл бұрын
That's great news! At the moment my portfolio is pretty much my channel to be honest, I have't really done any massive projects, although I am going to start on a game after Christmas! :)
@wishyourlife6861
@wishyourlife6861 2 жыл бұрын
Would the shooting code + the code in this tutorial be applied to a gun instead, if there is an inventory system with multiple guns ?
@bilegtni5202
@bilegtni5202 3 жыл бұрын
thank you bro love you so much you helping me a lot
@MattAspland
@MattAspland 3 жыл бұрын
No problem mate, it's my pleasure!
@blckkero6486
@blckkero6486 2 жыл бұрын
Hey Matt, i have a question. So when you click left mouse button once, shoting code stars working and in the end full auto fire event start, then it goes to shoting code again. So if u press left mouse button once u actually shot 2 projectiles no matter how long u press. How can i solve it?
@sabikunnaharsabrina5224
@sabikunnaharsabrina5224 3 жыл бұрын
So how do I make fire modes for different types of guns. Like... For Snipers single shit and for rifles automatic
@nathanfairbrass406
@nathanfairbrass406 3 жыл бұрын
If we could get a response here, it'd be greatly appreciated! Cheers for all you do Matt
@haseeb9090
@haseeb9090 Жыл бұрын
For some reason my first projectile fires as expected but the following projectiles spawn a bit further away from the actual location. Any idea why this may be happening? When I'm spawning the actor I have set collision to Always Spawn, Ignore Collisions but it still spawns further ahead of its actual location. Please help!!!
@offirbaruch7895
@offirbaruch7895 Жыл бұрын
Really concise and simple (Yet it took my 3 hours doing it alone :P). Any chance you have the same Full auto, burst and single for enhanced Input system?
@Grand-warden
@Grand-warden 3 жыл бұрын
Thank you very much
@MattAspland
@MattAspland 3 жыл бұрын
Always happy to help :)
@Grand-warden
@Grand-warden 3 жыл бұрын
Amazingggggg
@selimsaidi378
@selimsaidi378 Жыл бұрын
hello very interesting tutorial thank you , would you cover how to put a single sound played looped when in automatic modes ? thank you a lot
@josedejesusmartinezavalos1403
@josedejesusmartinezavalos1403 3 жыл бұрын
thanks for that tutorial
@MattAspland
@MattAspland 3 жыл бұрын
No problem, happy to help! :)
@Simon_Raden
@Simon_Raden 2 жыл бұрын
Hi Matt, thanks for your time and explanations, but to me it did not worked for some reason... I keep shooting and it still is in single shot.. any idea?
@primorisprognatus4357
@primorisprognatus4357 2 жыл бұрын
Did you change the amount of Ammo to 50 in the Ammo Interger
@agj383
@agj383 3 жыл бұрын
Can make the code simpler and easier to read using an enumerator for the fire modes.
@aaronjenkins2225
@aaronjenkins2225 3 жыл бұрын
this one video earnt a subscribe :D
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much man! :)
@aaronjenkins2225
@aaronjenkins2225 3 жыл бұрын
@@MattAspland no problem at all! I'm just wondering, have you or will you be doing any courses on replication with multiple examples like animation, custom events, sounds etc and what should be used where? I think it would be invaluable to the community and I would certainly support you in this financially if it would help :)
@MattAspland
@MattAspland 3 жыл бұрын
@@aaronjenkins2225 I think that's a great idea, definitely sounds helpful for lots of people. I'll add it to my list, thanks man. And I appreciate the support too, by no means required, but thank you for saying that though :)
@aaronjenkins2225
@aaronjenkins2225 3 жыл бұрын
@@MattAspland no worries, I'll stay tuned to see what you come up with :D I have more ideas too if you need them! Just curious how long have you been using UE4? :)
@MattAspland
@MattAspland 3 жыл бұрын
@@aaronjenkins2225 Great, thanks man. And a couple years, but I've had a lot more time recently, thanks to covid but just before that too
@CommanderColson
@CommanderColson 2 жыл бұрын
Would you be able to do a tutorial on how to make a shotgun using projectiles?
@widevladimir9405
@widevladimir9405 Жыл бұрын
have the same problem, have a code to shot shells with random spread but dont know how to spawn pallets from barrel of weapon, not from camera.
@lolaswift111
@lolaswift111 6 ай бұрын
Always appreciate your tutorial matt but this one could've been done in a less messy way imho.
@stevenwynn819
@stevenwynn819 3 жыл бұрын
It would be cool to spawn an explosion with single bullets, and maybe even switch static meshes and projectile speed so that it simulates a grenade launcher.
@MattAspland
@MattAspland 3 жыл бұрын
oh yeah that would be a great idea, sounds like good fun! :)
@realNoobDog
@realNoobDog 3 жыл бұрын
Do you have a Tutorial how to add a gun to ThirdPerson Template
@MattAspland
@MattAspland 3 жыл бұрын
I don't have one no, but I can make one. There is a also a free marketplace item which has a great one for it. I'll link it here. www.unrealengine.com/marketplace/en-US/product/animation-starter-pack
@realNoobDog
@realNoobDog 3 жыл бұрын
@@MattAspland thank you👍
@MattAspland
@MattAspland 3 жыл бұрын
@@realNoobDog No problem
@vegitoblue2187
@vegitoblue2187 2 жыл бұрын
3:58 you couod just use a function to return those values
@spayket9902
@spayket9902 3 жыл бұрын
Can u do more tutorials horror alike? Pretty please!!
@MattAspland
@MattAspland 3 жыл бұрын
Yeah of course I can, anything specific you would like?
@spayket9902
@spayket9902 3 жыл бұрын
@@MattAspland Something circled around jumpscares and horror characters, i mean, Death jumpscare, Horror events like power outage (i saw one about flickering light, it was so great) and something about like pc in WTTG/2. I would really appreciate that!!! love you and your vids!!
@spayket9902
@spayket9902 3 жыл бұрын
@@MattAspland Also congratulations hitting 3k, i would like to see streams so i can donate something to help u!!! hehe
@MattAspland
@MattAspland 3 жыл бұрын
@@spayket9902 They sound great! No problem. And thank you man, I really appreciate it and all of your support! :)
@MattAspland
@MattAspland 3 жыл бұрын
@@spayket9902 Ha thank you man, I've been looking into doing streams too, thanks again! :)
@antonkavaliou5587
@antonkavaliou5587 Жыл бұрын
Event Tick preferably.
@primorisprognatus4357
@primorisprognatus4357 2 жыл бұрын
Its not working I followed every step. Watched it about 5 times. Did something change with the new updates
@primorisprognatus4357
@primorisprognatus4357 2 жыл бұрын
No Worries I figured it out
@ak-gi3eu
@ak-gi3eu 3 жыл бұрын
plz do replication?
@MattAspland
@MattAspland 3 жыл бұрын
I can look into it, some elements are just tick boxes, but yeah I can add it to my list.
@ak-gi3eu
@ak-gi3eu 3 жыл бұрын
@@MattAspland can u plz make tutorial on how to replicate anything ,,,like a basic,,,repnotify,multicast,run on server,relaible
@MattAspland
@MattAspland 3 жыл бұрын
@@ak-gi3eu I can definitely add it to my list yeah
100❤️
00:19
Nonomen ノノメン
Рет қаралды 37 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 49 МЛН
OMG 😨 Era o tênis dela 🤬
00:19
Polar em português
Рет қаралды 10 МЛН
Fall Damage - Unreal Engine 4 Tutorial
12:37
Matt Aspland
Рет қаралды 13 М.
Sprinting And Stamina - Unreal Engine 5 Tutorial
17:00
Matt Aspland
Рет қаралды 66 М.
Unreal Engine 4 Tutorial - Weapon Switching
20:23
Ryan Laley
Рет қаралды 53 М.
First Person Dynamic Crosshair Tutorial - Unreal Engine
11:56
Unreal Vox
Рет қаралды 4,8 М.
How To Create Bullet Holes - Unreal Engine 4 Tutorial
7:43
Matt Aspland
Рет қаралды 24 М.
100❤️
00:19
Nonomen ノノメン
Рет қаралды 37 МЛН