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.

Coded Access Door for Doom

Postby Rick4574 » Sun Jul 26, 2020 8:59 pm

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.
Rick4574
 
Joined: 17 Jul 2020
Github ID: Rick4574
Operating System: Windows Vista/7/2008 64-bit

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests