View Full Version : Entity: Keypad
Gantrithor
08-03-2006, 09:47 PM
Short story shorter: How does the "keypad" entity work, what type of VGUI materials does it use, and is it functional?
sebastiannielsen
09-17-2006, 03:55 PM
I want info about that too...
I have experimented and tried other VGUI materials than "prop_keypad", but that result in a error saying that the textfield "Code" cannot be found.
prop_keyboard works, but If I connect "CorrectCode" to a door, and then set the Combination, then tries that combination, nothing happens with the door...
I really want that entity to work because then I can build cool multiplayer maps with areas where only I can enter, of course filled with good weapons and defense....
Xenogenetic
09-17-2006, 10:31 PM
I'll figure this out tomorrow and make a wiki about it, they shouldn't be much harder than vgui menus.
EDIT
Use the panel prop_keypad and it should work. I didn't try it, I just looked for the panel.
Xenogenetic
09-18-2006, 08:12 PM
Ok, I have tried every way that I can think of, if a dev could answer this question it would be awesome: How do you enter the combination for the entity in Hammer?
sebastiannielsen
09-19-2006, 12:46 PM
but its not the "combination" field thats is the problem. I have also tried to link the "incorrect" event to the door, but nothing happens.
And the code should show up on the display when entering the code...
Xenogenetic
09-19-2006, 05:04 PM
Well, there wasn't a keypad entity that I can remember in SiN E, so how do you know this? And if you do remember one tell me and I will decompile the map and find out how it works.
sebastiannielsen
09-20-2006, 04:33 PM
you know the phones? I think they use the same VGUI material as keypad. Even if theres no map with the keypad entity...
And it complain about cannot find a "Code" textfield when not using prop_keypad, and prop_keypad has an "Code" textfield.
Xenogenetic
09-20-2006, 04:55 PM
They do, but the problem isn't with the material, its the entity. Phones have their own entities.
wisecode
09-23-2006, 05:05 PM
If you guys want a fully functional custom keypad prop check out the Combo Lock Package, file #15:
http://www.sdknuts.com/allfiles.aspx
Xenogenetic
09-24-2006, 10:28 PM
Your zip file is corrupt and still doesn't help fix the entity, I think keypad must have been removed from the code but never from the fgd, because it doesn't seem to work...
...it would be awesome if someone could answer this who knew what was going on.
wisecode
09-25-2006, 05:56 PM
Your zip file is corrupt
...Fixed it, thanks.
Wasn't the file itself, I was using a System IO in memory to get a handle on the file, so it can be downloaded in-stream from the server.
Found a bug in my code and corrected it.
You were the only one that let me know it was hosed..Thanks.
Xenogenetic
09-25-2006, 07:36 PM
That's a cool idea you used in that vmf, but it would be a lot simpler if Ritual could fix the keypad entity, or explain how it works.
vBulletin® v3.6.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.