[Code] Safe and Combination without GetPlayerInput!

Post your example zscripts/ACS scripts/etc here.

[Code] Safe and Combination without GetPlayerInput!

Postby Isaacjedi5 » Fri Jul 26, 2013 1:07 pm

I recently read a Zdoom Wiki article about GetPlayerInput. I liked the idea of the safe thing, but the code seemed a bit too complicated for what
I thought could be much, much simpler.
Then, I remembered variables. :idea:
So, I took some number graphics from Strife and made a good safe script to use, maybe if you want Doom 3-style combinations. :)
Included is a demo map with the script in it. The script is easy to modify, to put your own codes,
maybe a 4-digit lock rather than a 3-digit lock. Very customizable. :wink:
Also included is a seperate "safedemocode.txt" file which is a copy of the SCRIPTS lump in the map wad
with added comments to explain (so that you do not have to open my map in a wad editor to see it),
although I still recommend playing the demo wad to see it in action (for proof it works).
The download is right below.
Spoiler:

Spoiler:

EDIT:I noticed that the number textures looked messed up, since I used HUD graphics that should be transparent.
This doesn't happen in GZDoom. It's just black in some spots, that's all.
Also, no need to credit me for this.
You do not have the required permissions to view the files attached to this post.
User avatar
Isaacjedi5
Crudux Cruo.
 
Joined: 27 Dec 2012
Location: Philadelphia, PA

Re: [Code] Safe and Combination without GetPlayerInput!

Postby Tristan885 » Fri Jul 26, 2013 7:47 pm

Nice! I was looking for a better safe and combination way making since I had one before that could work well in single player but not when in an online game. I guess that one will be useful. :)
User avatar
Tristan885
I'm keeping your television on.
 
Joined: 05 Sep 2012
Location: Canada, Qu├ębec
Discord: Tristan885#1880
Twitch ID: Tristan885
Github ID: Tristan885
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: [Code] Safe and Combination without GetPlayerInput!

Postby Isaacjedi5 » Fri Jul 26, 2013 9:00 pm

Glad you like it! It's good to know that my first resource won't be totally looked over, even if it's just a couple of people. Helps me know that I am actually contributing a little bit. :)

EDIT: What project are you using it for? I would like to see my safe system in action.
Unless its not announced yet, then don't tell me. :shock:
User avatar
Isaacjedi5
Crudux Cruo.
 
Joined: 27 Dec 2012
Location: Philadelphia, PA

Re: [Code] Safe and Combination without GetPlayerInput!

Postby RV-007 » Sat Jul 27, 2013 2:33 am

This project (@ least I consider this as is) can be used in maps w/ a mystery theme (i.e. System Shock 1 and so on). The safe can also be used w/ symbols and stuff like that. Of course, I don't really mind reading computer screens to obtain the combination in a megawad too.
User avatar
RV-007
anti-13ashar_society, lol
Banned User
 
Joined: 03 Sep 2011
Location: Dying w/ civilization or living after it


Return to Script Library

Who is online

Users browsing this forum: No registered users and 0 guests