I Have on more problem. How to I make my model so its not backwards. This is the code that i made. Im not sure how to do the code snippet thing so i am just typing it here.
sync on
sync rate 0
hide mouse
load object "viper.x",1
LOAD IMAGE "colmftr1cox.jpg",2
texture object 1,2
make object sphere 2,1
MAKE MESH FROM OBJECT 1,2
DELETE OBJECT 2
ADD LIMB 1,1,1
OFFSET LIMB 1,1,0,2,-5
hide limb 1,1
make matrix 1,100,100,10,10
do
`wasd controls
if keystate(17)=1 then move object 1,.02
if keystate(31)=1 then move object 1,-.02
If keystate(30)=1 THEN MOVE OBJECT left 1,.02
IF keystate(32)=1 THEN MOVE OBJECT right 1,.02
set camera to follow limb position x(1,1),limb position y(1,1),limb position z(1,1),0,0,0,150,0
`(you can use the line below instead if you want a strictly stiff camera)
`position camera limb position x(1,1),limb position y(1,1),limb position z(1,1)
point camera object position x(1), object position y(1), object position z(1)
yrotate object 1,wrapvalue(object angle y(1)+(mousemovex()*0.2))
xrotate object 1,wrapvalue(object angle x(1)+(mousemovey()*0.2))
sync
loop
I am using a viper model from Battlestar Galactica for my model.
When I run the game the model is backwards.
Also I did the texture code but the textures still wont show.
Here is a pic
gm07