im still working on the mon hunt turtiotles and i have hit another problem.
When i run the game i keep getting this message object can not animate.
here is the code were the problem is
Rem make player
Load object "MAN1.x",2
Loop object 2
position object 2,5000,Get Ground Height(1,5000,5500),5500
here is the code for all the game
Rem set up Sync
Sync on
Sync Rate 30
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,30,30
Rem texture the matrix
Load image "grass16.bmp",1
Prepare matrix texture 1,1,1,1
Fill matrix 1,0,1
Rem make player
Load object "MAN1.x",2
Loop object 2
position object 2,5000,Get Ground Height(1,5000,5500),5500
Rem randomize matrix
randomize matrix 1,250
Rem main loop
Do
Rem set cursor
set cursor 0,0
Print X#
Print Y#
Print Z#
Rem camera angle
AngleY# = object angle Y(10)
Rem camera controle
If Upkey()=1
XTest# = Newxvalue(X#,CameraAngleY#,20)
ZTest# = Newzvalue(Z#,CameraAngleY#,20)
If XTest#>0 and XTest#<10000 and ZTest#>0 and ZTest#<10000
Move object 10,10
Endif
Endif
If Leftkey()=1 then Yrotate object 10, Wrapvalue(AngleY#-5)
If Rightkey()=1 then Yrotate object 10, Wrapvalue(AngleY#+5)
X#= Object position X(10)
Z#= Object position Z(10)
Y#= Get ground height(1,X#,Z#)
Position object 10,x#,Y#+12.5,z#
CameraZ# = Newzvalue(Z#,AngleY#-180,100)
CameraX# = Newxvalue(X#,AngleY#-180,100)
CameraY# = Get Ground Height(1,CameraX#,CameraZ#)
Position camera CameraX#,CameraY#+50,CameraZ#
Point Camera X#,Y#+25,Z#
Rem refersh screen
Sync
Loop
Dark Project Studio (web Site comeing soon)