OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Totibbs on 25 Mar 2003, 23:03:49
-
Yesterday I saw The Matrix again... and I wonder, is it possible, and yes how, to make a Matrix style cutscene.
for example: the camera is zooming to a running soldier and when the camera is close, the soldier is shooting. and now it comes: when the flash of the fire comes out the gun, the time slows down, and the camera is zooming around the unit. and when the 360 is full, time is set back to 1.0 and going - like a bullet, to the victem, and when he falls down, the time slows down again, and when the victem is falling, the camera makes a 360 around the victem.
I do not have much time to make an own "movie", but I have time to watch it. Hopefully someone can make a cool intro with a lot of Matrix-style camera-movements ;D
Good Luck!
-
Conincidentally, someone has recently made a matrix-style slow down time thing like in max payne. Check OFPEC home for info.
-
You wished for it and here it is. ;D
I made this short script for your wieving plesure:
;matrix.sqs
titlecut ["", "Black in", 1]
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]
_camera camSetTarget s
;< s is the name of the unit shooting
_camera camSetrelPos [0,10,1]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
s dotarget target
s dofire target
;<U can use: unit fire["weaponname"] instead if yo want
setacctime 0.05
_camera camSetTarget s
_camera camSetrelPos [0,3,1]
_camera camSetFOV 0.700
_camera camCommit 0.3
@camCommitted _camera
     ÂÂ
_camera camSetTarget s
_camera camSetrelPos [3,0,1]
_camera camSetFOV 0.700
_camera camCommit 0.3
@camCommitted _camera
_camera camSetTarget s
_camera camSetrelPos [0,-3,1]
_camera camSetFOV 0.700
_camera camCommit 0.3
@camCommitted _camera
_camera camSetTarget s
_camera camSetrelPos [-3,0,1]
_camera camSetFOV 0.700
_camera camCommit 0.3
@camCommitted _camera
_camera camSetTarget s
_camera camSetrelPos [0,3,1]
_camera camSetFOV 0.700
_camera camCommit 0.3
@camCommitted _camera
setacctime 1
_camera camSetTarget s
_camera camSetrelPos [0,10,1]
_camera camSetFOV 0.700
_camera camCommit 10
@camCommitted _camera
titleCut ["","PLAIN",1]
_camera cameraeffect ["terminate", "back"]
camdestroy _camera
exit
Its not exactly as you wanted...
But hope you like it. :)