Home   Help Search Login Register  

Author Topic: Switchcamera cargo view  (Read 599 times)

0 Members and 1 Guest are viewing this topic.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Switchcamera cargo view
« on: 17 Jun 2004, 17:21:45 »
It's an Intro.   I've got a chopper flying along with a bunch of loons in the back.    What I want is a shot inside the cabin.

Now I can use switchcamera to get the pilot or gunner's eye view, but I want the view of one of the guys in cargo.   How do I get that?   If I try a switchcamera on any of them directly they are kicked out of the chopper and left on the ground.

Alternatively, is there any way of just getting a shot inside the cabin?   I don't care if its from the viewpoint of one of the loons or not.

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

Offline sim

  • Members
  • *
  • Hot! Real hot! Damn Hot!
Re:Switchcamera cargo view
« Reply #1 on: 17 Jun 2004, 17:57:49 »
hey

There should be away but unfortunatly i dont really no...
your lucky you can even get the switchcamera to work, I can't do it... >:(

sim
The Unsung Campaign Team Leader

Offline Blanco

  • Former Staff
  • ****
Re:Switchcamera cargo view
« Reply #2 on: 17 Jun 2004, 18:19:33 »
Try my Logiccam.

A bit difficult in the beginning but after a while you can create  your "cargo/bumper/roof/...-cam" :)

Check the example
http://users.skynet.be/be-studios/LOGICCAM1.0.zip

Works best with land vehicles or units
Planes and choppers can bank and the camera can't follow that properly.

there's a switchcamera tutorial in the editor depot /tutorials

HERE

 
« Last Edit: 17 Jun 2004, 18:27:02 by Blanco »
Search or search or search before you ask.

ponq

  • Guest
Re:Switchcamera cargo view
« Reply #3 on: 17 Jun 2004, 19:14:07 »
Here, try this:
Code: [Select]
_i =0
#loop
_i = _i + 1
_camera camSetTarget YourHeli
_camera camSetRelPos [0, -5, 0]
; -> This sets the camera relative to your chopper (x, y, z).
_camera camSetFOV 0.624
_camera camCommit 0
~0.01
?(_i<= 200): goto "loop"
 

This assumes you have a camera created already. Play around with the x,y,z adjustments to get the right shot.
Change the max _i value to keep the shot for a longer period of time.

This small piece of code assumes the chopper doesn't change direction too much, preferably keep a straight line.

Gl!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Switchcamera cargo view
« Reply #4 on: 18 Jun 2004, 15:13:47 »
Thanks guys.   I have the switchcamera tute.   The chopper will be moving in a straight line so that helps.   I'll try these out.
Plenty of reviewed ArmA missions for you to play

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Switchcamera cargo view
« Reply #5 on: 22 Jun 2004, 01:25:46 »
OK guys all fixed now, many thanks.   Blanco, your logiccam script was just the thing - works fine on a chopper flying straight and level.    It's for the Intro of my Un-Impossible Mission, final version should hit the beta forum in the next few days.
Plenty of reviewed ArmA missions for you to play