This tutorial is designed to show how create a wall sprite, and a wall sprite that can not be blown up. To view this map in Shadow Warrior download wallsp.zip
![]() Fig 1. Inserting sprite on a wall. |
1. In 3D mode, place the cursor on the wall and press the S key. If you can not see the sprite save the map and reload the map and you should be able to see the sprite.
![]() Fig 2. Change the sprite picnum to the one you need. |
2. Place the cursor on the sprite (3D mode) and press the V key twice. Choose the sprite that you want to use and press the Enter key. You can also load another level and go to the sprite that you want and press the TAB key to copy the sprite (while in 3D mode). Now, each time that you press the S key the copied sprite will appear. Pictures, signs, and such can not be blown up.
![]() Fig 3. Insert a sprite that can be blown up. |
3. Sprites of swords, lights, and such can be blown up. In fig. 3 there are a set of axes on the wall and these can be blown up (by default).
![]() Fig 4. Override the break feature of a sprite. |
4. If for some reason you do not want a sprite to break up and disappear from your map give it a HiTag (Alt-H) of 132 (BREAKABLE_SPRITE). Give BOOL1 and BOOL2 a value of 1. Note: In 2D mode the sprite blue box will not read BREAKABLE until you give BOOL1 a value of 1. Also, if you want a sprite to disappear when shot (like a picture sprite) then give it a HiTag of 132 and a BOOL1 value of 1. BOOL2 must be left at zero. To enter a BOOL# value use the ; key and the BOOL#. For BOOL1 press both the ; key and 1.