Home   Help Search Login Register  

Author Topic: OFP ignores "BLACK FADED" ??  (Read 1738 times)

0 Members and 1 Guest are viewing this topic.

Offline Rytuklis

  • Members
  • *
OFP ignores "BLACK FADED" ??
« on: 25 Jul 2013, 17:33:14 »
I'm having a little problem with the cutscene script here:

Code: [Select]
; ****************************************************************
; Script file for Armed Assault
; Created by: TODO: Author Name
; ****************************************************************

_camera = "camera" camCreate [7682.46,5350.85,2.00]
_camera cameraEffect ["internal","back"]

0 fadesound 0

showcinemaBorder false

titlecut ["","BLACK FADED",2]
~2
titlecut ["Rytuklis presents..","BLACK FADED",2]
~2
titleCut ["Rytuklis presents..","BLACK OUT",3]

3 fadesound 0.5

_start = _time
#camloop
_camera camsettarget car1
_camera camsetRelpos [-2, 3, 2]
_camera camcommit 0

? !(_time >= (_start + 9)) : goto "camloop"

~4

_start = _time
#camloop1
_camera camsettarget car1
_camera camsetRelpos [3, -2, 2]
_camera camcommit 0
~0.01

? !(_time >= (_start + 9)) : goto "camloop1"

What happens is that at the start, instead of showing the black screen for the specified time, it starts immediatly FADING OUT at mission start, regardless if i use "BLACK IN" or "BLACK OUT'. Help?

Offline Lenyoga

  • Professor of Misanthropology
  • Members
  • *
Re: OFP ignores "BLACK FADED" ??
« Reply #1 on: 25 Jul 2013, 21:11:58 »
The cinematic commands in OFP/CWA are a bit of a mystery. Some have the same function, but are named differently. I tested it and saw what you mean, and just used a little workaround:

Code: [Select]
titlecut ["","BLACK IN",1000]
~2
titlecut ["Rytuklis presents..","BLACK IN",1000]
~2
titleCut ["Rytuklis presents..","BLACK IN",3]

This way, the fade-in takes long enough to give the impression that the screen is fully black. Otherwise you could also do the same and just overlay a titleText command instead of the second titleCut, which would just be a shorter titleCut without text and only fade. I hope this helps!
As a grandmother I've got lots of gold.

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: OFP ignores "BLACK FADED" ??
« Reply #2 on: 07 Aug 2013, 06:37:18 »
From my own experience, "BlackFaded" has worked before. It could have been in OFP and Not CWA though. It works as an instantaneous black out, not a fade.