Jump to content
Sign in to follow this  
acidcrash

Cameras, and effects

Recommended Posts

hi,

I was wondering if anyone could give me any help here:

at the start of the mission, i want it to start as a black screen and fade out slowly. Reason: I am in a helo and need it to get upto speed, also for a brief message to be displayed (ie the white text, centered on the screen).

So far all i have been able to do is make it fade to black then fade back, but not immediatly...

anyone got any suggestions?

thanks

**Acidcrash

Share this post


Link to post
Share on other sites

hi acid,

the fadeout thing:

TitleCut [" ","BLACK IN",1]

enter higher numbers than 1 to lengthen the fade-effect

the brief message:

titletext ["enter your message here","PLAIN",4]

hope i could provide some help smile.gif

greetz

Thomas

Share this post


Link to post
Share on other sites

um excuse my ignorance, but is that in a script file? trigger? or what?

lol right now i dont have a clue what to do with that confused.gif

but thanks for responding anyway

Share this post


Link to post
Share on other sites

hi Acidcrash,

yes that's part of a script, normally called "intro.sqs".

;intro.sqs

TitleCut [" ","BLACK IN",1]

;play with the number to get a nice fade

_camera = "camera" CamCreate  [x,y,z]

;x,y,z are the coordinates where the cam stands

_camera camSetTarget nameofhelo

;target is your helo

_camera cameraEffect ["internal","back"]

_camera camSetFOV 0.700

_camera camCommit 1

@camCommitted _camera

TitleCut [" ","BLACK OUT",4]

player cameraEffect ["terminate","top"]

titletext ["your text","PLAIN",2]

;enter your text

camDestroy _camera

exit

;end of script

ok that's a short script which just shows your helo smile.gif

just enter the coordinates

greetz

Thomas

Share this post


Link to post
Share on other sites

Acidcrash: just create a file, called: init.sqs

in the folder, where your misssion.sqm is located.

The init.sqs will be executed automatically by the

game, before it starts the mission.

Use the titlecut there, but change the delay from 1 to 5

TitleCut [" ","BLACK IN",5]

Nothing else' required in this file.

This is just the fade in from black, not the message,

but the message you can do with a trigger.

~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  

×