Regular Combination Switch Operated Door
This type of door will only unlock after a certain combination of buttons are activated. Then the door must be manually opened.
Make any type of door you want (so it works in the game). Now place an L[0,Channel]
in the door sector. Then place multiple switch sprites (preferably in the same place) somewhere in your level. The only switch sprites which seem to work with this effect are the DIPSWITCH (#162) and the TECHSWITCH (#166). Tag your switch sprites [ActivateCondition,Channel]
. The ActivateCondition value can be 0 (doesn't need to be pressed) or 1 (needs to be pressed). To test your door, press the switches with a Hi-Tag of 1, and the message "unlocked" should be displayed. Now you can manually open your door!
Target Practice Combination Switch Operated Door
This is the exact same as the Regular Combo Switch Door, except this one uses a red and white target practice sprite instead of a DIPSWITCH button.
Do the exact same procedure for a Regular Combo Switch Door, except replace the button sprites with the target practice sprites (#4359), then change the angle of the sprite to the direction that the target will fall when shot. Press R
on the target sprite until it is in floor alignment mode (flat on the floor), and make sure you don't place it on a wall (or else it will look glitchy). Now when the game is started, the target sprites will spring up into their normal position after approximately two seconds. Note that the message "unlocked" will not be displayed when you shoot the proper targets to unlock the door.