How do I make a door like SCP: Containment Breach

How do I make a door like SCP: Containment Breach

I looked it up and watched a few minutes of the gameplay. In the very beginning there are at least 4 different types of doors, what exactly are you looking for? A link to a video with a time code would be helpful.

Sorry, but all I see is a simple standard door with a button that doesn’t even open. No particular functionality, nothing. What exactly do you want to make?

This one:

Timestamp: 3:35

Here

TimeStamp: 3:35

for both doors you could enable input on overlap and disable on end overlap. then have a input event for opening the door.

for door movement you could use a timeline that goes from 0-1 over a few seconds, then use the timeline as an alpha for a vector lerp. you could then attach the update pin to a set relative location node and set the value of the lerp A to how far you want the door to move say 200 on the y axis, then set the b value to 0 on all axis. this will make the door slide along the axis to the point specified in local space.

for the keycard bit you just need to do a check prior to the timeline to see if the player has the needed card. the key could consist of a bool variable in the player character which gets set to true when you overlap a key actor in the level. then in the door script you would get player character → cast to (insert player characters class here) → then off the return value pin get keycard bool.

its all rather simple and theres a million tutorials on it out there.

i didnt watch the video until after but for the button press at 520ish you could use a separate actor if you wished or do it in the same door actor as well. all you would need to change is the event which starts the script.

the one shown in the video is probably done using something like a bp interface (theres a good video on these on the unreal engine youtube channel.

Thanks! You mind sharing the video with me?

id have to search for it which i dont have time for at the moment but just look for one called something like blueprint communication. never mind did a quick search and linked it below.

Hey man, I got a another question for the door blueprint system. How do I make it so that I don’t need to directly point at the door to open it and need a widget every time I am near it. Just like in this video: - YouTube
Thanks!

Ah wrong timestamp, correct one 5:18