• Announcements

    • Brentonator

      Forum Rules (Please Read)

      Hello everyone and welcome to the No More Room In Hell Forums! We greatly appreciate your interest and support. Please feel free to begin post and become a part of this community. But please make sure that you read and understand the following rules so things can stay as clean and as orderly as possible around here. These rules are expected to be follow by any and all members at all times. Disobeying these rules will result in disciplinary action by a moderator. #1. Off color remarks are acceptable but can be deemed inappropriate at the discretion of the moderators. #2. Flaming and disrespecting other members of this community or this mod is strictly prohibited. #3. Please do not post links relating to warez or illegal downloading. #4. No offensive content is to be posted (gore, dead babies, porn). #5. Please do not spam topics to increase your post count. #6. No excessively large signatures. Signatures that violate this will be modified. #7. Signatures are not to be used as a spamming tool. If your signature's sole purpose is to annoy or distract other members, it will be removed. #8. Please do your part to be as friendly, respectful, and helpful to anyone and everyone on this forum. #9. Your posts may be removed at any time at our sole discretion. #10. Remember the terms of your registration...a copy is posted below but may not represent the latest version of our terms of use. #11. No advertising other communities or products. Have fun.
Sign in to follow this  
Followers 0
RPDSurvivor

Multiple codes for Keypads

4 posts in this topic

Can anyone please give me a tutorial on how to make a keypad with a consistently changing code like on the nmo maps? I'm updating nms_zps_farmhouse to v4 and this is one of the last things I want to add to this update.

Thank you varying people that will look at this thread and (or) comment on/in it.

Share this post


Link to post
Share on other sites

did you use trigger_keypad

Put the code under it

Prop_physics_multiplayer

world model: nmrih_keypad.mdl

I don't honestly know more then that =). I'm sorry if i wasn't clear but i guess you'll have to do it with this

Share this post


Link to post
Share on other sites

you need to use a logic_case and logic_auto

logic_case:

Name it.

Case01 PickRandom

Case02 PickRandom

...

etc.

Outputs:

OnCase01:keyapd_name:InputSetCode:1234

OnCase02:keyapd_name:InputSetCode:4321

logic_auto:

Outputs:

OnMapSpawn:logic_case_name:PickRandom

Something like that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0