Author Topic: Thrusters script  (Read 1516 times)

Offline ekbalam

  • If there's nothing wrong with me...maybe there's something wrong with the universe!
  • Posts: 45
  • Cookies: 0
  • Carbonated Beverage Specialist
Thrusters script
« 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.

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: Thrusters script
« Reply #1 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.

Offline tiqhud

  • BCFiles File Poster
  • Posts: 1763
  • Cookies: 1067
  • San Francisco Shipyards (HPer) file manuiplater
Re: Thrusters script
« Reply #2 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.
TiqHud
you sir, are unable to strike, the port or starboard parts of hull , of a bovine storage facility.
Canon , what people argue exists, that doesn't really  exist.
It is all the little details, that cause headaches.
"Never judge wealth with Money"
'Intelligence has Nothing to do with Politics'
it is Late, Do you know where your Towel is?

Offline ekbalam

  • If there's nothing wrong with me...maybe there's something wrong with the universe!
  • Posts: 45
  • Cookies: 0
  • Carbonated Beverage Specialist
Re: Thrusters script
« Reply #3 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.