WelL I have been working on this for the a day now,and still I can not make it work.
Here is my code,
autocam off
set image colorkey 255,0,255
sync on
set camera range 1,2500
position camera 0, 10,0
set ambient light 30
load image "grass.jpg",1
make matrix 1,300,700,20,20
position matrix 1,-150,0,-480
prepare matrix texture 1,1,1,1
update matrix 1
yrotate# =1+1
load object "sig.dbo", 1
`lock object on 1
position object 1, -0,10,45
scale object 1,20,20,20
`rotate object 1,0,180,0
do
Rotate Camera Camera Angle X()+MouseMoveY(),Camera Angle Y()+MouseMoveX(),0
rotate object(1),object angle x(1)+MouseMovex(),object Angle Y(1)+MouseMovey(),0
position camera object position x(1),object position y(1),object position z(1)-7
If keystate (17)=1 then move object 1,-.5
If keystate (31)=1 then move object 1,.5
sync
loop
I sure some one out there know how to put a waepon on the screen so it does not move. But maybe not.
Thanks
renny
Life is not fair, so deal with it.
http://www.gusroundtable.com/