Home   Help Search Login Register  

Author Topic: Mission starting "black in" Titlecut??  (Read 518 times)

0 Members and 1 Guest are viewing this topic.

Uber-Pea

  • Guest
Mission starting "black in" Titlecut??
« on: 14 Jun 2004, 13:31:32 »
Hiho guys, I've got a problem, but i guess its nothing serious.
So, I'm currently working on an MP-coop-mission, but as we all know, they don't support intros.
So my idea was setting a cutscene inside the actual mission before the player can't do anything and to override the loading time of the coc_obelisk, etc...
No everything works fine, I have a presence activated trigger that is activated directly when the mission starts, runs camera.sqs and all. BUT, you see half a second of your player before the cutscene begins, thats not too bad, but it could be removed, im sure. Now, setting a blackin at the beginning of the camera.sqs doesnt work of course, as the trigger needs its time anyway (I guess). So where to put it else. I considered somewhere in the mission.sqm, but im pretty sure that won't help. Maybe in the description.ext?

Where to put the blackin command to work directly when the mission begins?

Uber-Pea


And remember: You can't play my beautiful missions if you dont give detailed answers :-)

*He who is still surprised about the huge -and still alive- community of ofp.*

andersgrim

  • Guest
Re:Mission starting "black in" Titlecut??
« Reply #1 on: 14 Jun 2004, 14:44:03 »
I mainly just put the effect in the init.sqs file as I want to launch it on the misionstart, but if you run a cutscene at the beginning, you just add this effect at the end of the cutscenescript.  ;)

MSG Bushmaster

  • Guest
Re:Mission starting "black in" Titlecut??
« Reply #2 on: 14 Jun 2004, 22:36:55 »
I also like putting the intro scenes in the init script because they launch as soon as the mission does without pause. I usually use a command at the beginning of the init that is similar to this......

cuttext ["","Black In",0.7]
~0


_cam1 = "camera" camcreate [0,0,0]
_cam1 cameraeffect ["internal","Back"]
_cam1 camsettarget jo
_cam1 camsetrelpos [-10,22,6]
_cam1 camcommit 0
@ camcommitted _cam1
~8
 

Hope this helps some.