Home   Help Search Login Register  

Advertisement

Author Topic: Camera - black screen, fade in  (Read 3273 times)

0 Members and 1 Guest are viewing this topic.

Offline Binary

  • Members
  • *
Camera - black screen, fade in
« 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?
"Ah.. Home sweet hell !" - Al Bundy

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Camera - black screen, fade in
« Reply #1 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:
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Binary

  • Members
  • *
Re: Camera - black screen, fade in
« Reply #2 on: 14 Apr 2013, 22:46:24 »
Fantastic  :good:
"Ah.. Home sweet hell !" - Al Bundy

Offline Rytuklis

  • Members
  • *
Re: Camera - black screen, fade in
« Reply #3 on: 04 May 2013, 09:09:07 »
What... Is it really that difficult and different to do in ARMA III?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Camera - black screen, fade in
« Reply #4 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)..
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.