Random Loot Drops When Enemy Dies - Unreal Engine Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

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

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

    Best UE4 tutorial channel on TH-cam

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

    Never fails, you always have what I need! Simple and to the point, thanks.

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

    Why does this guy have only 15K?? every time I need a tutorial I look it up and he’s already made one. Thanks for all the free help bro I appreciate it.

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

    That’s a very neat way to do it! The way I had mine setup, I had a switch on int node based on a random int in range, and a bunch of spawnactor nodes for different loot types that would spawn at the enemy component’s worldtransform on the event that they died. I left some switch on int pins empty to simulate the randomness of items not dropping all the time. The select node looks like a much more compact way to do it instead of using spawnactor over and over again. Thanks for this!

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

    This worked perfectly for my project. Need to adjust it so it has a random chance to drop loot, but thanks!

  • @Asmund648
    @Asmund648 3 ปีที่แล้ว +2

    Thanks for making my suggestion :D

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

      Thank you for the great idea Asmund! :D

  • @lazarobenitez4206
    @lazarobenitez4206 6 หลายเดือนก่อน

    thanks for the video, much help appreciated.

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

    Really great thank you man I was looking for this very happy now ☺️🥰

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

    Hey Matt! I have a question… how can I make a box trigger that checks if all players in the level is overlapping the box to play a sequence for example.. can u make a tutorial on that?

  • @chirag5517
    @chirag5517 3 ปีที่แล้ว +2

    Thanks bro for this video

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

      Always a pleasure bro! :)

  • @حاتمإسماعيل-ب7ر
    @حاتمإسماعيل-ب7ر ปีที่แล้ว +1

    Is there any way to make one type of loot drop more than the others?

  • @CrypticaProductions
    @CrypticaProductions 3 ปีที่แล้ว +2

    Useful this one!

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

    Is there a way to set probability of these items, anyone know?

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

    Everyone loves loot. Nice video.

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

    I saw something similar with "Jackson's Games" dropping loot, my favourite was when he did the Guardian robot using an AI tree.

  • @isaaccontee
    @isaaccontee 2 หลายเดือนก่อน +1

    If u're looking for vector - vector in 2024, add instead subtract. it was replaced by that.

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

    hey matt i think you played wow :)

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

    Hi.
    How to pickup the loot from the ground and and it to a simple invetory?

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

    Amazing video is it possible to add a chance to drop X item?

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

      select some items more in the "select" note

  • @joker-jd3jd
    @joker-jd3jd 3 ปีที่แล้ว +1

    Matt please help the game takes too long while packing how can i make it shorter

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

      Hey man, the first time package will always take a while, any after that will be considerably quicker. Is this a first time package?

    • @joker-jd3jd
      @joker-jd3jd 3 ปีที่แล้ว +1

      When my game opens, an unreal engine intro appears, I don't want it to appear, what should I do? And My game is getting compiling sheders rather than packages what should I do

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

    I am using random integer in range when spawn my item but is there a way to spawn stuff once without having repeating items

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

    Hi, I have a question, I try following this tutorial but I'm using Unreal Engine 5. I followed till the end of this video, but I got a bit problem. I managed spawn it on outliner screen, but the Item didn't appears on game. To make sure it appears, I'm using get print, and the print is appears, can you help me what's wrong with it? Thx

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

      its the random location by my. Dk how to fix it though..

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

    I've made the array to ignore the character but the key still appears to either spawn on my character or just straight up give me the item, can anyone please help ?

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

    can you please show a tutorial how to limit the camera view of the player (yaw) on a specific action? like in fpg ?

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

    Is there anyway to make a crouch button that plays the animation and crouch without the camera jolting down as you crouch but the camera zooms into a first person view when the player crouchs

  •  2 ปีที่แล้ว

    And what about probabilitty of spawning certain item? like commom, rare, epic and legendary?

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

    How to highlight the Drops after it dropped? I followed your Highlight Tutorial and i want to highlight a key after it dropped from the zombie, thanks for any solutions!

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

    hi matt, i want to ask a question. so im working on a multiplayer project, and somehow this doesnt work. both client and server can see that the enemy drops an item. but when picking up, it somehow wasn't replicated. do you have any suggestions?

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

    Could you make a video of making the AI avoid light? I asked before a while back been waiting on it.

  • @logandoejogando...7532
    @logandoejogando...7532 3 ปีที่แล้ว

    How to pick up and throw objects at boot? thanks brother.

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

      Hi man, for picking up you can check the video linked in the description, and for throwing this video might help :)
      th-cam.com/video/-Lg-_EU6NoU/w-d-xo.html

  • @g.o.v_animations
    @g.o.v_animations 2 ปีที่แล้ว

    What if I want it after death instead of on hit?

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

    Anyone knows how to make it so that each loot has a certain chance to drop?
    I have 3 types of (gems) that drop off of an enemy, 2 points, 5 points, 10 points. Right now they spawn at random but i'd like the rarity and value to be balanced.

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

      so to do that the best way I have found so far is to make an actor component that has a string/integer map string the name of the item the integer being the chance that Item will be spawned and then a whole bunch of math but if you look up weighted loot table there is a pretty good tutorial on how to do it. Then you plug the index from that tutorial into the select from this one and it should work a charm

  • @isaaccontee
    @isaaccontee 2 หลายเดือนก่อน

    How do you learned all of these? :D Im trying so hard with chat gpt to do something but he s dumb and I'm dumber. I'm trying to drop a pouch from enemies and that pouch should contain inventory slots and I loot the loot from there. kind of a system like WoW has.

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

    Thanks!

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

    not working, please help! check many times)))

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

    I need UE5 tutorials :c

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

    thank you so much

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

    cheers bro

  • @korypeters2059
    @korypeters2059 8 หลายเดือนก่อน

    Perfect

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

    Class node - Select Box

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

    5:03 Bro wut?

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

    Can you make a video about sitting on a chair? I couldn't find it anywhere. Thanks in advance.

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

    you can make the class select working on its own, without the need of setting a max value to the random integer.
    just type "make array" and create an array of your classes with that.
    from the return of the make array, pull a link and add a "get" no matter if ref or copy.
    as index, use the random integer.
    For the Max Index take again a line from the Make Array and add a "Length" getter. Subtract 1 from this and link the return to the Max Value of the Random Integer.
    from the Get of the make array, you gain your class and spawn that.
    now, you simply need to add or remove classes to and from the make array, the rest is working by itself.

  • @decarrioden3445
    @decarrioden3445 5 หลายเดือนก่อน

    When my loot spawns in dissapears