Home   Help Search Login Register  

Author Topic: Black Screens and Burning Vehicles  (Read 1759 times)

0 Members and 1 Guest are viewing this topic.

rfountain

  • Guest
Black Screens and Burning Vehicles
« on: 21 Sep 2002, 22:00:20 »
Hi All,

I have two questions that need answering before I can complete my cutscene

1.  I am making a cutscene in which I need to have the screen fade to black and stay completely black for n number of seconds and to say in text "20 Minutes Later".  I need this because I need to give the impression of the advancement of time, and I need to change the scene by moving units around using setPos, and I don't want the view to see.  

When the time is up I need the scene to fade out from black to see the new changed scene.  

I can get the fade/black in and fade/black out to work but cannot get any of the listed black or fade commands to keep the screen black for n number of seconds.


2.  I think this was answered before but I cannot locate the post.  I need to find the command to get destroyed vehicles to continue to burn, like the trucks in the Resistance Campaign cutscene of the aftermath of the battle after the meeting with the General and the Resistance leader.

And direction, suggestions, and/or solutions would be of great help.

Thanks again in advance.

Robert :D

Gameer_77

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #1 on: 21 Sep 2002, 22:51:44 »
To black out:

titlecut [" ","BLACK OUT",#] (Time in #)

To black in:

titlecut [" ","BLACK IN",#] (Time in #)

To print something when either of these is happening:

titletext ["Text in here","PLAIN"] (You can also use "PLAIN DOWN" instead of plain)

For the fire thing, i don't have a link, but if you search for "Drop" and "Fire", then you'll find something.  :)

 8)PEACE

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Black Screens and Burning Vehicles
« Reply #2 on: 22 Sep 2002, 04:31:33 »
What you're after is a pause between the commands... eg:

titlecut ["","BLACK OUT",5]
~5 <--waits for the screen to be completely black
setpos blah etc...
~2 <--waits 2 seconds while the screen is black
titlecut["","BLACK IN",5]

That will give you pause while the screen is dark, rather than just fading in and fading out straight away ;)

rfountain

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #3 on: 24 Sep 2002, 04:31:56 »
Hi,

I tried the fadeout and fade in with a delay in between but it still does not work.

This is what I have so far:

; fade back in over 10 seconds
titlecut [" ","BLACK IN",10]

~10

ColStuart playmove "FXStandFromTable"

ColStuart setPos [1614, 5370]
Silvers_1 setPos [1610, 5369.42]
Wess_1 setPos [1609.97, 5368.85]
Tuttle_1 setPos [1609.26, 5367.59]
Landers_1 setPos [1609.79, 5371.16]

Silvers_1 doStop
Wess_1 doStop
Tuttle_1 doStop
Landers_1 doStop

Silvers_1 doWatch "Table"
Wess_1 doWatch "Table"
Tuttle_1 doWatch "Table"
Landers_1 doWatch "Table"

; fade in over 4 seconds
titlecut ["0620 BRIEFING","BLACK IN",4]

~4

As soon as it fades out it does not stay faded out but flashes back to full view and after the 10 seconds there is another flash and a fade in that lasts 4 seconds.  

The whole time the screen is never completely black.

Any ideas?

Also any ideas on the second question would be helpfull as well.

Gameer_77

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #4 on: 24 Sep 2002, 10:12:19 »
Well, it the start you have it going:

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

When it should be:

titlecut [" ","BLACK OUT",10]  (This is if you want it to fade out)

Then, you use:

titlecut [" ","BLACK IN",4] (to fade back in)

 8)PEACE

Pope_Zog

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #5 on: 25 Sep 2002, 16:29:17 »
Re: Question 2

De-PBO the resistance campaign and take a look at the mission x10WhenFightEnds.Noe.

It uses separate scripts to generate fire, sparks and smoke in a specific point. A fourth script executes these three so that only one line of scripting is needed to create the effect.

See where the Intro.sqs executes the script firesource.sqs, and where the latter executes the scripts for fire, smoke and sparks.

Pope Zog

rfountain

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #6 on: 27 Sep 2002, 02:29:48 »
Cool, I will try the PBO thang to see what I can find.

As for the blacked out screne, that was a goof on my part in putting in that typo.   I tried it using the corrected code and it still does not maintain a blacked out screen:

; fade back in over 10 seconds
titlecut [" ","BLACK OUT",10]

~10

ColStuart playmove "FXStandFromTable"

ColStuart setPos [1614, 5370]
Silvers_1 setPos [1610, 5369.42]
Wess_1 setPos [1609.97, 5368.85]
Tuttle_1 setPos [1609.26, 5367.59]
Landers_1 setPos [1609.79, 5371.16]

Silvers_1 doStop
Wess_1 doStop
Tuttle_1 doStop
Landers_1 doStop

Silvers_1 doWatch "Table"
Wess_1 doWatch "Table"
Tuttle_1 doWatch "Table"
Landers_1 doWatch "Table"

; fade in over 4 seconds
titlecut ["0620 BRIEFING","BLACK IN",4]

It fades out to compeletly black for a fraction of a second and then flashes back to a full screne.

If anyone can try it on their PC and let me know if they can get to work and what they did to fix it.


Thanks


crow

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #7 on: 28 Sep 2002, 07:27:46 »
Is this a cutscene during the mission or do you mean an intro?
The reason I ask is I believe the problem is you need to disable user input.  I may be wrong but try that. :cheers:

rfountain

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #8 on: 28 Sep 2002, 08:01:16 »
The cutscene is an intro and I am not sure if user input is a factor but I will give it a try.

Offline KTottE

  • Former Staff
  • ****
Re:Black Screens and Burning Vehicles
« Reply #9 on: 28 Sep 2002, 10:26:18 »
I've had some problems with keeping it faded out too, so try this (it's worked for me)

titleCut["","BLACK OUT",10]
~0.01
titleCut["","BLACK IN",0.01]
~0.01
titleCut["","BLACK OUT",0.01]

Script here

titleCut["","BLACK IN",5]


It looks weird and stupid, I know. But it works, at least for me.


Wait, I know what yer doing wrong. Your script will have it wait for 10 seconds before moving on after the first titleCut. That just about covers the fade out.
Directly after the fade out, all the commands will be executed, and the fade in will come directly after.

Try this instead.

Code: [Select]
; fade back in over 10 seconds
titlecut [" ","BLACK OUT",10]

~30 !!!!Anything above 10 will be the pause here, so 30 equals a 20 second pause, 20 equals a 10 second pause, and 100 equals a 90 second pause ;D

ColStuart playmove "FXStandFromTable"

ColStuart setPos [1614, 5370]
Silvers_1 setPos [1610, 5369.42]
Wess_1 setPos [1609.97, 5368.85]
Tuttle_1 setPos [1609.26, 5367.59]
Landers_1 setPos [1609.79, 5371.16]

Silvers_1 doStop
Wess_1 doStop
Tuttle_1 doStop
Landers_1 doStop

Silvers_1 doWatch "Table"
Wess_1 doWatch "Table"
Tuttle_1 doWatch "Table"
Landers_1 doWatch "Table"

; fade in over 4 seconds
titlecut ["0620 BRIEFING","BLACK IN",4]

Man, can't believe I overlooked that one, lol.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

crow

  • Guest
Re:Black Screens and Burning Vehicles
« Reply #10 on: 29 Sep 2002, 09:09:08 »
I had a brain cramp on that one. :wow:
I bow down to KlottE
 :cheers: