here a code snippet of the arm problem if you put it in to the samuria's folder it should load properly
Sync On
Sync Rate 30
Rem make matrix
Make matrix 1,750,750,20,20
Rem Make player pawn
LOAD OBJECT "idle.x",10 : APPEND OBJECT "walk.x",10,100
position object 10,100,0,100
rem Loop 3D object animation from 0 to 20 (idle)
LOOP OBJECT 10,0,20 : SET OBJECT SPEED 10,10
Rem Main loop
Do
REM restart
stage = 0
Rem Store Object angle
AngleY# = object angle Y(10)
Rem Control input for camera
If Upkey()=1
XTest# = Newxvalue(X#,AngleY#,20)
ZTest# = Newzvalue(Z#,AngleY#,20)
If XTest#>0 and XTest#<10000 and ZTest#>0 and ZTest#<10000
Move object 10,-10 : stage=1
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#,100)
CameraX# = Newxvalue(X#,AngleY#,100)
CameraY# = Get Ground Height(1,CameraX#,CameraZ#)
Position camera CameraX#,CameraY#+100,CameraZ#
Point camera X#,Y#+65,Z#
rem ani change
IF stage<>oldstage
IF stage=0
SET OBJECT FRAME 10,0.0
LOOP OBJECT 10,0,20
SET OBJECT SPEED 10,50
ENDIF
IF stage=1
SET OBJECT FRAME 10,105
LOOP OBJECT 10,105,123
SET OBJECT SPEED 10,50
ENDIF
oldstage=stage
ENDIF
Rem Refresh Screen
Sync
Loop