Home   Help Search Login Register  

Author Topic: Binoculars  (Read 623 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
Binoculars
« on: 23 Dec 2004, 23:36:34 »
I'm using the binocular overlay in my intro using the

cutrsc ["binocular","PLAIN DOWN",20]  

Command & that works fine but for some reason it cancels out my Titlecut text.

I cant get any text to appear in the cutscene now.

What am I doing wrong?

Thanks

Gooner861

  • Guest
Re:Binoculars
« Reply #1 on: 23 Dec 2004, 23:49:28 »
Here's a little chunk of a script i got with this in:

Quote
;=== 15:38:39
_camera camSetTarget wayne
_camera camSetPos [3321.53,7795.68,1.54]
_camera camSetFOV 0.407
_camera camCommit 0
@camCommitted _camera
~2

_camera camSetTarget truck1
_camera camSetFOV 0.1
_camera camCommit 0
@camCommitted _camera
titlersc ["binocular","PLAIN DOWN"]
titletext["Merry Christmas everyone.","PLAIN DOWN",]
~8

Works fine for me.

Hope it helps.

Gooner
« Last Edit: 23 Dec 2004, 23:50:01 by Gooner »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Binoculars
« Reply #2 on: 23 Dec 2004, 23:50:35 »
According to the comref Titlecut is obsolete anyway.

Have you tried using cutText or Titletext instead?


Planck
I know a little about a lot, and a lot about a little.

pazuzu

  • Guest
Re:Binoculars
« Reply #3 on: 24 Dec 2004, 02:04:24 »
I got it to work...

I was just wondering about the titletext though.

titletext["Quest for Osama","PLAIN DOWN",1]

If I change the 1 to 0 it doesn't show(makes sense)

But if I change to 2 or higher the text wont go away...

I dont get that.

I thought that number dictated how long the text would appear for.

Thanks for the help.

AK-Chester

  • Guest
Re:Binoculars
« Reply #4 on: 24 Dec 2004, 02:44:48 »
That's one of the differences between titleCut (which - obsolete or not - still works fine for me) and titleText. That third parameter doesn't work with titleText, at least OFP ignores it.

To make titleText disappear before it's time (here: after one second):
Code: [Select]
titleText ["Quest for Osama", "PLAIN DOWN"]
~1
titleText ["", "PLAIN"]
This way there is no fade out effect though.

pazuzu

  • Guest
Re:Binoculars
« Reply #5 on: 24 Dec 2004, 03:11:06 »
Ok, that makes sense....Thank you.