OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Blanco on 13 Jul 2003, 02:19:08

Title: Freeze!
Post by: Blanco on 13 Jul 2003, 02:19:08

I've made an intro where a f14 tomcat attacks a shika, when he fires his mavericks a camera follows the missile (with an EH), when the missile is about 60m from the shilka, the camera changes to a followcam between the shilka & the missile.This all works now
but...
When the shilka's hit I want to freeze the scene

but when I try :

Camscript...
...
@isnull _missile :goto "slomoexplo"


#slomoexplo
~0.5
;;scene freeze
Setacctime 0
;;now I want some text shown with titletext..like in the trialer of an old action movie :)
~5
;;The explosion continues
Setacctime 1
etc...

The titletext doesn't work cos I think time stops & the ~5 does'nt matter anymore, the clock stops...

Is there a workaround for this?

Hope U understand the Q :-\




Title: Re:Freeze!
Post by: Sui on 13 Jul 2003, 04:52:50
Hmmm....

If you use: setacctime 0, you quite literally stop the mission, and it will never start again....

I suggest using setacctime 0.01 (or some other small value), and scaling down your pauses to suit.

For instance, you don't want to use ~5, as that will seem to take ages on that sort of acctime. You'll need to adjust that to say, ~0.5 or something similar.

Anyway, I suggest you play around with different values until you get the effect you are after ;)
Title: Re:Freeze!
Post by: Blanco on 13 Jul 2003, 12:19:09
thx,

yeah, u r right about the 5s delay, I try it with a small value and instead of titletext I use custom text with euh... cutrsc or something, i know how but right now i have to resume that part :) Let u know when it works...