This tutorial is designed to show how make an Exit switch in your maps. Also, you will learn how-to incorporate you maps into the Shadow Warrior game. There is no map to view in Shadow Warrior for this tutorial.
![]() Fig 1. A 3D view of the Exit switch. |
1. To create the exit to your map all you need is the Exit switch, and the proper tags set to it. In my maps I have two Exit switches. One that can only be reached in Single and Multi-Player modes, and the other appears only in WangBang (DeathMatch) mode. You can also have an Exit switch to go to a secret map, should be harder to find. To make an Exit switch, go to 3D mode (numeric pad Enter) and place the cursor on the wall and press the S key. This inserts a sprite. We need picnum 2470 for the Exit switch. So, wich the cursor still on the sprite press V to view the picnums for your map and then V again to view all of the picnums. Press G and then BackSpace the number at the top. Warning, do not press G until your have press the V key the second time or your computer will lock up. Now enter 2470 and then Enter. The picture of the Exit switch will now be highlighted. Hit Enter again and your Exit switch is now on your wall.
2. If you need to move the Exit switch up or down on the wall you need to be in 3D mode. Place your cursor on the sprite and hold down the left mouse button. Now, use the PgUp and/or PgDn keys to position it. Release the mouse button when you are done. If you need to move the sprite to the right or left on the wall you need to be in 2D mode for this. Make sure your Grid square are small enough for you (G toggles you through the various sizes). Place the cursor on the sprite and hold down the left mouse button. Drag the sprite to where you want it and release the mouse button. Now, view it in 3D mode to see if you have it where you need it.
![]() Fig 2. Tagging the Exit sprite. |
3. All Exit switches must have a LoTag of 116. To do this place the cursor on the sprite (in 2D mode) and press Alt-T. Now, enter the value 116 and press Enter. The HiTag is the map (or level) that you want exit to. If this is your first map then you would want it to go to the second map. So, you would enter 2 for the HiTag value. Generally, a HiTag of 1 will do for any map if it will only be played as a User Map. However, if you want to release your map(s) over the internet and/or have them incorporated into the Shadow Warrior game (not played as a User Map), then tag them to the next map level. Don't worry they still can be played as User Maps too.
4. When a map is played as a User Map and the player hits the Exit switch he is looped right back into the start of the map. It does not matter what the HiTag (within reason) of the Exit switch is. To have your map incorporated into the Shadow Warrior game, the official Shadow Warrior map name must be used. Warning, Never, (I repeat) Never, release a map with the official Shadow Warrior map name. If everyone did, think of the mass confusion there would be. Plus, your map would overwrite a map with the same name and someone with their map would overwrite yours. Let the people who will play the maps have control of how they will play your map. We will tell them how to do this in the text file that you zip up with your map (see paragraph 5 below).
Map # | Map Title | Map Name |
01 | Seppuku Station | $bullet.map |
02 | Zilla Construction | $dozer.map |
03 | Master Leep's Temple | $shrine.map |
04 | Dark Woods of the Serpent | $woods.map |
05 | Rising Son | $whirl.map |
06 | Killing Fields | $tank.map |
07 | Hara-Kiri Harbor | $boat.map |
08 | Zilla's Villa | $garden.map |
09 | Monastery | $outpost.map |
10 | Raider of the Lost Wang | $hidtemp.map |
11 | Sumo Sky Palace | $plax1.map |
12 | Bath House | $bath.map |
13 | Unfriendly Skies | $airport.map |
14 | Crude Oil | $refiner.map |
15 | Coolie Mines | $newmine.map |
16 | Subpen 7 | $subbase.map |
17 | The Great Escape | $rock.map |
18 | Floating Fortress | $yamato.map |
19 | Water Torture | $seabase.map |
20 | Stone Rain | $volcano.map |
21 | Shanghai Shipwreck | $shore.map |
22 | Auto Maul | $auto.map |
5. Let's say that we have our first map and want it to be the first map in Shadow Warrior. The Exit switch HiTag will be 2 and the user must rename your mapname (ie joe1.map) to $bullet.map (the first Shadow Warrior map name). The $bullet.map is the first map in Shadow Warrior and we want to exit to the second map (HiTag value of 2). Now, all the user as to do is start Shadow Warrior (no User Map stuff needed) and your map is there. When they exit your map they go on to the Shadow Warrior second map. If you had a second map and it has been rename to $dozer.map then they would enter your second map and not the Shadow Warrior map. When the user is done playing your maps, they must rename your map(s) to anything other than the official Shadow Warrior map names. Remember, map 20 is the Exit map for the game, and maps 21 and 22 are used for the secrect levels. So, have the exits to the secret levels return back to the correct level in the game. Map 21 exits to map 11 and map 22 exits back to map 14. Which means, map 10 and map 13 can have a secrect exit. If you don't follow these simple guide lines you can easily cause improper loops in the game.