BCU main page Bridge Commander Universe
...welcome to the new world.
 
 FAQFAQ  RanksRanks  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Staff SiteStaff Site    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Does anyone know what this does?

 
Post new topic   Reply to topic    Bridge Commander Universe Forum Index -> BC Scripting
View previous topic :: View next topic  
Author Message

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 10-29-2006 08:31 PM Post subject: Does anyone know what this does?

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
View user's profile Send private message

Nebula

CA/KM/BCS:TC Mod Team Member
Moderator
Moderator


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

 

 



Reply with quote

Post Posted: 10-29-2006 10:57 PM Post subject:

Was this found in the HP?? if so it's the view screen camera.


_________________
Canon is what people argue exists on ships that don't exist.




Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 10-29-2006 11:28 PM Post subject:

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
View user's profile Send private message

Imperial_Destroyer

Rear Admiral
Rear Admiral


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

 

 



Reply with quote

Post Posted: 10-30-2006 04:12 AM Post subject:

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
View user's profile Send private message

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 10-30-2006 12:46 PM Post subject:

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


_________________

Back to top
View user's profile Send private message

JimmyB76

Fleet Admiral
Fleet Admiral


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

 

 



Reply with quote

Post Posted: 10-30-2006 01:09 PM Post subject:

what were you trying to do?


_________________
--------------------

Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 10-30-2006 03:27 PM Post subject:

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
View user's profile Send private message

Sandtrooper

totlh
totlh


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

 

 



Reply with quote

Post Posted: 10-30-2006 07:48 PM Post subject:

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
View user's profile Send private message MSN Messenger

JimmyB76

Fleet Admiral
Fleet Admiral


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

 

 



Reply with quote

Post Posted: 10-30-2006 09:04 PM Post subject:

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
View user's profile Send private message Send e-mail AIM Address MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 10-31-2006 01:07 AM Post subject:

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.

Sad


_________________

Back to top
View user's profile Send private message

JimmyB76

Fleet Admiral
Fleet Admiral


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

 

 



Reply with quote

Post Posted: 10-31-2006 03:06 PM Post subject:

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
View user's profile Send private message Send e-mail AIM Address MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 11-01-2006 04:57 PM Post subject:

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


_________________

Back to top
View user's profile Send private message

JimmyB76

Fleet Admiral
Fleet Admiral


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

 

 



Reply with quote

Post Posted: 11-01-2006 07:59 PM Post subject:

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
View user's profile Send private message Send e-mail AIM Address MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 11-01-2006 09:09 PM Post subject:

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

:'(


_________________

Back to top
View user's profile Send private message

JimmyB76

Fleet Admiral
Fleet Admiral


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

 

 



Reply with quote

Post Posted: 11-02-2006 12:52 PM Post subject:

i think there is a decompyler around somewhere... there used to be, not sure where it is tho...


_________________
--------------------

Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 11-02-2006 03:23 PM Post subject:

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


_________________

Back to top
View user's profile Send private message

Sandtrooper

totlh
totlh


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

 

 



Reply with quote

Post Posted: 11-02-2006 09:15 PM Post subject:

http://defiant.homedns.org/~st/decompyle/decompyle.php

have a nice day.


_________________


Believe it or Not
George is Not
HOME!!!

Back to top
View user's profile Send private message MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


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

Offline

 

 



Reply with quote

Post Posted: 11-02-2006 10:05 PM Post subject:

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic

All times are GMT

Page 1 of 1
   Bridge Commander Universe Forum Index -> BC Scripting
 
Jump to:  
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.