Bridge Commander Central
BC Forums => BC Scripting => Topic started by: Perseus_Nx on December 11, 2012, 09:48:35 AM
-
Hi anyone
First I apologise for my bad english, i do my best for this.
I am here to talk about immunity for the vessel. I know some immune like drainer immune i use very often but now i am interested to immune my ship to the five second god phaser tech.
I would know if it is possible.
Thank you in advance
-
Oh and one more things plz
I tried to add the immune to the chroniton torpedo too like the voyager in the year of hell but when I took the immune tech in the script of the year of hell voyager of the Delta quadrant pack and i add it to my ship, it doesn't work.
Any ideas ?
Ps : i add the console
>> This is a console tracker dump by USS Frontier
##############
>> This dump started on -> Tue Dec 11 19:18:40 2012
##############
#----------------------------------------------------------------------->>> Tue Dec 11 19:18:40 2012
####
Outdated Foundation, updating functions
Outdated Foundation, installing FolderManager
Updating FoundationMenu.ShipMenuBuilderDef V2
Repairing ship description outputs...
Foundation Tech loaded
Gravity FX has been loaded.
Fixing\Enhancing USS Sovereign's mods...
DS9FX Initializing...
Fixing Jaggies
AttributeError: PreLoadAssets
Timed Torpedoes loaded
Cloak Disruptor loaded
Traceback (innermost last):
File ".\Scripts\Custom\Autoload\ConsoleTracker.py", line 253, in CTQuitHandler
ConsoleTracker.QuitDump()
File ".\Scripts\Custom\Autoload\ConsoleTracker.py", line 236, in QuitDump
nt.write(file, ">> This dump started on -> " + self.InitialTime + "\n##############\n")
TypeError: illegal argument type for built-in operation
Tracking Console
AttributeError: PreLoadAssets
Timed Torpedoes loaded
Cloak Disruptor loaded
Setting Stock System Planets Random Density.
DS9FX: Active and Operational...
####
####
Trying to clean memory
####
#----------------------------------------------------------------------->>> Tue Dec 11 19:20:48 2012
####
Ship JLSYOHVoyager 1 with SubModels support added
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Setting splash damage for JLSYOHVoyager 1 to (1506.250000, 30.125000)
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
#----------------------------------------------------------------------->>> Tue Dec 11 19:22:56 2012
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Setting splash damage for JLSKrenimWarship 1 to (950.504883, 19.010098)
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
#----------------------------------------------------------------------->>> Tue Dec 11 19:25:04 2012
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Trying to clean memory
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
####
Traceback (innermost last):
File ".\Scripts\FoundationTech.py", line 1140, in __call__
pInstance.DefendVSTorp(pShip, pEvent, pTorp)
File ".\Scripts\FoundationTech.py", line 772, in DefendVSTorp
if i.OnTorpDefense(pShip, self, pTorp, oYield, pEvent):
File ".\Scripts\Custom\Techs\ChronitonTorpe.py", line 82, in OnTorpDefense
if oYield and oYield.IsChronitonTorpeYield():
AttributeError: IsChronitonTorpeYield
####
#----------------------------------------------------------------------->>> Tue Dec 11 19:27:12 2012
####
Setting splash damage for JLSKrenimWarship 1 to (323.537689, 6.470754)
####
-
I could be wrong, since I don't have those Mods installed atm.
But AFAIK the 5SecondGodPhaser sets a Ships Hull to destroyed, so there is no real "Immunity" to that.
You could try writing a script that sets your Hull to non Critical and afterwards restores the Value the Hull had, when the phaser started hitting.
(Via hitEvent, or whatever that is called, Check if it was a phaser listed in the GodPhaserLibrary. Look in the GodPhaser Script for clues)
I don't have any Idea of the Chronitron Immunity. I think it isn't one of the original Immunities, so maybe you need to import something additional.
:idk:
-
I don't believe USS Frontier ever included immunity feature for this tech. He did however provide very detailed documentation I recommend checking in there if such a feature is supported.
-
Oh sorry i find the additional code yesterday in a other script (the script of this projectile in fact) They immunity have the necessity of a script for the ship and another in the projectile script.
Thx for your help