Unreal Engine 4 Tutorial - Dealing Damage Part 2 - Ranged Damage

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

КОМЕНТАРІ • 38

  • @TheGrimmy
    @TheGrimmy 4 роки тому +4

    Yeah, this series is definitely needed before the entire "Quest" series.

  • @haroonpiracha4374
    @haroonpiracha4374 4 роки тому

    Thank you. The references to other BP's are what's killing me. I had most of this down except the part where you call the widget reference.

  • @7ruthVVizard
    @7ruthVVizard 3 роки тому

    Very helpful but I gotta say getting the tracing to work on the third person character was hard but I managed to make it work using your shooter tuts. Now I got a working basic fps character and guns and I also have a third person version of it.
    In the future you should re release the line tracing tutorials for third person shooters like fortnite or something.

  • @cereal65
    @cereal65 4 роки тому +3

    Thanks for another great tutorial Ryan, do you know how to make it so that the visibility of these health bars is blocked by geometry? for example if the players character moves behind a wall the health bar will disappear from sight

  • @danpaul4108
    @danpaul4108 4 роки тому +1

    My health bars are large at a distance and then get to be the right size when I get up close. I can't seem to find what I missed. The widget is in screen space.

  • @swagchampion6980
    @swagchampion6980 3 роки тому

    hey this is an old video but im wondering where the video is where you make the hitscan gun

  • @jjbsounds6087
    @jjbsounds6087 3 роки тому

    Line trace channel doesnt have all the options like you have in the video, also im using the first person mannequin arms with the gun already "attatched" to the mannequin arms and so i cant just 'open' the gun and have an event graph to work on and edit the gun behaviour it has to be done in the first person mannequin arms blueprint but no idea where to put the line trace channel maybe on the end of spawn projectile?? any help would be appreciated. thanks

  • @Nliman
    @Nliman 4 роки тому

    At 8:25 you connect your "Enemy" reference to "Self". For some reason I can't do that. Anything obvious I might have missed?

  • @kinghados
    @kinghados 4 роки тому

    Great Video! Thank you!

  • @masonmids
    @masonmids 4 роки тому

    I’m doing it with the Normal first person and it’s not working when the projectile hits the player, is it something with the mesh

  • @HanganChight
    @HanganChight 5 років тому +1

    hi. this was a nice video too. but i noticed this was not in "Unreal Engine 4 Tutorials" list, if i am not wrong. just wanted to remind it. thanks for tutorials.

  • @Enkeria
    @Enkeria 4 роки тому +1

    Hey got a minor head scratcher here.
    Thanks for the tutorials!
    am using 2D Paper feature in the lastest Unreal, I just learned the basis. Curious how the hitbox detection could nullify/reset my attack if someone would for example hit me from the back while I lash out my whip. I use C1 as inspiration for my demo to just get a grasp and learn the unreal engine.
    I guess its same rules applied as in 3D space, with Linetracing weapons and such, or perhaps not? Feel free anyone to get back to me. Thanks.

  • @frknkaan
    @frknkaan 5 років тому +3

    this is really good tutorial but how we can implement headshot with this system ?

    • @kinghados
      @kinghados 4 роки тому

      Would that be with hit component from line trace by channel?

    • @not_herobrine3752
      @not_herobrine3752 4 роки тому

      @@kinghados Thanks! Was looking for this

    • @danpaul4108
      @danpaul4108 4 роки тому +1

      I just implemented it as sphere colliders. They are attached to the socket on the skeletal mesh for the right part (e.g. head, pelvis). I created the sockets off of the bones for the one I was working with. Then each sphere collider had it's own hit event. They have different apply damage events with different values.

  • @Karmigula
    @Karmigula 4 роки тому

    But how do I make it work without a traced weapon? Like just a normal moving projectile?

  • @thenikko8292
    @thenikko8292 4 роки тому

    what about archery?

  • @elijahgames192
    @elijahgames192 4 роки тому

    do you have one for ai hitscanning to deal damage?

  • @myedit162
    @myedit162 5 років тому +2

    Do you teach in Udemy too?
    If yes, please send me the link

  • @DonEsteban3D
    @DonEsteban3D 4 роки тому

    12:00 thx

  • @TimkoBelichi
    @TimkoBelichi 5 років тому

    Hello. Can you please tell me how can I make the background music in the game change to battle music when the enemy NPC notices you and starts to run towards you?

  • @phoxnsparky464
    @phoxnsparky464 4 роки тому

    Thank you sooo much for your tutorials Mr.Laley! But, I have one problem. When I try to make my projectile the cause damage, it simply doesn't cause damage. I have everything set up just like your video and it doesn't work.

    • @RavingChaosKing
      @RavingChaosKing 4 роки тому

      If you're still having trouble with that the way i solved it was making the BulletCollision Blocked on Pawn, and the BulletSkin Collision on Overlap or Block either one works, and i'm using a Event Hit instead of a EventBeginOverlap that's how i fixed the issue.

    • @phoxnsparky464
      @phoxnsparky464 4 роки тому

      @@RavingChaosKing Ah thanks. I went ahead and did another way. But thanks alot!

    • @Tranehed
      @Tranehed 4 роки тому

      @@phoxnsparky464 May I ask how you did it? Thanks!

    • @phoxnsparky464
      @phoxnsparky464 4 роки тому +1

      I'm sorry but I decided to go with a completely different style of combat for my project. But, UnluckyFunkyHero who replied to me first says how to fix it. I hope that works for you. :)

    • @Tranehed
      @Tranehed 4 роки тому

      @@phoxnsparky464 Ah okey, thank you for the fast response :)

  • @louisdyster181
    @louisdyster181 5 років тому

    How did you get the gun owner gun child variables?

    • @77thFromChrist
      @77thFromChrist 4 роки тому

      maybe click the context sensitive tickbox? Untick it.

  • @ondria6334
    @ondria6334 2 роки тому

    My boss continues to move even though my health bar is at 0

  • @alijahlemay8789
    @alijahlemay8789 4 роки тому

    Hey Ryan, I'm having this issue where my AI character stops moving when they're hit by a line trace. I've added a few other features but none quite interfering with the code as far as I'm aware. Anything come to mind?

    • @TheGrimmy
      @TheGrimmy 4 роки тому +2

      They updated UE4 to work the old ways, so open your AI character blueprint and after you told it to play animation, add a node out of Exec, type "delay"(in the number put the time it took to play your animation), then add a node out of the delay exec and type "Set Animation Mode" and leave it as is. Your character should now go back to it's idle loop after being hit. They added montages and removed personas, and there is probably a better way to do it now, but this is the only way I've found to fix this issue because there's no way to make sense of it, and EPIC hasn't released new tutorial videos on how to handle animations yet -_-