Hi Guys I want to know Camera Of Fpsc System.
I know MouseMove to Camera Rotation And Camera Movement use Newvalue But I'm not sure about the details.
Also I Really Want to know Where is written All Of Camera code.
Sorry But Help me! please!
I'm Really Sorry! Yeah I know that I must to contribute many things
for many questions.
In the mean,I wish This Source Code be useful for Modders.
I find Very Unbelievable feature! That is in my code!
Sorry But Help me Please!
Set Display Mode 1024,768,32
Make Matrix 1,100,100,100,100
Position Camera 50.0,5.0,50.0
point camera 50,50,50
set camera fov 75
autocam off : hide mouse : disable systemkeys
set camera range 2.0,100
#Constant DIK_A 30
#Constant DIK_D 32
global RollCamCount#
global RollCam#
Test It Please!
Do
MX#=MX#+MouseMoveY()
MY#=MY#+MouseMoveX()
`XRotate camera MX#
`YRotate camera MY#
`ZRotate camera 0
Rotate camera MX#,MY#,0
If Keystate(DIK_A)=1 Then Roll Camera Left 5
If Keystate(DIK_A)=0 Then Roll Camera Left 0
If Keystate(DIK_D)=1 Then Roll Camera Right 5
If Keystate(DIK_D)=0 Then Roll Camera Right 0
rotate listener MX#,MY#,Camera Angle Z()
Roll Camera Right Roll#
text 400,40,"Z : "+str$(Camera Angle Z())
If Upkey() = 1 Then Move Camera 1.0
If Downkey() = 1 Then Move Camera -1.0
Loop
[EDIT]
My Wish is that I want to translate Some Algorithm for camera and
What's Some Variable.
DEFCON CRISIS comming soon 2009~~!