PDA

View Full Version : Camera.sqs / Cam scripting



Desertfox
Dec 11 2006, 15:21
Searched the board, but the only cam.sqs thread didn't reveal anything.

I&#39;ve always loved to create intros and ingame camera sequences by putting <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this exec camera.sqs;[/QUOTE] into the init field of a unit in the editor.

It would create a .txt file in my OFP directory with timestamps and coordinates that would allow for creating the sqs file easily and in a matter of minutes.

Two things: First off, I can not find the text file with the coordinates anywhere, even though the camera command seems to work fine in the editor. ( I can move around freely with the cam view. ) Has anyone got a clue ?

Secondly there appears to be a new function. When I hit the RIGHT CTRL key now, a small yellow square locks on to the point I am looking at. The camera stays focused on this point and shows a thin white line running to it. I&#39;ve never seen that feature in OFP. Is someone familiar with this ?

Thanks in advance.

SFG
Dec 11 2006, 15:45
Hit left mouse button or left ctl... i&#39;m not sure which one does it but its one of those. It saves it to the clipboard so just go into notepad and hit ctl-v. It does not create a file anymore.

deanosbeano
Dec 11 2006, 15:48
musta been 2-3 years since that textfile dissapeared m8.
i remember it too.
you already sussed that you get yellow squares on objects
you get red squares on units etc you can lock with / key on num bad
you can get rid of sqaure by pressing L
if you press fire this creates the cam co oords and what cam is locked on inc f.o.v (zoom) etc
then alt tab open up a notepad or sqs and press ctrl v or paste.
basically you gotta put ~pauses in between each time you paste a new set .so the timings right.
now i have gone out on a limb here,cause if someone does say that text is still around, i gonna look rather silly lol. but i would be glad to be silly if thats the case http://forums.bistudio.com/oldsmileys/wink_o.gif

Al Simmons
Dec 11 2006, 15:53
It saves it to the clipboard so just go into notepad and hit ctl-v. It does not create a file anymore.
Not true, search the Biki (http://community.bistudio.com/wiki/Camera.sqs), the clipboard.txt is saved to
C:&#92;Documents and Settings&#92;WINDOWSUSERNAME&#92;Local Settings&#92;Application Data&#92;ArmA&#92;clipboard.txt


if someone does say that text is still around, i gonna look rather silly lol. but i would be glad to be silly if thats the case http://forums.bistudio.com/oldsmileys/wink_o.gif
Now look silly http://forums.bistudio.com/oldsmileys/biggrin_o.gif

Desertfox
Dec 11 2006, 15:59
I&#39;m 100% certain the clipboard.txt file was there in OFP 1.96 http://forums.bistudio.com/oldsmileys/smile_o.gif

Thanks for the heads up on the clipboard &#33; Totally forgot to try pasting it into an empty txt. Cheers.

SFG
Dec 11 2006, 16:50
Since were on this subject does anyone know how to get depth of field in camera.sqs?

Desertfox
Dec 11 2006, 16:56
You mean <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_camera camSetFOV 0.700[/QUOTE] ?

deanosbeano
Dec 11 2006, 17:53
Quote[/b] ]Now look silly http://forums.bistudio.com/oldsmileys/biggrin_o.gif
ah, the reason i use that forfeit is , i do look silly naturally , so no change.
besides was talking ofp lol. as for the biki , if thats true then i will eat my hat (oops done it this time), cause so far the biki has confused the ass off me.

MemphisBelle
Dec 11 2006, 18:16
Hit left mouse button or left ctl... i&#39;m not sure which one does it but its one of those. It saves it to the clipboard so just go into notepad and hit ctl-v. It does not create a file anymore.
SFG was right. By pressing the left MB. The Coordinates are getting saved in the System. So you can just paste them into an Editor or Notepad....by the way...I always use Editior to write the Camscripts.

Desertfox
Dec 15 2006, 12:02
Okay the method still causes some headaches.

/// In OFP I could execute the camera.sqs function in the editor, move along my camera path, and click the fire button, and it would store all the information in a txt file. This way I could create smooth camera rides. I would just edit the commit values and other things in the created txt file.

/// In ArmA, I have to go to the position where I want the camera ride to begin, click fire, then I have to ALT-Tab out of the game into notepad, paste the data, Alt-Tab back into ArmA ... move to the next station of the ride, click fire once more .. Alt-Tab into notebook .. paste the data .. Alt-Tab back into ArmA .. BAM &#33; CTD. lol

So this method is not only a pain because you always gotta Tab to notepad for every single entry, but it randomly crashes my game as well.

I&#39;d be grateful if someone had an idea how to get that textfile created without tabbin&#39; out the game.

deanosbeano
Dec 15 2006, 12:21
its where matte said m8.(well kinda)
do ya camera work , fire wher nesesary , when done .dont exit
alt tab (after all ya camera work not verytime).
click mycomp/localdisk c or whatever/ documents and settings/ owner or relevant to you/ local settings(not apl data yet)/application data/arma/ clipboard http://forums.bistudio.com/oldsmileys/smile_o.gif

MattXR
Dec 15 2006, 12:24
/// In ArmA, I have to go to the position where I want the camera ride to begin, click fire, then I have to ALT-Tab out of the game into notepad, paste the data, Alt-Tab back into ArmA ... move to the next station of the ride, click fire once more .. Alt-Tab into notebook .. paste the data .. Alt-Tab back into ArmA .. BAM &#33; CTD. lol
LMFAO - thats how i always did it in OFP, i never knew about no text file.. grr all that time and i find out now http://forums.bistudio.com/oldsmileys/banghead.gif http://forums.bistudio.com/oldsmileys/biggrin_o.gif

deanosbeano
Dec 15 2006, 12:33
oops meant al simmons said lol
anyway at least someone else learned it too. always a good thing

Desertfox
Dec 15 2006, 12:41
Okay smack me please. Works smooth like peanut butter.

I really wonder how I could not read that thread properly. http://forums.bistudio.com/oldsmileys/whistle.gif

Blanco
Dec 15 2006, 13:13
LMFAO - thats how i always did it in OFP, i never knew about no text file.. grr all that time and i find out now http://forums.bistudio.com/oldsmileys/banghead.gif http://forums.bistudio.com/oldsmileys/biggrin_o.gif
Same here http://forums.bistudio.com/oldsmileys/crazy_o.gif http://forums.bistudio.com/oldsmileys/whistle.gif

Wouldn&#39;t it be nice to have a dialog in camera.sqs where you can fill your camcommit values, add a description, etc... so we can record a whole scene in one "take"? (hmm, something for the wishlist I guess)