#######################################################################################
#  Bridge Commander BC-Mod Pak                                                        #
#  Created by BC - Mod Packager BETA v4.4                                             #
#  Date: 24.03.2009                                                                    #
#######################################################################################

\scripts\ships\Hardpoints\Moonraker.py
;
# C:\Dokumente und Einstellungen\CafeX\Eigene Dateien\STBC\scripts\ships\Hardpoints\Moonraker.py
# This file was automatically generated - modify at your own risk.
# 

import App
import GlobalPropertyTemplates
# Setting up local templates.
#################################################
Hull = App.HullProperty_Create("Hull")

Hull.SetMaxCondition(1200.000000)
Hull.SetCritical(1)
Hull.SetTargetable(1)
Hull.SetPrimary(1)
Hull.SetPosition(0.000000, 0.000000, 0.000000)
Hull.SetPosition2D(65.000000, 60.000000)
Hull.SetRepairComplexity(1.000000)
Hull.SetDisabledPercentage(0.000000)
Hull.SetRadius(0.120000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Hull)
#################################################
RocketEngines = App.ImpulseEngineProperty_Create("Rocket Engines")

RocketEngines.SetMaxCondition(1000.000000)
RocketEngines.SetCritical(0)
RocketEngines.SetTargetable(0)
RocketEngines.SetPrimary(1)
RocketEngines.SetPosition(-0.003176, -0.186400, -0.035181)
RocketEngines.SetPosition2D(52.000000, 59.000000)
RocketEngines.SetRepairComplexity(2.000000)
RocketEngines.SetDisabledPercentage(0.500000)
RocketEngines.SetRadius(0.003000)
RocketEngines.SetNormalPowerPerSecond(10.000000)
RocketEngines.SetMaxAccel(2.500000)
RocketEngines.SetMaxAngularAccel(0.600000)
RocketEngines.SetMaxAngularVelocity(0.800000)
RocketEngines.SetMaxSpeed(4.000000)
RocketEngines.SetEngineSound("MoonrakerEngine")
App.g_kModelPropertyManager.RegisterLocalTemplate(RocketEngines)
#################################################
MainBattery = App.PowerProperty_Create("Main Battery")

MainBattery.SetMaxCondition(1000.000000)
MainBattery.SetCritical(1)
MainBattery.SetTargetable(1)
MainBattery.SetPrimary(1)
MainBattery.SetPosition(-0.001495, 0.163220, -0.038204)
MainBattery.SetPosition2D(65.000000, 80.000000)
MainBattery.SetRepairComplexity(1.000000)
MainBattery.SetDisabledPercentage(0.500000)
MainBattery.SetRadius(0.010000)
MainBattery.SetMainBatteryLimit(200000.000000)
MainBattery.SetBackupBatteryLimit(100000.000000)
MainBattery.SetMainConduitCapacity(140.000000)
MainBattery.SetBackupConduitCapacity(40.000000)
MainBattery.SetPowerOutput(10.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(MainBattery)
#################################################
RepairSystem = App.RepairSubsystemProperty_Create("Repair System")

RepairSystem.SetMaxCondition(200.000000)
RepairSystem.SetCritical(0)
RepairSystem.SetTargetable(1)
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.250000)
RepairSystem.SetNormalPowerPerSecond(1.000000)
RepairSystem.SetMaxRepairPoints(15.000000)
RepairSystem.SetNumRepairTeams(3)
App.g_kModelPropertyManager.RegisterLocalTemplate(RepairSystem)
#################################################
SensorArray = App.SensorProperty_Create("Sensor Array")

SensorArray.SetMaxCondition(1400.000000)
SensorArray.SetCritical(0)
SensorArray.SetTargetable(1)
SensorArray.SetPrimary(1)
SensorArray.SetPosition(-0.000906, 0.254124, -0.033632)
SensorArray.SetPosition2D(65.000000, 40.000000)
SensorArray.SetRepairComplexity(0.400000)
SensorArray.SetDisabledPercentage(0.500000)
SensorArray.SetRadius(0.010000)
SensorArray.SetNormalPowerPerSecond(1.000000)
SensorArray.SetBaseSensorRange(3000.000000)
SensorArray.SetMaxProbes(4)
App.g_kModelPropertyManager.RegisterLocalTemplate(SensorArray)
#################################################
HeatShield = App.ShieldProperty_Create("Heat Shield")

HeatShield.SetMaxCondition(2600.000000)
HeatShield.SetCritical(0)
HeatShield.SetTargetable(1)
HeatShield.SetPrimary(1)
HeatShield.SetPosition(-0.002626, -0.005863, -0.042477)
HeatShield.SetPosition2D(65.000000, 60.000000)
HeatShield.SetRepairComplexity(1.000000)
HeatShield.SetDisabledPercentage(0.750000)
HeatShield.SetRadius(0.020000)
HeatShield.SetNormalPowerPerSecond(1.000000)
HeatShieldShieldGlowColor = App.TGColorA()
HeatShieldShieldGlowColor.SetRGBA(0.000000, 0.000000, 0.000000, 0.000000)
HeatShield.SetShieldGlowColor(HeatShieldShieldGlowColor)
HeatShield.SetShieldGlowDecay(1.000000)
HeatShield.SetMaxShields(HeatShield.FRONT_SHIELDS, 0.000000)
HeatShield.SetMaxShields(HeatShield.REAR_SHIELDS, 0.000000)
HeatShield.SetMaxShields(HeatShield.TOP_SHIELDS, 0.000000)
HeatShield.SetMaxShields(HeatShield.BOTTOM_SHIELDS, 5000.000000)
HeatShield.SetMaxShields(HeatShield.LEFT_SHIELDS, 0.000000)
HeatShield.SetMaxShields(HeatShield.RIGHT_SHIELDS, 0.000000)
HeatShield.SetShieldChargePerSecond(HeatShield.FRONT_SHIELDS, 0.000000)
HeatShield.SetShieldChargePerSecond(HeatShield.REAR_SHIELDS, 0.000000)
HeatShield.SetShieldChargePerSecond(HeatShield.TOP_SHIELDS, 0.000000)
HeatShield.SetShieldChargePerSecond(HeatShield.BOTTOM_SHIELDS, 0.000000)
HeatShield.SetShieldChargePerSecond(HeatShield.LEFT_SHIELDS, 0.000000)
HeatShield.SetShieldChargePerSecond(HeatShield.RIGHT_SHIELDS, 0.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(HeatShield)
#################################################
Lasers = App.WeaponSystemProperty_Create("Lasers")

Lasers.SetMaxCondition(800.000000)
Lasers.SetCritical(0)
Lasers.SetTargetable(0)
Lasers.SetPrimary(1)
Lasers.SetPosition(-0.000309, 0.302888, -0.023100)
Lasers.SetPosition2D(79.000000, 59.000000)
Lasers.SetRepairComplexity(3.000000)
Lasers.SetDisabledPercentage(0.750000)
Lasers.SetRadius(0.002500)
Lasers.SetNormalPowerPerSecond(70.000000)
Lasers.SetWeaponSystemType(Lasers.WST_PHASER)
Lasers.SetSingleFire(0)
Lasers.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
Lasers.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(Lasers)
#################################################
Laser1 = App.PhaserProperty_Create("Laser1")

Laser1.SetMaxCondition(800.000000)
Laser1.SetCritical(0)
Laser1.SetTargetable(1)
Laser1.SetPrimary(1)
Laser1.SetPosition(0.003194, 0.308895, -0.014246)
Laser1.SetPosition2D(65.000000, 26.000000)
Laser1.SetRepairComplexity(3.000000)
Laser1.SetDisabledPercentage(0.750000)
Laser1.SetRadius(0.034000)
Laser1.SetDumbfire(0)
Laser1.SetWeaponID(1)
Laser1.SetGroups(1)
Laser1.SetDamageRadiusFactor(0.100000)
Laser1.SetIconNum(364)
Laser1.SetIconPositionX(62.000000)
Laser1.SetIconPositionY(25.000000)
Laser1.SetIconAboveShip(1)
Laser1.SetFireSound("Moonrakerlaser1")
Laser1.SetMaxCharge(1.000000)
Laser1.SetMaxDamage(300.000000)
Laser1.SetMaxDamageDistance(45.000000)
Laser1.SetMinFiringCharge(1.000000)
Laser1.SetNormalDischargeRate(1.000000)
Laser1.SetRechargeRate(0.050000)
Laser1.SetIndicatorIconNum(510)
Laser1.SetIndicatorIconPositionX(56.000000)
Laser1.SetIndicatorIconPositionY(21.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.SetWidth(0.010000)
Laser1.SetLength(0.010000)
Laser1.SetArcWidthAngles(-0.959931, 0.959931)
Laser1.SetArcHeightAngles(-1.047198, 0.610865)
Laser1.SetPhaserTextureStart(10)
Laser1.SetPhaserTextureEnd(20)
Laser1.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.000000, 1.000000, 1.000000, 1.000000)
Laser1.SetOuterShellColor(kColor)
kColor.SetRGBA(0.000000, 0.000000, 1.000000, 1.000000)
Laser1.SetInnerShellColor(kColor)
kColor.SetRGBA(0.000000, 1.000000, 1.000000, 1.000000)
Laser1.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.000000, 0.000000, 1.000000, 1.000000)
Laser1.SetInnerCoreColor(kColor)
Laser1.SetNumSides(12)
Laser1.SetMainRadius(0.006000)
Laser1.SetTaperRadius(0.020000)
Laser1.SetCoreScale(0.500000)
Laser1.SetTaperRatio(0.250000)
Laser1.SetTaperMinLength(5.000000)
Laser1.SetTaperMaxLength(20.000000)
Laser1.SetLengthTextureTilePerUnit(0.100000)
Laser1.SetPerimeterTile(1.000000)
Laser1.SetTextureSpeed(2.500000)
Laser1.SetTextureName("data/phaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(Laser1)
#################################################
PortRocket1 = App.EngineProperty_Create("Port Rocket 1")

PortRocket1.SetMaxCondition(1100.000000)
PortRocket1.SetCritical(0)
PortRocket1.SetTargetable(1)
PortRocket1.SetPrimary(1)
PortRocket1.SetPosition(-0.037073, -0.182332, 0.045523)
PortRocket1.SetPosition2D(51.000000, 82.000000)
PortRocket1.SetRepairComplexity(1.000000)
PortRocket1.SetDisabledPercentage(0.500000)
PortRocket1.SetRadius(0.005000)
PortRocket1.SetEngineType(PortRocket1.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(PortRocket1)
#################################################
StarRocket1 = App.EngineProperty_Create("Star Rocket 1")

StarRocket1.SetMaxCondition(1100.000000)
StarRocket1.SetCritical(0)
StarRocket1.SetTargetable(1)
StarRocket1.SetPrimary(1)
StarRocket1.SetPosition(0.036537, -0.181682, 0.045474)
StarRocket1.SetPosition2D(79.000000, 82.000000)
StarRocket1.SetRepairComplexity(1.000000)
StarRocket1.SetDisabledPercentage(0.500000)
StarRocket1.SetRadius(0.005000)
StarRocket1.SetEngineType(StarRocket1.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(StarRocket1)
#################################################
Moonraker = App.ShipProperty_Create("Moonraker")

Moonraker.SetGenus(1)
Moonraker.SetSpecies(106)
Moonraker.SetMass(15.000000)
Moonraker.SetRotationalInertia(2000.000000)
Moonraker.SetShipName("Moonraker")
Moonraker.SetModelFilename("data/Models/Ships/Moonraker/Moonraker.nif")
Moonraker.SetDamageResolution(6.000000)
Moonraker.SetAffiliation(0)
Moonraker.SetStationary(0)
Moonraker.SetAIString("FedAttack")
Moonraker.SetDeathExplosionSound("g_lsDeathExplosions")
App.g_kModelPropertyManager.RegisterLocalTemplate(Moonraker)
#################################################
Repair = App.RepairSubsystemProperty_Create("Repair")

Repair.SetMaxCondition(200.000000)
Repair.SetCritical(0)
Repair.SetTargetable(0)
Repair.SetPrimary(1)
Repair.SetPosition(0.000000, 0.000000, 0.000000)
Repair.SetPosition2D(52.000000, 59.000000)
Repair.SetRepairComplexity(4.000000)
Repair.SetDisabledPercentage(0.100000)
Repair.SetRadius(0.030000)
Repair.SetNormalPowerPerSecond(1.000000)
Repair.SetMaxRepairPoints(5.000000)
Repair.SetNumRepairTeams(1)
App.g_kModelPropertyManager.RegisterLocalTemplate(Repair)
#################################################
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.000146, 0.228958, 0.035279)
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.000000, 0.000000)
ViewscreenBack.SetPosition(ViewscreenBackPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenBack)
#################################################
ViewscreenLeft = App.PositionOrientationProperty_Create("ViewscreenLeft")

ViewscreenLeftForward = App.TGPoint3()
ViewscreenLeftForward.SetXYZ(-1.000000, 0.000000, 0.000000)
ViewscreenLeftUp = App.TGPoint3()
ViewscreenLeftUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenLeftRight = App.TGPoint3()
ViewscreenLeftRight.SetXYZ(0.000000, 1.000000, 0.000000)
ViewscreenLeft.SetOrientation(ViewscreenLeftForward, ViewscreenLeftUp, ViewscreenLeftRight)
ViewscreenLeftPosition = App.TGPoint3()
ViewscreenLeftPosition.SetXYZ(-0.019080, 0.219493, 0.034271)
ViewscreenLeft.SetPosition(ViewscreenLeftPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenLeft)
#################################################
ViewscreenRight = App.PositionOrientationProperty_Create("ViewscreenRight")

ViewscreenRightForward = App.TGPoint3()
ViewscreenRightForward.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenRightUp = App.TGPoint3()
ViewscreenRightUp.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenRightRight = App.TGPoint3()
ViewscreenRightRight.SetXYZ(0.000000, -1.000000, 0.000000)
ViewscreenRight.SetOrientation(ViewscreenRightForward, ViewscreenRightUp, ViewscreenRightRight)
ViewscreenRightPosition = App.TGPoint3()
ViewscreenRightPosition.SetXYZ(0.017270, 0.220086, 0.034439)
ViewscreenRight.SetPosition(ViewscreenRightPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenRight)
#################################################
ViewscreenUp = App.PositionOrientationProperty_Create("ViewscreenUp")

ViewscreenUpForward = App.TGPoint3()
ViewscreenUpForward.SetXYZ(0.000000, 0.000000, 1.000000)
ViewscreenUpUp = App.TGPoint3()
ViewscreenUpUp.SetXYZ(0.000000, -1.000000, 0.000000)
ViewscreenUpRight = App.TGPoint3()
ViewscreenUpRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenUp.SetOrientation(ViewscreenUpForward, ViewscreenUpUp, ViewscreenUpRight)
ViewscreenUpPosition = App.TGPoint3()
ViewscreenUpPosition.SetXYZ(0.000000, 0.000000, 0.000000)
ViewscreenUp.SetPosition(ViewscreenUpPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenUp)
#################################################
ViewscreenDown = App.PositionOrientationProperty_Create("ViewscreenDown")

ViewscreenDownForward = App.TGPoint3()
ViewscreenDownForward.SetXYZ(0.000000, 0.000000, -1.000000)
ViewscreenDownUp = App.TGPoint3()
ViewscreenDownUp.SetXYZ(0.000000, 1.000000, 0.000000)
ViewscreenDownRight = App.TGPoint3()
ViewscreenDownRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenDown.SetOrientation(ViewscreenDownForward, ViewscreenDownUp, ViewscreenDownRight)
ViewscreenDownPosition = App.TGPoint3()
ViewscreenDownPosition.SetXYZ(0.000000, 0.000000, 0.000000)
ViewscreenDown.SetPosition(ViewscreenDownPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenDown)
#################################################
FirstPersonCamera = App.PositionOrientationProperty_Create("FirstPersonCamera")

FirstPersonCameraForward = App.TGPoint3()
FirstPersonCameraForward.SetXYZ(0.000000, 1.000000, 0.000000)
FirstPersonCameraUp = App.TGPoint3()
FirstPersonCameraUp.SetXYZ(0.000000, 0.000000, 1.000000)
FirstPersonCameraRight = App.TGPoint3()
FirstPersonCameraRight.SetXYZ(1.000000, 0.000000, 0.000000)
FirstPersonCamera.SetOrientation(FirstPersonCameraForward, FirstPersonCameraUp, FirstPersonCameraRight)
FirstPersonCameraPosition = App.TGPoint3()
FirstPersonCameraPosition.SetXYZ(0.000000, 0.110000, 0.020000)
FirstPersonCamera.SetPosition(FirstPersonCameraPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(FirstPersonCamera)
#################################################
DorsalCargoCrane = App.WeaponSystemProperty_Create("Dorsal Cargo Crane")

DorsalCargoCrane.SetMaxCondition(400.000000)
DorsalCargoCrane.SetCritical(0)
DorsalCargoCrane.SetTargetable(0)
DorsalCargoCrane.SetPrimary(1)
DorsalCargoCrane.SetPosition(-0.000982, 0.009686, 0.051507)
DorsalCargoCrane.SetPosition2D(52.000000, 59.000000)
DorsalCargoCrane.SetRepairComplexity(4.000000)
DorsalCargoCrane.SetDisabledPercentage(0.750000)
DorsalCargoCrane.SetRadius(0.010000)
DorsalCargoCrane.SetNormalPowerPerSecond(25.000000)
DorsalCargoCrane.SetWeaponSystemType(DorsalCargoCrane.WST_TRACTOR)
DorsalCargoCrane.SetSingleFire(1)
DorsalCargoCrane.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
DorsalCargoCrane.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(DorsalCargoCrane)
#################################################
Cargocrane = App.TractorBeamProperty_Create("Cargo crane")

Cargocrane.SetMaxCondition(400.000000)
Cargocrane.SetCritical(0)
Cargocrane.SetTargetable(1)
Cargocrane.SetPrimary(1)
Cargocrane.SetPosition(-0.000982, 0.009686, 0.051507)
Cargocrane.SetPosition2D(52.000000, 59.000000)
Cargocrane.SetRepairComplexity(4.000000)
Cargocrane.SetDisabledPercentage(0.750000)
Cargocrane.SetRadius(0.040000)
Cargocrane.SetDumbfire(0)
Cargocrane.SetWeaponID(0)
Cargocrane.SetGroups(0)
Cargocrane.SetDamageRadiusFactor(0.300000)
Cargocrane.SetIconNum(0)
Cargocrane.SetIconPositionX(0.000000)
Cargocrane.SetIconPositionY(0.000000)
Cargocrane.SetIconAboveShip(1)
Cargocrane.SetFireSound("Tractor Beam")
Cargocrane.SetMaxCharge(5.000000)
Cargocrane.SetMaxDamage(20.000000)
Cargocrane.SetMaxDamageDistance(100.000000)
Cargocrane.SetMinFiringCharge(3.000000)
Cargocrane.SetNormalDischargeRate(1.000000)
Cargocrane.SetRechargeRate(0.300000)
Cargocrane.SetIndicatorIconNum(0)
Cargocrane.SetIndicatorIconPositionX(0.000000)
Cargocrane.SetIndicatorIconPositionY(0.000000)
CargocraneForward = App.TGPoint3()
CargocraneForward.SetXYZ(0.000000, 1.000000, 0.000000)
CargocraneUp = App.TGPoint3()
CargocraneUp.SetXYZ(0.000000, 0.000000, 1.000000)
Cargocrane.SetOrientation(CargocraneForward, CargocraneUp)
Cargocrane.SetArcWidthAngles(-0.698132, 0.698132)
Cargocrane.SetArcHeightAngles(2.792527, 0.349066)
Cargocrane.SetTractorBeamWidth(0.100000)
Cargocrane.SetTextureStart(0)
Cargocrane.SetTextureEnd(0)
Cargocrane.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
kColor = App.TGColorA()
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
Cargocrane.SetOuterShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
Cargocrane.SetInnerShellColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
Cargocrane.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.400000, 0.400000, 1.000000, 1.000000)
Cargocrane.SetInnerCoreColor(kColor)
Cargocrane.SetNumSides(12)
Cargocrane.SetMainRadius(0.030000)
Cargocrane.SetTaperRadius(0.000000)
Cargocrane.SetCoreScale(0.450000)
Cargocrane.SetTaperRatio(0.200000)
Cargocrane.SetTaperMinLength(1.000000)
Cargocrane.SetTaperMaxLength(5.000000)
Cargocrane.SetLengthTextureTilePerUnit(0.250000)
Cargocrane.SetPerimeterTile(1.000000)
Cargocrane.SetTextureSpeed(0.200000)
Cargocrane.SetTextureName("data/Textures/Tactical/TractorBeam.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(Cargocrane)
#################################################
SpecialFX = App.TorpedoSystemProperty_Create("Special FX")

SpecialFX.SetMaxCondition(200.000000)
SpecialFX.SetCritical(0)
SpecialFX.SetTargetable(0)
SpecialFX.SetPrimary(1)
SpecialFX.SetPosition(0.000000, 0.000000, 0.000000)
SpecialFX.SetPosition2D(0.000000, 0.000000)
SpecialFX.SetRepairComplexity(1.000000)
SpecialFX.SetDisabledPercentage(0.500000)
SpecialFX.SetRadius(0.250000)
SpecialFX.SetNormalPowerPerSecond(0.000000)
SpecialFX.SetWeaponSystemType(SpecialFX.WST_TORPEDO)
SpecialFX.SetSingleFire(0)
SpecialFX.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
SpecialFX.SetFiringChainString(kFiringChainString)
SpecialFX.SetMaxTorpedoes(0, 4000)
SpecialFX.SetTorpedoScript(0, "Tactical.Projectiles.Moonraker1")
SpecialFX.SetMaxTorpedoes(1, 4000)
SpecialFX.SetTorpedoScript(1, "Tactical.Projectiles.Moonraker2")
SpecialFX.SetNumAmmoTypes(2)
App.g_kModelPropertyManager.RegisterLocalTemplate(SpecialFX)
#################################################
SpecialFX1 = App.TorpedoTubeProperty_Create("Special FX1")

SpecialFX1.SetMaxCondition(200.000000)
SpecialFX1.SetCritical(0)
SpecialFX1.SetTargetable(0)
SpecialFX1.SetPrimary(1)
SpecialFX1.SetPosition(0.000000, 0.000000, 0.000000)
SpecialFX1.SetPosition2D(0.000000, 0.000000)
SpecialFX1.SetRepairComplexity(1.000000)
SpecialFX1.SetDisabledPercentage(0.500000)
SpecialFX1.SetRadius(0.250000)
SpecialFX1.SetDumbfire(1)
SpecialFX1.SetWeaponID(1)
SpecialFX1.SetGroups(1)
SpecialFX1.SetDamageRadiusFactor(0.000000)
SpecialFX1.SetIconNum(370)
SpecialFX1.SetIconPositionX(72.000000)
SpecialFX1.SetIconPositionY(44.000000)
SpecialFX1.SetIconAboveShip(1)
SpecialFX1.SetImmediateDelay(10.000000)
SpecialFX1.SetReloadDelay(0.000000)
SpecialFX1.SetMaxReady(10)
SpecialFX1Direction = App.TGPoint3()
SpecialFX1Direction.SetXYZ(0.000000, 1.000000, 0.000000)
SpecialFX1.SetDirection(SpecialFX1Direction)
SpecialFX1Right = App.TGPoint3()
SpecialFX1Right.SetXYZ(1.000000, 0.000000, 0.000000)
SpecialFX1.SetRight(SpecialFX1Right)
App.g_kModelPropertyManager.RegisterLocalTemplate(SpecialFX1)
#################################################
Laser2 = App.PhaserProperty_Create("Laser2")

Laser2.SetMaxCondition(800.000000)
Laser2.SetCritical(0)
Laser2.SetTargetable(1)
Laser2.SetPrimary(1)
Laser2.SetPosition(-0.002373, 0.309319, -0.015456)
Laser2.SetPosition2D(65.000000, 26.000000)
Laser2.SetRepairComplexity(3.000000)
Laser2.SetDisabledPercentage(0.750000)
Laser2.SetRadius(0.034000)
Laser2.SetDumbfire(0)
Laser2.SetWeaponID(1)
Laser2.SetGroups(1)
Laser2.SetDamageRadiusFactor(0.100000)
Laser2.SetIconNum(364)
Laser2.SetIconPositionX(62.000000)
Laser2.SetIconPositionY(25.000000)
Laser2.SetIconAboveShip(1)
Laser2.SetFireSound("Moonrakerlaser1")
Laser2.SetMaxCharge(1.000000)
Laser2.SetMaxDamage(300.000000)
Laser2.SetMaxDamageDistance(45.000000)
Laser2.SetMinFiringCharge(1.000000)
Laser2.SetNormalDischargeRate(1.000000)
Laser2.SetRechargeRate(0.050000)
Laser2.SetIndicatorIconNum(510)
Laser2.SetIndicatorIconPositionX(56.000000)
Laser2.SetIndicatorIconPositionY(21.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.SetWidth(0.001000)
Laser2.SetLength(0.001000)
Laser2.SetArcWidthAngles(-0.959931, 0.959931)
Laser2.SetArcHeightAngles(-1.047198, 0.610865)
Laser2.SetPhaserTextureStart(10)
Laser2.SetPhaserTextureEnd(20)
Laser2.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.000000, 1.000000, 1.000000, 1.000000)
Laser2.SetOuterShellColor(kColor)
kColor.SetRGBA(0.000000, 0.000000, 1.000000, 1.000000)
Laser2.SetInnerShellColor(kColor)
kColor.SetRGBA(0.000000, 1.000000, 1.000000, 1.000000)
Laser2.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.000000, 0.000000, 1.000000, 1.000000)
Laser2.SetInnerCoreColor(kColor)
Laser2.SetNumSides(12)
Laser2.SetMainRadius(0.006000)
Laser2.SetTaperRadius(0.020000)
Laser2.SetCoreScale(0.500000)
Laser2.SetTaperRatio(0.250000)
Laser2.SetTaperMinLength(5.000000)
Laser2.SetTaperMaxLength(20.000000)
Laser2.SetLengthTextureTilePerUnit(0.100000)
Laser2.SetPerimeterTile(1.000000)
Laser2.SetTextureSpeed(2.500000)
Laser2.SetTextureName("data/phaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(Laser2)
#################################################
CenterRocket = App.EngineProperty_Create("Center Rocket")

CenterRocket.SetMaxCondition(1100.000000)
CenterRocket.SetCritical(0)
CenterRocket.SetTargetable(1)
CenterRocket.SetPrimary(1)
CenterRocket.SetPosition(-0.000292, -0.171912, 0.036152)
CenterRocket.SetPosition2D(51.000000, 82.000000)
CenterRocket.SetRepairComplexity(1.000000)
CenterRocket.SetDisabledPercentage(0.500000)
CenterRocket.SetRadius(0.010000)
CenterRocket.SetEngineType(CenterRocket.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(CenterRocket)
#################################################
PortRocket2 = App.EngineProperty_Create("Port Rocket 2")

PortRocket2.SetMaxCondition(1100.000000)
PortRocket2.SetCritical(0)
PortRocket2.SetTargetable(1)
PortRocket2.SetPrimary(1)
PortRocket2.SetPosition(-0.022933, -0.181313, -0.006154)
PortRocket2.SetPosition2D(51.000000, 82.000000)
PortRocket2.SetRepairComplexity(1.000000)
PortRocket2.SetDisabledPercentage(0.500000)
PortRocket2.SetRadius(0.010000)
PortRocket2.SetEngineType(PortRocket2.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(PortRocket2)
#################################################
StarRocket2 = App.EngineProperty_Create("Star Rocket 2")

StarRocket2.SetMaxCondition(1100.000000)
StarRocket2.SetCritical(0)
StarRocket2.SetTargetable(1)
StarRocket2.SetPrimary(1)
StarRocket2.SetPosition(0.021867, -0.180323, -0.006861)
StarRocket2.SetPosition2D(79.000000, 82.000000)
StarRocket2.SetRepairComplexity(1.000000)
StarRocket2.SetDisabledPercentage(0.500000)
StarRocket2.SetRadius(0.010000)
StarRocket2.SetEngineType(StarRocket2.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(StarRocket2)
#################################################
Warp = App.WarpEngineProperty_Create("Warp")

Warp.SetMaxCondition(200.000000)
Warp.SetCritical(0)
Warp.SetTargetable(0)
Warp.SetPrimary(1)
Warp.SetPosition(-0.001890, -0.175628, 0.004004)
Warp.SetPosition2D(0.000000, 0.000000)
Warp.SetRepairComplexity(1.000000)
Warp.SetDisabledPercentage(0.500000)
Warp.SetRadius(0.250000)
Warp.SetNormalPowerPerSecond(0.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Warp)
#################################################
Warp1 = App.EngineProperty_Create("Warp1")

Warp1.SetMaxCondition(200.000000)
Warp1.SetCritical(0)
Warp1.SetTargetable(0)
Warp1.SetPrimary(1)
Warp1.SetPosition(-0.001890, -0.175628, 0.004004)
Warp1.SetPosition2D(0.000000, 0.000000)
Warp1.SetRepairComplexity(1.000000)
Warp1.SetDisabledPercentage(0.500000)
Warp1.SetRadius(0.250000)
Warp1.SetEngineType(Warp1.EP_WARP)
App.g_kModelPropertyManager.RegisterLocalTemplate(Warp1)

# Property load function.
def LoadPropertySet(pObj):
	"Sets up the object's properties."
	prop = App.g_kModelPropertyManager.FindByName("Hull", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Rocket Engines", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Main Battery", 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("Heat Shield", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Port Rocket 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Star Rocket 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Moonraker", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Repair", 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("ViewscreenLeft", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("ViewscreenRight", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("ViewscreenUp", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("ViewscreenDown", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("FirstPersonCamera", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Cargo crane", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Special FX1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Special FX", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Center Rocket", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Port Rocket 2", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Star Rocket 2", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Warp", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Warp1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Laser2", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Lasers", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Laser1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)
	prop = App.g_kModelPropertyManager.FindByName("Dorsal Cargo Crane", App.TGModelPropertyManager.LOCAL_TEMPLATES)
	if (prop != None):
		pObj.AddToSet("Scene Root", prop)

===Next File===
