OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 07 Jun 2004, 13:00:17
-
This is the end of my outro, so i want it to black out and then with the screen black i want to add credits etc. but for sum reason it'll black out than go back to the last shot >:( .
_camera camSetTarget [99330.86,-5192.03,47336.04]
_camera camSetPos [11520.30,2249.96,0.86]
_camera camSetFOV 0.018
_camera camCommit 0
titlecut ["","BLACK OUT",6]
~5
titlecut ["Blah Blah ","plain down",1]
~3
titlecut ["Blah Blah","plain down",1]
~3
titlecut ["Blah Blah","plain down",1]
~3
titlecut ["Blah Blah","plain down",1]
@camCommitted _camera
~10
_camera cameraeffect ["terminate", "back"]
camdestroy _camera
exit
Wots frickin wrong wit it?
Thank you, gooner ;D .
-
why not use "titletext" instead of titlecut?
-
Please tell me yor aving a laugh...... if ive just spent quite a while moaning bout why it doesnt work and its only cos of titletext im goin to scream. >:( ;D >:(
-
Nah that didnt work either, it blacks out but then just flicks straight back to the last scene.
-
First of all, you don't need the @camcommitted there...
Actually there is not many situations you would need that, I have almost never used it...
And most definately you wont need the @camcommitted when you camera has camCommit 0...
The first titleCut is correct, it blacks out the screen...
After that use titleText...
titlecut ["","BLACK OUT",6]
~5
titleText ["Blah Blah ","plain down",1]
~3
titleText ["Blah Blah","plain down",1]
~3
titleText ["Blah Blah","plain down",1]
~3
titleText ["Blah Blah","plain down",1]
~10
If that doesn't work... well.. then it won't ::)
-
lol, forgot to refresh the page... HateR_Kint said it all.
____________
I tried to play a bit with it myself and titletext did work where titlecut failed.
This code worked for me:
(I did paste your code into my existing intro script)
;viewdistance laag zetten voor fps/lag.
SetViewDistance 500
;camera maken
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]
;=== stel maan
_camera camSetTarget [78712.43,-55127.26,19036.91]
_camera camSetPos [6440.43,11320.00,1.14]
_camera camSetFOV 0.217
_camera camCommit 0
;~3
;***** your part starts here***** I "commented" the first few lines, cos I didn't know where you put the cam
;test
;_camera camSetTarget [99330.86,-5192.03,47336.04]
;_camera camSetPos [11520.30,2249.96,0.86]
;_camera camSetFOV 0.018
;_camera camCommit 0
titlecut [" ","BLACK out",6]
~5
titletext ["Blah Blah ","plain down",1]
~3
titletext ["Blah Blah","plain down",1]
~3
titletext ["Blah Blah","plain down",1]
~3
titletext ["Blah Blah","plain down",1]
@camCommitted _camera
~10
_camera cameraeffect ["terminate", "back"]
camdestroy _camera
exit
;einde test
I'm not sure why it differs, but maybe this helps.
-
The blackout effect does exactly what it says on the tin - it blacks out the screen. When the command expires, in this case after 6 seconds, the effect ends. You need to do something like this
titlecut [" ","BLACK out",6]
blah blah
~6
titlecut ["","BLACK IN",99999]
to keep the screen black.
-
When the command expires, in this case after 6 seconds, the effect ends.
Nope.
The 6 seconds means it takes 6 seconds for the screen to get black, it's the 'speed' of the fade to black...
I put titleCut ["","Black Out",6] in a missions init.sqs and the screen has been black now for 2 minutes... ::)
-
You're lucky, it's never done that for me. :'(
-
Problem solved macguba's things helped cheers ;D . Thanks everyone for help.
-
You're lucky, it's never done that for me. :'(
???
Well this is the weirdest thing I've heard in a while...
I've used the black out stuff like this since the beginning (of OFP, not me ;D ) and it has always worked for me...
???
Well, that's just OFP apparently ;)