I’ve asked a couple of people and commented in a couple of threads trying to figure this out but so far I’ve gotten nothing to help me advance.
Here’s my problem… I’m making a map and I want to use the LUA keypad to lock some of the doors in the map. I’ve gotten the Keypad to show up in Hammer, but I have yet to be able to set the password for the keypad and to put the keypad into secure mode. I’ve tried specifying both by setting values for the keypad in the properties box in Hammer.
For “keypad_secure” I set a value of 1. For setting the password I didn’t know which to use, so I set a number (4 digits, no zeros) for keypad_adv_password and adv_password. When I complied and ran the map the keypad was not in secure mode and did not have any password set.
I PMed Silverlan asking for help and this is what I got from it
I somewhat understand what he’s saying, but that means writing a modified code for the keypad, which leaves the code itself less secure because the password would be stored as a networked variable. However I don’t know any LUA, and I’m a Hammer newbie, working on my first map for Gmod. Someone suggested using the lua_run entity, but like I said, I don’t know the first thing about LUA or coding in general :[
Any help is appreciated.