Bridge Commander Central

BC Forums => BC Technical Support => Topic started by: DKealt on April 24, 2009, 12:50:00 PM

Title: Diamond BC Redistribute Shields
Post by: DKealt on April 24, 2009, 12:50:00 PM
I recently D/L this mod for BC as it was very promising, especially when using the MV shielding on Stargate ships.

When using advanced power to boost the shields, if u raised power on one vector and took a hit it would crash.

Not a problem now.....however a most bizarre xircumstance has occured,

SHIELDS DON'T TAKE DAMAGE, they take hit after hit and don't degrade at all

Essentially Diamond BC is making ships in my install with MV shielding become invincible


Any help would be apprciated
Title: Re: Diamond BC Redistribute Shields
Post by: MLeo on April 24, 2009, 01:37:50 PM
Could you provide me with a link to of the ships where you are having this problem?

I've tested it and with me my ships can take damage. Sure, they recharge faster because (overall) there is less to recharge.
Title: Re: Diamond BC Redistribute Shields
Post by: DKealt on April 24, 2009, 03:13:04 PM
I have it installed on the SG ships, as its my own creation there is no link to send to you,

However, I can post the ship Plugin file as present on my install... (The Hardpoint does have exact matching shield and recharge values)

Code: [Select]
abbrev = 'Daedalus'
iconName = 'DSC304'
longName = 'Daedalus'
shipFile = 'Daedalus'
menuGroup = 'Stargate Ships'
playerMenuGroup = 'Stargate Ships'
species = 751
SubMenu = "Earth"
SubSubMenu = "Daedalus"

Foundation.ShipDef.Daedalus = Foundation.FedShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, 'shipFile': shipFile, "SubMenu": SubMenu, "SubSubMenu": SubSubMenu })
#Foundation.ShipDef.Daedalus.fMaxWarp = 5.5
#Foundation.ShipDef.Daedalus.fCruiseWarp = 4.0                                                                                   
Foundation.ShipDef.Daedalus.hasTGLName = 0
Foundation.ShipDef.Daedalus.hasTGLDesc = 0
Foundation.ShipDef.Daedalus.dTechs = {"Multivectral Shields": 100}

if menuGroup:           Foundation.ShipDef.Daedalus.RegisterQBShipMenu(menuGroup)
if playerMenuGroup:     Foundation.ShipDef.Daedalus.RegisterQBPlayerShipMenu(playerMenuGroup)

if Foundation.shipList._keyList.has_key(longName):
     Foundation.ShipDef.__dict__[longName].friendlyDetails[2] = Foundation.shipList[longName].friendlyDetails[2]
     Foundation.ShipDef.__dict__[longName].enemyDetails[2] = Foundation.shipList[longName].enemyDetails[2]

P.S. All Stargate ships are integrated into a single Plugin file.
Title: Re: Diamond BC Redistribute Shields
Post by: MLeo on May 02, 2009, 10:23:48 AM
Put this in scripts/Custom/Autoloads/ and let it overwrite.

This should fix it.
It was that GetCurrentShieldPercentage problem I was having before, really, I'm unsure I want to know what is happening there! I hate bugs that manifest with different timings...