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 / Entity Camera Editor Tool - Script

Author
Message
hukuta94
13
Years of Service
User Offline
Joined: 4th Jan 2011
Location: Russian Federation
Posted: 20th Jun 2012 01:38 Edited at: 20th Jun 2012 01:40
Camera Entity Edit Tool

A script-tool will facilitate your work on setting up cameras for the entity in real time!

How does it work? Put the script to any entity or character in the MAIN, run the test and you go into edit mode.
The selection cammands. Use the arrow keys, set the exact position of the camera .. You will need to record these values ​​for each team on a piece of paper, and in their scripts with their cameras simply to register. It's very simple! Especially for this was done.

Features:

- Editing the coordinates and angle of the camera in real time
- Ability to turn off the setting mode and continue playing at the level of
- The effect of "trigonometric circle" on the teams responsible for the angle resolved. The maximum angle of 360 degrees of a circle (in this case 180 in the positive direction + 180 in the negative) is Your angle will not be 450, 1,000, 10,000 degrees, etc.
- Bug with bits of numbers. In the negative direction of the angle of 180 degrees is recorded as 1180. To make your script the camera turned at an angle of exactly 180 degrees, and you write (setcamrotx = -180, and not setcamrotx = -1180)
- Fly on the level

http://www.youtube.com/watch?v=DTrsUE7U6sQ&feature=youtu.be



Control in the description, but in Russian.
So here the:
; Control (default):
; Q, W - move the camera relative to the X coordinate component (setcamoffsetx)
; A, S - move the camera relative to the Y component (setcamoffsety)
; Z, X - move the camera on the Z-axis relative to the component (setcamoffsetz)
; R - reset to zero at the x coordinate (setcamoffsetx)
; F - reset to zero coordinate Y (setcamoffsety)
; V - reset to zero at the coordinate Z (setcamoffsetz)
, [,] - Turn the camera on the coordinate X (setcamrotx) [ and ]
,,, '- Rotate the camera along the coordinate Y (setcamroty ); and '
; <,> - Rotate the camera along the coordinate Z (setcamrotz) < and >
, \ - Reset to zero at the x coordinate (setcamrotx) \
; ENTER - reset to zero coordinate Y (setcamroty)
; SHIFT - reset to zero at the x coordinate (setcamrotz)
; BACKSPACE - reset to zero all the coordinates
, 1 - enable \ disable ENTITY CAM EDIT TOOL
2 - enable \ disable "camerarotationon" (includes user settings turn the camera) \ (includes camera component)
3 - enable \ disable the following character on the line WayPoint

Source: http://fpsc.forum24.ru/
Source tread: http://fpsc.forum24.ru/?1-12-0-00000300-000-0-0-1340144430
anayar
15
Years of Service
User Offline
Joined: 19th Aug 2009
Location: Minneapolis, MN
Posted: 20th Jun 2012 02:42
Looks cool! As a scripting noob though could you help me understand what it is though?
As in does it allow for 3rd person control (was the player controlling the zombie) or is it simply like a sticky camera from splinter cell?

Cheers,
Anayar


For KeithC
hukuta94
13
Years of Service
User Offline
Joined: 4th Jan 2011
Location: Russian Federation
Posted: 20th Jun 2012 09:50
I just created a "tool", but in the writing of the script 3d person I am weak. It is true.
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 20th Jun 2012 17:42
Good script. It works great and will be very useful. Thank you for posting.


Twitter: @NFoxMedia
hukuta94
13
Years of Service
User Offline
Joined: 4th Jan 2011
Location: Russian Federation
Posted: 20th Jun 2012 18:48
Not at all. The main thing that he has benefited
Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 21st Jun 2012 19:20
Thanks for the script. Looks like it will come in handy.

hukuta94
13
Years of Service
User Offline
Joined: 4th Jan 2011
Location: Russian Federation
Posted: 30th Jun 2012 11:53
Up

Login to post a reply

Server time is: 2024-11-24 01:12:52
Your offset time is: 2024-11-24 01:12:52