Home   Help Search Login Register  

Author Topic: Cutscene Fade Out not working  (Read 419 times)

0 Members and 1 Guest are viewing this topic.

Kaarna.fi

  • Guest
Cutscene Fade Out not working
« on: 29 Nov 2003, 22:12:29 »
Hi guys

I'm new to the forums and I'm sorry that my first post has to be a whining call for help with my very basic cutscene.

So the mission is a basic seek & destroy mission. First, the cutscene shows the Eastern base at Le Moule and then turns to the brave Resistance fighters that are moving towards the area in a truck. Or so it should.

Problem is, that as the cutscene is supposed to fade out and the script supposed to end, the fade out becomes permanent and all you can hear is the truck rumbling. So the Fade out from the script extends to the actual mission (?).

This is my "intro.sqs", can anyone spot what's wrong? I've tried to figure what's wrong with Snypir's and Archangel Scream's camera script tutorials:

_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]

_cam camsettarget east
_cam camsetrelpos [5,5,1]
_cam camcommit 0
@camcommitted _cam

titlecut ["Le Moule","BLACK IN",2]
~2

_cam camsettarget east
_cam camsetrelpos [5,5,1]
_cam camcommit 0
@camcommitted _cam
~5

_cam camsettarget east2
_cam camsetrelpos [5,1,5]
_cam camcommit 1
@camcommitted _cam
~5

_cam camsettarget east3
_cam camsetrelpos [5,1,1]
_cam camcommit 2
@camcommitted _cam
~5

_cam camsettarget east4
_cam camsetrelpos [5,3,1]
_cam camcommit 3
@camcommitted _cam
~5

titlecut ["","BLACK OUT",2]

~2

_cam cameraeffect ["terminate", "back"]
camdestroy _cam

exit

I think the problem is towards the end, but I can't figure it out  ???

deaddog

  • Guest
Re:Cutscene Fade Out not working
« Reply #1 on: 30 Nov 2003, 01:15:48 »
Your script ends but do you actually end the intro?

You have to have an end#1 trigger in the intro to get it to complete, or possibly try the "ForceEnd" command at the end of your script.


To do the trigger, put this in your init.sqs file:

endintro=false

Now create an end#1 trigger in your intro and put this in the condition field:

endintro

Now, at the end of your intro script, before the exit, type this:

endintro=true



You have to end the intro and outro just like a mission ends.

Kaarna.fi

  • Guest
Re:Cutscene Fade Out not working
« Reply #2 on: 30 Nov 2003, 08:15:16 »
Hmm... the cutscene takes place during the Mission, because I didn't know how to end Intros... Perhaps I'll give showing the "intro.sqs" in the Intro before the briefing a try.

But if that doesn't work out, maybe I'll just try to do the cutscene again.

Thanks :)

deaddog

  • Guest
Re:Cutscene Fade Out not working
« Reply #3 on: 30 Nov 2003, 15:05:31 »
Oh, in that case you have to fade back in:

titlecut ["","BLACK IN",2]