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

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

ความคิดเห็น • 62

  • @oedipesgames4950
    @oedipesgames4950 ปีที่แล้ว +1

    I would use a switch node but It is still a great tutorial man!

  • @fulcifan6946
    @fulcifan6946 3 ปีที่แล้ว +5

    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 ปีที่แล้ว +1

      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! :)

  • @TheF4c3m4n
    @TheF4c3m4n 3 ปีที่แล้ว +1

    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!

  • @aleksvitek798
    @aleksvitek798 2 ปีที่แล้ว +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.

  • @kriskata7653
    @kriskata7653 3 ปีที่แล้ว +1

    Matt almost 3k buddy !!

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Thank you! We're nearly there :)

  • @zonian8782
    @zonian8782 2 ปีที่แล้ว

    ur simple explanation is great straight forward focused on each individual function, pls do projectiles travel to center of crosshair

  • @ztormsink5931
    @ztormsink5931 2 ปีที่แล้ว

    Well done. It save me a lot of headaches! Thanks for the good work

  • @sabikunnaharsabrina5224
    @sabikunnaharsabrina5224 3 ปีที่แล้ว +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 ปีที่แล้ว +2

      If we could get a response here, it'd be greatly appreciated! Cheers for all you do Matt

  • @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 :)

  • @blcxero
    @blcxero 2 ปีที่แล้ว +1

    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?

  • @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?

  • @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!

  • @lolaswift111
    @lolaswift111 10 หลายเดือนก่อน

    Always appreciate your tutorial matt but this one could've been done in a less messy way imho.

  • @Grand-warden
    @Grand-warden 3 ปีที่แล้ว

    Thank you very much

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Always happy to help :)

  • @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 ปีที่แล้ว +1

      No problem, happy to help! :)

  • @Grand-warden
    @Grand-warden 3 ปีที่แล้ว

    Amazingggggg

  • @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.

  • @wishyourlife6861
    @wishyourlife6861 3 ปีที่แล้ว

    Would the shooting code + the code in this tutorial be applied to a gun instead, if there is an inventory system with multiple guns ?

  • @agj383
    @agj383 3 ปีที่แล้ว

    Can make the code simpler and easier to read using an enumerator for the fire modes.

  • @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!!!

  • @aaronjenkins2225
    @aaronjenkins2225 3 ปีที่แล้ว

    this one video earnt a subscribe :D

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      Thank you so much man! :)

    • @aaronjenkins2225
      @aaronjenkins2225 3 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@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

  • @realNoobDog
    @realNoobDog 3 ปีที่แล้ว +1

    Do you have a Tutorial how to add a gun to ThirdPerson Template

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว +1

      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

  • @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! :)

  • @spayket9902
    @spayket9902 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@spayket9902 Ha thank you man, I've been looking into doing streams too, thanks again! :)

  • @Simon_Raden
    @Simon_Raden 3 ปีที่แล้ว

    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 ปีที่แล้ว +1

      Did you change the amount of Ammo to 50 in the Ammo Interger

  • @antonkavaliou5587
    @antonkavaliou5587 ปีที่แล้ว

    Event Tick preferably.

  • @vegitoblue2187
    @vegitoblue2187 2 ปีที่แล้ว

    3:58 you couod just use a function to return those values

  • @primorisprognatus4357
    @primorisprognatus4357 2 ปีที่แล้ว

    Its not working I followed every step. Watched it about 5 times. Did something change with the new updates

  • @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