Using the tutorials that are here on this website I tried to open a level I made in Cartography Shop. But when I compile it and then run it I get the message "object does not exist, line 22" As you can see from the code the level has been exported as an .x file.
I did get it to work once, (sorry can't remember what I did) and when it opened the level didn't have any textures, everything was grey. Do you have to load all the textures via the code? while loading the object?
Any help will be greatly appreciated.
Sync On
Sync Rate 30
Hide Mouse
autocam off
Backdrop on
Set camera range 1,5000
Fog on
Fog distance 4000
Fog color RGB(128,128,128)
Color Backdrop RGB(128,128,128)
Rem make matrix
Make matrix 1,10000,10000,20,20
rem Randomize the matrix
randomize matrix 1,125
rem Load object
Load object "level1.x",2
Loop object 2
position object 2,5000,Get Ground Height(1,5000,5500),5500
Rem Main loop
Do
set cursor 0,0
print X#
print Y#
print Z#
Rem Store Object angle
CameraAngleY# = Camera angle Y()
Rem Control input for camera
If Upkey()=1
XTest# = Newxvalue(X#,CameraAngleY#,20)
ZTest# = Newzvalue(Z#,CameraAngleY#,20)
If XTest#>0 and XTest#0 and ZTest#