Alrighty luke, I got it to work. First off, in the hp comment out the file path, like this.
#C:\Documents and
#Settings\home\Desktop\Bridge Commander\Scripts\Ships\Hardpoints\Clandestine.py
And for those that haven't yet installed the century, like me. Comment out the medium and low lod lines.
def GetShipStats():
kShipStats = {
"DamageRadMod" : 0.75,
"DamageStrMod" : 0.75,
"FilenameHigh": "data/Models/Ships/S31 Clandestine/EnterpriseF.nif",
# "FilenameMed": "data/Models/Ships/EnterpriseF/EnterpriseF.nif",
# "FilenameLow": "data/Models/Ships/EnterpriseF/EnterpriseF.nif",
"Name": "S31 Clandestine",
"HardpointFile": "Clandestine",
"Species": Multiplayer.SpeciesToShip.MARAUDER
}
return kShipStats
def LoadModel(bPreLoad = 0):
pStats = GetShipStats()
# Create the LOD info
if (not App.g_kLODModelManager.Contains(pStats["Name"])):
# Params are: File Name, PickLeafSize, SwitchOut Distance,
# Surface Damage Res, Internal Damage Res, Burn Value, Hole Value,
# Search String for Glow, Search string for Specular, Suffix for specular
pLODModel = App.g_kLODModelManager.Create(pStats["Name"])
pLODModel.AddLOD(pStats["FilenameHigh"], 10, 200.0, 15.0, 15.0, 400, 900, "_glow", None, "_specular")
# pLODModel.AddLOD(pStats["FilenameMed"], 10, 300.0, 15.0, 15.0, 400, 900, "_glow", None, None)
# pLODModel.AddLOD(pStats["FilenameLow"], 10, 800.0, 15.0, 30.0, 400, 900, "_glow", None, None)
She now works ingame.