From Valve Developer Community
Jump to: navigation, search

This prefab is a simple, yet complex, keypad. It includes visual and audio responses to any 4-digit code. The correct keypad is initially set to 4577. If the code is correct, it opens the door, plays an accepted sound, and blinks a green light. Otherwise, it plays a reject sound and blinks a red light. The code of the door can easily be altered by changing the 4 values in the Outputs tab of the logic_case entity. A template keypad material is also included with the prefab.

 1 func_detail
 1 func_door
 1 logic_auto
 1 logic_branch
 1 logic_case
 1 logic_compare
 1 logic_timer
 1 prop_dynamic
 2 ambient_generic
 2 math_counter
11 func_button
23 entities