world

This command set allows BSP levels to be loaded directly into your program, complete with automatic collision and visibility culling. You can also create simple terrain shapes with the built-in basic terrain functionality.
    LOAD BSP : LOAD BSP PK3 Filename, BSP Filename
    DELETE BSP : DELETE BSP
    SET BSP CAMERA : SET BSP CAMERA Camera Number
    SET BSP CAMERA COLLISION : SET BSP CAMERA COLLISION Collision Index, Camera Number, Radius, Response
    SET BSP OBJECT COLLISION : SET BSP OBJECT COLLISION Collision Index, Object Number, Radius, Response
    SET BSP COLLISION THRESHHOLD : SET BSP COLLISION THRESHHOLD Collision Index, Sensitivity
    SET BSP COLLISION OFF : SET BSP COLLISION OFF Collision Index
    SET BSP CAMERA COLLISION RADIUS : SET BSP CAMERA COLLISION RADIUS Collision Index, Camera Number, X, Y, Z
    SET BSP OBJECT COLLISION RADIUS : SET BSP OBJECT COLLISION RADIUS Collision Index, Object Number, X, Y, Z
    SET BSP COLLISION HEIGHT ADJUSTMENT : SET BSP COLLISION HEIGHT ADJUSTMENT Collision Index, Height
    SET BSP MULTITEXTURING ON : SET BSP MULTITEXTURING ON
    SET BSP MULTITEXTURING OFF : SET BSP MULTITEXTURING OFF
    PROCESS BSP COLLISION : PROCESS BSP COLLISION Collision Index

    MAKE TERRAIN : MAKE TERRAIN Terrain Number, Heightmap Filename
    DELETE TERRAIN : DELETE TERRAIN Terrain Number
    POSITION TERRAIN : POSITION TERRAIN Terrain Number, X, Y, Z
    TEXTURE TERRAIN : TEXTURE TERRAIN Terrain Number, Image Number

    BSP COLLISION HIT : Return Integer=BSP COLLISION HIT(Collision Index)
    BSP COLLISION X : Return Float=BSP COLLISION X(Collision Index)
    BSP COLLISION Y : Return Float=BSP COLLISION Y(Collision Index)
    BSP COLLISION Z : Return Float=BSP COLLISION Z(Collision Index)

    TERRAIN EXIST : Return Integer=TERRAIN EXIST(Terrain Number)
    TERRAIN POSITION X : Return Float=TERRAIN POSITION X(Terrain Number)
    TERRAIN POSITION Y : Return Float=TERRAIN POSITION Y(Terrain Number)
    TERRAIN POSITION Z : Return Float=TERRAIN POSITION Z(Terrain Number)
    GET TERRAIN HEIGHT : Return Float=GET TERRAIN HEIGHT(Terrain Number, X, Z)
    GET TOTAL TERRAIN HEIGHT : Return Float=GET TOTAL TERRAIN HEIGHT(Terrain Number)