 |
Bridge Commander Universe ...welcome to the new world.
|
View previous topic :: View next topic |
|
Author |
Message |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
Bridge camera angles or viewscreen camera angles?
FirstPersonCamera = App.PositionOrientationProperty_Create("FirstPersonCamera")
FirstPersonCameraForward = App.TGPoint3()
FirstPersonCameraForward.SetXYZ(0.000000, 1.000000, 0.000000)
FirstPersonCameraUp = App.TGPoint3()
FirstPersonCameraUp.SetXYZ(0.000000, 0.000000, 1.000000)
FirstPersonCameraRight = App.TGPoint3()
FirstPersonCameraRight.SetXYZ(1.000000, 0.000000, 0.000000)
FirstPersonCamera.SetOrientation(FirstPersonCameraForward, FirstPersonCameraUp, FirstPersonCameraRight)
FirstPersonCameraPosition = App.TGPoint3()
FirstPersonCameraPosition.SetXYZ(0.000000, 3.834180, 0.373048)
FirstPersonCamera.SetPosition(FirstPersonCameraPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(FirstPersonCamera)
Or am I just way off?
(From Galaxy.py)
|
_________________

|
|
Back to top |
|
 |
Nebula
CA/KM/BCS:TC Mod Team Member Moderator


Age: 22
Zodiac: 
Joined: 04 Oct 2002
Posts: 21131
Location: Michigan

|
|
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
Yeah, but there's actually a whole other set that actually says 'viewscreen' instead of just fps. Here's the whole thing. Its from SNSGalaxy.py
ViewscreenForward = App.PositionOrientationProperty_Create("ViewscreenForward")
ViewscreenForwardForward = App.TGPoint3()
ViewscreenForwardForward.SetXYZ(0.000000, 1.000000, 0.000000)
ViewscreenForwardUp = App.TGPoint3()
ViewscreenForwardUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenForwardRight = App.TGPoint3()
ViewscreenForwardRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenForward.SetOrientation(ViewscreenForwardForward, ViewscreenForwardUp, ViewscreenForwardRight)
ViewscreenForwardPosition = App.TGPoint3()
ViewscreenForwardPosition.SetXYZ(0.000000, 3.834180, 0.373048)
ViewscreenForward.SetPosition(ViewscreenForwardPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenForward)
#################################################
ViewscreenLeft = App.PositionOrientationProperty_Create("ViewscreenLeft")
ViewscreenLeftForward = App.TGPoint3()
ViewscreenLeftForward.SetXYZ(-1.000000, 0.000000, 0.000000)
ViewscreenLeftUp = App.TGPoint3()
ViewscreenLeftUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenLeftRight = App.TGPoint3()
ViewscreenLeftRight.SetXYZ(0.000000, 1.000000, 0.000000)
ViewscreenLeft.SetOrientation(ViewscreenLeftForward, ViewscreenLeftUp, ViewscreenLeftRight)
ViewscreenLeftPosition = App.TGPoint3()
ViewscreenLeftPosition.SetXYZ(-2.300460, 1.897430, 0.372440)
ViewscreenLeft.SetPosition(ViewscreenLeftPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenLeft)
#################################################
ViewscreenRight = App.PositionOrientationProperty_Create("ViewscreenRight")
ViewscreenRightForward = App.TGPoint3()
ViewscreenRightForward.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenRightUp = App.TGPoint3()
ViewscreenRightUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenRightRight = App.TGPoint3()
ViewscreenRightRight.SetXYZ(0.000000, 1.000000, 0.000000)
ViewscreenRight.SetOrientation(ViewscreenRightForward, ViewscreenRightUp, ViewscreenRightRight)
ViewscreenRightPosition = App.TGPoint3()
ViewscreenRightPosition.SetXYZ(2.300460, 1.897430, 0.372440)
ViewscreenRight.SetPosition(ViewscreenRightPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenRight)
#################################################
ViewscreenBack = App.PositionOrientationProperty_Create("ViewscreenBack")
ViewscreenBackForward = App.TGPoint3()
ViewscreenBackForward.SetXYZ(0.000000, -1.000000, 0.000000)
ViewscreenBackUp = App.TGPoint3()
ViewscreenBackUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenBackRight = App.TGPoint3()
ViewscreenBackRight.SetXYZ(-1.000000, 0.000000, 0.000000)
ViewscreenBack.SetOrientation(ViewscreenBackForward, ViewscreenBackUp, ViewscreenBackRight)
ViewscreenBackPosition = App.TGPoint3()
ViewscreenBackPosition.SetXYZ(0.000000, -0.269454, 0.211876)
ViewscreenBack.SetPosition(ViewscreenBackPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenBack)
#################################################
ViewscreenUp = App.PositionOrientationProperty_Create("ViewscreenUp")
ViewscreenUpForward = App.TGPoint3()
ViewscreenUpForward.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenUpUp = App.TGPoint3()
ViewscreenUpUp.SetXYZ(0.000000, -1.000000, 0.000000)
ViewscreenUpRight = App.TGPoint3()
ViewscreenUpRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenUp.SetOrientation(ViewscreenUpForward, ViewscreenUpUp, ViewscreenUpRight)
ViewscreenUpPosition = App.TGPoint3()
ViewscreenUpPosition.SetXYZ(0.000000, 1.657740, 0.727249)
ViewscreenUp.SetPosition(ViewscreenUpPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenUp)
#################################################
ViewscreenDown = App.PositionOrientationProperty_Create("ViewscreenDown")
ViewscreenDownForward = App.TGPoint3()
ViewscreenDownForward.SetXYZ(0.000000, 0.000000, -1.000000)
ViewscreenDownUp = App.TGPoint3()
ViewscreenDownUp.SetXYZ(0.000000, 1.000000, 0.000000)
ViewscreenDownRight = App.TGPoint3()
ViewscreenDownRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenDown.SetOrientation(ViewscreenDownForward, ViewscreenDownUp, ViewscreenDownRight)
ViewscreenDownPosition = App.TGPoint3()
ViewscreenDownPosition.SetXYZ(0.000000, 1.885420, 0.126632)
ViewscreenDown.SetPosition(ViewscreenDownPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenDown)
#################################################
FirstPersonCamera = App.PositionOrientationProperty_Create("FirstPersonCamera")
FirstPersonCameraForward = App.TGPoint3()
FirstPersonCameraForward.SetXYZ(0.000000, 1.000000, 0.000000)
FirstPersonCameraUp = App.TGPoint3()
FirstPersonCameraUp.SetXYZ(0.000000, 0.000000, 1.000000)
FirstPersonCameraRight = App.TGPoint3()
FirstPersonCameraRight.SetXYZ(1.000000, 0.000000, 0.000000)
FirstPersonCamera.SetOrientation(FirstPersonCameraForward, FirstPersonCameraUp, FirstPersonCameraRight)
FirstPersonCameraPosition = App.TGPoint3()
FirstPersonCameraPosition.SetXYZ(0.000000, 3.834180, 0.373048)
FirstPersonCamera.SetPosition(FirstPersonCameraPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(FirstPersonCamera)
#################################################
|
_________________

|
|
Back to top |
|
 |
Imperial_Destroyer
Rear Admiral

Age: 26
Zodiac: 
Joined: 01 Nov 2004
Posts: 1604
Location: Georgia

|
|
|

|
|
|
posibly for something that was dropped but never removed from the game, many games have stuff like this in it
|
_________________ did you hear the one where a lawyer had to teach a priest about ethics?
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
Dang... I was hoping it was a way to control the bridge camera...
|
_________________

|
|
Back to top |
|
 |
JimmyB76
Fleet Admiral

Age: 33
Zodiac: 
Joined: 30 Jun 2003
Posts: 13365
Location: Rhode Island, USA

|
|
|

|
|
|
what were you trying to do?
|
_________________ --------------------
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
Not really sure... lol
Just wanted to see if I had the ability to do more with the in-game camera. Something like activating the 'bridge zoom-in' any where I wanted would be great... you know, the zoom that the camera does whenever you speak to an officer? They'll turn to look at you whenever you select them and at the same time, the camera will zoom on them.
Being able to change where the camera zooms would be nice. For example, if I have the camera set up near the middle of the bridge, but want to be able to zoom in on the center of viewscreen, or if I'm slightly behind Kiska and want to do the same, right now, there's now way to do it... or do it without having a menu pop up. Or, heck, even changing the amount of zoom would be good.
I can live without it, but it would be a great option to have available for making movies with... which is currently exactly what I'm doing.
|
_________________

|
|
Back to top |
|
 |
Sandtrooper
totlh

Age: 17
Zodiac: 
Joined: 06 Aug 2005
Posts: 1290
Location: Vancouver Island

|
|
|

|
|
|
In the Bridge view:
Delete = Viewscreen views the ViewScreenLeft position on the HP
PgDown = Same as Del but Right
End is obviously the aft viewscreen in the HP
Home = Forward
Insert & PgUp might be Up and down....I keep forgeting..
FPC...I really don't know..
|
_________________
Believe it or Not
George is Not
HOME!!!
|
|
Back to top |
|
 |
JimmyB76
Fleet Admiral

Age: 33
Zodiac: 
Joined: 30 Jun 2003
Posts: 13365
Location: Rhode Island, USA

|
|
|

|
|
|
you can change how the camera zooms to a character... that info is in the character pys in scripts/bridges... for my install for example, i have altered how the camera zooms to a character (like nearer or further away) when hitting f1, f2, f3, etc while on the bridge...
|
_________________ --------------------
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
That's what I'm looking for! I found the folder, but no character pys for the Galaxy bridge. It skips from Exc charaters to Int characters.

|
_________________

|
|
Back to top |
|
 |
JimmyB76
Fleet Admiral

Age: 33
Zodiac: 
Joined: 30 Jun 2003
Posts: 13365
Location: Rhode Island, USA

|
|
|

|
|
|
that's because those are in pyc format, and are just the names Brex, Miguel, Saffi, and Felix... those control the characters for the Gal and Sov bridges...
|
_________________ --------------------
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
What a minute o_O I'm confused... I thought that's what I was looking for...?
|
_________________

|
|
Back to top |
|
 |
JimmyB76
Fleet Admiral

Age: 33
Zodiac: 
Joined: 30 Jun 2003
Posts: 13365
Location: Rhode Island, USA

|
|
|

|
|
|
Dante Leonhart wrote: | but no character pys for the Galaxy bridge. It skips from Exc charaters to Int characters.
|
JimmyB76 wrote: | that's because those are in pyc format, and are just the names Brex, Miguel, Saffi, and Felix... |
as in Brex.pyc, Miguel.pyc, etc
|
_________________ --------------------
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
Ooooh. In other words, I can't edit them without the py files...
:'(
|
_________________

|
|
Back to top |
|
 |
JimmyB76
Fleet Admiral

Age: 33
Zodiac: 
Joined: 30 Jun 2003
Posts: 13365
Location: Rhode Island, USA

|
|
|

|
|
|
i think there is a decompyler around somewhere... there used to be, not sure where it is tho...
|
_________________ --------------------
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
Either that, or does anyone have the py files available?
|
_________________

|
|
Back to top |
|
 |
Sandtrooper
totlh

Age: 17
Zodiac: 
Joined: 06 Aug 2005
Posts: 1290
Location: Vancouver Island

|
|
|
|
Back to top |
|
 |
Dante Leonhart
Lieutenant


Age: 27
Zodiac: 
Joined: 18 Jun 2006
Posts: 400

|
|
|

|
|
|
Sandtrooper... I could hug you.
I won't...
...but I could.
Okay, here we go:
Quote: |
AddCommonAnimations(pMiguel)
pMiguel.SetStanding(0)
pMiguel.SetLocation('EBScience')
pMiguel.AddPositionZoom('EBScience', 0.5)
pMiguel.AddPositionZoom('EBScience1', 0.5)
pMiguel.AddPositionZoom('EBScience2', 0.6) |
AddCommonAnimations(pMiguel)<== Not sure what this does...
pMiguel.SetStanding(0)<== 1 means standing, 0 means sitting
pMiguel.SetLocation('EBScience')<==Where the model should be located
And these:
pMiguel.AddPositionZoom('EBScience', 0.5)
pMiguel.AddPositionZoom('EBScience1', 0.5)
pMiguel.AddPositionZoom('EBScience2', 0.6)[
--should be x,y,z coordinates for where the camera should zoom?
|
_________________

|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
Bridge Commander Universe is a Nightsoft
company. All rights reserved.
|