# C:\Users\Admin\bcsdk1_1\Tools\ModelPropertyEditor\mck\DDZ.py
# This file was automatically generated - modify at your own risk.
# 

import App
import GlobalPropertyTemplates
# Setting up local templates.
#################################################
McKinleyStation = App.ShipProperty_Create("McKinley Station")

McKinleyStation.SetGenus(2)
McKinleyStation.SetSpecies(706)
McKinleyStation.SetMass(250.000000)
McKinleyStation.SetRotationalInertia(5000.000000)
McKinleyStation.SetShipName("McKinley Station")
McKinleyStation.SetModelFilename("data/Models/Bases/McKinley Station/McKinley_Station.NIF")
McKinleyStation.SetDamageResolution(13.000000)
McKinleyStation.SetAffiliation(0)
McKinleyStation.SetStationary(1)
McKinleyStation.SetAIString("StarbaseAttack")
McKinleyStation.SetDeathExplosionSound("g_lsBigDeathExplosions")
App.g_kModelPropertyManager.RegisterLocalTemplate(McKinleyStation)
#################################################
ShieldGenerator = App.ShieldProperty_Create("Shield Generator")

ShieldGenerator.SetMaxCondition(4500.000000)
ShieldGenerator.SetCritical(0)
ShieldGenerator.SetTargetable(1)
ShieldGenerator.SetPrimary(1)
ShieldGenerator.SetPosition(1.200000, 0.250000, 0.800000)
ShieldGenerator.SetPosition2D(82.000000, 90.000000)
ShieldGenerator.SetRepairComplexity(2.000000)
ShieldGenerator.SetDisabledPercentage(0.400000)
ShieldGenerator.SetRadius(0.120000)
ShieldGenerator.SetNormalPowerPerSecond(250.000000)
ShieldGeneratorShieldGlowColor = App.TGColorA()
ShieldGeneratorShieldGlowColor.SetRGBA(0.203922, 0.631373, 1.000000, 0.466667)
ShieldGenerator.SetShieldGlowColor(ShieldGeneratorShieldGlowColor)
ShieldGenerator.SetShieldGlowDecay(1.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.FRONT_SHIELDS, 1.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.REAR_SHIELDS, 1.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.TOP_SHIELDS, 1.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.BOTTOM_SHIELDS, 1.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.LEFT_SHIELDS, 1.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.RIGHT_SHIELDS, 1.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.FRONT_SHIELDS, 1.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.REAR_SHIELDS, 1.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.TOP_SHIELDS, 1.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.BOTTOM_SHIELDS, 1.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.LEFT_SHIELDS, 1.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.RIGHT_SHIELDS, 1.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(ShieldGenerator)
#################################################
SensorArray = App.SensorProperty_Create("Sensor Array")

SensorArray.SetMaxCondition(5000.000000)
SensorArray.SetCritical(0)
SensorArray.SetTargetable(1)
SensorArray.SetPrimary(1)
SensorArray.SetPosition(0.008938, 2.026890, 1.941200)
SensorArray.SetPosition2D(45.000000, 90.000000)
SensorArray.SetRepairComplexity(2.000000)
SensorArray.SetDisabledPercentage(0.400000)
SensorArray.SetRadius(0.120000)
SensorArray.SetNormalPowerPerSecond(88.000000)
SensorArray.SetBaseSensorRange(5000.000000)
SensorArray.SetMaxProbes(10)
App.g_kModelPropertyManager.RegisterLocalTemplate(SensorArray)
#################################################
WarpCore = App.PowerProperty_Create("Warp Core")

WarpCore.SetMaxCondition(9000.000000)
WarpCore.SetCritical(1)
WarpCore.SetTargetable(1)
WarpCore.SetPrimary(1)
WarpCore.SetPosition(0.004228, 1.730280, 1.670070)
WarpCore.SetPosition2D(64.000000, 90.000000)
WarpCore.SetRepairComplexity(3.000000)
WarpCore.SetDisabledPercentage(0.400000)
WarpCore.SetRadius(0.250000)
WarpCore.SetMainBatteryLimit(10000.000000)
WarpCore.SetBackupBatteryLimit(1000.000000)
WarpCore.SetMainConduitCapacity(2500.000000)
WarpCore.SetBackupConduitCapacity(500.000000)
WarpCore.SetPowerOutput(1000.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(WarpCore)
#################################################
StationControl = App.RepairSubsystemProperty_Create("Station Control")

StationControl.SetMaxCondition(5500.000000)
StationControl.SetCritical(0)
StationControl.SetTargetable(0)
StationControl.SetPrimary(1)
StationControl.SetPosition(0.000990, 2.196210, 1.841460)
StationControl.SetPosition2D(0.000000, 0.000000)
StationControl.SetRepairComplexity(2.000000)
StationControl.SetDisabledPercentage(0.300000)
StationControl.SetRadius(0.020000)
StationControl.SetNormalPowerPerSecond(1.000000)
StationControl.SetMaxRepairPoints(40.000000)
StationControl.SetNumRepairTeams(4)
App.g_kModelPropertyManager.RegisterLocalTemplate(StationControl)
#################################################
Hull = App.HullProperty_Create("Hull")

Hull.SetMaxCondition(18000.000000)
Hull.SetCritical(1)
Hull.SetTargetable(0)
Hull.SetPrimary(1)
Hull.SetPosition(0.000000, 1.500000, 1.560000)
Hull.SetPosition2D(64.000000, 60.000000)
Hull.SetRepairComplexity(3.000000)
Hull.SetDisabledPercentage(0.000000)
Hull.SetRadius(2.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Hull)
#################################################
DorsalPhaser = App.WeaponSystemProperty_Create("Dorsal Phaser")

DorsalPhaser.SetMaxCondition(4000.000000)
DorsalPhaser.SetCritical(0)
DorsalPhaser.SetTargetable(0)
DorsalPhaser.SetPrimary(1)
DorsalPhaser.SetPosition(0.000000, -0.850000, 0.850000)
DorsalPhaser.SetPosition2D(0.000000, 0.000000)
DorsalPhaser.SetRepairComplexity(2.000000)
DorsalPhaser.SetDisabledPercentage(0.400000)
DorsalPhaser.SetRadius(0.110000)
DorsalPhaser.SetNormalPowerPerSecond(50.000000)
DorsalPhaser.SetWeaponSystemType(DorsalPhaser.WST_PHASER)
DorsalPhaser.SetSingleFire(1)
DorsalPhaser.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
DorsalPhaser.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(DorsalPhaser)
#################################################
DorsalPhaserStrip = App.PhaserProperty_Create("Dorsal Phaser Strip")

DorsalPhaserStrip.SetMaxCondition(1000.000000)
DorsalPhaserStrip.SetCritical(0)
DorsalPhaserStrip.SetTargetable(1)
DorsalPhaserStrip.SetPrimary(1)
DorsalPhaserStrip.SetPosition(0.000000, -0.130000, 0.950000)
DorsalPhaserStrip.SetPosition2D(64.000000, 105.000000)
DorsalPhaserStrip.SetRepairComplexity(1.000000)
DorsalPhaserStrip.SetDisabledPercentage(0.500000)
DorsalPhaserStrip.SetRadius(0.200000)
DorsalPhaserStrip.SetDumbfire(0)
DorsalPhaserStrip.SetWeaponID(1)
DorsalPhaserStrip.SetGroups(0)
DorsalPhaserStrip.SetDamageRadiusFactor(0.250000)
DorsalPhaserStrip.SetIconNum(364)
DorsalPhaserStrip.SetIconPositionX(65.000000)
DorsalPhaserStrip.SetIconPositionY(98.000000)
DorsalPhaserStrip.SetIconAboveShip(1)
DorsalPhaserStrip.SetFireSound("McKinley Phaser")
DorsalPhaserStrip.SetMaxCharge(3.000000)
DorsalPhaserStrip.SetMaxDamage(750.000000)
DorsalPhaserStrip.SetMaxDamageDistance(100.000000)
DorsalPhaserStrip.SetMinFiringCharge(3.000000)
DorsalPhaserStrip.SetNormalDischargeRate(1.000000)
DorsalPhaserStrip.SetRechargeRate(0.300000)
DorsalPhaserStrip.SetIndicatorIconNum(510)
DorsalPhaserStrip.SetIndicatorIconPositionX(59.000000)
DorsalPhaserStrip.SetIndicatorIconPositionY(93.000000)
DorsalPhaserStripForward = App.TGPoint3()
DorsalPhaserStripForward.SetXYZ(0.000000, -1.000000, 0.000000)
DorsalPhaserStripUp = App.TGPoint3()
DorsalPhaserStripUp.SetXYZ(0.000000, 0.000000, 1.000000)
DorsalPhaserStrip.SetOrientation(DorsalPhaserStripForward, DorsalPhaserStripUp)
DorsalPhaserStrip.SetWidth(0.400000)
DorsalPhaserStrip.SetLength(0.400000)
DorsalPhaserStrip.SetArcWidthAngles(-3.141593, 3.141593)
DorsalPhaserStrip.SetArcHeightAngles(0.043633, 1.570796)
DorsalPhaserStrip.SetPhaserTextureStart(0)
DorsalPhaserStrip.SetPhaserTextureEnd(0)
DorsalPhaserStrip.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.501961, 0.247059, 0.000000, 1.000000)
DorsalPhaserStrip.SetOuterShellColor(kColor)
kColor.SetRGBA(1.000000, 0.501961, 0.247059, 1.000000)
DorsalPhaserStrip.SetInnerShellColor(kColor)
kColor.SetRGBA(1.000000, 0.501961, 0.247059, 1.000000)
DorsalPhaserStrip.SetOuterCoreColor(kColor)
kColor.SetRGBA(1.000000, 0.882353, 0.501961, 1.000000)
DorsalPhaserStrip.SetInnerCoreColor(kColor)
DorsalPhaserStrip.SetNumSides(6)
DorsalPhaserStrip.SetMainRadius(0.050000)
DorsalPhaserStrip.SetTaperRadius(0.000000)
DorsalPhaserStrip.SetCoreScale(0.500000)
DorsalPhaserStrip.SetTaperRatio(0.000000)
DorsalPhaserStrip.SetTaperMinLength(1.000000)
DorsalPhaserStrip.SetTaperMaxLength(1.000000)
DorsalPhaserStrip.SetLengthTextureTilePerUnit(0.010000)
DorsalPhaserStrip.SetPerimeterTile(1.000000)
DorsalPhaserStrip.SetTextureSpeed(2.000000)
DorsalPhaserStrip.SetTextureName("data/textures/tactical/TNGPhaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(DorsalPhaserStrip)
#################################################
TorpedoTube1 = App.TorpedoTubeProperty_Create("Torpedo Tube 1")

TorpedoTube1.SetMaxCondition(1100.000000)
TorpedoTube1.SetCritical(0)
TorpedoTube1.SetTargetable(1)
TorpedoTube1.SetPrimary(1)
TorpedoTube1.SetPosition(0.250000, 5.300000, 0.600000)
TorpedoTube1.SetPosition2D(58.000000, 10.000000)
TorpedoTube1.SetRepairComplexity(1.000000)
TorpedoTube1.SetDisabledPercentage(0.400000)
TorpedoTube1.SetRadius(0.100000)
TorpedoTube1.SetDumbfire(1)
TorpedoTube1.SetWeaponID(1)
TorpedoTube1.SetGroups(1)
TorpedoTube1.SetDamageRadiusFactor(0.200000)
TorpedoTube1.SetIconNum(370)
TorpedoTube1.SetIconPositionX(75.000000)
TorpedoTube1.SetIconPositionY(40.000000)
TorpedoTube1.SetIconAboveShip(1)
TorpedoTube1.SetImmediateDelay(1.500000)
TorpedoTube1.SetReloadDelay(25.000000)
TorpedoTube1.SetMaxReady(2)
TorpedoTube1Direction = App.TGPoint3()
TorpedoTube1Direction.SetXYZ(0.000000, 1.000000, 0.000000)
TorpedoTube1.SetDirection(TorpedoTube1Direction)
TorpedoTube1Right = App.TGPoint3()
TorpedoTube1Right.SetXYZ(1.000000, 0.000000, 0.000000)
TorpedoTube1.SetRight(TorpedoTube1Right)
App.g_kModelPropertyManager.RegisterLocalTemplate(TorpedoTube1)
#################################################
TorpedoTube2 = App.TorpedoTubeProperty_Create("Torpedo Tube 2")

TorpedoTube2.SetMaxCondition(1100.000000)
TorpedoTube2.SetCritical(0)
TorpedoTube2.SetTargetable(1)
TorpedoTube2.SetPrimary(1)
TorpedoTube2.SetPosition(-0.300000, 5.300000, 0.600000)
TorpedoTube2.SetPosition2D(70.000000, 10.000000)
TorpedoTube2.SetRepairComplexity(1.000000)
TorpedoTube2.SetDisabledPercentage(0.400000)
TorpedoTube2.SetRadius(0.100000)
TorpedoTube2.SetDumbfire(1)
TorpedoTube2.SetWeaponID(2)
TorpedoTube2.SetGroups(1)
TorpedoTube2.SetDamageRadiusFactor(0.200000)
TorpedoTube2.SetIconNum(370)
TorpedoTube2.SetIconPositionX(80.000000)
TorpedoTube2.SetIconPositionY(40.000000)
TorpedoTube2.SetIconAboveShip(0)
TorpedoTube2.SetImmediateDelay(1.500000)
TorpedoTube2.SetReloadDelay(25.000000)
TorpedoTube2.SetMaxReady(2)
TorpedoTube2Direction = App.TGPoint3()
TorpedoTube2Direction.SetXYZ(0.000000, 1.000000, 0.000000)
TorpedoTube2.SetDirection(TorpedoTube2Direction)
TorpedoTube2Right = App.TGPoint3()
TorpedoTube2Right.SetXYZ(-1.000000, 0.000000, 0.000000)
TorpedoTube2.SetRight(TorpedoTube2Right)
App.g_kModelPropertyManager.RegisterLocalTemplate(TorpedoTube2)
#################################################
Torpedoes = App.TorpedoSystemProperty_Create("Torpedoes")

Torpedoes.SetMaxCondition(4500.000000)
Torpedoes.SetCritical(0)
Torpedoes.SetTargetable(0)
Torpedoes.SetPrimary(1)
Torpedoes.SetPosition(0.000000, -0.850000, 0.850000)
Torpedoes.SetPosition2D(0.000000, 0.000000)
Torpedoes.SetRepairComplexity(2.000000)
Torpedoes.SetDisabledPercentage(0.300000)
Torpedoes.SetRadius(0.110000)
Torpedoes.SetNormalPowerPerSecond(100.000000)
Torpedoes.SetWeaponSystemType(Torpedoes.WST_TORPEDO)
Torpedoes.SetSingleFire(1)
Torpedoes.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("0;Single;12;Dual")
Torpedoes.SetFiringChainString(kFiringChainString)
Torpedoes.SetMaxTorpedoes(0, 40)
Torpedoes.SetTorpedoScript(0, "Tactical.Projectiles.TNGPhoton")
Torpedoes.SetNumAmmoTypes(1)
App.g_kModelPropertyManager.RegisterLocalTemplate(Torpedoes)
#################################################
TractorBeams = App.WeaponSystemProperty_Create("Tractor Beams")

TractorBeams.SetMaxCondition(3000.000000)
TractorBeams.SetCritical(0)
TractorBeams.SetTargetable(0)
TractorBeams.SetPrimary(1)
TractorBeams.SetPosition(0.000000, -0.850000, 0.850000)
TractorBeams.SetPosition2D(0.000000, 0.000000)
TractorBeams.SetRepairComplexity(2.000000)
TractorBeams.SetDisabledPercentage(0.500000)
TractorBeams.SetRadius(0.110000)
TractorBeams.SetNormalPowerPerSecond(200.000000)
TractorBeams.SetWeaponSystemType(TractorBeams.WST_TRACTOR)
TractorBeams.SetSingleFire(1)
TractorBeams.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
TractorBeams.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(TractorBeams)
#################################################
ForwardTractor = App.TractorBeamProperty_Create("Forward Tractor")

ForwardTractor.SetMaxCondition(800.000000)
ForwardTractor.SetCritical(0)
ForwardTractor.SetTargetable(1)
ForwardTractor.SetPrimary(1)
ForwardTractor.SetPosition(0.000000, 5.350000, 0.550000)
ForwardTractor.SetPosition2D(64.000000, 0.000000)
ForwardTractor.SetRepairComplexity(1.000000)
ForwardTractor.SetDisabledPercentage(0.500000)
ForwardTractor.SetRadius(0.150000)
ForwardTractor.SetDumbfire(0)
ForwardTractor.SetWeaponID(0)
ForwardTractor.SetGroups(0)
ForwardTractor.SetDamageRadiusFactor(0.300000)
ForwardTractor.SetIconNum(0)
ForwardTractor.SetIconPositionX(0.000000)
ForwardTractor.SetIconPositionY(0.000000)
ForwardTractor.SetIconAboveShip(1)
ForwardTractor.SetFireSound("Tractor Beam")
ForwardTractor.SetMaxCharge(5.000000)
ForwardTractor.SetMaxDamage(80.000000)
ForwardTractor.SetMaxDamageDistance(118.000000)
ForwardTractor.SetMinFiringCharge(3.000000)
ForwardTractor.SetNormalDischargeRate(1.000000)
ForwardTractor.SetRechargeRate(2.000000)
ForwardTractor.SetIndicatorIconNum(0)
ForwardTractor.SetIndicatorIconPositionX(0.000000)
ForwardTractor.SetIndicatorIconPositionY(0.000000)
ForwardTractorForward = App.TGPoint3()
ForwardTractorForward.SetXYZ(0.000000, 1.000000, 0.000000)
ForwardTractorUp = App.TGPoint3()
ForwardTractorUp.SetXYZ(0.000000, 0.000000, 1.000000)
ForwardTractor.SetOrientation(ForwardTractorForward, ForwardTractorUp)
ForwardTractor.SetArcWidthAngles(-0.523599, 0.523599)
ForwardTractor.SetArcHeightAngles(-0.523599, 0.523599)
ForwardTractor.SetTractorBeamWidth(0.300000)
ForwardTractor.SetTextureStart(0)
ForwardTractor.SetTextureEnd(0)
ForwardTractor.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
kColor = App.TGColorA()
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
ForwardTractor.SetOuterShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
ForwardTractor.SetInnerShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
ForwardTractor.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
ForwardTractor.SetInnerCoreColor(kColor)
ForwardTractor.SetNumSides(12)
ForwardTractor.SetMainRadius(0.075000)
ForwardTractor.SetTaperRadius(0.000000)
ForwardTractor.SetCoreScale(0.450000)
ForwardTractor.SetTaperRatio(0.200000)
ForwardTractor.SetTaperMinLength(1.000000)
ForwardTractor.SetTaperMaxLength(5.000000)
ForwardTractor.SetLengthTextureTilePerUnit(0.250000)
ForwardTractor.SetPerimeterTile(1.000000)
ForwardTractor.SetTextureSpeed(0.200000)
ForwardTractor.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(ForwardTractor)
#################################################
CenterTractor = App.TractorBeamProperty_Create("Center Tractor")

CenterTractor.SetMaxCondition(800.000000)
CenterTractor.SetCritical(0)
CenterTractor.SetTargetable(1)
CenterTractor.SetPrimary(1)
CenterTractor.SetPosition(0.000000, 0.050000, 0.750000)
CenterTractor.SetPosition2D(64.000000, 65.000000)
CenterTractor.SetRepairComplexity(1.000000)
CenterTractor.SetDisabledPercentage(0.500000)
CenterTractor.SetRadius(0.150000)
CenterTractor.SetDumbfire(0)
CenterTractor.SetWeaponID(0)
CenterTractor.SetGroups(0)
CenterTractor.SetDamageRadiusFactor(0.300000)
CenterTractor.SetIconNum(0)
CenterTractor.SetIconPositionX(0.000000)
CenterTractor.SetIconPositionY(0.000000)
CenterTractor.SetIconAboveShip(1)
CenterTractor.SetFireSound("Tractor Beam")
CenterTractor.SetMaxCharge(5.000000)
CenterTractor.SetMaxDamage(100.000000)
CenterTractor.SetMaxDamageDistance(150.000000)
CenterTractor.SetMinFiringCharge(3.000000)
CenterTractor.SetNormalDischargeRate(1.000000)
CenterTractor.SetRechargeRate(2.000000)
CenterTractor.SetIndicatorIconNum(0)
CenterTractor.SetIndicatorIconPositionX(0.000000)
CenterTractor.SetIndicatorIconPositionY(0.000000)
CenterTractorForward = App.TGPoint3()
CenterTractorForward.SetXYZ(0.000000, 1.000000, 0.000000)
CenterTractorUp = App.TGPoint3()
CenterTractorUp.SetXYZ(0.000000, 0.000000, 1.000000)
CenterTractor.SetOrientation(CenterTractorForward, CenterTractorUp)
CenterTractor.SetArcWidthAngles(-0.349066, 0.349066)
CenterTractor.SetArcHeightAngles(-0.872665, -0.087266)
CenterTractor.SetTractorBeamWidth(0.300000)
CenterTractor.SetTextureStart(0)
CenterTractor.SetTextureEnd(0)
CenterTractor.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
kColor = App.TGColorA()
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
CenterTractor.SetOuterShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
CenterTractor.SetInnerShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
CenterTractor.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
CenterTractor.SetInnerCoreColor(kColor)
CenterTractor.SetNumSides(12)
CenterTractor.SetMainRadius(0.075000)
CenterTractor.SetTaperRadius(0.000000)
CenterTractor.SetCoreScale(0.450000)
CenterTractor.SetTaperRatio(0.200000)
CenterTractor.SetTaperMinLength(1.000000)
CenterTractor.SetTaperMaxLength(5.000000)
CenterTractor.SetLengthTextureTilePerUnit(0.250000)
CenterTractor.SetPerimeterTile(1.000000)
CenterTractor.SetTextureSpeed(0.200000)
CenterTractor.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(CenterTractor)
#################################################
AftTractor = App.TractorBeamProperty_Create("Aft Tractor")

AftTractor.SetMaxCondition(800.000000)
AftTractor.SetCritical(0)
AftTractor.SetTargetable(1)
AftTractor.SetPrimary(1)
AftTractor.SetPosition(0.000000, -1.140000, 0.800000)
AftTractor.SetPosition2D(64.000000, 118.000000)
AftTractor.SetRepairComplexity(1.000000)
AftTractor.SetDisabledPercentage(0.500000)
AftTractor.SetRadius(0.150000)
AftTractor.SetDumbfire(0)
AftTractor.SetWeaponID(0)
AftTractor.SetGroups(0)
AftTractor.SetDamageRadiusFactor(0.300000)
AftTractor.SetIconNum(0)
AftTractor.SetIconPositionX(0.000000)
AftTractor.SetIconPositionY(0.000000)
AftTractor.SetIconAboveShip(1)
AftTractor.SetFireSound("Tractor Beam")
AftTractor.SetMaxCharge(5.000000)
AftTractor.SetMaxDamage(100.000000)
AftTractor.SetMaxDamageDistance(150.000000)
AftTractor.SetMinFiringCharge(3.000000)
AftTractor.SetNormalDischargeRate(1.000000)
AftTractor.SetRechargeRate(2.000000)
AftTractor.SetIndicatorIconNum(0)
AftTractor.SetIndicatorIconPositionX(0.000000)
AftTractor.SetIndicatorIconPositionY(0.000000)
AftTractorForward = App.TGPoint3()
AftTractorForward.SetXYZ(0.000000, -1.000000, 0.000000)
AftTractorUp = App.TGPoint3()
AftTractorUp.SetXYZ(0.000000, 0.000000, 1.000000)
AftTractor.SetOrientation(AftTractorForward, AftTractorUp)
AftTractor.SetArcWidthAngles(-0.523599, 0.523599)
AftTractor.SetArcHeightAngles(-1.134464, 1.134464)
AftTractor.SetTractorBeamWidth(0.300000)
AftTractor.SetTextureStart(0)
AftTractor.SetTextureEnd(0)
AftTractor.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
kColor = App.TGColorA()
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
AftTractor.SetOuterShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
AftTractor.SetInnerShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
AftTractor.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
AftTractor.SetInnerCoreColor(kColor)
AftTractor.SetNumSides(12)
AftTractor.SetMainRadius(0.075000)
AftTractor.SetTaperRadius(0.000000)
AftTractor.SetCoreScale(0.450000)
AftTractor.SetTaperRatio(0.200000)
AftTractor.SetTaperMinLength(1.000000)
AftTractor.SetTaperMaxLength(5.000000)
AftTractor.SetLengthTextureTilePerUnit(0.250000)
AftTractor.SetPerimeterTile(1.000000)
AftTractor.SetTextureSpeed(0.200000)
AftTractor.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(AftTractor)

# Property load function.
def LoadPropertySet(pObj):
	"Sets up the object's properties."
	prop = App.g_kModelPropertyManager.FindByName("McKinley Station", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Hull", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Shield Generator", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Sensor Array", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Warp Core", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Station Control", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
