I've been experimanting with Nuclear Glory for my latest game however, every time I try to start this program It immediately crashes and a message comes up stating "Collision system could not be loaded"
I'm not sure if I've accidently left out an important command or if it's another problem. Thanks for the help.
#Constant TYPE_NGC_ELLIP=1
#Constant TYPE_NGC_MESH=2
#Constant ELLIP_2_ELLIP=1
#Constant ELLIP_2_POLY=2
#Constant RESP_STICK=1
#Constant RESP_SLIDE=2
#Constant RESP_SLIDE_NO_SLOPES=3
#Constant RESP_SLIDE_NO_GRAV=4
#Constant RESP_NONE=5
#Constant DYN_NO_RESP=1
#Constant DYN_RESP=2
#Constant DYN_RESP_LOCK=3
#Constant DYN_RESP_LOCK_NOTURN=4
StartCollisionPRO(000000000,000000000,000000000)
StartCollisionDebugPRO()
#Constant TYPE_PLAYER = 1
#Constant TYPE_WORLD = 2
SetCollisionsPRO( TYPE_PLAYER, TYPE_WORLD, ELLIP_2_POLY, RESP_SLIDE, DYN_NO_RESP )
SetEllipSizeModePRO(1)
maxspeed = 100
turn# = .3
sharpturn# = 4.0
acceleration# = .001
decceleration# = .001
minspeed = 0
sync on
speed# = 0
hide mouse
backdrop on
set camera range 0.1,24000
rem setup first racing track
load object "tracks/Future Racing Track 1.X", 10
CollisionTypePRO( 10, TYPE_WORLD )
`make the player
make object sphere 11, 1
position object 11, 3000,200,-1000
CollisionTypePRO( 11, TYPE_PLAYER )
rem Begin loop
do
position camera object position x(11), object position y(11), object position z(11)
set camera to object orientation 11
rem set speed parameters
if speed# < minspeed then speed# = minspeed
if speed# >= maxspeed then speed# = maxspeed
rem move the camera based on speed variable
move object 11, speed#
rem Control camera with arrow keys
if upkey()=1 then speed# = speed# + acceleration#
if upkey()=0 then speed# = speed# - decceleration#
if downkey()=1 then speed# = speed# - .005
if leftkey()=1 and shiftkey()=1 then angley#=wrapvalue(angley#-sharpturn#)
if rightkey()=1 and shiftkey()=1 then angley#=wrapvalue(angley#+sharpturn#)
if leftkey()=1 then angley#=wrapvalue(angley#-turn#)
if rightkey()=1 then angley#=wrapvalue(angley#+turn#)
rem Update camera
xrotate object 11, 0.0
yrotate object 11, angley#
zrotate object 11, 0.0
`y#=get ground height(1,x#,z#)+50.0
RunCollisionPRO()
sync
loop