Author Topic: Diamond BC Redistribute Shields  (Read 1268 times)

Offline DKealt

  • Posts: 110
  • Cookies: 4
Diamond BC Redistribute Shields
« 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

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Diamond BC Redistribute Shields
« Reply #1 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.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline DKealt

  • Posts: 110
  • Cookies: 4
Re: Diamond BC Redistribute Shields
« Reply #2 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.

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Diamond BC Redistribute Shields
« Reply #3 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...
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.