Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / how to rotation player's perspective ?

Author
Message
FPSCStudent
11
Years of Service
User Offline
Joined: 29th Sep 2012
Location:
Posted: 21st Mar 2014 08:27
how to rotation player's perspective
Use the script ?

Hello i'm korean
Pirate Myke
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 29th Mar 2014 19:50
These are actions for scripting that deal with the player camera.

3.8.2.46 PLRROTATEX=X
Description: This sets the angle of the player’s camera around the x-axis (horizontal) by X degrees.
Range: X = -360° to 360°.
Example: :state=1:plrrotatex=5

3.8.2.47 PLRROTATEY=X
Description: This sets the angle of the player’s camera around the y-axis (vertical) by X degrees. 0° is defined as North. To adjust the rotational angle from the current set angle, use the internal variable $CAY together with the addvar command.
Range: X = -360° to 360°.

3.10.2.1 CAMFOV=X
Description: This sets the camera’s FoV to a default value plus X.
Range: X = 0 to 180
Example: :state=1:camfov=10

3.10.2.2 CAMFOVINC=X
Description: This increases the camera’s FOV by X.
Range: X = 0 to 180
Example: :state=1:camfovinc=1

3.10.2.3 CAMROTATIONON=X
Description: This defines whether the camera rotates when the player moves the mouse.
Range: X = 0 – camera rotation is fixed to that of the entity,
X = 1 – camera rotation is linked to the mouse movement.
Example: :state=1:camrotationon=0
Example: :state=1:plrrotatey=5

there is more info in these 2 thread topics above.

'Complete Script Syntax List'
'FPI EditPad V3.3.95'

Hope this helps some.

Login to post a reply

Server time is: 2024-03-29 08:57:24
Your offset time is: 2024-03-29 08:57:24