Coded Access Door for Doom

Handy guides on how to do things, written by users for users.

Moderators: GZDoom Developers, Raze Developers

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
Rick4574
Posts: 19
Joined: Fri Jul 17, 2020 4:17 pm

Coded Access Door for Doom

Post by Rick4574 »

Hello all you Doom Gurus!

I noticed that the script in the ZDoom Wiki for "GetPlayerInput", (particularly for the access code example) did not work right.
In fact, I couldn't get it to work at all...

So, I studied it for hours, trying to figure out how to correct it, but eventually realized that it was just too damned flawed!!!

However, I did learn a bit from it.

So, now I present to you a working example of a three digit lock, used to activate a door!!!

The current access code in the script is 783, to unlock the door.
But, you can change the access code combination to whatever you like, in the script editor.
Don't forget to set the arguments accordingly on the calling linedefs, if you decide to change anything!

You can download this example from here:
https://github.com/Rick4574/RS-Doom-Modding

Or, click the link below.

Enjoy!
You do not have the required permissions to view the files attached to this post.

Return to “Tutorials”