The BSP file and media (the media is not in a pak file) are in the same folder as the source code.
I have uploaded the source & media files:
http://robertknight.port5.com/downloads/bsp.zip
sync on : sync rate 80 : hide mouse
rem setup camera
set camera range 0.1,5000
position camera -176,50,-388
rotate camera 0,180,0
rem setup bsp
Text 20,20,"Loading BSP File..."
sync
load bsp "","nyk3dm1.bsp"
sync
Text 20,40,"Loaded BSP File"
set bsp camera collision 1,0,20,0
set bsp collision threshhold 1,0.001
rem start of loop
do
rem standard movement code
oldcamangley#=cameraangley#
oldcamanglex#=cameraanglex#
cameraangley# = wrapvalue(cameraangley#+mousemovex()*0.2)
cameraanglex# = wrapvalue(cameraanglex#+mousemovey()*0.2)
yrotate camera curveangle(cameraangley#,oldcamangley#,24)
xrotate camera curveangle(cameraanglex#,oldcamanglex#,24)
if upkey()=1 then move camera 10
set cursor 20,40 : print camera position x()
set cursor 20,60 : print camera position y()
set cursor 20,80 : print camera position z()
rem sync
set cursor 20,20 : print screen fps()
fastsync
loop
what is a signature?