OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: O Neil on 02 Nov 2002, 04:08:06
-
Hey
Straigt forward, how do you make a scene where it goes slow, I've seen it done oin the credits in the campaign.
Thxs ;)
-
setacctime x
Where X a number. 1 means real time. 0.5, for example, means that a real second will be 2 seconds in-game. 0.1 will be slower.
-
Hey
Thxs but how do I stop it after say, 3 seconds after it gets slowwwwww..........?
Thxs ;)
-
This is a great effect for cutscenes. I have used it many times. The thing is, well, time goes slower.....duh. So, depending on how much you slow it, the CamCommit time you use will have to be much less. So the answer is simple. Here is a small example:
SetAccTime 0.2
_camera CamSetTarget guy
_camera CamSetRelPos [3,3,3]
@camcommitted _camera
_camera CamSetTarget guy
_camera CamSetRelPos [6,4,6]
_camera CamCommit 0.5
Ya see there, the camera wouldn't take a half a second to get to the next point. Since time was slowed, that half a second is also slowed down, so that would be like 2-3 seconds or around there. And when you want to return back to normal speed, in your script after the fact, just put:
SetAccTime 1
And voila, hope thats what you wanted. ;D