Bridge Commander Central
BC Forums => BC Technical Support => Topic started by: DarkTides on May 25, 2007, 09:19:42 PM
-
Well I?m having a hard time with my hard points, and armor working, it works on other ships, any ideas why it?s not covering my entire ship
#################################################
AblativeArmour = App.HullProperty_Create("Ablative Armour")
AblativeArmour.SetMaxCondition(4000.000000)
AblativeArmour.SetCritical(0)
AblativeArmour.SetTargetable(1)
AblativeArmour.SetPrimary(0)
AblativeArmour.SetPosition(0.000000, 0.000000, 0.000000)
AblativeArmour.SetPosition2D(116.000000, 12.000000)
AblativeArmour.SetRepairComplexity(1.000000)
AblativeArmour.SetDisabledPercentage(0.000000)
AblativeArmour.SetRadius(3.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(AblativeArmour)
#################################################
Im not sure how they work
-
is your ATP code correct?
-
Or FoundationTechnologies.
-
I am having the same problem, as mentioned by Dark Tides.
And in fact i have no idea if my ATP code or FoundationTech is correct. Ive installed BC, patch 1.1 and Kobmaru, DS9 FX.
The Ablative Armor works on the Sovereign, but the .py is in some way crypted. However i cant have a look why it works there.
I try to adapt the system to the Defiant and added it as subsystem, as mentioned in the manual comming with FuturTech. plugin. But it behaves itself as if its a subsystem. The other systems are getting damaged.
http://bc-central.net/forums/index.php/topic,2056.0.html
As mentioned there we need to add some plugin to the .py file of the ship, dont we?
i tried to add at the bottom
Foundation.ShipDef.Sovereign.dTechs = {
['Fed Ablative Armor': { "Plates": ["Ablative Armor"]
}}
but than the qb didnt started anymore :-D
i could use some help about this :-D
-
First of all, use code tags when posting code.
Now, the first [ on the second line is invalid. And made BC fail to start.
Try this:
Foundation.ShipDef.Sovereign.dTechs = {
'Fed Ablative Armor': {
"Plates": ["Ablative Armor"]
}
}
-
Code->
This is my complete code in the .py.
Ive tried ShipDef.Defiant. and ShipDef.Sovereign in the last lines. Problematically both ways the qb does not start. The camera remains on the bridge and i can look around...
-
If you must add such large pieces of text, attach a file.
Also, that's the wrong file to add that code, it should be the plugin file, found under scripts/Custom/Ships and not in the hardpoint.
-
my apology
fixed that one...
But besides, much appreciated, it works fine now.
In fact the line was already in that file naming the ablative armor in a different way, thats certainly the reason why it did not work :-D.
Much appreciated. I would have certainly not have found that file on my own.