I am trying to port a Nebula Class that I found on BCFiles, but when I build it in the shipyard, there's nothing there! I know the model is good, and I am using the stock odfs, so what's wrong? I also know I didn't screw up the alphas, because even then I'd be able to see some things. Anyone have any ideas? Please? I am in love with this model and, if I can get it to work, I will release it.
1st October 2007
I think you forgot about the "m_shipartname" joints. If you faorgot them, the SOD won't contain the mesh, only harpoints.
I didn't forget that. The bug doesn't appear, but rather nothing does.
27th October 2006
Make sure your mesh joints are linked to the scene root;)
I did... Still nothing.
Here are some screens that demonstrate what my problem is.
Screen 1: In the yard. It is clearly constructing the Nebula. It is about 3/4 of the way through the process of doing so. At that point, I should be able to see at least some alphas. But there is nothing. And the model DOES have alphas. Those white dots are the construction sparks.
Screen 2: We see some ships parked next to the yard. This is just before the construction is completed.
Screen 3: Those same ships have somehow been catapulted to the top of the map, and the left freighter has begun spinning on its axis, then stopping, reverting to a horizontal position, then starting again at random intervals. The Nebula is still nonexistent, and even the minimap says so.
Oh yes, and k_merse, you should be very familiar with this Nebula: It's in my A3 Leftovers screen pack.
The USS Phoenix, available from BCFiles. I was unable to contact the author for release permission.
1st October 2007
First of all, check the size of the SOD file. If it's around 10kb, then the SOD doesn't contains the mesh. If it's a simple BC port, the SOD's size could be even 70-100kb! Check the 'm_meshpartname" joints once more! Are they connecting to the "h_scene_root" directly?
Other idea is that there is some problem with the textures. Maybe the model don't support the alphas yet. Rename the "!lambert_" prefix tag to "!phong_" in the materials name! It dcould be the problem that the gmae thinks, all of the textures must be transparent, so the whole ship become transparent.
Size: 149 KB. Materials tags: !phong_material Mesh nodes: Connected to h_scene root
I have a theory though: There is a node connected to the root, and everything except my new mesh nodes is connected to that (I am using the stock Nebula hardpoints for convenience's sake.) Maybe if I attach the meshes to that it'll work, because that's how the stock models work.