Home   Help Search Login Register  

Author Topic: Why wont u frickin black out?  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Gooner861

  • Guest
Why wont u frickin black out?
« 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 .
« Last Edit: 07 Jun 2004, 13:01:21 by Gooner861 »

ponq

  • Guest
Re:Why wont u frickin black out?
« Reply #1 on: 07 Jun 2004, 13:09:18 »
why not use "titletext" instead of titlecut?

Gooner861

  • Guest
Re:Why wont u frickin black out?
« Reply #2 on: 07 Jun 2004, 13:11:13 »
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 >:(

Gooner861

  • Guest
Re:Why wont u frickin black out?
« Reply #3 on: 07 Jun 2004, 13:19:16 »
Nah that didnt work either, it blacks out but then just flicks straight back to the last scene.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Why wont u frickin black out?
« Reply #4 on: 07 Jun 2004, 13:28:11 »
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  ::)
« Last Edit: 07 Jun 2004, 13:28:46 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

ponq

  • Guest
Re:Why wont u frickin black out?
« Reply #5 on: 07 Jun 2004, 13:36:58 »
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)
Code: [Select]

;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.
« Last Edit: 07 Jun 2004, 13:37:59 by ponq »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Why wont u frickin black out?
« Reply #6 on: 07 Jun 2004, 14:36:41 »
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.
Plenty of reviewed ArmA missions for you to play

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Why wont u frickin black out?
« Reply #7 on: 07 Jun 2004, 15:54:57 »
Quote
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... ::)
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Why wont u frickin black out?
« Reply #8 on: 07 Jun 2004, 16:09:22 »
You're lucky, it's never done that for me.   :'(
Plenty of reviewed ArmA missions for you to play

Gooner861

  • Guest
Re:Why wont u frickin black out?
« Reply #9 on: 07 Jun 2004, 16:40:10 »
Problem solved macguba's things helped cheers  ;D . Thanks everyone for help.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Why wont u frickin black out?
« Reply #10 on: 07 Jun 2004, 18:08:58 »
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  ;)
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.