Home   Help Search Login Register  

Author Topic: Driver's eye view  (Read 673 times)

0 Members and 1 Guest are viewing this topic.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Driver's eye view
« on: 20 Feb 2003, 17:19:04 »
I'm making an Intro.    One of the camera shots I want is the view that the driver of a tank has.  How do I do that?

I've tried

_camera camSetPos getPos driver

which is fine as far as it goes, but it doesn't give you the view that the player would have if he was driving the tank, which is what I'm trying to achieve.

Many thanks.
Plenty of reviewed ArmA missions for you to play

Offline Blanco

  • Former Staff
  • ****
Re:Driver's eye view
« Reply #1 on: 20 Feb 2003, 21:53:26 »
You can use driver switchcamera "internal"

There's a tutomission about it in de editor depot...
http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=-1&catselected=-1_-1&category=-1&subcategory=-1_-1&numreturn=25&displayformat=0&ofpv=1&searchstring=switchcamera&searchwhat=1&searchlevel=0&searchopts=1

The Switchcamera command a not well known. It is however very usefull.

This tutorial will show you how to see the inside of All vehicles and each position in these vehicles. And this is from any unit you choose to see through.

You can do this at the start middle or at the end of a cutscene.
Or you can use this anytime by just using scripting. Scripting is an important part in this command.
Have you ever wanted to view through the sniper scope, well you can do this with the Switchcamera Command.
An example mission a included with scripts so you can see how it is done.
Hope you all enjoy this!




 
Search or search or search before you ask.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Driver's eye view
« Reply #2 on: 22 Feb 2003, 18:21:21 »
We must have too many tutorials, I missed that one.     Thanks Blanco!  :)
Plenty of reviewed ArmA missions for you to play

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Driver's eye view
« Reply #3 on: 24 Feb 2003, 19:26:53 »
The switchcamera command is actually pretty straight forward. I was able to use them with no problem.

The only hang up I had is figuring out that you have to terminate your other cameras first.

For those who don't want to download a tutorial, here is a sample snippet that switches from a normal cutscene camera to the first person of a soldier view smoothly:

Code: [Select]
;//_camera code goes above here

;//Fade out to black before making the switch

titlecut["","black out",0.1]
~0.11

;//terminate "_camera"

_camera cameraEffect ["terminate","back"]
_camera camCommit 0

;//Switch camera view to "enemydude's" view

enemydude switchcamera "internal"

;;//fade back in

titlecut["","black in",0.1]

I suppose when you want to switch back to YOUR view, you would just do:

player switchcamera "internal"
« Last Edit: 24 Feb 2003, 19:27:41 by toadlife »
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.