Bridge Commander Central

BC Forums => BC Technical Support => Topic started by: DKealt on September 16, 2009, 05:37:28 PM

Title: Type 11 Shuttle Error
Post by: DKealt on September 16, 2009, 05:37:28 PM
I've been currently adding a number of Carrier Plugin files to my install, whilst doing this I found that the "Type 11" shuttle wasn't working. So I've tried to fix it, but ran into a bizarre scenario.

I select to play as the Type 11 or attempt to board it via a plugin script, the game crashes. Fine, not unexpected and solvable. However I noticed that if I simply added the Type as an AI ship of launch one and not board it via shuttle launching it works fine.

This means that all standard Model, Ship and Hardpoint files are fine, so can anyone help me find out why this is?

P.s. I have attempted to gain a Console report using the Console Tracker, but it doesn't seem to log this error.
Title: Re: Type 11 Shuttle Error
Post by: ACES_HIGH on September 16, 2009, 05:42:29 PM
have you tried the version that comes with the Sentinel?
http://bridgecommander.filefront.com/file/USSSentinel;49297 (http://bridgecommander.filefront.com/file/USSSentinel;49297)
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 16, 2009, 08:13:25 PM
I'll try installing instead of what I have, which was the Type11 default with KM1.0.

Personally I'm just tryin' to figure out why the ship can only load ingame when it's being flown by the computer and any time I try to personally use it it crashes.

If there are any better ways of getting a console report that I don't know about I'm sure that would help
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 16, 2009, 08:27:49 PM
Infact I think I proved it's not an issue with either the model or the hardpoint files as the ship does load, just not when I try to fly it
Title: Re: Type 11 Shuttle Error
Post by: ACES_HIGH on September 16, 2009, 09:25:21 PM
it might be missing the cameras in the HP
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 17, 2009, 07:32:22 AM
No the HP has camera's plus I've even renamed a working Type 9 Shuttle script to load instead of the Type 11 I had, again same problem, crashes when I try to play. this is very annoying.
Title: Re: Type 11 Shuttle Error
Post by: tiqhud on September 17, 2009, 10:11:11 AM
You say it crashes huh, Hmmmm , Ive been able to not transport, but not crashing, in order for a shuttle-ship to be able to be transported to , there must be repair-engineering.

But crashes HMMMMM, I just tried and it worked fine for , me but I wonder, I just also looked at the HP through MPE all camera positions were well within the mesh.

But I had tried it before without the adjustments, and it worked fine for me, but no you. If you have MPE try and reposition the camera positions outside the mesh.
 
Baffeling, but PM- Mleo about his "Console Logger'
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 17, 2009, 12:44:27 PM
I may have to do that, most bizarre. If it loads it should be playable, but not in this case.

As I said before, I changed the HP to another ship that does load, still had the same error, so not a HP scripting issue. I may have to PM Mleo then, simply to ask if maybe there's an elaborate way to get a console report for it.
Title: Re: Type 11 Shuttle Error
Post by: tiqhud on September 17, 2009, 01:28:16 PM
Try this go to src-scripts-ships  and copy the Type11 .py into scripts-ships, dont forget to remove th pyc,   maybe your pyc got corrupted.
Title: Re: Type 11 Shuttle Error
Post by: teleguy on September 17, 2009, 01:47:23 PM
You can find MLeos console logger in this thread.

http://bc-central.net/forums/index.php/topic,5986.msg114789.html#msg114789
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 17, 2009, 07:54:10 PM
This is so annoying!!! Still nothing, it just won't load. It's such a strange error.

HP works, Shipfile works, No model errors. Ship loads and plays fine, I just can't personally use it.

I've tried that version of the Console Logger as well, no reported errors.

What a joke
Title: Re: Type 11 Shuttle Error
Post by: Nebula on September 17, 2009, 07:55:06 PM
could it be an issue with the ship plugin?? :s
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 18, 2009, 08:30:27 AM
Nope, I even tried making a brand new one.

Same problems. Like I say the strange thing is all of the mentioned files do work, otherwise the ship wouldn't load. As far as I know anyway.

This sucks big time, apparently unsolvable.

I have customed my Multiplayer files too "SpeciesToShip" "SpeciesToTorp" "ShipIcons" etc. does anyone know if that could affect it? I have checked them and they appear fine. Also no problems recorded in the console
Title: Re: Type 11 Shuttle Error
Post by: tiqhud on September 18, 2009, 09:06:53 AM
I noticed in the model folder of the type11 there is one of the texture's [nif-wonder if that can cause] the name had a _GLOW, however in the scripts-ships PY it is looking for _glow.


Now I have had in the past an HP titled Norway.py, but the script-ships is looking for a norway.py, and it does not load.
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 18, 2009, 03:38:14 PM
Thank you for your replies, but none of those factors affect the problem. The ship DOES load!!! I just can't fly it myself.

All the previous problems would make the ship completely unusable.

I think I may be stuck with this one now
Title: Re: Type 11 Shuttle Error
Post by: Dalek on September 18, 2009, 03:39:23 PM
Have you ever tried targeting the launched shuttles while ingame?
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 18, 2009, 06:06:53 PM
Yes, I can target the shuttles, I can see them flying around. The models and HP load, just crashes whenever I try to use it.
Title: Re: Type 11 Shuttle Error
Post by: MLeo on September 20, 2009, 07:13:27 AM
It's possible the ship isn't intended for human use. It could be missing one of several hardpoint properties required for player use, such as viewpoints.
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 21, 2009, 06:58:20 AM
However as previously mentioned I renamed a working "Type 9" HP file to "Type 11" and it still crashed with that.

Unless doing that caused another error? Ill rumble through the HP see if anything is obviously missing. If it did miss an important property wouldn't that come up as an error in the Console? I can't get a report from it
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 21, 2009, 07:02:57 AM
This is the HP file, if anyone can see the error, or just knows what to look for it would be much appreciated
Code: [Select]
# C:\Program Files\Activision\Bridge Commander\scripts\ships\Hardpoints\Type11.py
# This file was automatically generated - modify at your own risk.
#

import App
import GlobalPropertyTemplates
# Setting up local templates.
#################################################
ForeTube1 = App.TorpedoTubeProperty_Create("Fore Tube 1")

ForeTube1.SetMaxCondition(500.000000)
ForeTube1.SetCritical(0)
ForeTube1.SetTargetable(1)
ForeTube1.SetPrimary(1)
ForeTube1.SetPosition(0.002000, 0.055000, 0.010000)
ForeTube1.SetPosition2D(0.000000, 0.000000)
ForeTube1.SetRepairComplexity(2.000000)
ForeTube1.SetDisabledPercentage(0.500000)
ForeTube1.SetRadius(0.005000)
ForeTube1.SetDumbfire(1)
ForeTube1.SetWeaponID(8)
ForeTube1.SetGroups(1)
ForeTube1.SetDamageRadiusFactor(0.200000)
ForeTube1.SetIconNum(365)
ForeTube1.SetIconPositionX(82.000000)
ForeTube1.SetIconPositionY(60.000000)
ForeTube1.SetIconAboveShip(1)
ForeTube1.SetImmediateDelay(0.250000)
ForeTube1.SetReloadDelay(25.000000)
ForeTube1.SetMaxReady(1)
ForeTube1Direction = App.TGPoint3()
ForeTube1Direction.SetXYZ(0.000000, 1.000000, 0.000000)
ForeTube1.SetDirection(ForeTube1Direction)
ForeTube1Right = App.TGPoint3()
ForeTube1Right.SetXYZ(1.000000, 0.000000, 0.000000)
ForeTube1.SetRight(ForeTube1Right)
App.g_kModelPropertyManager.RegisterLocalTemplate(ForeTube1)
#################################################
ForeTube2 = App.TorpedoTubeProperty_Create("Fore Tube 2")

ForeTube2.SetMaxCondition(500.000000)
ForeTube2.SetCritical(0)
ForeTube2.SetTargetable(1)
ForeTube2.SetPrimary(1)
ForeTube2.SetPosition(-0.002000, 0.055000, 0.010000)
ForeTube2.SetPosition2D(10.000000, 10.000000)
ForeTube2.SetRepairComplexity(2.000000)
ForeTube2.SetDisabledPercentage(0.500000)
ForeTube2.SetRadius(0.005000)
ForeTube2.SetDumbfire(1)
ForeTube2.SetWeaponID(19)
ForeTube2.SetGroups(1)
ForeTube2.SetDamageRadiusFactor(0.200000)
ForeTube2.SetIconNum(365)
ForeTube2.SetIconPositionX(71.000000)
ForeTube2.SetIconPositionY(60.000000)
ForeTube2.SetIconAboveShip(1)
ForeTube2.SetImmediateDelay(0.350000)
ForeTube2.SetReloadDelay(25.000000)
ForeTube2.SetMaxReady(1)
ForeTube2Direction = App.TGPoint3()
ForeTube2Direction.SetXYZ(0.000000, 1.000000, 0.000000)
ForeTube2.SetDirection(ForeTube2Direction)
ForeTube2Right = App.TGPoint3()
ForeTube2Right.SetXYZ(1.000000, 0.000000, 0.000000)
ForeTube2.SetRight(ForeTube2Right)
App.g_kModelPropertyManager.RegisterLocalTemplate(ForeTube2)
#################################################
Torpedoes = App.TorpedoSystemProperty_Create("Torpedoes")

Torpedoes.SetMaxCondition(1000.000000)
Torpedoes.SetCritical(0)
Torpedoes.SetTargetable(0)
Torpedoes.SetPrimary(1)
Torpedoes.SetPosition(0.000000, 0.040000, 0.000000)
Torpedoes.SetPosition2D(0.000000, 0.000000)
Torpedoes.SetRepairComplexity(1.000000)
Torpedoes.SetDisabledPercentage(0.500000)
Torpedoes.SetRadius(0.010000)
Torpedoes.SetNormalPowerPerSecond(40.000000)
Torpedoes.SetWeaponSystemType(Torpedoes.WST_TORPEDO)
Torpedoes.SetSingleFire(1)
Torpedoes.SetAimedWeapon(1)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
Torpedoes.SetFiringChainString(kFiringChainString)
Torpedoes.SetMaxTorpedoes(0, 15)
Torpedoes.SetTorpedoScript(0, "Tactical.Projectiles.DeltaPhoton")
Torpedoes.SetNumAmmoTypes(1)
App.g_kModelPropertyManager.RegisterLocalTemplate(Torpedoes)
#################################################
StarNacelle = App.EngineProperty_Create("Star Nacelle")

StarNacelle.SetMaxCondition(500.000000)
StarNacelle.SetCritical(0)
StarNacelle.SetTargetable(1)
StarNacelle.SetPrimary(1)
StarNacelle.SetPosition(0.033000, -0.020000, -0.015000)
StarNacelle.SetPosition2D(0.000000, 0.000000)
StarNacelle.SetRepairComplexity(1.000000)
StarNacelle.SetDisabledPercentage(0.500000)
StarNacelle.SetRadius(0.030000)
StarNacelle.SetEngineType(StarNacelle.EP_WARP)
App.g_kModelPropertyManager.RegisterLocalTemplate(StarNacelle)
#################################################
PortNacelle = App.EngineProperty_Create("Port Nacelle")

PortNacelle.SetMaxCondition(500.000000)
PortNacelle.SetCritical(0)
PortNacelle.SetTargetable(1)
PortNacelle.SetPrimary(1)
PortNacelle.SetPosition(-0.033000, -0.020000, -0.015000)
PortNacelle.SetPosition2D(0.000000, 0.000000)
PortNacelle.SetRepairComplexity(1.000000)
PortNacelle.SetDisabledPercentage(0.500000)
PortNacelle.SetRadius(0.020000)
PortNacelle.SetEngineType(PortNacelle.EP_WARP)
App.g_kModelPropertyManager.RegisterLocalTemplate(PortNacelle)
#################################################
ForePhaser1 = App.PhaserProperty_Create("Fore Phaser 1")

ForePhaser1.SetMaxCondition(400.000000)
ForePhaser1.SetCritical(0)
ForePhaser1.SetTargetable(1)
ForePhaser1.SetPrimary(1)
ForePhaser1.SetPosition(0.000000, 0.091000, -0.002700)
ForePhaser1.SetPosition2D(65.000000, 25.000000)
ForePhaser1.SetRepairComplexity(3.000000)
ForePhaser1.SetDisabledPercentage(0.750000)
ForePhaser1.SetRadius(0.030000)
ForePhaser1.SetDumbfire(0)
ForePhaser1.SetWeaponID(1)
ForePhaser1.SetGroups(1)
ForePhaser1.SetDamageRadiusFactor(0.100000)
ForePhaser1.SetIconNum(364)
ForePhaser1.SetIconPositionX(64.000000)
ForePhaser1.SetIconPositionY(43.000000)
ForePhaser1.SetIconAboveShip(1)
ForePhaser1.SetFireSound("FedLight")
ForePhaser1.SetMaxCharge(1.000000)
ForePhaser1.SetMaxDamage(300.000000)
ForePhaser1.SetMaxDamageDistance(40.000000)
ForePhaser1.SetMinFiringCharge(1.000000)
ForePhaser1.SetNormalDischargeRate(1.000000)
ForePhaser1.SetRechargeRate(1.000000)
ForePhaser1.SetIndicatorIconNum(510)
ForePhaser1.SetIndicatorIconPositionX(58.000000)
ForePhaser1.SetIndicatorIconPositionY(34.000000)
ForePhaser1Forward = App.TGPoint3()
ForePhaser1Forward.SetXYZ(0.000000, 1.000000, 0.000000)
ForePhaser1Up = App.TGPoint3()
ForePhaser1Up.SetXYZ(0.000000, 0.000000, 1.000000)
ForePhaser1.SetOrientation(ForePhaser1Forward, ForePhaser1Up)
ForePhaser1.SetWidth(0.012000)
ForePhaser1.SetLength(0.001000)
ForePhaser1.SetArcWidthAngles(-0.506145, 0.506145)
ForePhaser1.SetArcHeightAngles(-0.017453, 0.610865)
ForePhaser1.SetPhaserTextureStart(0)
ForePhaser1.SetPhaserTextureEnd(7)
ForePhaser1.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.839216, 0.129412, 0.003922, 1.000000)
ForePhaser1.SetOuterShellColor(kColor)
kColor.SetRGBA(0.992157, 0.192157, 0.003922, 1.000000)
ForePhaser1.SetInnerShellColor(kColor)
kColor.SetRGBA(0.592157, 0.592157, 0.000000, 1.000000)
ForePhaser1.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.803922, 0.803922, 0.329412, 1.000000)
ForePhaser1.SetInnerCoreColor(kColor)
ForePhaser1.SetNumSides(12)
ForePhaser1.SetMainRadius(0.020000)
ForePhaser1.SetTaperRadius(0.000000)
ForePhaser1.SetCoreScale(0.500000)
ForePhaser1.SetTaperRatio(0.000000)
ForePhaser1.SetTaperMinLength(1.000000)
ForePhaser1.SetTaperMaxLength(1.000000)
ForePhaser1.SetLengthTextureTilePerUnit(0.200000)
ForePhaser1.SetPerimeterTile(1.000000)
ForePhaser1.SetTextureSpeed(2.000000)
ForePhaser1.SetTextureName("data/textures/tactical/VoyPhaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(ForePhaser1)
#################################################
ForePhaser2 = App.PhaserProperty_Create("Fore Phaser 2")

ForePhaser2.SetMaxCondition(400.000000)
ForePhaser2.SetCritical(0)
ForePhaser2.SetTargetable(1)
ForePhaser2.SetPrimary(1)
ForePhaser2.SetPosition(0.000000, 0.072000, -0.008700)
ForePhaser2.SetPosition2D(65.000000, 26.000000)
ForePhaser2.SetRepairComplexity(3.000000)
ForePhaser2.SetDisabledPercentage(0.750000)
ForePhaser2.SetRadius(0.030000)
ForePhaser2.SetDumbfire(0)
ForePhaser2.SetWeaponID(1)
ForePhaser2.SetGroups(1)
ForePhaser2.SetDamageRadiusFactor(0.100000)
ForePhaser2.SetIconNum(364)
ForePhaser2.SetIconPositionX(64.000000)
ForePhaser2.SetIconPositionY(64.000000)
ForePhaser2.SetIconAboveShip(1)
ForePhaser2.SetFireSound("FedLight")
ForePhaser2.SetMaxCharge(1.000000)
ForePhaser2.SetMaxDamage(300.000000)
ForePhaser2.SetMaxDamageDistance(40.000000)
ForePhaser2.SetMinFiringCharge(2.000000)
ForePhaser2.SetNormalDischargeRate(1.000000)
ForePhaser2.SetRechargeRate(1.000000)
ForePhaser2.SetIndicatorIconNum(510)
ForePhaser2.SetIndicatorIconPositionX(58.000000)
ForePhaser2.SetIndicatorIconPositionY(50.000000)
ForePhaser2Forward = App.TGPoint3()
ForePhaser2Forward.SetXYZ(0.000000, 1.000000, 0.000000)
ForePhaser2Up = App.TGPoint3()
ForePhaser2Up.SetXYZ(0.000000, 0.000000, 1.000000)
ForePhaser2.SetOrientation(ForePhaser2Forward, ForePhaser2Up)
ForePhaser2.SetWidth(0.012000)
ForePhaser2.SetLength(0.001000)
ForePhaser2.SetArcWidthAngles(-0.506145, 0.506145)
ForePhaser2.SetArcHeightAngles(-0.610865, -0.017453)
ForePhaser2.SetPhaserTextureStart(0)
ForePhaser2.SetPhaserTextureEnd(7)
ForePhaser2.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.839216, 0.129412, 0.003922, 1.000000)
ForePhaser2.SetOuterShellColor(kColor)
kColor.SetRGBA(0.992157, 0.192157, 0.003922, 1.000000)
ForePhaser2.SetInnerShellColor(kColor)
kColor.SetRGBA(0.592157, 0.592157, 0.000000, 1.000000)
ForePhaser2.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.803922, 0.803922, 0.329412, 1.000000)
ForePhaser2.SetInnerCoreColor(kColor)
ForePhaser2.SetNumSides(12)
ForePhaser2.SetMainRadius(0.020000)
ForePhaser2.SetTaperRadius(0.000000)
ForePhaser2.SetCoreScale(0.500000)
ForePhaser2.SetTaperRatio(0.000000)
ForePhaser2.SetTaperMinLength(1.000000)
ForePhaser2.SetTaperMaxLength(1.000000)
ForePhaser2.SetLengthTextureTilePerUnit(0.200000)
ForePhaser2.SetPerimeterTile(1.000000)
ForePhaser2.SetTextureSpeed(2.000000)
ForePhaser2.SetTextureName("data/textures/tactical/VoyPhaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(ForePhaser2)
#################################################
PortAftPhaser = App.PhaserProperty_Create("Port Aft Phaser")

PortAftPhaser.SetMaxCondition(400.000000)
PortAftPhaser.SetCritical(0)
PortAftPhaser.SetTargetable(1)
PortAftPhaser.SetPrimary(1)
PortAftPhaser.SetPosition(-0.021000, -0.058700, -0.001700)
PortAftPhaser.SetPosition2D(65.000000, 26.000000)
PortAftPhaser.SetRepairComplexity(3.000000)
PortAftPhaser.SetDisabledPercentage(0.750000)
PortAftPhaser.SetRadius(0.030000)
PortAftPhaser.SetDumbfire(0)
PortAftPhaser.SetWeaponID(1)
PortAftPhaser.SetGroups(1)
PortAftPhaser.SetDamageRadiusFactor(0.100000)
PortAftPhaser.SetIconNum(361)
PortAftPhaser.SetIconPositionX(44.000000)
PortAftPhaser.SetIconPositionY(90.000000)
PortAftPhaser.SetIconAboveShip(1)
PortAftPhaser.SetFireSound("FedLight")
PortAftPhaser.SetMaxCharge(1.000000)
PortAftPhaser.SetMaxDamage(300.000000)
PortAftPhaser.SetMaxDamageDistance(40.000000)
PortAftPhaser.SetMinFiringCharge(1.000000)
PortAftPhaser.SetNormalDischargeRate(1.000000)
PortAftPhaser.SetRechargeRate(1.000000)
PortAftPhaser.SetIndicatorIconNum(508)
PortAftPhaser.SetIndicatorIconPositionX(33.000000)
PortAftPhaser.SetIndicatorIconPositionY(90.000000)
PortAftPhaserForward = App.TGPoint3()
PortAftPhaserForward.SetXYZ(-1.000000, 0.000000, 0.000000)
PortAftPhaserUp = App.TGPoint3()
PortAftPhaserUp.SetXYZ(0.000000, 0.000000, 1.000000)
PortAftPhaser.SetOrientation(PortAftPhaserForward, PortAftPhaserUp)
PortAftPhaser.SetWidth(0.005000)
PortAftPhaser.SetLength(0.001000)
PortAftPhaser.SetArcWidthAngles(-0.698132, 1.047198)
PortAftPhaser.SetArcHeightAngles(-0.034907, 1.047198)
PortAftPhaser.SetPhaserTextureStart(0)
PortAftPhaser.SetPhaserTextureEnd(7)
PortAftPhaser.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.839216, 0.129412, 0.003922, 1.000000)
PortAftPhaser.SetOuterShellColor(kColor)
kColor.SetRGBA(0.992157, 0.192157, 0.003922, 1.000000)
PortAftPhaser.SetInnerShellColor(kColor)
kColor.SetRGBA(0.592157, 0.592157, 0.000000, 1.000000)
PortAftPhaser.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.803922, 0.803922, 0.329412, 1.000000)
PortAftPhaser.SetInnerCoreColor(kColor)
PortAftPhaser.SetNumSides(12)
PortAftPhaser.SetMainRadius(0.020000)
PortAftPhaser.SetTaperRadius(0.000000)
PortAftPhaser.SetCoreScale(0.500000)
PortAftPhaser.SetTaperRatio(0.000000)
PortAftPhaser.SetTaperMinLength(1.000000)
PortAftPhaser.SetTaperMaxLength(1.000000)
PortAftPhaser.SetLengthTextureTilePerUnit(0.200000)
PortAftPhaser.SetPerimeterTile(1.000000)
PortAftPhaser.SetTextureSpeed(2.000000)
PortAftPhaser.SetTextureName("data/textures/tactical/VoyPhaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(PortAftPhaser)
#################################################
StarAftPhaser = App.PhaserProperty_Create("Star Aft Phaser")

StarAftPhaser.SetMaxCondition(400.000000)
StarAftPhaser.SetCritical(0)
StarAftPhaser.SetTargetable(1)
StarAftPhaser.SetPrimary(1)
StarAftPhaser.SetPosition(0.021000, -0.058700, -0.001700)
StarAftPhaser.SetPosition2D(65.000000, 26.000000)
StarAftPhaser.SetRepairComplexity(3.000000)
StarAftPhaser.SetDisabledPercentage(0.750000)
StarAftPhaser.SetRadius(0.030000)
StarAftPhaser.SetDumbfire(0)
StarAftPhaser.SetWeaponID(1)
StarAftPhaser.SetGroups(1)
StarAftPhaser.SetDamageRadiusFactor(0.100000)
StarAftPhaser.SetIconNum(362)
StarAftPhaser.SetIconPositionX(99.000000)
StarAftPhaser.SetIconPositionY(90.000000)
StarAftPhaser.SetIconAboveShip(1)
StarAftPhaser.SetFireSound("FedLight")
StarAftPhaser.SetMaxCharge(1.000000)
StarAftPhaser.SetMaxDamage(300.000000)
StarAftPhaser.SetMaxDamageDistance(40.000000)
StarAftPhaser.SetMinFiringCharge(1.000000)
StarAftPhaser.SetNormalDischargeRate(1.000000)
StarAftPhaser.SetRechargeRate(1.000000)
StarAftPhaser.SetIndicatorIconNum(362)
StarAftPhaser.SetIndicatorIconPositionX(107.000000)
StarAftPhaser.SetIndicatorIconPositionY(90.000000)
StarAftPhaserForward = App.TGPoint3()
StarAftPhaserForward.SetXYZ(1.000000, 0.000000, 0.000000)
StarAftPhaserUp = App.TGPoint3()
StarAftPhaserUp.SetXYZ(0.000000, 0.000000, 1.000000)
StarAftPhaser.SetOrientation(StarAftPhaserForward, StarAftPhaserUp)
StarAftPhaser.SetWidth(0.005000)
StarAftPhaser.SetLength(0.001000)
StarAftPhaser.SetArcWidthAngles(-1.047198, 0.698132)
StarAftPhaser.SetArcHeightAngles(-0.034907, 1.047198)
StarAftPhaser.SetPhaserTextureStart(0)
StarAftPhaser.SetPhaserTextureEnd(7)
StarAftPhaser.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(0.839216, 0.129412, 0.003922, 1.000000)
StarAftPhaser.SetOuterShellColor(kColor)
kColor.SetRGBA(0.992157, 0.192157, 0.003922, 1.000000)
StarAftPhaser.SetInnerShellColor(kColor)
kColor.SetRGBA(0.592157, 0.592157, 0.000000, 1.000000)
StarAftPhaser.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.803922, 0.803922, 0.329412, 1.000000)
StarAftPhaser.SetInnerCoreColor(kColor)
StarAftPhaser.SetNumSides(12)
StarAftPhaser.SetMainRadius(0.020000)
StarAftPhaser.SetTaperRadius(0.000000)
StarAftPhaser.SetCoreScale(0.500000)
StarAftPhaser.SetTaperRatio(0.000000)
StarAftPhaser.SetTaperMinLength(1.000000)
StarAftPhaser.SetTaperMaxLength(1.000000)
StarAftPhaser.SetLengthTextureTilePerUnit(0.200000)
StarAftPhaser.SetPerimeterTile(1.000000)
StarAftPhaser.SetTextureSpeed(2.000000)
StarAftPhaser.SetTextureName("data/textures/tactical/VoyPhaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(StarAftPhaser)
#################################################
AfterPhaser1 = App.PhaserProperty_Create("After Phaser 1")

AfterPhaser1.SetMaxCondition(800.000000)
AfterPhaser1.SetCritical(0)
AfterPhaser1.SetTargetable(0)
AfterPhaser1.SetPrimary(1)
AfterPhaser1.SetPosition(-0.024000, 0.244000, -0.100000)
AfterPhaser1.SetPosition2D(65.000000, 26.000000)
AfterPhaser1.SetRepairComplexity(3.000000)
AfterPhaser1.SetDisabledPercentage(0.500000)
AfterPhaser1.SetRadius(0.030000)
AfterPhaser1.SetDumbfire(0)
AfterPhaser1.SetWeaponID(1)
AfterPhaser1.SetGroups(1)
AfterPhaser1.SetDamageRadiusFactor(0.100000)
AfterPhaser1.SetIconNum(364)
AfterPhaser1.SetIconPositionX(62.000000)
AfterPhaser1.SetIconPositionY(25.000000)
AfterPhaser1.SetIconAboveShip(1)
AfterPhaser1.SetFireSound("Akira Phaser")
AfterPhaser1.SetMaxCharge(4.000000)
AfterPhaser1.SetMaxDamage(200.000000)
AfterPhaser1.SetMaxDamageDistance(40.000000)
AfterPhaser1.SetMinFiringCharge(3.000000)
AfterPhaser1.SetNormalDischargeRate(2.000000)
AfterPhaser1.SetRechargeRate(0.400000)
AfterPhaser1.SetIndicatorIconNum(510)
AfterPhaser1.SetIndicatorIconPositionX(65.000000)
AfterPhaser1.SetIndicatorIconPositionY(21.000000)
AfterPhaser1Forward = App.TGPoint3()
AfterPhaser1Forward.SetXYZ(-0.477089, -0.150023, -0.865956)
AfterPhaser1Up = App.TGPoint3()
AfterPhaser1Up.SetXYZ(-0.876113, 0.003429, 0.482093)
AfterPhaser1.SetOrientation(AfterPhaser1Forward, AfterPhaser1Up)
AfterPhaser1.SetWidth(0.020000)
AfterPhaser1.SetLength(0.020000)
AfterPhaser1.SetArcWidthAngles(-0.872665, 0.436332)
AfterPhaser1.SetArcHeightAngles(0.349066, -0.349066)
AfterPhaser1.SetPhaserTextureStart(0)
AfterPhaser1.SetPhaserTextureEnd(7)
AfterPhaser1.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(1.000000, 0.168627, 0.003922, 1.000000)
AfterPhaser1.SetOuterShellColor(kColor)
kColor.SetRGBA(1.000000, 0.168627, 0.003922, 1.000000)
AfterPhaser1.SetInnerShellColor(kColor)
kColor.SetRGBA(0.992157, 0.831373, 0.639216, 1.000000)
AfterPhaser1.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.992157, 0.901961, 0.858824, 1.000000)
AfterPhaser1.SetInnerCoreColor(kColor)
AfterPhaser1.SetNumSides(6)
AfterPhaser1.SetMainRadius(0.150000)
AfterPhaser1.SetTaperRadius(0.010000)
AfterPhaser1.SetCoreScale(0.500000)
AfterPhaser1.SetTaperRatio(0.250000)
AfterPhaser1.SetTaperMinLength(5.000000)
AfterPhaser1.SetTaperMaxLength(30.000000)
AfterPhaser1.SetLengthTextureTilePerUnit(0.500000)
AfterPhaser1.SetPerimeterTile(1.000000)
AfterPhaser1.SetTextureSpeed(2.500000)
AfterPhaser1.SetTextureName("data/phaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(AfterPhaser1)
#################################################
AfterPhaser2 = App.PhaserProperty_Create("After Phaser 2")

AfterPhaser2.SetMaxCondition(800.000000)
AfterPhaser2.SetCritical(0)
AfterPhaser2.SetTargetable(0)
AfterPhaser2.SetPrimary(1)
AfterPhaser2.SetPosition(0.034000, 0.246000, -0.100000)
AfterPhaser2.SetPosition2D(65.000000, 26.000000)
AfterPhaser2.SetRepairComplexity(3.000000)
AfterPhaser2.SetDisabledPercentage(0.500000)
AfterPhaser2.SetRadius(0.030000)
AfterPhaser2.SetDumbfire(0)
AfterPhaser2.SetWeaponID(1)
AfterPhaser2.SetGroups(1)
AfterPhaser2.SetDamageRadiusFactor(0.100000)
AfterPhaser2.SetIconNum(364)
AfterPhaser2.SetIconPositionX(62.000000)
AfterPhaser2.SetIconPositionY(25.000000)
AfterPhaser2.SetIconAboveShip(1)
AfterPhaser2.SetFireSound("Akira Phaser")
AfterPhaser2.SetMaxCharge(4.000000)
AfterPhaser2.SetMaxDamage(200.000000)
AfterPhaser2.SetMaxDamageDistance(40.000000)
AfterPhaser2.SetMinFiringCharge(3.000000)
AfterPhaser2.SetNormalDischargeRate(2.000000)
AfterPhaser2.SetRechargeRate(0.400000)
AfterPhaser2.SetIndicatorIconNum(510)
AfterPhaser2.SetIndicatorIconPositionX(56.000000)
AfterPhaser2.SetIndicatorIconPositionY(21.000000)
AfterPhaser2Forward = App.TGPoint3()
AfterPhaser2Forward.SetXYZ(0.514212, -0.094197, -0.852475)
AfterPhaser2Up = App.TGPoint3()
AfterPhaser2Up.SetXYZ(-0.851389, 0.063899, -0.520628)
AfterPhaser2.SetOrientation(AfterPhaser2Forward, AfterPhaser2Up)
AfterPhaser2.SetWidth(0.020000)
AfterPhaser2.SetLength(0.020000)
AfterPhaser2.SetArcWidthAngles(-0.872665, 0.436332)
AfterPhaser2.SetArcHeightAngles(0.349066, -0.349066)
AfterPhaser2.SetPhaserTextureStart(0)
AfterPhaser2.SetPhaserTextureEnd(7)
AfterPhaser2.SetPhaserWidth(0.300000)
kColor = App.TGColorA()
kColor.SetRGBA(1.000000, 0.168627, 0.003922, 1.000000)
AfterPhaser2.SetOuterShellColor(kColor)
kColor.SetRGBA(1.000000, 0.168627, 0.003922, 1.000000)
AfterPhaser2.SetInnerShellColor(kColor)
kColor.SetRGBA(0.992157, 0.831373, 0.639216, 1.000000)
AfterPhaser2.SetOuterCoreColor(kColor)
kColor.SetRGBA(0.992157, 0.901961, 0.858824, 1.000000)
AfterPhaser2.SetInnerCoreColor(kColor)
AfterPhaser2.SetNumSides(6)
AfterPhaser2.SetMainRadius(0.020000)
AfterPhaser2.SetTaperRadius(0.010000)
AfterPhaser2.SetCoreScale(0.500000)
AfterPhaser2.SetTaperRatio(0.250000)
AfterPhaser2.SetTaperMinLength(5.000000)
AfterPhaser2.SetTaperMaxLength(30.000000)
AfterPhaser2.SetLengthTextureTilePerUnit(0.500000)
AfterPhaser2.SetPerimeterTile(1.000000)
AfterPhaser2.SetTextureSpeed(2.500000)
AfterPhaser2.SetTextureName("data/phaser.tga")
App.g_kModelPropertyManager.RegisterLocalTemplate(AfterPhaser2)
#################################################
StarImpulse = App.EngineProperty_Create("Star Impulse")

StarImpulse.SetMaxCondition(600.000000)
StarImpulse.SetCritical(0)
StarImpulse.SetTargetable(1)
StarImpulse.SetPrimary(1)
StarImpulse.SetPosition(0.011000, -0.064000, 0.000000)
StarImpulse.SetPosition2D(51.000000, 82.000000)
StarImpulse.SetRepairComplexity(1.000000)
StarImpulse.SetDisabledPercentage(0.500000)
StarImpulse.SetRadius(0.005000)
StarImpulse.SetEngineType(StarImpulse.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(StarImpulse)
#################################################
PortImpulse = App.EngineProperty_Create("Port Impulse")

PortImpulse.SetMaxCondition(600.000000)
PortImpulse.SetCritical(0)
PortImpulse.SetTargetable(1)
PortImpulse.SetPrimary(1)
PortImpulse.SetPosition(-0.011000, -0.064000, 0.000000)
PortImpulse.SetPosition2D(51.000000, 82.000000)
PortImpulse.SetRepairComplexity(1.000000)
PortImpulse.SetDisabledPercentage(0.500000)
PortImpulse.SetRadius(0.005000)
PortImpulse.SetEngineType(PortImpulse.EP_IMPULSE)
App.g_kModelPropertyManager.RegisterLocalTemplate(PortImpulse)
#################################################
ImpulseEngines = App.ImpulseEngineProperty_Create("Impulse Engines")

ImpulseEngines.SetMaxCondition(1000.000000)
ImpulseEngines.SetCritical(0)
ImpulseEngines.SetTargetable(0)
ImpulseEngines.SetPrimary(1)
ImpulseEngines.SetPosition(0.000000, -0.050000, 0.000000)
ImpulseEngines.SetPosition2D(52.000000, 59.000000)
ImpulseEngines.SetRepairComplexity(2.000000)
ImpulseEngines.SetDisabledPercentage(0.500000)
ImpulseEngines.SetRadius(0.010000)
ImpulseEngines.SetNormalPowerPerSecond(20.000000)
ImpulseEngines.SetMaxAccel(6.500000)
ImpulseEngines.SetMaxAngularAccel(1.000000)
ImpulseEngines.SetMaxAngularVelocity(1.000000)
ImpulseEngines.SetMaxSpeed(10.000000)
ImpulseEngines.SetEngineSound("Federation Engines")
App.g_kModelPropertyManager.RegisterLocalTemplate(ImpulseEngines)
#################################################
WarpEngines = App.WarpEngineProperty_Create("Warp Engines")

WarpEngines.SetMaxCondition(1600.000000)
WarpEngines.SetCritical(0)
WarpEngines.SetTargetable(0)
WarpEngines.SetPrimary(1)
WarpEngines.SetPosition(0.000000, -0.020000, 0.000000)
WarpEngines.SetPosition2D(79.000000, 59.000000)
WarpEngines.SetRepairComplexity(1.000000)
WarpEngines.SetDisabledPercentage(0.500000)
WarpEngines.SetRadius(0.015000)
WarpEngines.SetNormalPowerPerSecond(0.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(WarpEngines)
#################################################
RepairSystem = App.RepairSubsystemProperty_Create("Repair System")

RepairSystem.SetMaxCondition(800.000000)
RepairSystem.SetCritical(1)
RepairSystem.SetTargetable(0)
RepairSystem.SetPrimary(1)
RepairSystem.SetPosition(-0.000850, 0.060526, 0.000000)
RepairSystem.SetPosition2D(52.000000, 59.000000)
RepairSystem.SetRepairComplexity(4.000000)
RepairSystem.SetDisabledPercentage(0.500000)
RepairSystem.SetRadius(0.003000)
RepairSystem.SetNormalPowerPerSecond(0.000000)
RepairSystem.SetMaxRepairPoints(15.000000)
RepairSystem.SetNumRepairTeams(1)
App.g_kModelPropertyManager.RegisterLocalTemplate(RepairSystem)
#################################################
SensorArray = App.SensorProperty_Create("Sensor Array")

SensorArray.SetMaxCondition(1000.000000)
SensorArray.SetCritical(0)
SensorArray.SetTargetable(1)
SensorArray.SetPrimary(1)
SensorArray.SetPosition(0.000000, 0.042000, 0.005000)
SensorArray.SetPosition2D(65.000000, 40.000000)
SensorArray.SetRepairComplexity(0.400000)
SensorArray.SetDisabledPercentage(0.500000)
SensorArray.SetRadius(0.010000)
SensorArray.SetNormalPowerPerSecond(20.000000)
SensorArray.SetBaseSensorRange(900.000000)
SensorArray.SetMaxProbes(0)
App.g_kModelPropertyManager.RegisterLocalTemplate(SensorArray)
#################################################
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.000000, 0.000000, 0.000000)
ViewscreenRight.SetPosition(ViewscreenRightPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenRight)
#################################################
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.000000, 0.000000, 0.000000)
ViewscreenLeft.SetPosition(ViewscreenLeftPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenLeft)
#################################################
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)
#################################################
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.130000, 0.023000)
ViewscreenForward.SetPosition(ViewscreenForwardPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(ViewscreenForward)
#################################################
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.400000, 0.000000)
FirstPersonCamera.SetPosition(FirstPersonCameraPosition)
App.g_kModelPropertyManager.RegisterLocalTemplate(FirstPersonCamera)
#################################################
Type11 = App.ShipProperty_Create("Type11")

Type11.SetGenus(1)
Type11.SetSpecies(146)
Type11.SetMass(15.000000)
Type11.SetRotationalInertia(2000.000000)
Type11.SetShipName("Type11")
Type11.SetModelFilename("data/Models/Ships/Type11.nif")
Type11.SetDamageResolution(6.000000)
Type11.SetAffiliation(0)
Type11.SetStationary(0)
Type11.SetAIString("FedAttack")
Type11.SetDeathExplosionSound("g_lsDeathExplosions")
App.g_kModelPropertyManager.RegisterLocalTemplate(Type11)
#################################################
WarpCore = App.PowerProperty_Create("Warp Core")

WarpCore.SetMaxCondition(1000.000000)
WarpCore.SetCritical(1)
WarpCore.SetTargetable(1)
WarpCore.SetPrimary(1)
WarpCore.SetPosition(0.002109, -0.043790, -0.015000)
WarpCore.SetPosition2D(65.000000, 80.000000)
WarpCore.SetRepairComplexity(1.000000)
WarpCore.SetDisabledPercentage(0.500000)
WarpCore.SetRadius(0.020000)
WarpCore.SetMainBatteryLimit(13000.000000)
WarpCore.SetBackupBatteryLimit(3000.000000)
WarpCore.SetMainConduitCapacity(200.000000)
WarpCore.SetBackupConduitCapacity(30.000000)
WarpCore.SetPowerOutput(160.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(WarpCore)
#################################################
ShieldGenerator = App.ShieldProperty_Create("Shield Generator")

ShieldGenerator.SetMaxCondition(1000.000000)
ShieldGenerator.SetCritical(0)
ShieldGenerator.SetTargetable(1)
ShieldGenerator.SetPrimary(1)
ShieldGenerator.SetPosition(0.000000, 0.028000, -0.010000)
ShieldGenerator.SetPosition2D(65.000000, 60.000000)
ShieldGenerator.SetRepairComplexity(1.000000)
ShieldGenerator.SetDisabledPercentage(0.750000)
ShieldGenerator.SetRadius(0.010000)
ShieldGenerator.SetNormalPowerPerSecond(35.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, 4000.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.REAR_SHIELDS, 4000.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.TOP_SHIELDS, 4000.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.BOTTOM_SHIELDS, 4000.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.LEFT_SHIELDS, 4000.000000)
ShieldGenerator.SetMaxShields(ShieldGenerator.RIGHT_SHIELDS, 4000.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.FRONT_SHIELDS, 12.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.REAR_SHIELDS, 12.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.TOP_SHIELDS, 12.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.BOTTOM_SHIELDS, 12.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.LEFT_SHIELDS, 12.000000)
ShieldGenerator.SetShieldChargePerSecond(ShieldGenerator.RIGHT_SHIELDS, 12.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(ShieldGenerator)
#################################################
Hull = App.HullProperty_Create("Hull")

Hull.SetMaxCondition(3500.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.090000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Hull)
#################################################
PhaserArray = App.WeaponSystemProperty_Create("Phaser Array")

PhaserArray.SetMaxCondition(1200.000000)
PhaserArray.SetCritical(0)
PhaserArray.SetTargetable(0)
PhaserArray.SetPrimary(1)
PhaserArray.SetPosition(0.000000, 0.000000, 0.000000)
PhaserArray.SetPosition2D(79.000000, 59.000000)
PhaserArray.SetRepairComplexity(1.000000)
PhaserArray.SetDisabledPercentage(0.500000)
PhaserArray.SetRadius(0.002500)
PhaserArray.SetNormalPowerPerSecond(75.000000)
PhaserArray.SetWeaponSystemType(PhaserArray.WST_PHASER)
PhaserArray.SetSingleFire(1)
PhaserArray.SetAimedWeapon(0)
kFiringChainString = App.TGString()
kFiringChainString.SetString("")
PhaserArray.SetFiringChainString(kFiringChainString)
App.g_kModelPropertyManager.RegisterLocalTemplate(PhaserArray)

# Property load function.
def LoadPropertySet(pObj):
"Sets up the object's properties."
prop = App.g_kModelPropertyManager.FindByName("Type11", 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("Impulse Engines", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Port Impulse", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Star Impulse", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Warp Engines", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Port Nacelle", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Star Nacelle", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Phaser Array", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Fore Phaser 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Fore Phaser 2", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Port Aft Phaser", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Star Aft Phaser", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Torpedoes", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Fore Tube 1", App.TGModelPropertyManager.LOCAL_TEMPLATES)
if (prop != None):
pObj.AddToSet("Scene Root", prop)
prop = App.g_kModelPropertyManager.FindByName("Fore Tube 2", 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)
Title: Re: Type 11 Shuttle Error
Post by: teleguy on September 21, 2009, 09:35:20 AM
The repair system is missing and you'll have to flip over the "ViewscreenDown" marker.
Title: Re: Type 11 Shuttle Error
Post by: King Class Scout on September 21, 2009, 12:36:39 PM
is a repair system a minimum requirement?
Title: Re: Type 11 Shuttle Error
Post by: Kirk on September 21, 2009, 12:54:37 PM
It will crash the game if you don't have one
Title: Re: Type 11 Shuttle Error
Post by: King Class Scout on September 21, 2009, 01:22:38 PM
ah, that's why my Breen DD didn't work.  there a thread for that in the tutes (tutorials)?  a minimum requirements list?
Title: Re: Type 11 Shuttle Error
Post by: Kirk on September 21, 2009, 02:08:01 PM
No, but I may add that to a list of things I need to do. :P
Title: Re: Type 11 Shuttle Error
Post by: DKealt on September 21, 2009, 06:35:58 PM
Thank you!!!

The persistence on this thread has been fantastic, especially on such a boring and eventually VERY simple problem.

I can now board my Type11's with ease!!!