Cameras



Start out making a single room, with a 3x1 unit window and window sill.


Insert two sprites, a viewscreen sprite (tile #502) and a camera sprite (tile #621.) Put the viewscreen sprite flat against the window's wall. Put the camera in one corner, and raise it to the ceiling. Change the viewscreen's hitag to 1, and set the camera's lotag to 1. The viewscreen will show all cameras whose lotags match its hitag. Set the camera angle to point towards the middle of the room. Set the camera's hitag to 90. This will be our camera's turning radius.


That's all you need to make the camera work, but we want to make a fancier security screen. We made a separate window sill earlier, and now it's going to come into play. Change the height of the sector containing your viewscreen so you can see the window sill "step." While pointing at this step in 3d mode, hit 'M' to make it a maskwall. A tile will fill the space between the floor and ceiling. Point at this "wall" and change its tile to a forcefield (tile #663). While still pointing at the wall, hit 'B' and then 'H' to make it blocking and masking, respectively. Switch back to 2d mode, turn off grid-lock, and move the window sill corners and window corners right up next to the wall. Switch back to 3d mode and adjust the window sill height to match that of the window. Now you've got a nice-looking screen that is recessed into the wall.





Duke Nukem 3D is copyright ©1996 , All Rights reserved.

THIS PAGE IS NOT MADE BY OR SUPPORTED BY 3D REALMS

Copyright ©1996 Tyler Matthews, All Rights reserved.
Go back to my Duke FAQ BUILD page
Go back to my Duke FAQ BUILD page Text-Only