OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Stalker on 24 Aug 2002, 16:21:51

Title: Camera handling
Post by: Stalker on 24 Aug 2002, 16:21:51


[attachment deleted by admin]
Title: Re:Camera handling
Post by: seanver on 24 Aug 2002, 18:33:14


[attachment deleted by admin]
Title: Re:Camera handling
Post by: Messiah on 24 Aug 2002, 18:48:53
or much easier is using 'camera.sqs':

type in any units init field (put it near where u want the camera to go) and type this exec "camera.sqs"

u will then get a camera view that u can control using the movement buttons to go forward and srafe (which u want to do) and the numpad buttons (4,8,2,6) to pan around and look.

so first u move the camera into posistion where u want it to start (start of the line) and press ctrl. Then al tab out of the editor and paste into the camera script - it will paste a complete camera command into the script for u - u just have to select the camcommit time.

then press (d) to strafe right (or whatever u have it set at) and then when u are at where u want the camera to stop u press control again and paste that into the script - adding the camcommit time you wish to have (how long it takes for the camera to move down the line)

its a little secret that ive just found that 'camera.sqs' - bis have used it since the start and ive just realised about it.

and so have u....

:thumbsup:
Title: Re:Camera handling
Post by: seanver on 24 Aug 2002, 18:58:38
 :o :o :o what the?  :o
Title: Re:Camera handling
Post by: Messiah on 24 Aug 2002, 19:07:32
heheh - try it - it makes camera scripting sooooo much easier

:thumbsup:
Title: Re:Camera handling
Post by: seanver on 24 Aug 2002, 20:37:43
Wow awesome. If i knew that before... thats gonna change all my life  8)
Title: Re:Camera handling
Post by: seanver on 24 Aug 2002, 20:41:49
Hey! and if you press the "/" key (i don't know if this is the correct key since I use a spanish keyboard) in the numeric pad, you can "target" an object to follow it in the cutscene. Also "+" and "-" make zoom changes. I'm gonna remake a cutscene I was making!
Title: Re:Camera handling
Post by: Messiah on 24 Aug 2002, 22:14:50
ooooh - didnt know about the target thing - cheers

i knew about the zoom tho....

have fun

:thumbsup:
Title: Re:Camera handling
Post by: Sundiver on 25 Aug 2002, 06:44:56
This is...

I am speechless..

Thank you thank you thank you thank you!!!  ;D

Title: Re:Camera handling
Post by: Messiah on 25 Aug 2002, 11:30:57
trust me - when i first learnt camera scripting - i used snYpirs tute - which was a great start - but when i discovered this - i thought, ummm, this is much easier.... it does everything for you.