Unlocking Door with Password

Unlocking Door

Since my game is mostly mystery adventure around the space station there is obviously going to be locked doors, so I wanted to try to make a door that needed a code to unlock.

I used a tutorial to complete this prototype by UnrealART on YouTube:

Door

I had various issues with the door since I tried creating the frame and door panels from scratch on unreal.

My first attempt was a failure since I couldn’t turn these scene models into a mesh and into my content folder. However I did get to learn a bit of modelling on Unreal.

My second attempt was better since I used already existing assets from within blender (I gave up on modelling my own door). I created two panels in-between the frame, one would go up and the other down.

Nodes for Movement

This is the nodes to move my door panels and to also activate when I press ‘E’ inside the box collider I set up. I spent a very long time on this which should be simple since my ‘doorUp’ movement wasn’t working, I eventually gave up and decide to just have a panel that covers the whole door and slides down.

These are the nodes for the one door movement with a timeline to make the movement smooth and not a quick snap in location.

Creating Numpad

Inside my designer tab I placed out buttons on a canvas to make my numpad.

After this I had to assign nodes to each individual button which is simple since I mostly copy n paste a node line from one of the numbers.

Final Unlocking Door Mechanic