Author Topic: Gestalt's Cutscenes - help with final camera angle and distance.  (Read 405 times)

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0


               Posted this to the scripting forum before I realized it's probably is more a custom content question.

Using Gestalt's great cutscene scripts, here's the (seemingly) simple thing that I wish to do.

When
the cutscene ends, I want to leave the camera angle and distance
exactly were is after the final cutscene camera move, I don't want it to
snap back to the pre-cutscene camera angle and distance.  I've been
trying to figure this out for about a day, so so far, nothing seems to
work.

Any help would be greatly appreciated. 
               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Gestalt's Cutscenes - help with final camera angle and distance.
« Reply #1 on: August 11, 2013, 02:52:33 pm »


               You can set the stored camera facing, which is what gets restored when the cutscene ends, using this:

AssignCommand(oPC,StoreCameraFacing());

Just call this once you get to the last camera facing you want before you end the cutscene. At least that's what the documentation implies. I have not tested this...

meaglyn
               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Gestalt's Cutscenes - help with final camera angle and distance.
« Reply #2 on: August 11, 2013, 03:41:18 pm »


               That was one of the things I tried.  I didn't work.  It seems that when you do a cutscene, it changes what is stored via StoreCameraFacing().
               
               

               


                     Modifié par 3RavensMore, 11 août 2013 - 02:43 .
                     
                  


            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Gestalt's Cutscenes - help with final camera angle and distance.
« Reply #3 on: August 11, 2013, 06:43:11 pm »


               Starting cutscene mode stores the camera facing, so yes. I meant do another store near the end of the cutscene, when you have the camera where you want it. The trick would probably be delaying it properly so that it happened at the right time in the cutscene sequence.

Did you try setcamerafacing(..., SNAP) at the end?