Home   Help Search Login Register  

Author Topic: Camera following a unit which is inside the vehicle  (Read 2574 times)

0 Members and 1 Guest are viewing this topic.

Offline Rytuklis

  • Members
  • *
Camera following a unit which is inside the vehicle
« on: 29 Jan 2013, 20:17:44 »
If somone still remembers, there was this cutscene in the Red Hammer campaign on the first mission, where the camera follows Dimitry Lukin's face as he swims inside the boat (Link: http://www.youtube.com/watch?feature=player_detailpage&v=FUcfa4LRyBM#t=285s)

How do i do that?

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: Camera following a unit which is inside the vehicle
« Reply #1 on: 29 Jan 2013, 23:47:00 »
Step 1: search this forum for "depbo red hammer campaign"
Step 2: use what you learn to extract the Red Hammer campaign files
Step 3: load up the intro in the editor
Step 4: look at the scripts in the mission folder
Step 5: copy the method and by trial and error understand how it works
Step 6: do it for your own intro

Not difficult, and requires only a little effort. Good luck  :good:

Offline Gruntage

  • Missions Depot
  • Administrator
  • *****
  • How do I get outta this chickensh*t outfit?
Re: Camera following a unit which is inside the vehicle
« Reply #2 on: 29 Jan 2013, 23:55:44 »
You basically use a camsetRelPos loop (I think).

Some very sage advice from Bedges. You can learn a great deal from existing missions and campaigns (not just those made by BIS).
« Last Edit: 29 Jan 2013, 23:59:56 by Gruntage »
"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba

Offline Rytuklis

  • Members
  • *
Re: Camera following a unit which is inside the vehicle
« Reply #3 on: 30 Jan 2013, 12:27:17 »
I should search for my OFP CD , it includes red hammer  :clap:. Will look into redhammer.pbo and will share the solution with everyone, so everyone would know!