I'm trying to load a BSP made in Valve's hammer editor for half-life 1. I am using the following code:
Graphics3D 640,480
cam = CreateCamera()
CameraRange cam, 0.1,2000
level=LoadBSP( "main.bsp",.8 ) ; load a 'legal' quake3 bsp map
BSPAmbientLight level, 0,255,0 ; make the ambient light green
;BSPLighting level, False ; uncomment this line to turn lightmap off
While Not KeyDown(1) ; if ESCAPE pressed then exit
RenderWorld:Flip
Wend
End
However I keep getting "entity does not exist". I thought it may be because it's textures were not in the same directory as it says in the help. I copied the WAD files from the valve directory and it still doesn't work.
Can someone help me out here?
Graphics3D 640,480
cam = CreateCamera()
CameraRange cam, 0.1,2000
level=LoadBSP( "main.bsp",.8 ) ; load a 'legal' quake3 bsp map
BSPAmbientLight level, 0,255,0 ; make the ambient light green
;BSPLighting level, False ; uncomment this line to turn lightmap off
While Not KeyDown(1) ; if ESCAPE pressed then exit
RenderWorld:Flip
Wend
End
However I keep getting "entity does not exist". I thought it may be because it's textures were not in the same directory as it says in the help. I copied the WAD files from the valve directory and it still doesn't work.
Can someone help me out here?