Author Topic: thruster thingy  (Read 4022 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
There is? For capships?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
I thought that's how they worked, they slowed down when their engines got close to going out.  Is it tied to damage instread?
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Yeah... the funny thing is that it appears to be in two places.

Code: [Select]
// AL 11-15-97: Rules for engine strength affecting max speed:
// 1. if strength >= 0.5 no affect
// 2. if strength < 0.5 then max_speed = sqrt(strength)
//
// This will translate to 71% max speed at 50% engines, and 31% max speed at 10% engines
and
Code: [Select]
// routine to return the strength of a subsystem.  We keep a total hit tally for all subsystems
// which are similar (i.e. a total for all engines).  These routines will return a number between
// 0.0 and 1.0 which is the relative combined strength of the given subsystem type.  The number
// calculated for the engines is slightly different.  Once an engine reaches < 15% of it's hits, it's
// output drops to that %.  A dead engine has no output.
From the code, it looks like the effects are cumulative, but from the test I just ran with a Deimos, it looks like only the first effect is used.  Odd.

 
Yes... I ressurected a 8 month old thread... so sue me :) ...

Any developments in this thruster thingamabob? I've been slaving away with different heirarchy structs with a fighter class POF to get engines to cut out when its subobject is destroyed.

I'm trying to get my Viper to have 3 engines that can be shot out. Its annoying though because when I knock an engine out, its still glowing. Its damage model is showing, but the glows just keeo glowing. Is there anyway to disable thruster glows when it's corresponding subobject is taken out (without using Fred).

I've experimented using the "Special" tab in PCS and had duplicate engine names for both subobject AND "special" and I noticed a pissible GOOD glitch when one of the glowpoints stopped glowing... but it was the wrong one I believe.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Thrusters should turn off if the engine subsystem is destroyed.  It's based on thruster *banks* though and not the individual glows on the bank.  If recent builds aren't working like you expect then send me a copy of the problem model and any relevant data (tbls, images, etc.) and I'll get the code problem fixed.