OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SandVoss on 02 Jun 2004, 13:06:21

Title: Slowmotion cutscenes?
Post by: SandVoss on 02 Jun 2004, 13:06:21
I'm sure lots of you have seen cutscenes and intro's which are in slowmotion, for example in some of the FDF missions. But does anybody know how to do this? I've been trying to figure out how to get my intro to be in slowmotion, but I just cant work it out.  ???

Anyone have an example of a script to do this, and a bit of an explanation of how it works? Thanks in advance! :D
Title: Re:Slowmotion cutscenes?
Post by: Butler on 02 Jun 2004, 17:20:24
You must use the "setacctime 0.5" for example. Goes from 0.1- 4 I think. Not really sure. But "setacctime 1" switches to normal time again. Hope that helps  :)
Title: Re:Slowmotion cutscenes?
Post by: h- on 02 Jun 2004, 18:30:27
I think you can have as slow as setAccTime 0.01... ???

But definately (I've tested this...) you can have setAccTime 100 for example, and that's pretty fast... ::)
Doesn't take you much time to run through Nogova... :P
Title: Re:Slowmotion cutscenes?
Post by: dmakatra on 02 Jun 2004, 18:51:17
Be aware of setacctime though. Too high will 'cause some serious lag.

:beat: *Gets Shot* :beat:
Title: Re:Slowmotion cutscenes?
Post by: General Barron on 03 Jun 2004, 03:10:35
Quote
I think you can have as slow as setAccTime 0.01...


You can have as low as setacctime 0. That makes everything freeze, and the only way to get things moving again is to have the player press the + key.

And FYI, whatever number you put next to setacctime, that means time will run that many times faster. So setacctime 2 means time runs twice as fast, and setacctime 0.5 means it runs half as fast. This affects ~delays in scripts too.
Title: Re:Slowmotion cutscenes?
Post by: SandVoss on 03 Jun 2004, 05:20:46
Thanks for the info, but how do i incorporate this into my camera script?

Ive tried putting in "setAccTime 0.01", and [this set "setAccTime 0.01"]
but it has no effect. Does anybody have an example of how to put this in properly?
Title: Re:Slowmotion cutscenes?
Post by: SandVoss on 03 Jun 2004, 09:00:30
Never mind, i already figured it out...  ;D