This is the basic tutorial to teach you how to create a locked keyed door. To view this map in Shadow Warrior download door6.zip
![]() Fig 1. Insert the key hole sprite. |
1. First create your door. I'm using the ceiling to floor door (door1.map). We will use a red key to open this door. It is best to have a lock for the key on each side of the door. One on the side that the Single and Muli-Player modes will need, and the other for Wangbang (DeathMatch) mode if you have a start position somewhere on that side. Ok, in 3D mode (numeric pad Enter) place the cursor on the wall you want the lock to be at and hit "S". With the cursor still on the sprite press "V" twice and then "G" enter the value 1846 and hit Enter. Don't worry about the color yet. Go to 2D mode (numeric pad Enter) and place the cursor on the sprite you just created. Set the LowTag (Alt-T) to 29 and the HiTag (Alt-H) to 8 (red). Now, when you go back to 3D mode the sprite should be red. Do the same on the other side of the door.
2. Referring to the SPRITAGS.TXT file go to Hitag 29 (SECT_LOCK_DOOR). This is where you will find the following Keycards and Master Key colors.
![]() Fig 2. Insert the ST1 sprite. |
3. In 2D mode insert a ST1 sprite "S" (picnum 2307) in the door sector. Place the cursor on the new sprite and give it a HiTag of 29 (SECT_LOCK_DOOR) and a LowTag of 8 (red master key). Don't forget to put the red key (picnum 1777) somewhere in your map.