Home   Help Search Login Register  

Author Topic: Getting a view through binocs  (Read 571 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
Getting a view through binocs
« on: 20 Apr 2003, 15:00:53 »
hi
i have seen on ertain missions that during an intro you get a vew through binoculars.
I just want to know how to do this and how to get them pointing at the tank i want.
cheers :D
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Getting a view through binocs
« Reply #1 on: 20 Apr 2003, 15:12:08 »
You need snYpir's Intro to Camera Scripting.    Which is one of these must read tutorials.   Follow it with messiah's camera.sqs tutorial.
Plenty of reviewed ArmA missions for you to play

Knut Erik

  • Guest
Re:Getting a view through binocs
« Reply #2 on: 20 Apr 2003, 15:12:57 »
Here ya go..

cutrsc ["binocular", "plain"]
showcinemaborder false
_camera camSetTarget Tank
_camera camSetPos getpos yourman
_camera camSetFOV 0.231
_camera camCommit 0

And here is the explaining :

cutrsc ["binocular", "plain"] : Makes the screen look like a binocular

showcinemaborder false : Removes the black line at the top and at the bottom during the cutseene

The rest are usual camera commands.
To get the screen look normal again :

CutRSC ["Default","Plain Down"]
showcinemaborder true


Just ask for further explanation if you need  ;D

Offline punisher

  • Members
  • *
Re:Getting a view through binocs
« Reply #3 on: 20 Apr 2003, 15:47:56 »
sorry but that just makes the bioculars apear behind the player.
do i exec it in a trigger or the mans init?
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Getting a view through binocs
« Reply #4 on: 20 Apr 2003, 16:45:17 »
In a camera script.

You might want to read the switchcamera tutorial too.  ;)
Plenty of reviewed ArmA missions for you to play

Offline punisher

  • Members
  • *
Re:Getting a view through binocs
« Reply #5 on: 20 Apr 2003, 20:13:31 »
Gaaaaah (brain pains)

i cant be bothered reading pages of stuff i will just leave it for now
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Getting a view through binocs
« Reply #6 on: 20 Apr 2003, 20:28:14 »
lol I know how you feel ... it's not difficult, come back to it.
Plenty of reviewed ArmA missions for you to play