FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   ST:BC Problems, Errors and Help (http://forums.filefront.com/st-bc-problems-errors-help-17/)
-   -   Help with NX-01 Nacelle (http://forums.filefront.com/st-bc-problems-errors-help/121317-help-nx-01-nacelle.html)

Admiral Janeway February 11th, 2005 04:15 PM

Re: Help with NX-01 Nacelle
 
Hmmm. I opened the py file and found this:


import App
import Multiplayer.SpeciesToShip

def GetShipStats():
kShipStats = {
"FilenameHigh": "data/Models/Ships/NX01-Enterprise/nx01.nif",
"FilenameMed": "data/Models/Ships/NX01-Enterprise/nx01Med.nif",
"FilenameLow": "data/Models/Ships/NX01-Enterprise/nx01Low.nif",
"Name": "NX01Enterprise",
"HardpointFile": "NX01Enterprise",
"Species": Multiplayer.SpeciesToShip.AMBASSADOR
}
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"], 12, 220.0, 15.0, 15.0, 400, 900, "_glow", None, "_specular")
pLODModel.AddLOD(pStats["FilenameMed"], 12, 420.0, 15.0, 15.0, 400, 900, "_glow", None, "_specular")
pLODModel.AddLOD(pStats["FilenameLow"], 12, 820.0, 15.0, 30.0, 400, 900, "_glow", None, None)
# kDebugObj = App.CPyDebug()
if (bPreLoad == 0):
pLODModel.Load()
# kDebugObj.Print("Loading " + pStats["Name"] + "\n")
else:
pLODModel.LoadIncremental()
# kDebugObj.Print("Queueing " + pStats["Name"] + " for pre-loading\n")
def PreLoadModel():
LoadModel(1)



I see 'Hole Value', but I don't see a number next to it.

elminster February 12th, 2005 08:49 AM

Re: Help with NX-01 Nacelle
 
The entries in the description relate to the numerical entries below it;

Code:

# 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.AddLOD(pStats["FilenameHigh"], 12, 220.0, 15.0, 15.0, 400, 900, "_glow", None, "_specular")

In this instance the Hole Value is 400.
A lower number is a smaller hole.

You may also want to change the internal and external damage res's.

Admiral Janeway February 12th, 2005 11:48 AM

Re: Help with NX-01 Nacelle
 
I changed that to this:

# 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"], 9, 120.0, 9.0, 9.0, 90, 300, "_glow", None, "_specular")
pLODModel.AddLOD(pStats["FilenameMed"], 12, 420.0, 15.0, 15.0, 400, 900, "_glow", None, "_specular")
pLODModel.AddLOD(pStats["FilenameLow"], 11, 810.0, 14.0, 30.0, 300, 8500, "_glow", None, None)


And it still didn't work. I might not be fixable. Something could be wrong with the 3D model.

elminster February 13th, 2005 07:36 AM

Re: Help with NX-01 Nacelle
 
Depends which res your running at, try something around 10 for the hole value, 90 is still quite large. Other than that your probably right about it being a problem with the mesh

Admiral Janeway February 13th, 2005 08:28 PM

Re: Help with NX-01 Nacelle
 
I spen an hour tweaking the numbers and all. It's more than likely a mesh problem. Thank you for trying to help. :)


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.