Jump to content
Sign in to follow this  
pazuzu

Blackout at start of mission

Recommended Posts

How do I have screen blacked out right at beginning of mission?

I tried using: titlecut ["","BLACK out",2] in the init.sqs

But there is a short delay as it goes to blackout so that mission area is visible for a moment before it completely blacks out.

I want it to be black right from start just for a few seconds.

Thanks.

Share this post


Link to post
Share on other sites

Try:

titlecut ["","BLACK IN",10]

or whatever time you want. If you want it to be dark for a long time use 99999 or some other large number

Share this post


Link to post
Share on other sites

I tried that and it doesn't start black right away. There is a delay before it goes completely black.

I want this for the mission where players start in halo jump. The chutes I place the units in are visible for a second before they are deleted.

I just want a few seconds of black to allow time for players to eject from chutes & have chutes deleted so it appears as though players are just falling right from start of mission.

Thanks again.

Share this post


Link to post
Share on other sites

Try to put this in the init

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

@Time==0

titlecut ["","BLACK out",0]

Klavan

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

titleText [" ","BLACK IN",9999]; 0 fadesound 0

~1

titleText [" ","BLACK IN",1]; 1 fadesound 1

If you use this in the init.sqs the screen is black and there is no sound for one second after the briefing. Then both fades in, in one second.

It's important to use the init.sqs for it, as init lines of units are a little bit later executed.

Share this post


Link to post
Share on other sites

Looks like one of those 'suck it and see' type of problems. The last two code lines of my init.sqs are:

titlecut ["","BLACK IN",99999]

exit

and my mission starts of black, no pause.

Share this post


Link to post
Share on other sites

Oh ok, I never tried puting a huge number in like that...

I'll test it.

Thanks.

Share this post


Link to post
Share on other sites

Pazuzu, probably you just didn't realize that Thobson

is using BLACK IN, while you're using BLACK OUT.

BLACK IN = from BLACK to light

BLACK OUT = from light to BLACK

you get what i mean?

:edit

@Trapper

Quote[/b] ]It's important to use the init.sqs for it, as init lines of units are a little bit later executed

Here it's the first in first out method which you need to consider.

The init-field of the first unit being placed in editor, will become executed first - the init-field of the last unit being

placed in editor will be executed last.

If you place the player unit first on the map, just try to use

the code in it's init-field, and you'll see that it will work also wink_o.gif

~S~ CD

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×