Shooting Trap - Fireball - Rocket - or Spear



This tutorial is designed to show how create one of three shooting traps. To view this map in Shadow Warrior download shoot.zip This tutorial was written by Starman any questions you may have should be directed to him.




Fig 1. Create your Sector for your shooting trap.

1. First create the sector where you want your shooter to go using the spacebar. The height of this sector whatever height suits you and apply some kind of texture to the walls and ceiling. The completed sector should look something like the one in Fig 1. Then create a child sector inside the main sector. To do this use the spacebar and then put the cursor inside this sector from 2D mode and hit ALT S. The walls of this sector will then turn red. This child sector will be your touchplate or trigger for the shooting trap.


Fig 2. Tagging the trigger sector

2. In 2D mode tag the trigger sector as follows. For a fireball trap Hi-Tag = 6 Lo-Tag = 43. For a Rocket trap Hi-Tag=7 Lo-Tag=43. For a Spear Trap Hi-Tag=8 Lo-Tag=43. Please note that in order to save space on the server I only showed the tags for a fireball trap in figure 2. To tag the sector...be in 2D mode and place the cursor inside the trigger sector. Then hit H for the Hi-tag....and T for the low tag. Do not use ALT-H or ALT -T as done to tag a sprite. The Hi-Tag is your next match tag. In 2D mode press F5 to determine what your next match tag is. I used 6, 7, and 8 for the match tags in this tutorial map. If you desire you can lower the trigger sector a few page downs as I have done, this depends on how hard you want the area to be. If you make the trigger sector hard to see, then the player will likely get injured or killed much quicker than if you make it easy to see. (Fig 2.)


Fig 3. Inserting vertices for Trap.

3. Inset Two vertices using the insert key from 2D mode as shown in Fig 3. This will allow you to place a different texture on the wall where you want your shooter to come from if you so desire. In my demo map I used the serpent head, picnum 159.....there are other ones you can use if you want to. You can also use a sprite such as picnum 209 instead of a wall texture.


Fig 4. Adding The ST1 Sprite where the shooter will come from.

4. All that is left now is to insert 1 ST1 sprite on the texture you used for your shooter (Fig 3). Please note that a different texture is NOT required. For the shooter to work all that is needed is the ST1 sprite and the trigger sector. I only inserted a different texture to add more realism. Usually this ST1 sprite will need to be placed up on the wall a bit. Also point the sprite in the direction you want the trap to travel using the < or > keys. The Tags for this sprite are as follows. Fireball Trap Hi-Tag=43 Lo-Tag=6. Bolt Trap Hi-Tag=44 Lo-Tag=7. Spear Trap Hi-Tag=63 Lo-Tag=8. Where the Lo-Tags here are your match tag(s) that you used in step 2 for the match Hi-Tag(s) in the sector(s). And that is all there is to it.




Back to my Shadow Warrior site.