Bridge Commander Central

BC Forums => BC Scripting => Topic started by: ekbalam on September 15, 2009, 10:03:03 PM

Title: Thrusters script
Post by: ekbalam on September 15, 2009, 10:03:03 PM
What part of the thrusters script controls the speed at which they work?

I'm trying to slow down the speed at which the ship darts in the direction I fire the thrusters to more closely match the speed of the ship's roll.

I'm using the thrusters.py that came with KM...I think that's the right file. Help.
Title: Re: Thrusters script
Post by: teleguy on September 16, 2009, 02:43:40 AM
I'd say it's
Code: [Select]
def Velocity1(pObject, pEvent):
global pImpulse
pImpulse = 0.1
Code: [Select]
def Velocity2(pObject, pEvent):
global pImpulse
pImpulse = 0.2
etc.
Title: Re: Thrusters script
Post by: tiqhud on September 16, 2009, 08:47:28 AM
there is a control in the Helm menu that you can adjust 1\2 speed , 1\4 speed, but I bet you knew that.
Title: Re: Thrusters script
Post by: ekbalam on September 16, 2009, 07:50:08 PM
Thanks...there were several lines for Impulse...some were FImpulse so I wasn't sure. i tried to tinker with it last night but with no luck.

Tiq...um...of course I remembered...yeah...sure I did.  :roll
Actually, I tried it and I'm not getting the results that I need so I think I need more precise control of how much power the thrusters draw overall.