# C:\Program Files\Activision\Bridge Commander\scripts\ships\Hardpoints\TieAvenger.py
# This file was automatically generated - modify at your own risk.
# 

import App
import GlobalPropertyTemplates
# Setting up local templates.
#################################################
IonEngine1 = App.EngineProperty_Create("Ion Engine 1")

IonEngine1.SetMaxCondition(950.000000)
IonEngine1.SetCritical(0)
IonEngine1.SetTargetable(1)
IonEngine1.SetPrimary(1)
IonEngine1.SetPosition(-0.009000, -0.021000, 0.000000)
IonEngine1.SetPosition2D(0.000000, 0.000000)
IonEngine1.SetRepairComplexity(1.000000)
IonEngine1.SetDisabledPercentage(0.500000)
IonEngine1.SetRadius(0.002000)
IonEngine1.SetEngineType(IonEngine1.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(IonEngine1)
#################################################
IonEngine2 = App.EngineProperty_Create("Ion Engine 2")

IonEngine2.SetMaxCondition(950.000000)
IonEngine2.SetCritical(0)
IonEngine2.SetTargetable(1)
IonEngine2.SetPrimary(1)
IonEngine2.SetPosition(0.009000, -0.021000, 0.000000)
IonEngine2.SetPosition2D(0.000000, 0.000000)
IonEngine2.SetRepairComplexity(1.000000)
IonEngine2.SetDisabledPercentage(0.500000)
IonEngine2.SetRadius(0.002000)
IonEngine2.SetEngineType(IonEngine2.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(IonEngine2)
#################################################
Hull = App.HullProperty_Create("Hull")

Hull.SetMaxCondition(750.000000)
Hull.SetCritical(1)
Hull.SetTargetable(1)
Hull.SetPrimary(1)
Hull.SetPosition(0.000000, 0.000000, 0.000000)
Hull.SetPosition2D(0.000000, 0.000000)
Hull.SetRepairComplexity(3.000000)
Hull.SetDisabledPercentage(0.750000)
Hull.SetRadius(0.023000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Hull)
#################################################
SolarIonizationReactor = App.PowerProperty_Create("Solar Ionization Reactor")

SolarIonizationReactor.SetMaxCondition(600.000000)
SolarIonizationReactor.SetCritical(1)
SolarIonizationReactor.SetTargetable(1)
SolarIonizationReactor.SetPrimary(1)
SolarIonizationReactor.SetPosition(0.000000, -0.013000, 0.000000)
SolarIonizationReactor.SetPosition2D(0.000000, 0.000000)
SolarIonizationReactor.SetRepairComplexity(1.000000)
SolarIonizationReactor.SetDisabledPercentage(0.500000)
SolarIonizationReactor.SetRadius(0.004000)
SolarIonizationReactor.SetMainBatteryLimit(150000.000000)
SolarIonizationReactor.SetBackupBatteryLimit(100000.000000)
SolarIonizationReactor.SetMainConduitCapacity(500.000000)
SolarIonizationReactor.SetBackupConduitCapacity(120.000000)
SolarIonizationReactor.SetPowerOutput(400.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(SolarIonizationReactor)
#################################################
RepairSystem = App.RepairSubsystemProperty_Create("Repair System")

RepairSystem.SetMaxCondition(200.000000)
RepairSystem.SetCritical(0)
RepairSystem.SetTargetable(0)
RepairSystem.SetPrimary(1)
RepairSystem.SetPosition(0.000000, 0.000000, 0.000000)
RepairSystem.SetPosition2D(0.000000, 0.000000)
RepairSystem.SetRepairComplexity(1.000000)
RepairSystem.SetDisabledPercentage(0.500000)
RepairSystem.SetRadius(0.002000)
RepairSystem.SetNormalPowerPerSecond(1.000000)
RepairSystem.SetMaxRepairPoints(10.000000)
RepairSystem.SetNumRepairTeams(1)
App.g_kModelPropertyManager.RegisterLocalTemplate(RepairSystem)
#################################################
ShieldGenerator = App.ShieldProperty_Create("Shield Generator")

ShieldGenerator.SetMaxCondition(1200.000000)
ShieldGenerator.SetCritical(0)
ShieldGenerator.SetTargetable(0)
ShieldGenerator.SetPrimary(1)
ShieldGenerator.SetPosition(0.000000, -0.013000, 0.000000)
ShieldGenerator.SetPosition2D(0.000000, 0.000000)
ShieldGenerator.SetRepairComplexity(1.000000)
ShieldGenerator.SetDisabledPercentage(0.500000)
ShieldGenerator.SetRadius(0.002000)
ShieldGenerator.SetNormalPowerPerSecond(1.000000)
ShieldGeneratorShieldGlowColor = App.TGColorA()
ShieldGeneratorShieldGlowColor.SetRGBA(0.000000, 0.000000, 0.000000, 0.000000)
ShieldGenerator.SetShieldGlowColor(ShieldGeneratorShieldGlowColor)
ShieldGenerator.SetShieldGlowDecay(1.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.FRONT_SHIELDS, 1000.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.REAR_SHIELDS, 700.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.TOP_SHIELDS, 700.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.BOTTOM_SHIELDS, 700.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.LEFT_SHIELDS, 700.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.RIGHT_SHIELDS, 700.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.FRONT_SHIELDS, 5.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.REAR_SHIELDS, 4.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.TOP_SHIELDS, 4.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.BOTTOM_SHIELDS, 4.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.LEFT_SHIELDS, 4.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.RIGHT_SHIELDS, 4.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(ShieldGenerator)
#################################################
TIEAvenger = App.ShipProperty_Create("TIE Avenger")

TIEAvenger.SetGenus(0)
TIEAvenger.SetSpecies(401)
TIEAvenger.SetMass(7.100000)
TIEAvenger.SetRotationalInertia(2500.000000)
TIEAvenger.SetShipName("TieAvenger")
TIEAvenger.SetModelFilename("data/Models/Ships/tieinterceptor/TIE-Av.nif")
TIEAvenger.SetDamageResolution(10.000000)
TIEAvenger.SetAffiliation(0)
TIEAvenger.SetStationary(0)
TIEAvenger.SetAIString("NonFedAttack")
TIEAvenger.SetDeathExplosionSound("g_lsDeathExplosions")
App.g_kModelPropertyManager.RegisterLocalTemplate(TIEAvenger)
#################################################
MissileSystem = App.TorpedoSystemProperty_Create("Missile System")

MissileSystem.SetMaxCondition(400.000000)
MissileSystem.SetCritical(0)
MissileSystem.SetTargetable(0)
MissileSystem.SetPrimary(1)
MissileSystem.SetPosition(0.000000, 0.010000, -0.008000)
MissileSystem.SetPosition2D(0.000000, 0.000000)
MissileSystem.SetRepairComplexity(1.000000)
MissileSystem.SetDisabledPercentage(0.500000)
MissileSystem.SetRadius(0.001000)
MissileSystem.SetNormalPowerPerSecond(1.000000)
MissileSystem.SetWeaponSystemType(MissileSystem.WST_TORPEDO)
MissileSystem.SetSingleFire(1)
MissileSystem.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
MissileSystem.SetFiringChainString(kFiringChainString)
MissileSystem.SetMaxTorpedoes(0, 4)
MissileSystem.SetTorpedoScript(0, "Tactical.Projectiles.cmissile")
MissileSystem.SetNumAmmoTypes(1)
App.g_kModelPropertyManager.RegisterLocalTemplate(MissileSystem)
#################################################
torpedo = App.TorpedoTubeProperty_Create("torpedo")

torpedo.SetMaxCondition(200.000000)
torpedo.SetCritical(0)
torpedo.SetTargetable(0)
torpedo.SetPrimary(1)
torpedo.SetPosition(0.000000, 0.000000, 0.000000)
torpedo.SetPosition2D(0.000000, 0.000000)
torpedo.SetRepairComplexity(1.000000)
torpedo.SetDisabledPercentage(0.500000)
torpedo.SetRadius(0.020000)
torpedo.SetDumbfire(1)
torpedo.SetWeaponID(0)
torpedo.SetGroups(0)
torpedo.SetDamageRadiusFactor(0.600000)
torpedo.SetIconNum(0)
torpedo.SetIconPositionX(0.000000)
torpedo.SetIconPositionY(0.000000)
torpedo.SetIconAboveShip(1)
torpedo.SetImmediateDelay(0.250000)
torpedo.SetReloadDelay(5.000000)
torpedo.SetMaxReady(3)
torpedoDirection = App.TGPoint3()
torpedoDirection.SetXYZ(0.000000, 1.000000, 0.000000)
torpedo.SetDirection(torpedoDirection)
torpedoRight = App.TGPoint3()
torpedoRight.SetXYZ(1.000000, 0.000000, 0.000000)
torpedo.SetRight(torpedoRight)
App.g_kModelPropertyManager.RegisterLocalTemplate(torpedo)
#################################################
LaserEmiter = App.WeaponSystemProperty_Create("Laser Emiter")

LaserEmiter.SetMaxCondition(600.000000)
LaserEmiter.SetCritical(0)
LaserEmiter.SetTargetable(1)
LaserEmiter.SetPrimary(1)
LaserEmiter.SetPosition(0.000000, -0.013000, 0.000000)
LaserEmiter.SetPosition2D(0.000000, 0.000000)
LaserEmiter.SetRepairComplexity(1.000000)
LaserEmiter.SetDisabledPercentage(0.500000)
LaserEmiter.SetRadius(0.002000)
LaserEmiter.SetNormalPowerPerSecond(100.000000)
LaserEmiter.SetWeaponSystemType(LaserEmiter.WST_PULSE)
LaserEmiter.SetSingleFire(1)
LaserEmiter.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
LaserEmiter.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(LaserEmiter)
#################################################
TIEEngine = App.ImpulseEngineProperty_Create("TIE Engine")

TIEEngine.SetMaxCondition(1200.000000)
TIEEngine.SetCritical(0)
TIEEngine.SetTargetable(0)
TIEEngine.SetPrimary(1)
TIEEngine.SetPosition(0.000000, -0.020000, 0.000000)
TIEEngine.SetPosition2D(0.000000, 0.000000)
TIEEngine.SetRepairComplexity(1.000000)
TIEEngine.SetDisabledPercentage(0.500000)
TIEEngine.SetRadius(0.002000)
TIEEngine.SetNormalPowerPerSecond(80.000000)
TIEEngine.SetMaxAccel(4.700000)
TIEEngine.SetMaxAngularAccel(1.400000)
TIEEngine.SetMaxAngularVelocity(1.400000)
TIEEngine.SetMaxSpeed(6.100000)
TIEEngine.SetEngineSound("TIEengine")
App.g_kModelPropertyManager.RegisterLocalTemplate(TIEEngine)
#################################################
Laser1 = App.PulseWeaponProperty_Create("Laser 1")

Laser1.SetMaxCondition(500.000000)
Laser1.SetCritical(0)
Laser1.SetTargetable(1)
Laser1.SetPrimary(1)
Laser1.SetPosition(-0.026600, 0.049000, 0.007500)
Laser1.SetPosition2D(0.000000, 0.000000)
Laser1.SetRepairComplexity(1.000000)
Laser1.SetDisabledPercentage(0.500000)
Laser1.SetRadius(0.003000)
Laser1.SetDumbfire(1)
Laser1.SetWeaponID(0)
Laser1.SetGroups(1)
Laser1.SetDamageRadiusFactor(0.300000)
Laser1.SetIconNum(0)
Laser1.SetIconPositionX(0.000000)
Laser1.SetIconPositionY(0.000000)
Laser1.SetIconAboveShip(1)
Laser1.SetFireSound("")
Laser1.SetMaxCharge(2.000000)
Laser1.SetMaxDamage(1125.000000)
Laser1.SetMaxDamageDistance(40.000000)
Laser1.SetMinFiringCharge(1.000000)
Laser1.SetNormalDischargeRate(1.000000)
Laser1.SetRechargeRate(0.500000)
Laser1.SetIndicatorIconNum(0)
Laser1.SetIndicatorIconPositionX(0.000000)
Laser1.SetIndicatorIconPositionY(0.000000)
Laser1Forward = App.TGPoint3()
Laser1Forward.SetXYZ(0.000000, 1.000000, 0.000000)
Laser1Up = App.TGPoint3()
Laser1Up.SetXYZ(0.000000, 0.000000, 1.000000)
Laser1.SetOrientation(Laser1Forward, Laser1Up)
Laser1.SetArcWidthAngles(-0.174533, 0.174533)
Laser1.SetArcHeightAngles(-0.174533, 0.174533)
Laser1.SetCooldownTime(0.100000)
Laser1.SetModuleName("Tactical.Projectiles.ImpFighterLaser")
App.g_kModelPropertyManager.RegisterLocalTemplate(Laser1)
#################################################
Laser4 = App.PulseWeaponProperty_Create("Laser 4")

Laser4.SetMaxCondition(500.000000)
Laser4.SetCritical(0)
Laser4.SetTargetable(1)
Laser4.SetPrimary(1)
Laser4.SetPosition(0.026600, 0.049000, 0.007500)
Laser4.SetPosition2D(0.000000, 0.000000)
Laser4.SetRepairComplexity(1.000000)
Laser4.SetDisabledPercentage(0.500000)
Laser4.SetRadius(0.003000)
Laser4.SetDumbfire(1)
Laser4.SetWeaponID(0)
Laser4.SetGroups(2)
Laser4.SetDamageRadiusFactor(0.300000)
Laser4.SetIconNum(0)
Laser4.SetIconPositionX(0.000000)
Laser4.SetIconPositionY(0.000000)
Laser4.SetIconAboveShip(1)
Laser4.SetFireSound("")
Laser4.SetMaxCharge(2.000000)
Laser4.SetMaxDamage(1125.000000)
Laser4.SetMaxDamageDistance(40.000000)
Laser4.SetMinFiringCharge(1.000000)
Laser4.SetNormalDischargeRate(1.000000)
Laser4.SetRechargeRate(0.500000)
Laser4.SetIndicatorIconNum(0)
Laser4.SetIndicatorIconPositionX(0.000000)
Laser4.SetIndicatorIconPositionY(0.000000)
Laser4Forward = App.TGPoint3()
Laser4Forward.SetXYZ(0.000000, 1.000000, 0.000000)
Laser4Up = App.TGPoint3()
Laser4Up.SetXYZ(0.000000, 0.000000, 1.000000)
Laser4.SetOrientation(Laser4Forward, Laser4Up)
Laser4.SetArcWidthAngles(-0.174533, 0.174533)
Laser4.SetArcHeightAngles(-0.174533, 0.174533)
Laser4.SetCooldownTime(0.100000)
Laser4.SetModuleName("Tactical.Projectiles.ImpFighterLaser")
App.g_kModelPropertyManager.RegisterLocalTemplate(Laser4)
#################################################
Laser2 = App.PulseWeaponProperty_Create("Laser 2")

Laser2.SetMaxCondition(500.000000)
Laser2.SetCritical(0)
Laser2.SetTargetable(1)
Laser2.SetPrimary(1)
Laser2.SetPosition(0.026600, 0.049000, -0.007500)
Laser2.SetPosition2D(0.000000, 0.000000)
Laser2.SetRepairComplexity(1.000000)
Laser2.SetDisabledPercentage(0.500000)
Laser2.SetRadius(0.003000)
Laser2.SetDumbfire(1)
Laser2.SetWeaponID(0)
Laser2.SetGroups(1)
Laser2.SetDamageRadiusFactor(0.300000)
Laser2.SetIconNum(0)
Laser2.SetIconPositionX(0.000000)
Laser2.SetIconPositionY(0.000000)
Laser2.SetIconAboveShip(1)
Laser2.SetFireSound("")
Laser2.SetMaxCharge(2.000000)
Laser2.SetMaxDamage(1125.000000)
Laser2.SetMaxDamageDistance(40.000000)
Laser2.SetMinFiringCharge(1.000000)
Laser2.SetNormalDischargeRate(1.000000)
Laser2.SetRechargeRate(0.500000)
Laser2.SetIndicatorIconNum(0)
Laser2.SetIndicatorIconPositionX(0.000000)
Laser2.SetIndicatorIconPositionY(0.000000)
Laser2Forward = App.TGPoint3()
Laser2Forward.SetXYZ(0.000000, 1.000000, 0.000000)
Laser2Up = App.TGPoint3()
Laser2Up.SetXYZ(0.000000, 0.000000, 1.000000)
Laser2.SetOrientation(Laser2Forward, Laser2Up)
Laser2.SetArcWidthAngles(-0.174533, 0.174533)
Laser2.SetArcHeightAngles(-0.174533, 0.174533)
Laser2.SetCooldownTime(0.100000)
Laser2.SetModuleName("Tactical.Projectiles.ImpFighterLaser")
App.g_kModelPropertyManager.RegisterLocalTemplate(Laser2)
#################################################
Laser3 = App.PulseWeaponProperty_Create("Laser 3")

Laser3.SetMaxCondition(500.000000)
Laser3.SetCritical(0)
Laser3.SetTargetable(1)
Laser3.SetPrimary(1)
Laser3.SetPosition(-0.026600, 0.049000, -0.007500)
Laser3.SetPosition2D(0.000000, 0.000000)
Laser3.SetRepairComplexity(1.000000)
Laser3.SetDisabledPercentage(0.500000)
Laser3.SetRadius(0.003000)
Laser3.SetDumbfire(1)
Laser3.SetWeaponID(0)
Laser3.SetGroups(2)
Laser3.SetDamageRadiusFactor(0.300000)
Laser3.SetIconNum(0)
Laser3.SetIconPositionX(0.000000)
Laser3.SetIconPositionY(0.000000)
Laser3.SetIconAboveShip(1)
Laser3.SetFireSound("")
Laser3.SetMaxCharge(2.000000)
Laser3.SetMaxDamage(1125.000000)
Laser3.SetMaxDamageDistance(40.000000)
Laser3.SetMinFiringCharge(1.000000)
Laser3.SetNormalDischargeRate(1.000000)
Laser3.SetRechargeRate(0.500000)
Laser3.SetIndicatorIconNum(0)
Laser3.SetIndicatorIconPositionX(0.000000)
Laser3.SetIndicatorIconPositionY(0.000000)
Laser3Forward = App.TGPoint3()
Laser3Forward.SetXYZ(0.000000, 1.000000, 0.000000)
Laser3Up = App.TGPoint3()
Laser3Up.SetXYZ(0.000000, 0.000000, 1.000000)
Laser3.SetOrientation(Laser3Forward, Laser3Up)
Laser3.SetArcWidthAngles(-0.174533, 0.174533)
Laser3.SetArcHeightAngles(-0.174533, 0.174533)
Laser3.SetCooldownTime(0.100000)
Laser3.SetModuleName("Tactical.Projectiles.ImpFighterLaser")
App.g_kModelPropertyManager.RegisterLocalTemplate(Laser3)
#################################################
SensorArray = App.SensorProperty_Create("Sensor Array")

SensorArray.SetMaxCondition(1200.000000)
SensorArray.SetCritical(0)
SensorArray.SetTargetable(1)
SensorArray.SetPrimary(1)
SensorArray.SetPosition(0.000000, 0.010000, -0.008000)
SensorArray.SetPosition2D(0.000000, 0.000000)
SensorArray.SetRepairComplexity(1.000000)
SensorArray.SetDisabledPercentage(0.500000)
SensorArray.SetRadius(0.003000)
SensorArray.SetNormalPowerPerSecond(1.000000)
SensorArray.SetBaseSensorRange(1000.000000)
SensorArray.SetMaxProbes(0)
App.g_kModelPropertyManager.RegisterLocalTemplate(SensorArray)
#################################################
ViewscreenForward = App.PositionOrientationProperty_Create("ViewscreenForward")

ViewscreenForwardForward = App.TGPoint3()
ViewscreenForwardForward.SetXYZ(0.000000, 1.000000, 0.000000)
ViewscreenForwardUp = App.TGPoint3()
ViewscreenForwardUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenForwardRight = App.TGPoint3()
ViewscreenForwardRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenForward.SetOrientation(ViewscreenForwardForward, ViewscreenForwardUp, ViewscreenForwardRight)
ViewscreenForwardPosition = App.TGPoint3()
ViewscreenForwardPosition.SetXYZ(0.000000, 0.020000, 0.000000)
ViewscreenForward.SetPosition(ViewscreenForwardPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenForward)
#################################################
ViewscreenBack = App.PositionOrientationProperty_Create("ViewscreenBack")

ViewscreenBackForward = App.TGPoint3()
ViewscreenBackForward.SetXYZ(0.000000, -1.000000, 0.000000)
ViewscreenBackUp = App.TGPoint3()
ViewscreenBackUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenBackRight = App.TGPoint3()
ViewscreenBackRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenBack.SetOrientation(ViewscreenBackForward, ViewscreenBackUp, ViewscreenBackRight)
ViewscreenBackPosition = App.TGPoint3()
ViewscreenBackPosition.SetXYZ(0.000000, 0.200000, 0.000000)
ViewscreenBack.SetPosition(ViewscreenBackPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenBack)
#################################################
Torp1 = App.TorpedoTubeProperty_Create("Torp 1")

Torp1.SetMaxCondition(1200.000000)
Torp1.SetCritical(0)
Torp1.SetTargetable(1)
Torp1.SetPrimary(1)
Torp1.SetPosition(0.014200, 0.015000, 0.000000)
Torp1.SetPosition2D(0.000000, 0.000000)
Torp1.SetRepairComplexity(1.000000)
Torp1.SetDisabledPercentage(0.500000)
Torp1.SetRadius(0.001000)
Torp1.SetDumbfire(1)
Torp1.SetWeaponID(0)
Torp1.SetGroups(0)
Torp1.SetDamageRadiusFactor(0.600000)
Torp1.SetIconNum(0)
Torp1.SetIconPositionX(0.000000)
Torp1.SetIconPositionY(0.000000)
Torp1.SetIconAboveShip(1)
Torp1.SetImmediateDelay(0.150000)
Torp1.SetReloadDelay(1.000000)
Torp1.SetMaxReady(1)
Torp1Direction = App.TGPoint3()
Torp1Direction.SetXYZ(0.000000, 1.000000, 0.000000)
Torp1.SetDirection(Torp1Direction)
Torp1Right = App.TGPoint3()
Torp1Right.SetXYZ(1.000000, 0.000000, 0.000000)
Torp1.SetRight(Torp1Right)
App.g_kModelPropertyManager.RegisterLocalTemplate(Torp1)
#################################################
Torp2 = App.TorpedoTubeProperty_Create("Torp 2")

Torp2.SetMaxCondition(1200.000000)
Torp2.SetCritical(0)
Torp2.SetTargetable(1)
Torp2.SetPrimary(1)
Torp2.SetPosition(-0.014200, 0.015000, 0.000000)
Torp2.SetPosition2D(0.000000, 0.000000)
Torp2.SetRepairComplexity(1.000000)
Torp2.SetDisabledPercentage(0.500000)
Torp2.SetRadius(0.001000)
Torp2.SetDumbfire(1)
Torp2.SetWeaponID(0)
Torp2.SetGroups(0)
Torp2.SetDamageRadiusFactor(0.600000)
Torp2.SetIconNum(0)
Torp2.SetIconPositionX(0.000000)
Torp2.SetIconPositionY(0.000000)
Torp2.SetIconAboveShip(1)
Torp2.SetImmediateDelay(0.150000)
Torp2.SetReloadDelay(1.000000)
Torp2.SetMaxReady(1)
Torp2Direction = App.TGPoint3()
Torp2Direction.SetXYZ(0.000000, 1.000000, 0.000000)
Torp2.SetDirection(Torp2Direction)
Torp2Right = App.TGPoint3()
Torp2Right.SetXYZ(-1.000000, 0.000000, 0.000000)
Torp2.SetRight(Torp2Right)
App.g_kModelPropertyManager.RegisterLocalTemplate(Torp2)
#################################################
Hyperdrive = App.WarpEngineProperty_Create("Hyperdrive")

Hyperdrive.SetMaxCondition(1600.000000)
Hyperdrive.SetCritical(0)
Hyperdrive.SetTargetable(1)
Hyperdrive.SetPrimary(1)
Hyperdrive.SetPosition(0.000000, -0.028000, 0.000000)
Hyperdrive.SetPosition2D(0.000000, 0.000000)
Hyperdrive.SetRepairComplexity(1.000000)
Hyperdrive.SetDisabledPercentage(0.500000)
Hyperdrive.SetRadius(0.010000)
Hyperdrive.SetNormalPowerPerSecond(30.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Hyperdrive)
#################################################
Cockpit = App.HullProperty_Create("Cockpit")

Cockpit.SetMaxCondition(900.000000)
Cockpit.SetCritical(1)
Cockpit.SetTargetable(1)
Cockpit.SetPrimary(0)
Cockpit.SetPosition(0.000000, 0.020600, 0.000000)
Cockpit.SetPosition2D(0.000000, 0.000000)
Cockpit.SetRepairComplexity(1.000000)
Cockpit.SetDisabledPercentage(0.500000)
Cockpit.SetRadius(0.007000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Cockpit)

# Property load function.
def LoadPropertySet(pObj):
	"Sets up the object's properties."
	prop = App.g_kModelPropertyManager.FindByName("Ion Engine 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Ion Engine 2", 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("Solar Ionization Reactor", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Repair System", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Missile System", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Laser Emiter", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("TIE Engine", 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("Laser 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Laser 2", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Laser 3", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Laser 4", 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("ViewscreenForward", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("ViewscreenBack", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Torp 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Torp 2", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Hyperdrive", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("TIE Avenger", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Cockpit", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
