Well, I managed to add a new ship model to the game. And after some doing, I was able to get a regular texture to show up (but with zero specularity, for some odd reason). Now, however, I'm stuck. No matter what I do, I can't seem to add glow maps to my ship. Every time I try, the texture turns into a flat gray--no image whatsoever.
I convert the texture to .dds format using Gimp. I set it to BC3/DXT5 compression (the only one I can seem to get to work right). I use Mesher to convert my .obj to .bfxm. Then I used it to convert to .xmesh. Every time I try to modify my texture settings in .xmesh and convert it back to .bfxm, I get the gray mesh of doom. What am I doing wrong? I followed what I could find in the wiki, but still nothing seems to work. I'd really like to have some lit windows on my ship--right now it looks like it's got nobody living there. Finally, I resorted to converting one of the Rllan ships to .xmesh and stealing its code for glow maps. From what I can tell, I wasn't doing anything differently, except I skipped directly to texture3, because I don't have a spec or damage map.
Code: Select all
<Mesh scale="1.000000" reverse="0" forcetexture="0" sharevert="1" polygonoffset="0.000000" blend="ONE ZERO" alphatest="0.000000" texture="saladinDIFF.jpg" texture1="saladinDIFF.jpg" texture2="saladinDIFF.jpg" texture3="saladinGLO.jpg" >
--FP