How To Blend Animations For Different Weapons - Unreal Engine 5 Tutorial

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ •

  • @hordywastaken7755
    @hordywastaken7755 4 місяці тому +1

    Im following along from your Weapons creation system with physics, ive created the current weapon (BP WeaponMaster) but i dont get the current weapon int.

    • @PitchforkAcademy
      @PitchforkAcademy  4 місяці тому +2

      @@hordywastaken7755 Sorry, these were created as part of a long-running TFPS series... We created Current Weapon INT in Part 6:
      ua-cam.com/video/TyIyUHhorRI/v-deo.html

    • @hordywastaken7755
      @hordywastaken7755 4 місяці тому

      @@PitchforkAcademy thank you for your reply, your videos are awesome and have helped me tons! keep up the great work!

  • @smoguevert6060
    @smoguevert6060 11 місяців тому +3

    SOO HAPPY to have find your video !!!

  • @Ziscuit
    @Ziscuit 8 місяців тому +2

    im new to unreal BPs so maybe its a dumb question but i dont get "Get Current Weapon INT" (5:40) even after casting to third personcharacter and changing the character variable type. what am i missing?

    • @wr4th_0f_d0g
      @wr4th_0f_d0g 8 місяців тому +1

      It's a variable he made in the character to correspond to the weapons he has. it's not native.

    • @PitchforkAcademy
      @PitchforkAcademy  8 місяців тому +1

      As stated at the beginning of this video, this is built on top of my weapons system tutorial:
      ua-cam.com/video/MYNFf17ujbo/v-deo.html

    • @Ziscuit
      @Ziscuit 8 місяців тому +1

      @@PitchforkAcademy thanks a lot brother!

    • @Ziscuit
      @Ziscuit 7 місяців тому +1

      @@wr4th_0f_d0g thanks for the reply brother!

  • @tevx9670
    @tevx9670 11 місяців тому

    Just subscribed!second video what I needed explanation for!

  • @MCaptainPain
    @MCaptainPain 7 місяців тому

    Bro tysm for tutorials. I'm trying to make fps game and ur savior with your vids:D

  • @hakkzii3863
    @hakkzii3863 11 місяців тому +2

    Yes bro gonna start this soon

  • @rafaelotaviogamer5076
    @rafaelotaviogamer5076 2 місяці тому +1

    Man, how i make this with motion matching?, because if i conect the "blend per bone" On "result", the "character trajectory" node of Motion Matching dont works, please help me!

  • @netherworld8196
    @netherworld8196 11 місяців тому +1

    Can you do a series where you do a simple fps with proper inventory. Would love to see it since I haven’t seen anyone really do it.❤❤ Also do you have a patreon on something?

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому +1

      Simple... with an inventory. Inventories aren't so simple, my guy, but I do hope to do an FPS series (or maybe as one long video). No patreon, but folks can make donations to the channel via the Super Thanks function within youtube if they're so inclined! 🙂

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому +2

      Oh and I am planning to upload an ammunition inventory video in the next week or so, so people get an easy introduction into slightly more advanced ways of storing data. 🤘

  • @aurustarsia5244
    @aurustarsia5244 11 місяців тому +1

    Great tut! I am a bit confused about something in general:
    If I cast to my character then I always select my BP Char which is named "MainChar". There is also the already created Third Person BP char. If you cast to third person bp char, do you cast to this beginning character or to the parent class? Because in every tutorial from nearly all devs, the character is called third person bp so I cannot see if they are casting to the parent class or to the actual character which is named like that.
    I am just wondering because if I now want to create a second bp character is it working too, with everything I set up yet? Or isn't it, because I am casting to "MainChar" everywhere?
    This is one of my biggest question marks actually. Would be pretty nice if you could follow along :)

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому +1

      Did you know that you can click on Class Settings at the top inside any BP then at the top right see what the parent class is?

    • @aurustarsia5244
      @aurustarsia5244 11 місяців тому +1

      @@PitchforkAcademy Yes I know that. So what should I use if I cast to my char? Cast to "MainChar" or cast to Third Person Character?

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому

      @aurustarsia5244 Okay so if you know that, you can go and check what the parent classes of the BPs in question are.

    • @aurustarsia5244
      @aurustarsia5244 11 місяців тому +1

      @@PitchforkAcademy Okay thanks 🙏🏼

  • @patrikondris442
    @patrikondris442 11 місяців тому

    5:39 I got this error when I put the blueprint current weapon int in metahuman (BP Nakashi Object Reference is not compatible with BP Third Person Character Object Reference) how to fix it with that abimation (
    nakashi is the name of my character in metahuman)

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому

      Read the error message. What does it say...

  • @balajin1021
    @balajin1021 4 місяці тому

    For the first person, Instead of creating state machine for each weapon type Are there any methods to retrieve an idle animation from the Data Table and inject it into the Animation Blueprint?

  • @LitAngelo
    @LitAngelo 7 місяців тому

    Very helpful, thanks

  • @kids24359
    @kids24359 4 місяці тому

    curentweapon int when you creat that ? and where put it in graph editeur or weapon master pickup ?

    • @PitchforkAcademy
      @PitchforkAcademy  4 місяці тому

      @@kids24359 You are better off just watching my new weapons system video:
      ua-cam.com/video/H_Q57Yso9mM/v-deo.html

  • @patrikondris442
    @patrikondris442 11 місяців тому

    5:39 what are you adding there, I don't have it

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому

      Oh, Current Weapon INT? It's an integer variable based on enum_WeaponName that we created as part of the Weapons System With Simulated Physics Pickups tutorial (or perhaps it was added at the beginning of Part 6 of the TFPS Series - ua-cam.com/video/TyIyUHhorRI/v-deo.html)

  • @theQuickRundown
    @theQuickRundown 5 місяців тому +1

    I would recommend creating an enum E_Weapons and using a 'Blend Poses by Enum' node, which makes thing much cleaner. Same functionality.

  • @dirtydanpinheadlarry
    @dirtydanpinheadlarry 9 місяців тому

    Question: I seem to have all the code done properly after some review but I still have an error. Basically, whenever I pick up the different weapons they no longer update to their specific blendspaces. It seems to always stay in the unarmed blendspace regardless of the weapon I have. Is this enough info for you to point me to an area where I am likely to find a mistake that led to this? I have been going through this video, the simulated physics, and primary/secondary video to work on my weapon system.

    • @dirtydanpinheadlarry
      @dirtydanpinheadlarry 9 місяців тому

      Okay, further investigating led me to use a print string for when I pickup a weapon to see what the CurrentWeaponInt was being set to. It keeps printing 0. Any pointers as to where in the code my error could be for this?

    • @dirtydanpinheadlarry
      @dirtydanpinheadlarry 9 місяців тому

      Another update in case anybody else makes the same mistake: After adding multiple weapons, I had to update my PlayerAnim BP to: char ref -> current weapons INT (not weapon) -> set weapons INT

  • @patrikondris442
    @patrikondris442 11 місяців тому

    which all the tutorials I need to use to make it work

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому

      Just my weapons system with simulated physics pickups tutorial. 🙂
      ua-cam.com/video/MYNFf17ujbo/v-deo.html

  • @now_ever
    @now_ever 11 місяців тому

    Lol, I was watching this series, and find in another one UA-camr setting up of this animations pack. But it was in UE4. I've tried it literally yesterday. And today you showing how to use this pack in UE5😅.
    I have only one question. I use metahuman, which is not so tall, as basic mannequin. My first tries of retargeting animations was kinda junky. Is there are way to make it fine, or I just need to use metahuman the same tall?

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому +1

      Absolutely. It's probably not the best way to go about it, but you can retarget again from ue5 to metahuman using the retargeter that comes with your metahuman. Take a look at about 10.30 on this video to see the method:
      ua-cam.com/video/-tMxadBifpM/v-deo.htmlfeature=shared

    • @now_ever
      @now_ever 11 місяців тому

      @@PitchforkAcademy okay, I'll try it. Thank you!

  • @DigeL-el6uo
    @DigeL-el6uo 11 місяців тому

    Hi and thanks for another great tutorial. I followed your True FPS video series and did it from beginning with Meta Human Character instead of FP/TP Character. So I set the AnimBP already for my Player. Since I watched your videos after your "restart" with meta Human, my character Blendspace is kinda weird after implementing the FireModes and the recreation of the Weapon Pick Up Spawn logic in my PlayerBP. Now I'm watching this video to check whether I can "repair" my character animations (as it was after I used your code from True FPS Series). Now I'm a bit confused, since I already have an AnimBP for my Player (created with you TrueFPS Series) and you show in this video that you set the AnimBP of the ThirdPersonCharacter and not the AnimBP of your Meta Human, can you please briefly explain it to me? I read some comments here and you stated that in "Class Settings" you can see the "Parent Class" - Sorry for that stupid question, I'm a bloody beginner, but does that mean that the TP-Character, where you set the animations in this video, is anyway the parent class of the character Animations and will apply on my Players AnimBP? And many many many thanks to you, that you spend your time to show rookies like me what's coding about (I've learned a lot) :)

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому +1

      I don't really know how to answer you, except for saying no, parent class probably has nothing to do with your problem. It would help if you could be more specific, but I do understand that when you're starting out you don't really know the right question to ask...

    • @DigeL-el6uo
      @DigeL-el6uo 11 місяців тому

      @@PitchforkAcademy Hi, really appreciate your fast reply. Yes, it's sometimes hard to ask the right question (especially as non native speaker and a beginner), however you already answered one question, thank you :) So, please give me another try for my actual question: In your video: ua-cam.com/video/464ZTJq1ST8/v-deo.html we created an animBP for the Player and extend it in the FPS video series with lower body anims, upper body anims, Pistol and Rifle Anims, Hand Sway and so on - In the current video you are setting up the ThirdPerson Character AnimBP - and I don't know why, because we already setup an AnimBP for our Player in your True FP Series. Do I have to extend the existing AnimBP for Player, or does it have a deep sense to do this in ThirdPerson Character AnimBP - Hope this is more clear now and thanks again for your time :)

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому +1

      @@DigeL-el6uo This video you're commenting on has nothing to do with the TFPS series. In fact, we do this in Part 6 of the series anyway.

    • @DigeL-el6uo
      @DigeL-el6uo 11 місяців тому

      @@PitchforkAcademy Ok, thanks a lot, this explains a lot..:D

  • @AuraGamesIn
    @AuraGamesIn 8 місяців тому

    How did you set the current weapon by int??

    • @PitchforkAcademy
      @PitchforkAcademy  8 місяців тому

      ua-cam.com/video/MYNFf17ujbo/v-deo.html
      ua-cam.com/video/TyIyUHhorRI/v-deo.html

  • @patrikondris442
    @patrikondris442 11 місяців тому

    for some reason the aiming animation doesn't start, I don't know why, I did everything according to the instructions and it doesn't work

    • @patrikondris442
      @patrikondris442 11 місяців тому

      I think it didn't register my weapon take, how to fix that

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому

      Do you have the weapon name enumeration?

    • @patrikondris442
      @patrikondris442 11 місяців тому

      @@PitchforkAcademy yes

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому

      @@patrikondris442 You must have missed something...

  • @patrikondris442
    @patrikondris442 11 місяців тому

    please help the weapon doesn't even show up, it just disappears and I can't even edit the animation

    • @PitchforkAcademy
      @PitchforkAcademy  11 місяців тому

      With the small amount of vague information you have given me I wouldn't even know where to begin....

  • @JerrysCousinn
    @JerrysCousinn 9 місяців тому

    Did not go over anything with the variables, having a hard time with this and just lack of information given.

    • @PitchforkAcademy
      @PitchforkAcademy  9 місяців тому

      As I clearly stated at the beginning, this is built on top of my Weapons System With Simulated Physics Pickups and my Two Weapon System tutorials.
      ua-cam.com/video/MYNFf17ujbo/v-deo.html

  • @Koolaidjimmyttv
    @Koolaidjimmyttv 10 місяців тому

    I need help I can not fine the pin

  • @valeriymalishevskyi1723
    @valeriymalishevskyi1723 11 місяців тому

    👏👏👏👏👏👏👏👏👏👏👏👍👍👍👍👍👍👍👍👍👍