Camera.sqs – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
There are quite some things to note when using this in ArmA (related to the streaming nature of engine, also setaperture for hdr is good thing), an example from ArmA:
In ArmA camera.sqs will put camprepare type of commands to clipboard as these are more common (needed for easy content preloading).


showcinemaborder false
--[[User:Maruk|Maruk]] 22:31, 14 November 2006 (CET)
cutRSC ["TVoverlayLogo","PLAIN NOFADE"]
;initial cam setup
_camera = "camera" camCreate [7580.00,6236.03,0.76]
_camera cameraEffect ["internal","back"]
_camera camcommand "inertia on"
;beach 1 pre
_camera camSetTarget [-86548.66,39903.16,2448.52]
_camera camSetPos [7580.00,6236.03,0.76]
_camera camSetFOV 0.534
_preloadSound = [] spawn {waitUntil{preloadSound "01v01"}}
~4
_camera camCommit 0
setaperture 1.5
;beach 1 pan end
_camera camSetTarget [-96555.66,99923.16,2668.52]
_camera camSetFOV 0.334
_camera camCommit 22
~5
;zmizet logo
cutRSC ["TVoverlay","PLAIN NOFADE"]
~3
playSound "01v01"
;beach2 pre
_camera camPrepareTarget [-92100.98,13386.04,4463.84]
_camera camPreparePos [7539.78,6188.25,1.87]
_camera camPrepareFOV 0.700
_camera camPreload 15
_preloadSound = [] spawn {waitUntil{preloadSound "01v02"}}
;cekat na dojeti panovani
setaperture 1.5
@camCommitted _camera
;pres cernou
;zobrazit beach2
_camera camCommitPrepared 0
;beach2 pan end
_camera camSetTarget [10506.65,106044.58,4463.62]
_camera camSetPos [7539.78,6188.25,1.83]
_camera camSetFOV 0.700
_camera camCommit 12


  ;priroda pre
When running this script on a mission outside of the editor, the L key doesn't remove the crosshair. I went crazy pushing other keys and moving around and eventually the L key was working. I don't know why I can't get it to work consistently. --[[User:Pyro05x|Pyro05x]] 08:52, 3 February 2007 (CET)
  _camera camPrepareTarget [-8631.13,-88646.52,3738.87]
 
_camera camPreparePos [12503.05,9024.22,8.23]
Center was spelled wrong in this article... page edited ;)
_camera camPrepareFOV 0.700
 
_camera camPreload 10
: It was not, '''centre''' is UK English version, '''center''' is American English version. Nevermind. +++[[User:Str|Str]] 09:33, 30 June 2007 (CEST)
~1
-----
playSound "01v02"
 
_preloadSound = [] spawn {waitUntil{preloadSound "01v03"}}
 
@camCommitted _camera
Please leave spellings that might differ from your own as they are unless the spelling is definitely wrong.
 
;zobrazit prirodu
In the example I just reverted the word 'centre' was spelt the british way, obviously because the original author is british or has learned to spell the word this way.
skipTime -2
 
setaperture 5
Changing the word to 'center', which is the U.S. method of spelling this word is not necessary.
0 setovercast 0.2
 
_camera camCommitPrepared 0
Similarly, if the spellings had been reversed, leave the original authors spelling as it is, unless it is wrong.
 
;priroda
Thank you.
playSound "01v03"
 
_preloadSound = [] spawn {waitUntil{preloadSound "01v04"}}
[[User:Planck|Planck]] 12:19, 30 June 2007 (CEST)
_camera camSetTarget [-84914.03,5756.38,22371.54]
 
_camera camSetPos [12503.07,9024.30,8.23]
Note the '''this''' argument is where the camera will start. E.g. '''player''' exec "camera.sqs" starts where player is. --[[User:Doolittle|Doolittle]] 00:55, 23 October 2007 (CEST)
_camera camSetFOV 0.700
 
_camera camCommit 11
-----
 
.......
[[User:NukemanWIC|NukemanWIC]]
An ingamevideorenderengine would make better videos. It makes possible to increase the graphicsettings to show the power of the gameengine. Screenrecordsoft are mostly laggy and has many too many drops with highest graphicsettings. Please introduce an ingamevideorenderengine. :)
--[[User:Maruk|Maruk]] 22:28, 14 November 2006 (CET)

Latest revision as of 02:02, 4 November 2009

In ArmA camera.sqs will put camprepare type of commands to clipboard as these are more common (needed for easy content preloading).

--Maruk 22:31, 14 November 2006 (CET)

When running this script on a mission outside of the editor, the L key doesn't remove the crosshair. I went crazy pushing other keys and moving around and eventually the L key was working. I don't know why I can't get it to work consistently. --Pyro05x 08:52, 3 February 2007 (CET)

Center was spelled wrong in this article... page edited ;)

It was not, centre is UK English version, center is American English version. Nevermind. +++Str 09:33, 30 June 2007 (CEST)


Please leave spellings that might differ from your own as they are unless the spelling is definitely wrong.

In the example I just reverted the word 'centre' was spelt the british way, obviously because the original author is british or has learned to spell the word this way.

Changing the word to 'center', which is the U.S. method of spelling this word is not necessary.

Similarly, if the spellings had been reversed, leave the original authors spelling as it is, unless it is wrong.

Thank you.

Planck 12:19, 30 June 2007 (CEST)

Note the this argument is where the camera will start. E.g. player exec "camera.sqs" starts where player is. --Doolittle 00:55, 23 October 2007 (CEST)


NukemanWIC An ingamevideorenderengine would make better videos. It makes possible to increase the graphicsettings to show the power of the gameengine. Screenrecordsoft are mostly laggy and has many too many drops with highest graphicsettings. Please introduce an ingamevideorenderengine. :)