[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 102: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 103: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 104: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 821: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 821: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 821: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4181: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4184: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4185: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
Smartzenegger.nl :: View topic - Tutorial: how to make a keypad
Smartzenegger.nl
http://www.smartzenegger.nl/forum/

Tutorial: how to make a keypad
http://www.smartzenegger.nl/forum/viewtopic.php?f=2&t=15
Page 1 of 1

Author:  Smartzenegger [ Tue Jan 24, 2006 5:38 pm ]
Post subject:  Tutorial: how to make a keypad

Many people asked me how to make a keypad.
Here is the answer:

Download the example map from here:
http://members.chello.nl/f.kalkman1/dow ... torial.zip

Any questions? Let me know.

Author:  [JSC][GU]PREDATOR [ Tue Jan 24, 2006 6:08 pm ]
Post subject:  Re: Tutorial: how to make a keypad

[quote="Smartzenegger"]Many people asked me how to make a keypad.
Here is the answer:

Download the example map from here:
http://members.chello.nl/f.kalkman1/dow ... torial.zip

Any questions? Let me know.[/quote]

yes can it be set as a bomb so once opened it blows the people behind you up so they dont sneak in?

Author:  Smartzenegger [ Tue Jan 24, 2006 6:12 pm ]
Post subject: 

you can let it trigger anything you want.
just use it to change some properties.
its meant to understand it completly, it ant that hard.
then its easy to adjust it to your needs.

Author:  [JSC][GU]PREDATOR [ Tue Jan 24, 2006 6:21 pm ]
Post subject: 

hmm i might use this for my new version of gm_rollercoaster9 ill have to have the controls to the coasters in the cinema again thats where ill put the password lock to prevent noobs using it

Author:  liquidmetal [ Sat Jan 28, 2006 3:26 am ]
Post subject: 

I thought about using it for my gm_bridge_collapse_v3 map, but I couldn't think of anything to put in the admin room. Maybe in my new map...

Author:  Smartzenegger [ Sat Jan 28, 2006 3:37 am ]
Post subject: 

[quote="liquidmetal"]I thought about using it for my gm_bridge_collapse_v3 map, but I couldn't think of anything to put in the admin room. Maybe in my new map...[/quote]

you are welcome to use it.
thats why i released it.
and welcome on this forum :)

Author:  Baby Burn [ Wed Feb 01, 2006 7:06 pm ]
Post subject:  Using it! ;D

I cant even figure out, how to install it on the wall :)

Author:  Smartzenegger [ Thu Feb 02, 2006 12:44 am ]
Post subject:  Re: Using it! ;D

[quote="RetypeDK"]I cant even figure out, how to install it on the wall :)[/quote]

just copy the content and paste, keep selected. keeping texture lock on. then drag it in the 2D view to where you want it.
voila. how to change the code? that info is in the readme.txt that is enclosed in the zip file.

Author:  Baby Burn [ Thu Feb 02, 2006 3:44 pm ]
Post subject: 

I need to choose something example: prop_something
i need to choose something and then choose world model ?

Author:  [JSC][GU]PREDATOR [ Thu Feb 02, 2006 4:54 pm ]
Post subject: 

when i started mapping i just did one thing at a time so i now how all the important stuff works

(as long as you now how to make walls and player start points then you are ok)

ps; do you even now how to copy and paste?

Author:  Smartzenegger [ Thu Feb 02, 2006 7:12 pm ]
Post subject: 

[quote="NA_PREDATOR"]when i started mapping i just did one thing at a time so i now how all the important stuff works

(as long as you now how to make walls and player start points then you are ok)

ps; do you even now how to copy and paste?[/quote]

yes, just copy and paste. just like windows shit.
its the same clipboard.
CTRL+C = copy
CTRL+V = paste

Author:  M@D_Doc [ Sun Feb 05, 2006 4:34 pm ]
Post subject: 

Perfect : just what I wanted ^^

Author:  J104 [ Mon Jun 05, 2006 6:59 pm ]
Post subject: 

Its great, the texture and everything, but i dont get it, how do u create the func_buttons to be activated in a ceratin order

Author:  Smartzenegger [ Mon Jun 05, 2006 11:51 pm ]
Post subject: 

[quote="J104"]Its great, the texture and everything, but i dont get it, how do u create the func_buttons to be activated in a ceratin order[/quote]

as you can see, the buttons + the logic relay work together.
there is no better thing to see it for yourself.
and you already have it.

Author:  Ninja2 [ Sat Dec 15, 2007 1:57 am ]
Post subject:  Re: Tutorial: how to make a keypad

Nice! That must have taken a while to make. ;)

Author:  Smartzenegger [ Sat Dec 15, 2007 11:25 pm ]
Post subject:  Re: Tutorial: how to make a keypad

[quote="Ninja2"]Nice! That must have taken a while to make. ;)[/quote]

no, making it no.
but thinking about it and designing it to make it as less entities possible, yes.
5 relais and 12 buttons is all it takes basically.
but you always need the thing to trigger, and a time interval to secure unlimited ammount of tries.

Author:  Ninja2 [ Mon Dec 17, 2007 2:23 am ]
Post subject:  Re: Tutorial: how to make a keypad

Yes but to come up with the way it works like when you push one button it enables certain things and disables others. And making it that they had to be activated in order.

Author:  Smartzenegger [ Mon Dec 17, 2007 6:49 pm ]
Post subject:  Re: Tutorial: how to make a keypad

yes well, i did create it, and though it all up the way it works as you know it today.
i know there are others with lots of entities etc. but i created my own.
there is only one minor of mine, you can't set double digits, like 1123 or 1231 or 1112 every digit can only be used once in a code like 1234 or 1526 for instance.
you get it?

Author:  Ninja2 [ Mon Dec 17, 2007 10:27 pm ]
Post subject:  Re: Tutorial: how to make a keypad

yup but in a way that could be good because it doesent complicate it.

Author:  Smartzenegger [ Mon Dec 17, 2007 11:14 pm ]
Post subject:  Re: Tutorial: how to make a keypad

[quote="Ninja2"]yup but in a way that could be good because it doesent complicate it.[/quote]

indeed! i like the simplicity and yet the briliance because the ammount of posibilities are very well sufficient.

Author:  Ninja2 [ Wed Dec 19, 2007 9:38 pm ]
Post subject:  Re: Tutorial: how to make a keypad

Aha! i figured out how to do it without textures!!!!
Create a prop_static of the keypad named: kypad.mdl
remove the sides from the sample button and create the code that you want basically move the 123 and 4 to were you want them and move all the buttons in front of the keypad then simply change there size to match the keys after all of this change there texture to nodraw and add the outputs:
Output named: onTrigger Target Entity: *keypads Name* Via This output: Skin Perimeter: 2
Output named: onTrigger Target Entity: *keypads Name* Via This output: Skin Perimeter: 3 after time in seconds of 1


Looks hard really is easy eh? ;) The only troubles are the you can't use the # key and the R Key in your code or on the keypad so either move those to a different location were the player can't get or delete them but that may cause errors.
To make it say error when the wrong code is put in you need to make more entities like math_counter, and a few more relays...and maybe a time not to sure but if you need help on that, or want a prefab pm me. :)

Author:  Smartzenegger [ Thu Dec 20, 2007 1:14 am ]
Post subject:  Re: Tutorial: how to make a keypad

[quote="Ninja2"]Aha! i figured out how to do it without textures!!!!
Create a prop_static of the keypad named: kypad.mdl
remove the sides from the sample button and create the code that you want basically move the 123 and 4 to were you want them and move all the buttons in front of the keypad then simply change there size to match the keys after all of this change there texture to nodraw and add the outputs:
Output named: onTrigger Target Entity: *keypads Name* Via This output: Skin Perimeter: 2
Output named: onTrigger Target Entity: *keypads Name* Via This output: Skin Perimeter: 3 after time in seconds of 1


Looks hard really is easy eh? ;) The only troubles are the you can't use the # key and the R Key in your code or on the keypad so either move those to a different location were the player can't get or delete them but that may cause errors.
To make it say error when the wrong code is put in you need to make more entities like math_counter, and a few more relays...and maybe a time not to sure but if you need help on that, or want a prefab pm me. :)[/quote]

i want to use my texture, i turn texture lock off, and drag the numbers in order aside the pad, and then rearage it to the their new location in order, the rest of the buttons are negatives, and so the same, their order doesn't matter, and fill up the gaps. simple! why you like that ugly keypad model?

(i already have time limit intervals on all my keypads in my maps)

Author:  Ninja2 [ Thu Dec 20, 2007 1:43 pm ]
Post subject:  Re: Tutorial: how to make a keypad

I don't like it as much as i do your texture but it is good because that way the user that plays the map doesent need to download the texture. I don't like it with the model but think it would be useful in some cases.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/