How To Make A Key and Door System in Unreal Engine 5

Sdílet
Vložit

Komentáře • 31

  • @VirtusEdu
    @VirtusEdu  Před rokem +3

    Hey everyone, learn how to build a key and door system in Unreal Engine using blueprints.
    Let us know what game mechanic you'd like to see us recreate next!

    • @francislugo6749
      @francislugo6749 Před rokem

      Hi, I hope you doing well. I would like to see color matching minigame. I have dynamic color material that uses a track and cannot create a mechanic to match it with a character of specific color.

  • @Zero-One1593
    @Zero-One1593 Před 10 měsíci

    Hi sir I am learning many things from you thanks for your efforts.

  • @ihebKirikachi
    @ihebKirikachi Před rokem

    thanks !!

  • @tsiqz2891
    @tsiqz2891 Před rokem +1

    Hi are you going to do a tutorial on a endless runner on ue5?

  • @nightshroud1310
    @nightshroud1310 Před rokem

    Hello, i would like to know if it in possible to create more maps, and male them interact and make them move as if it were a puzzle game

  • @allesklarc4835
    @allesklarc4835 Před rokem +1

    Thank you very great !! Im from Austria

  • @serizawareda7831
    @serizawareda7831 Před 4 měsíci

    hi do you think it is possible to update this tutorial and make an ID key system ? like an array in our character variables that can collects our keys and when we got a key in our lvl and try to open a door, it will check if we have the right IDKey ?

  • @toxicinc763
    @toxicinc763 Před rokem +1

    Can you please help me with
    Buying and select system using blueprints 😢

  • @lozacon
    @lozacon Před rokem

    how would u do this for multiple doors and keys? cos when adding the same door blueprint it uses the same 1 key to open them all and i dont want that, thanks in advance :)

  • @hiagooliveira6510
    @hiagooliveira6510 Před rokem +5

    Hi Luke, thanks for the tutorial!
    As a challenge to myself I tried implementing this from scratch before watching your video and then comparing the results.
    I'm happy that I did it almost the same way you did!
    One little difference was that instead of keeping track in a variable of whether or not the character has the key, I decided to use actor tags. So on the key overlap event I add tag of "KeyForDoor1" to the interacting actor for example, and on the door I check if the actor has that tag on him. If true I open the door and remove the key. I did it this way because it gives us the flexibility of having different keys and different doors without having to add one variable for each different door, specially if I add configure the tags in a uproperty.
    Would you say this is a good solution, to use tags for such a system, or is there another better practice I am not aware of? Sorry if this is a silly question, I have just started this new hobby!

    • @VirtusEdu
      @VirtusEdu  Před rokem +1

      Hey Hiago, this is a really good way to learn.
      In terms of your solution, that's defintely a way to do it. I would say your solution is more scalable.
      In an ideal world we'd have an inventory system but your solution is great.
      Keep up the good work!

  • @Scairp
    @Scairp Před 9 měsíci

    Hello, please tell me
    how to stage a cut-scene, mp4, open the door with a key or insert an object and the lock will open
    like in resident evil.

  • @martem000
    @martem000 Před rokem

    Thank you! I would like to know how to properly add the condition that when I am in the collision door, pressing the F key will open if I have the key

    • @VirtusEdu
      @VirtusEdu  Před rokem

      When F is pressed you could get the distance between the player and the door, and then branch checking if the player is within whatever distance you want and the Has Key bool is set to true.

    • @martem000
      @martem000 Před rokem

      @@VirtusEduthank you! 😊

  • @trabbypatty7554
    @trabbypatty7554 Před rokem

    Great video, helped me out a lot! Although for some reason when the door opens with the key, it won't let my character go through... might've messed up on something with the collisions?

    • @VirtusEdu
      @VirtusEdu  Před rokem

      Turn on collision view in the viewport to see if your collisions are covering the door when it opens, that'll help you narrow down the problem

  • @Zero-One1593
    @Zero-One1593 Před 10 měsíci

    Will you make tutorial on unity?

  • @kefir_games_original
    @kefir_games_original Před 11 měsíci

    How can i make a functionality of that the play can grab multiple amount of keys at the same time?

  • @TREEBXY
    @TREEBXY Před rokem

    I have a blueprint system set up so that when i walk into the collision box on the key i press E to pick it up so I don't want it to dissapear when I walk over it.
    Do I still cast it to the character blueprint?? I'm so confused

  • @sergiosperb821
    @sergiosperb821 Před 5 měsíci

    I don't know why, but I was unable to walk though the door, even with the door unlocked, so I had to set the collision of the door frame to "No Collision".
    Excellent tutorial!

  • @InfiniteBeyondFiji
    @InfiniteBeyondFiji Před 5 měsíci

    Hey whats up creators? Oh nothing much just me subbing to your channel ahahha

  • @Alpatrixx
    @Alpatrixx Před rokem +1

    Maybe make a video on how to make a lockpicking minigame? (kinda like skyrim)

  • @omaralhaj9894
    @omaralhaj9894 Před rokem

    please please make a crafting menu tutorial and a inventory with hotbat tutorial.

  • @TunedFM
    @TunedFM Před rokem

    Hello, I’m new here and wanted to request a tutorial I can’t find anywhere. I’m searching a way to crave/mask blueprint texts into static mesh’s parent inside own blueprint. I only found ways to mask boxes or spheres but not font silhouettes or other texture shapes. Hope you could help.

    • @VirtusEdu
      @VirtusEdu  Před rokem +1

      Gonna need some more clarification on this, if you join our Discord server then our team will be able to help you with this problem further

  • @HotGarbageAlready
    @HotGarbageAlready Před rokem

    What about team 1 gets a key that opens only that door. and team 2 gets a key that opens only a different one. Like I have 24 teams. Each team has a key but it only opens there home. For Fortnite. and only that team can get the key associated with there team. and only one person per team.

  • @Gta5Tutorial633
    @Gta5Tutorial633 Před 9 měsíci

    4.25.3