I am trying to conform the stock shuttle hp to Halo's pelican, however, I am being baffled with a strange error. All of my systems in MPE are quite far away from the ship, but in BC they are placed correctly. I can't figure out why this is happening.
Edit: I started from scratch
Edit2: More woes. My "phaser" property is not working. Code attached.
# C:\Games\Bridge Commander\Halo\scripts\ships\Hardpoints\Pelican.py
# This file was automatically generated - modify at your own risk.
#
import App
import GlobalPropertyTemplates
# Setting up local templates.
#################################################
Pelican = App.ShipProperty_Create("Pelican")
Pelican.SetGenus(1)
Pelican.SetSpecies(107)
Pelican.SetMass(100.000000)
Pelican.SetRotationalInertia(100.000000)
Pelican.SetShipName("Pelican")
Pelican.SetModelFilename("data/Models/Ships/Pelican.nif")
Pelican.SetDamageResolution(1.000000)
Pelican.SetAffiliation(0)
Pelican.SetStationary(0)
Pelican.SetAIString("FedAttack")
Pelican.SetDeathExplosionSound("g_lsDeathExplosions")
App.g_kModelPropertyManager.RegisterLocalTemplate(Pelican)
#################################################
ThrusterControl = App.ImpulseEngineProperty_Create("Thruster Control")
ThrusterControl.SetMaxCondition(200.000000)
ThrusterControl.SetCritical(0)
ThrusterControl.SetTargetable(1)
ThrusterControl.SetPrimary(1)
ThrusterControl.SetPosition(-0.640000, -19.299999, -37.799999)
ThrusterControl.SetPosition2D(0.000000, 0.000000)
ThrusterControl.SetRepairComplexity(1.000000)
ThrusterControl.SetDisabledPercentage(0.500000)
ThrusterControl.SetRadius(0.250000)
ThrusterControl.SetNormalPowerPerSecond(1.000000)
ThrusterControl.SetMaxAccel(10.000000)
ThrusterControl.SetMaxAngularAccel(0.100000)
ThrusterControl.SetMaxAngularVelocity(0.250000)
ThrusterControl.SetMaxSpeed(25.000000)
ThrusterControl.SetEngineSound("")
App.g_kModelPropertyManager.RegisterLocalTemplate(ThrusterControl)
#################################################
ThrustNacelle1 = App.EngineProperty_Create("Thrust Nacelle 1")
ThrustNacelle1.SetMaxCondition(200.000000)
ThrustNacelle1.SetCritical(0)
ThrustNacelle1.SetTargetable(1)
ThrustNacelle1.SetPrimary(1)
ThrustNacelle1.SetPosition(-2.600000, -22.000000, -37.000000)
ThrustNacelle1.SetPosition2D(0.000000, 0.000000)
ThrustNacelle1.SetRepairComplexity(1.000000)
ThrustNacelle1.SetDisabledPercentage(0.500000)
ThrustNacelle1.SetRadius(0.250000)
ThrustNacelle1.SetEngineType(ThrustNacelle1.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(ThrustNacelle1)
#################################################
ThrustNacelle2 = App.EngineProperty_Create("Thrust Nacelle 2")
ThrustNacelle2.SetMaxCondition(200.000000)
ThrustNacelle2.SetCritical(0)
ThrustNacelle2.SetTargetable(1)
ThrustNacelle2.SetPrimary(1)
ThrustNacelle2.SetPosition(1.280000, -22.000000, -37.000000)
ThrustNacelle2.SetPosition2D(0.000000, 0.000000)
ThrustNacelle2.SetRepairComplexity(1.000000)
ThrustNacelle2.SetDisabledPercentage(0.500000)
ThrustNacelle2.SetRadius(0.250000)
ThrustNacelle2.SetEngineType(ThrustNacelle2.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(ThrustNacelle2)
#################################################
ThrustNacelle3 = App.EngineProperty_Create("Thrust Nacelle 3")
ThrustNacelle3.SetMaxCondition(200.000000)
ThrustNacelle3.SetCritical(0)
ThrustNacelle3.SetTargetable(1)
ThrustNacelle3.SetPrimary(1)
ThrustNacelle3.SetPosition(-1.800000, -27.700001, -35.799999)
ThrustNacelle3.SetPosition2D(0.000000, 0.000000)
ThrustNacelle3.SetRepairComplexity(1.000000)
ThrustNacelle3.SetDisabledPercentage(0.500000)
ThrustNacelle3.SetRadius(0.250000)
ThrustNacelle3.SetEngineType(ThrustNacelle3.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(ThrustNacelle3)
#################################################
ThrustNacelle4 = App.EngineProperty_Create("Thrust Nacelle 4")
ThrustNacelle4.SetMaxCondition(200.000000)
ThrustNacelle4.SetCritical(0)
ThrustNacelle4.SetTargetable(1)
ThrustNacelle4.SetPrimary(1)
ThrustNacelle4.SetPosition(0.500000, -27.700001, -35.799999)
ThrustNacelle4.SetPosition2D(0.000000, 0.000000)
ThrustNacelle4.SetRepairComplexity(1.000000)
ThrustNacelle4.SetDisabledPercentage(0.500000)
ThrustNacelle4.SetRadius(0.250000)
ThrustNacelle4.SetEngineType(ThrustNacelle4.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(ThrustNacelle4)
#################################################
MotionTracker = App.SensorProperty_Create("Motion Tracker")
MotionTracker.SetMaxCondition(200.000000)
MotionTracker.SetCritical(0)
MotionTracker.SetTargetable(1)
MotionTracker.SetPrimary(1)
MotionTracker.SetPosition(-0.640000, -21.000000, -36.599998)
MotionTracker.SetPosition2D(0.000000, 0.000000)
MotionTracker.SetRepairComplexity(1.000000)
MotionTracker.SetDisabledPercentage(0.500000)
MotionTracker.SetRadius(0.250000)
MotionTracker.SetNormalPowerPerSecond(1.000000)
MotionTracker.SetBaseSensorRange(1000.000000)
MotionTracker.SetMaxProbes(10)
App.g_kModelPropertyManager.RegisterLocalTemplate(MotionTracker)
#################################################
ArmorEnhancer = App.ShieldProperty_Create("Armor Enhancer")
ArmorEnhancer.SetMaxCondition(200.000000)
ArmorEnhancer.SetCritical(0)
ArmorEnhancer.SetTargetable(1)
ArmorEnhancer.SetPrimary(1)
ArmorEnhancer.SetPosition(-0.640000, -21.000000, -38.000000)
ArmorEnhancer.SetPosition2D(0.000000, 0.000000)
ArmorEnhancer.SetRepairComplexity(1.000000)
ArmorEnhancer.SetDisabledPercentage(0.500000)
ArmorEnhancer.SetRadius(0.250000)
ArmorEnhancer.SetNormalPowerPerSecond(1.000000)
ArmorEnhancerShieldGlowColor = App.TGColorA()
ArmorEnhancerShieldGlowColor.SetRGBA(0.003922, 0.003922, 0.003922, 0.000000)
ArmorEnhancer.SetShieldGlowColor(ArmorEnhancerShieldGlowColor)
ArmorEnhancer.SetShieldGlowDecay(1.000000)
ArmorEnhancer.SetMaxShields(ArmorEnhancer.FRONT_SHIELDS, 1000.000000)
ArmorEnhancer.SetMaxShields(ArmorEnhancer.REAR_SHIELDS, 1000.000000)
ArmorEnhancer.SetMaxShields(ArmorEnhancer.TOP_SHIELDS, 1000.000000)
ArmorEnhancer.SetMaxShields(ArmorEnhancer.BOTTOM_SHIELDS, 1000.000000)
ArmorEnhancer.SetMaxShields(ArmorEnhancer.LEFT_SHIELDS, 1000.000000)
ArmorEnhancer.SetMaxShields(ArmorEnhancer.RIGHT_SHIELDS, 1000.000000)
ArmorEnhancer.SetShieldChargePerSecond(ArmorEnhancer.FRONT_SHIELDS, 1.000000)
ArmorEnhancer.SetShieldChargePerSecond(ArmorEnhancer.REAR_SHIELDS, 1.000000)
ArmorEnhancer.SetShieldChargePerSecond(ArmorEnhancer.TOP_SHIELDS, 1.000000)
ArmorEnhancer.SetShieldChargePerSecond(ArmorEnhancer.BOTTOM_SHIELDS, 1.000000)
ArmorEnhancer.SetShieldChargePerSecond(ArmorEnhancer.LEFT_SHIELDS, 1.000000)
ArmorEnhancer.SetShieldChargePerSecond(ArmorEnhancer.RIGHT_SHIELDS, 1.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(ArmorEnhancer)
#################################################
FusionCell = App.PowerProperty_Create("Fusion Cell")
FusionCell.SetMaxCondition(200.000000)
FusionCell.SetCritical(0)
FusionCell.SetTargetable(1)
FusionCell.SetPrimary(1)
FusionCell.SetPosition(-0.640000, -21.000000, -38.099998)
FusionCell.SetPosition2D(0.000000, 0.000000)
FusionCell.SetRepairComplexity(1.000000)
FusionCell.SetDisabledPercentage(0.500000)
FusionCell.SetRadius(0.250000)
FusionCell.SetMainBatteryLimit(70000.000000)
FusionCell.SetBackupBatteryLimit(10000.000000)
FusionCell.SetMainConduitCapacity(400.000000)
FusionCell.SetBackupConduitCapacity(200.000000)
FusionCell.SetPowerOutput(100.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(FusionCell)
#################################################
Hull = App.HullProperty_Create("Hull")
Hull.SetMaxCondition(200.000000)
Hull.SetCritical(0)
Hull.SetTargetable(1)
Hull.SetPrimary(1)
Hull.SetPosition(-0.640000, -21.600000, -36.400002)
Hull.SetPosition2D(0.000000, 0.000000)
Hull.SetRepairComplexity(1.000000)
Hull.SetDisabledPercentage(0.500000)
Hull.SetRadius(0.250000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Hull)
#################################################
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.650000, -19.299999, -37.299999)
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.650000, -24.400000, -37.000000)
ViewscreenBack.SetPosition(ViewscreenBackPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenBack)
#################################################
ViewscreenUp = App.PositionOrientationProperty_Create("ViewscreenUp")
ViewscreenUpForward = App.TGPoint3()
ViewscreenUpForward.SetXYZ(0.000000, 0.251634, 0.967822)
ViewscreenUpUp = App.TGPoint3()
ViewscreenUpUp.SetXYZ(0.000000, -0.967822, 0.251634)
ViewscreenUpRight = App.TGPoint3()
ViewscreenUpRight.SetXYZ(1.000000, 0.000000, 0.000000)
ViewscreenUp.SetOrientation(ViewscreenUpForward, ViewscreenUpUp, ViewscreenUpRight)
ViewscreenUpPosition = App.TGPoint3()
ViewscreenUpPosition.SetXYZ(-0.650000, -22.000000, -36.090000)
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.650000, -20.400000, -38.389999)
ViewscreenDown.SetPosition(ViewscreenDownPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenDown)
#################################################
ViewscreenLeft = App.PositionOrientationProperty_Create("ViewscreenLeft")
ViewscreenLeftForward = App.TGPoint3()
ViewscreenLeftForward.SetXYZ(-1.000000, 0.000000, 0.000000)
ViewscreenLeftUp = App.TGPoint3()
ViewscreenLeftUp.SetXYZ(0.000000, 0.242536, 0.970143)
ViewscreenLeftRight = App.TGPoint3()
ViewscreenLeftRight.SetXYZ(0.000000, 0.970143, -0.242536)
ViewscreenLeft.SetOrientation(ViewscreenLeftForward, ViewscreenLeftUp, ViewscreenLeftRight)
ViewscreenLeftPosition = App.TGPoint3()
ViewscreenLeftPosition.SetXYZ(-3.100000, -22.000000, -36.700001)
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.242536, 0.970143)
ViewscreenRightRight = App.TGPoint3()
ViewscreenRightRight.SetXYZ(0.000000, -0.970143, 0.242536)
ViewscreenRight.SetOrientation(ViewscreenRightForward, ViewscreenRightUp, ViewscreenRightRight)
ViewscreenRightPosition = App.TGPoint3()
ViewscreenRightPosition.SetXYZ(1.800000, -22.000000, -36.700001)
ViewscreenRight.SetPosition(ViewscreenRightPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenRight)
#################################################
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.650000, -20.000000, -37.299999)
FirstPersonCamera.SetPosition(FirstPersonCameraPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(FirstPersonCamera)
#################################################
70mmChainGun = App.PhaserProperty_Create("70mm Chain Gun")
70mmChainGun.SetMaxCondition(200.000000)
70mmChainGun.SetCritical(0)
70mmChainGun.SetTargetable(1)
70mmChainGun.SetPrimary(1)
70mmChainGun.SetPosition(-0.650000, -19.200001, -38.270000)
70mmChainGun.SetPosition2D(0.000000, 0.000000)
70mmChainGun.SetRepairComplexity(1.000000)
70mmChainGun.SetDisabledPercentage(0.500000)
70mmChainGun.SetRadius(0.250000)
70mmChainGun.SetDumbfire(0)
70mmChainGun.SetWeaponID(0)
70mmChainGun.SetGroups(0)
70mmChainGun.SetDamageRadiusFactor(0.250000)
70mmChainGun.SetIconNum(0)
70mmChainGun.SetIconPositionX(0.000000)
70mmChainGun.SetIconPositionY(0.000000)
70mmChainGun.SetIconAboveShip(1)
70mmChainGun.SetFireSound("")
70mmChainGun.SetMaxCharge(5.000000)
70mmChainGun.SetMaxDamage(25.000000)
70mmChainGun.SetMaxDamageDistance(100.000000)
70mmChainGun.SetMinFiringCharge(3.000000)
70mmChainGun.SetNormalDischargeRate(1.000000)
70mmChainGun.SetRechargeRate(0.300000)
70mmChainGun.SetIndicatorIconNum(0)
70mmChainGun.SetIndicatorIconPositionX(0.000000)
70mmChainGun.SetIndicatorIconPositionY(0.000000)
70mmChainGunForward = App.TGPoint3()
70mmChainGunForward.SetXYZ(0.000000, 1.000000, 0.000000)
70mmChainGunUp = App.TGPoint3()
70mmChainGunUp.SetXYZ(0.000000, 0.000000, 1.000000)
70mmChainGun.SetOrientation(70mmChainGunForward, 70mmChainGunUp)
70mmChainGun.SetWidth(0.000000)
70mmChainGun.SetLength(0.000000)
70mmChainGun.SetArcWidthAngles(-0.087266, 0.087266)
70mmChainGun.SetArcHeightAngles(-0.087266, 0.087266)
70mmChainGun.SetPhaserTextureStart(0)
70mmChainGun.SetPhaserTextureEnd(0)
70mmChainGun.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.917647, 0.894118, 0.000000, 1.000000)
70mmChainGun.SetOuterShellColor(kColor)
kColor.SetRGBA(1.000000, 0.172549, 0.007843, 1.000000)
70mmChainGun.SetInnerShellColor(kColor)
kColor.SetRGBA(0.000000, 0.000000, 0.000000, 1.000000)
70mmChainGun.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.000000, 0.000000, 0.000000, 1.000000)
70mmChainGun.SetInnerCoreColor(kColor)
70mmChainGun.SetNumSides(6)
70mmChainGun.SetMainRadius(0.150000)
70mmChainGun.SetTaperRadius(0.010000)
70mmChainGun.SetCoreScale(0.500000)
70mmChainGun.SetTaperRatio(0.250000)
70mmChainGun.SetTaperMinLength(5.000000)
70mmChainGun.SetTaperMaxLength(30.000000)
70mmChainGun.SetLengthTextureTilePerUnit(0.500000)
70mmChainGun.SetPerimeterTile(1.000000)
70mmChainGun.SetTextureSpeed(2.500000)
70mmChainGun.SetTextureName("data/phaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(70mmChainGun)
#################################################
Gunner = App.WeaponSystemProperty_Create("Gunner")
Gunner.SetMaxCondition(200.000000)
Gunner.SetCritical(0)
Gunner.SetTargetable(1)
Gunner.SetPrimary(1)
Gunner.SetPosition(-0.650000, -21.000000, -37.400002)
Gunner.SetPosition2D(0.000000, 0.000000)
Gunner.SetRepairComplexity(1.000000)
Gunner.SetDisabledPercentage(0.500000)
Gunner.SetRadius(0.250000)
Gunner.SetNormalPowerPerSecond(1.000000)
Gunner.SetWeaponSystemType(Gunner.WST_PHASER)
Gunner.SetSingleFire(1)
Gunner.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
Gunner.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(Gunner)
# Property load function.
def LoadPropertySet(pObj):
"Sets up the object's properties."
prop = App.g_kModelPropertyManager.FindByName("Pelican", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Thruster Control", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Thrust Nacelle 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Thrust Nacelle 2", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Thrust Nacelle 3", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Thrust Nacelle 4", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Motion Tracker", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Armor Enhancer", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Fusion Cell", 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("FirstPersonCamera", 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("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("ViewscreenBack", 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("70mm Chain Gun", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Gunner", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)