Bridge Commander Central

BC Forums => BC Modding => Topic started by: Lord Tribble on July 26, 2009, 09:37:59 AM

Title: Docked Camera Sweep?
Post by: Lord Tribble on July 26, 2009, 09:37:59 AM
Hi, I?ve been modifying various dry dock hardpoints to make the docking cutscenes work better and came across the code for a 'docked camera sweep'. I know that the cutscenes for entering and leaving the dock are docking camera sweep and undocking camera sweep respectfully. Currently as soon as I dock I get the guy saying hello and then the ship leaves. My question is this: Is there a mod I?m missing that makes the docked camera sweep work, giving a cutscene of the ship fully docked?

Heres the code for the camera in question:

#################################################
DockedCameraSweep1 = App.PositionOrientationProperty_Create("DockedCameraSweep1")

DockedCameraSweep1Forward = App.TGPoint3()
DockedCameraSweep1Forward.SetXYZ(0.000000, 1.000000, 0.000000)
DockedCameraSweep1Up = App.TGPoint3()
DockedCameraSweep1Up.SetXYZ(0.374607, 0.000000, 0.927184)
DockedCameraSweep1Right = App.TGPoint3()
DockedCameraSweep1Right.SetXYZ(0.927184, 0.000000, -0.374607)
DockedCameraSweep1.SetOrientation(DockedCameraSweep1Forward, DockedCameraSweep1Up, DockedCameraSweep1Right)
DockedCameraSweep1Position = App.TGPoint3()
DockedCameraSweep1Position.SetXYZ(-1.962600, -1.247200, 1.956500)
DockedCameraSweep1.SetPosition(DockedCameraSweep1Position)
App.g_kModelPropertyManager.RegisterLocalTemplate(DockedCameraSweep1)
#################################################
Title: Re: Docked Camera Sweep?
Post by: MLeo on July 26, 2009, 12:05:20 PM
Totally Games probably intended to use that, but didn't get around to actually use it.

Or it's possible that the docking cutscene only happens in SP.
Title: Re: Docked Camera Sweep?
Post by: Dalek on July 26, 2009, 12:06:26 PM
The only docking I remember from SP was simply seeing the ship go in...and then come out again.
Title: Re: Docked Camera Sweep?
Post by: MLeo on July 26, 2009, 12:09:34 PM
I was referring to the story docks. They tended to be a bit grander.
Title: Re: Docked Camera Sweep?
Post by: Lord Tribble on July 26, 2009, 12:58:06 PM
ah cool, as long as I'm not missing out on something :)
I guess all the screenshots of ships parked in docks must have been piloted in manually.

Cheers for answering :)
Title: Re: Docked Camera Sweep?
Post by: ACES_HIGH on July 28, 2009, 02:27:11 PM
if there's code for it you might be able to create a function call for that, but I'm not all that familiar with python, Mleo would know.