Teleporter



This tutorial is designed to show how create a teleporter. To view this map in Shadow Warrior download telep.zip




Fig 1a. 2D view of teleport chamber.

Fig 1b. 3D view of teleport chamber.

1. The norm in the Shadow Warrior game is a teleporter chamber to teleport the player from one place to another. These chambers are usually found in WangBang (DeathMatch) mode. The chamber lets the player know that they are about to be teleported. So, it is designed for appearance and nothing else. To make a chamber just set your grid to the largest setting and insert two vertices on the exterior wall. Now, make the square chamber one grid sqaure in size. Give it a height of 112. For the ceiling, floor, and walls use picnum 310. Shade the ceiling, floor, and the back wall. Insert a sprite at the front center of the chamber, and give it a picnum of 890 with the angle pointing out. Give the sprite the Flag value of 212. This is done by placing the cursor on the sprite (in 3D mode) and pressing the T, R, and T keys. Now, stretch the sprite to fit in the opening. If you want to change the color of the chamber use the Alt-P option to change the palette value (including the sprite).


Fig . Insert the ST1 sprite.

2. You need to have two ST1 WARP_TELEPORTER (HiTag 84) sprites for a teleporter to work. One in the sector the player is teleporting from, and the other in the sector the player is teleporting to. Both will have the same Match tag value (LoTag). Both sectors should be the same size (there is some leeway here though). Make sure that you have the sprite angle pointing towards the front of the chamber, or the direction you want the player facing when they teleport into this sector.

Two-Way Teleporter

A Two-Way Teleporter allows the player to teleport back and forth between both of the teleporting sectors (chambers). Set the TAG# values for the ST1 (HiTag 84) as indicated below.

One-Way Teleporter

A One-Way Teleporter allows the player to teleport oneway only from one sector to the other, but not back to the first sector. Both sectors still need the ST1 (HiTag 84) sprite. The teleporting sector TAG# values are set with the same values as the Two-Way Teleporter. However, the non-teleporting sector TAG# values are set as indicated below. The only change is found in TAG10, and maybe the angle of the sprite.




Back to my Shadow Warrior site.