OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma3 - Editing/Scripting General => Topic started by: Binary on 13 Apr 2013, 17:38:27

Title: Camera - black screen, fade in
Post by: Binary on 13 Apr 2013, 17:38:27
Hi folks,

I knew i got this to work in OFP somehow. But i can't for the life of me remember how, and all the threads i've found for this, are for OFP.

I have a working camera intro - and basicly I want to start it off, with a black background, displaying a Rsc (TitleRsc["logo","PLAIN"]), and staying with the black background for some 5 seconds. After that, fade into the next _camera command.

Any helpers on this?
Title: Re: Camera - black screen, fade in
Post by: h- on 13 Apr 2013, 18:26:27
Code: ("sqf") [Select]
cutText ["","BLACK FADED",999999]; //all black from the start
sleep 1; //if script is run at mission start ensures that the 'automatic' fade in at mission start has passed
titleRsc["logo","PLAIN"];
sleep 5;
cutText ["","BLACK IN",3]//fade out to the camera stuff

Just remember to create and setup the first camera stuff before doing that fade in..
You also may want to add the third (speed) attribute to the titleRsc to ensure it lasts long enough. :dunno:
Title: Re: Camera - black screen, fade in
Post by: Binary on 14 Apr 2013, 22:46:24
Fantastic  :good:
Title: Re: Camera - black screen, fade in
Post by: Rytuklis on 04 May 2013, 09:09:07
What... Is it really that difficult and different to do in ARMA III?
Title: Re: Camera - black screen, fade in
Post by: h- on 04 May 2013, 09:19:03
It's been like that since Arma 1.

At least I never found any other way since the game has the default fade in at mission start which messes things up (doesn't mean there isn't some other way though)..