Unreal Engine 4 - Open Door/Level with Keys (Specific Keys)

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 55

  • @makyg4594
    @makyg4594 6 лет назад +2

    Perfect Tutorial man, I'm so happy, everything works fine! After finish, I changed teleportation to door opening animation and works fine!

  • @IsiahGames
    @IsiahGames 8 лет назад +2

    Hey Titanic, I just want to say thank for for this tutorial. It was exactly what I needed.

  • @MetricZero
    @MetricZero 7 лет назад +5

    Best key tutorial out there. Thanks a bunch. I do have some questions though, as arrays are very complicated for me. How would you go about implementing this into a save game? How do you tell which doors have already been opened if you go back to previous levels? How do you tell the key that it's already been picked up before?

  • @diamond.bev.
    @diamond.bev. 5 лет назад

    Thank you for this tutorial it was easy to follow and just what i needed for my game!

  • @Michael-gf1jn
    @Michael-gf1jn 7 лет назад

    Really Good! Thanks! Explained in a way that helped me understand some systems better.

  • @ReniggadoBRS
    @ReniggadoBRS 7 лет назад

    Yeah! Thanks man really helped me a lot!a just have ajusted to my rotating door and works awesome! You are the best man!

  • @foxywoxy0w068
    @foxywoxy0w068 3 года назад +1

    Hi, so I got to this bit here 8:00 and whilst the video is about transitioning to a level, I want it so that when the player gets a key and goes to the door, the level is complete and they win the game, and I want it so that if the player doesn't have a key, the door will say "Can't access without a key" or something along the lines of that.
    How do I do that?

    • @DragonFang253D
      @DragonFang253D 3 года назад

      You should be able to add a variable on the key that is a Boolean that would be a "has key" and have the door check for the item variable you set when picking up the key

    • @DragonFang253D
      @DragonFang253D 3 года назад

      For the text you can always have a widget shown on the screen that says they don't have the key for the door

    • @BillyLegumbres
      @BillyLegumbres 2 года назад

      @@DragonFang253D I have try on the exiting branch that is immediately after the For each LOOP that cheks if player has require key, if false then print the key that the player need to open such particular door, but it doesn’t work, can you help me with that?

    • @BillyLegumbres
      @BillyLegumbres 2 года назад

      Hey man I got it, so we have the event graph from the video. The thing I did is that on the “equal enum” we create a second branch, on the condition of this second branch goes the red color output of our “equal enum” and for the input of the second branch, you should connect the output that says “Completed” from the For Each Loop, then at last on the second branch’s output on the false one we connect our print string, if you want to display the message “you need ‘key color’” just make append “you need: ” and convert the required key to string, append those 2 to the pink input, and you should be ready to go.

    • @BillyLegumbres
      @BillyLegumbres 2 года назад

      I hope a make myself clear brother, if I didn’t make me know

  • @Zigan18
    @Zigan18 7 лет назад

    Worked like a charm, thanks! I didn't necessarily need an entire inventory system and this was quick and simple, great instructions. ( ' - ' )b

  • @JeffreyZweigII
    @JeffreyZweigII 3 года назад

    Have 2 noob questions. 1.would you be able to tie this to a door opening animation? Not looking to necessarily transport to another level, just want to open the door on the same level. 2. Would this also work with 3rd Person as well? Or because of the nature of setting it up as 1st person, would have to go a different way about it? Thanks for sharing your knowledge :-)

  • @mrpickle7954
    @mrpickle7954 6 лет назад +1

    Hello, it seems that even with Precise follow through my character just is not being put into level 2 from lvl1 theirs no transitions theirs no pause just nutin

  • @hoistale
    @hoistale 5 лет назад +1

    Thank you! I doed it but i don't know English good! 😀

  • @pixpix1918
    @pixpix1918 5 лет назад

    Nice tutorial! What can I do if I have some Objects and not one Key with a changing colour? With which note can I change the same stuff but with objects not materials?

  • @haskell3d327
    @haskell3d327 6 лет назад

    Great Tutorial.
    What if you wanted to use objects rather than materials to define unlock? For example, lets say instead of Red, Blue Green materials, you have Cube, Cylinder and sphere objects. Do you use some sort of Set Actor or Component nodeinstead of using Set Material node?

    • @haskell3d327
      @haskell3d327 6 лет назад

      Nevermind, I just replaced materials in the Enum with actor meshes and that did the job. Thanks!

  • @graithen8955
    @graithen8955 7 лет назад

    Amazing work mate

  • @Simbabweman
    @Simbabweman 5 лет назад

    ive got this working great but the trouble i have is i cant go back through the door i just came through straight away without picking up another key . basically i want to go back through the door i just unlokced or use the same key again..
    I also cant go through a door set to none with no keys, it seems they all need one.

  • @beatrixcat
    @beatrixcat 7 лет назад

    My Key Type box won't attach to the index, saying "is not compatible with boolean"? I don't know why D:

  • @Shane1163
    @Shane1163 5 лет назад +1

    I'm stuck at 7:24 part, I can't connect the "owned keys" to the array plug without a "make array" box showing up in between! and then when I compile it says there is an error under the target/owned keys box. The target box connected to the bottom pin where you plugged "key type" into Also, it's a great tutorial, but you go WAY too fast!

    • @glarsen4959
      @glarsen4959 4 года назад

      I know this comment is old but maybe this will help someone else.
      The same thing happened to me. Turned out I had set required type to array instead of single variable. When you go back and fix it you have to delete ForEachLoop and create it again.

  • @ndzaba
    @ndzaba Год назад

    Thanks for this! I have a question if anyone can help. How can I set a door to require more than key? e.g this door requires the blue and green key

  • @devilsoulja-n0va464
    @devilsoulja-n0va464 5 лет назад

    get player keys is not showing up for me in TestgameInstance

  • @adamfogg6760
    @adamfogg6760 5 лет назад

    How would I do this but for different doors instead of levels?

  • @Cheezyfist
    @Cheezyfist 6 лет назад +1

    can you make the key look like a key though?

    • @Simbabweman
      @Simbabweman 5 лет назад

      yeah ive done that you just need to either model your own key like i did in maya (took a couple mins) or find someone else's model and use that for the static mesh instead of the sphere he uses.

  • @simyian9932
    @simyian9932 6 лет назад

    i can pick up key but it will not transition me through door

  • @Eddie-
    @Eddie- 6 лет назад +2

    Isnt working! :(

  • @isabelalleje
    @isabelalleje 5 лет назад

    How to make your own mesh?

  • @gothbrickwomen
    @gothbrickwomen 5 лет назад

    I don't know what i did wrong, but not working ;-;

  • @simyian9932
    @simyian9932 6 лет назад

    how do you auto pick up key?

  • @savage_Creations247
    @savage_Creations247 7 лет назад

    Not working for me on version 4.14 i am also using third person Not first is that the problem?

    • @titanicgames4785
      @titanicgames4785  7 лет назад

      To the best of my knowledge it should work for any perspective (including first person). I just tested in 4.14 and there were no issues, so there's probably just a little error somewhere. Nothing shown here has been changed by newer engine versions so it should still work as shown.

    • @savage_Creations247
      @savage_Creations247 7 лет назад

      You are right it works, sorry sir! One more question do you know how to open a door by typing in a password?

    • @reddyepie7439
      @reddyepie7439 7 лет назад

      Thats some next level shit

  • @sensenmannka532
    @sensenmannka532 8 лет назад

    everything for that door!?! needed more then an houer and i really dont check that

    • @titanicgames4785
      @titanicgames4785  8 лет назад

      Hi there. I'm sorry if this isn't what you were hoping for. I was just trying to demonstrate how to create blueprints that would work for multiple levels and multiple doors. This was a user request which is why it was so specific. You can simply add a trigger box to your level and on overlap open the level you want, if you want to do it a much simpler way.

  • @simyian9932
    @simyian9932 6 лет назад

    I don't have an option to place "TestGameInstence" please help 11:17

  • @HaloWolf102
    @HaloWolf102 8 лет назад

    Why so complicated? Can't you just create a movement matinee and play through a key press while he is in the Trigger Box. This could be so much easier.

    • @titanicgames4785
      @titanicgames4785  8 лет назад +6

      You certainly can. I was just demonstrating a way that you could create one blueprint that will work for everything. If you are working on any projects that have multiple levels or require multiple doors, this would be much easier than creating a matinee for each and every door. I'm trying to demonstrate iterative processes that will help optimize work required for certain tasks. If you have an alternate solution then definitely use what works best for your needs. Thanks for the feedback.

  • @Inwardcrowd2210
    @Inwardcrowd2210 8 лет назад

    my door accept all types of keys even if i especified the type key in default settings i can take a green key and open the door that require the red key but the rest works perfectly

    • @titanicgames4785
      @titanicgames4785  8 лет назад

      Strange. That doesn't happen to me so I'm not sure what to tell you. Sorry it's not working for you :(

    • @Inwardcrowd2210
      @Inwardcrowd2210 8 лет назад

      no problem :D can you show me how to put note above items not in the hud i saw a blueprint in the market called Pickup Note and there are many tutorials in youtube but they are not good as yours

    • @Marcel2278
      @Marcel2278 8 лет назад

      yes please do this and also can you do a tutorial on having an icon hover over the item you want to pick up like in old school games as well?

    • @titanicgames4785
      @titanicgames4785  8 лет назад +1

      I'll add it to my list

    • @lethiagames9208
      @lethiagames9208 2 года назад

      @@titanicgames4785 Hello, how do you do make it so that already unlocked doors don't need the key anymore

  • @gxegameplay1938
    @gxegameplay1938 6 лет назад

    bravoooo

  • @hurtlockergaminghd3822
    @hurtlockergaminghd3822 7 лет назад

    uh why do the keys come back shouldnt they stay in our inventory?

  • @adils4604
    @adils4604 4 года назад

    Question is it possible to make your key a different model in each scenario? Like have it be a can for one key but make it a gun for another?

    • @adils4604
      @adils4604 4 года назад

      another add on, I did everything you said, but the keys get reset in each level and I can't traverse