I made a half-life map and compiled it to .bsp using WorldCraft 3.3. It was made using the default half-life textures, so I copied the halflife.wad file from the sierra folder wherever it was to the same folder as the dbpro folder and the .bsp map. It ran ok, but the program itself is awful, I didn't spend more than two minutes making it. I mean really, really bad control system. Plus, for some reason when I just ran it, the lightmapping didn't work.
sync on
sync rate 30
autocam off
hide mouse
make camera 1
set camera view 0,0,640,480
load bsp "","map1.bsp"
set bsp camera 1
set bsp camera collision 1,1,1,0
height#=1
do
dx#=dx#+mousemovey()/4
cy#=wrapvalue(cy#+mousemovex()/4)
if dx#>90 then dx#=90
if dx#<-90 then dx#=-90
cx#=wrapvalue(dx#)
rotate camera 1,cx#,cy#,cz#
oldx#=x#
oldz#=z#
if upkey()=1 then x#=x#+sin(cy#)*.15
if upkey()=1 then z#=z#+cos(cy#)*.15
if downkey()=1 then x#=x#+sin(cy#+180)*.10
if downkey()=1 then z#=z#+cos(cy#+180)*.10
if leftkey()=1 then x#=x#+sin(cy#-90)*.10
if leftkey()=1 then z#=z#+cos(cy#-90)*.10
if rightkey()=1 then x#=x#+sin(cy#+90)*.10
if rightkey()=1 then z#=z#+cos(cy#+90)*.10
if bsp collision hit(1)=1
dec x#,bsp collision x(1)
dec y#,bsp collision y(1)
dec z#,bsp collision z(1)
endif
position camera 1,x#,y#+height,z#
ink rgb(255,0,0),0
line 320,230,320,250
line 310,240,330,240
circle 320,240,7
text 0,0,str$(bsp collision x(1))
sync
loop