Author Topic: Ablative Armor Issues  (Read 1175 times)

DarkTides

  • Guest
Ablative Armor Issues
« 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 

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: Ablative Armor Issues
« Reply #1 on: May 25, 2007, 09:34:10 PM »
is your ATP code correct?

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Ablative Armor Issues
« Reply #2 on: May 26, 2007, 05:08:28 AM »
Or FoundationTechnologies.
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.

Adm Ross

  • Guest
Re: Ablative Armor Issues
« Reply #3 on: December 15, 2007, 12:53:07 PM »
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

Code: [Select]
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

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Ablative Armor Issues
« Reply #4 on: December 15, 2007, 01:30:59 PM »
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:
Code: [Select]
Foundation.ShipDef.Sovereign.dTechs = {
          'Fed Ablative Armor': {
               "Plates": ["Ablative Armor"]
          }
}
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.

Adm Ross

  • Guest
Re: Ablative Armor Issues
« Reply #5 on: December 15, 2007, 02:02:15 PM »
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...

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Ablative Armor Issues
« Reply #6 on: December 15, 2007, 02:07:44 PM »
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.
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.

Adm Ross

  • Guest
Re: Ablative Armor Issues
« Reply #7 on: December 15, 2007, 02:20:49 PM »
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.