Bridge Commander Central

BC Forums => BC Scripting => Topic started by: Billz on August 29, 2007, 06:06:10 PM

Title: Dissapearing Bulks
Post by: Billz on August 29, 2007, 06:06:10 PM
Every time I kill an enemy ship in QB, the remains of the ship that should float around just vanish. As in destroy a ship, the wreckage floats around for a couple of seconds but then just dissappears. Is there a way to stop 'bulks' from vanishing? This is merely just for effect.
Title: Re: Dissapearing Bulks
Post by: Nebula on August 29, 2007, 06:10:05 PM
if you have ds9 fx.... it has a system cleaning option that deletes the ship hulls when they are killed, you can turn this off in the mutator list for ds9fx.
Title: Re: Dissapearing Bulks
Post by: MLeo on August 29, 2007, 06:16:46 PM
Just saw Nebula's post, if you have DS9FX installed, try that before this.


Right, untested so be warned, you can always remove the file. But if you get a BSOD, then please tell the bsod and I'll fix.
You will need FoundationTriggers installed for this to work.
Code: [Select]
import App
import Foundation
import MissionLib

mode = Foundation.MutatorDef("Hulk Keeper")

class HulkKeeper(Foundation.TriggerDef):
   def __call__(self, pObject, pEvent):
      pShip = App.ShipClass_Cast(pEvent.GetDestination())
      if pShip:
         pShip.AddPythonFuncHandlerForInstance(App.ET_OBJECT_CONVERTED_TO_HULK, "MissionLib.IgnoreEvent")

oHulkKeeper = HulkKeeper("HulkKeeper Trigger", Foundation.TriggerDef.ET_FND_CREATE_SHIP, dict={"modes":[mode]})

It's entirely possible that your BC will come grinding to a halt after a few (intense) QB matches. Aside from the flying trouble, and maybe even crashes at QB start.
Title: Re: Dissapearing Bulks
Post by: Billz on August 29, 2007, 06:52:43 PM
if you have ds9 fx.... it has a system cleaning option that deletes the ship hulls when they are killed, you can turn this off in the mutator list for ds9fx.

Whats the mutator actually called? Im assuming its the 'Ship Model Preloading' thing.
Title: Re: Dissapearing Bulks
Post by: MLeo on August 30, 2007, 03:18:07 AM
DS9FX has it's own menu through UMM.
Title: Re: Dissapearing Bulks
Post by: Billz on August 30, 2007, 04:35:30 AM
DS9FX has it's own menu through UMM.

Yes I know. But Neb suggested that I turn something in DS9FX off but he didnt say what. Thats why I asked if it was the 'Ship Model Preloading' thing in the DS9FX config.

Im not trying to be rude so please dont take what I have said the wrong why.
Title: Re: Dissapearing Bulks
Post by: MLeo on August 30, 2007, 04:51:35 AM
You asked for a mutator, but mutators are their own thing.

Model preloading shouldn't deal with hulk removal.
Title: Re: Dissapearing Bulks
Post by: Nebula on August 30, 2007, 10:47:15 AM
ah sorry I was kinda busy when I made that post...

its the option called "stabilize BC" turn it off.
Title: Re: Dissapearing Bulks
Post by: Nebula on September 10, 2007, 10:12:54 AM
Sorry to Bump this but I want to know if that worked for you...
Title: Re: Dissapearing Bulks
Post by: Billz on September 10, 2007, 03:50:04 PM
Yep it worked. I mean by ships now seem to have taken a Legacy-like damage effect (remember those horrible damage star patterns on stock ST: Legacy) but for the most part, it worked.
Title: Re: Dissapearing Bulks
Post by: Nighthawk on September 10, 2007, 04:32:14 PM
pix?