Page 1 of 1

Missing Textures

Posted: Sat Aug 02, 2008 8:06 am
by Silas
I was making a vehicle in XSI for the DMI project and got it how i wanted it to look. I textured it decently enough for a test run, and exported it without a problem. I made it into a prop temporarily to see how size and texture were and tried to place it ingame. In ZE, the ship showed up, but it was missing it's texture. Both the .msh and texture are in the MSH file, so i don't know what went wrong.

Anyone have any suggestions as to what i might do to get the texture back?

Re: Missing Textures

Posted: Sat Aug 02, 2008 2:22 pm
by trainmaster611
The dimensions of the texture have to be a power of 2. 64, 128, 256, 512, 1024, 2048, etc.

Re: Missing Textures

Posted: Sat Aug 02, 2008 6:06 pm
by Silas
I checked my .tga, and it is 512 x 512. I also checked the r-something compression thing. it's clear too. I'm quite, er, bamboozled at the moment.

Re: Missing Textures

Posted: Sat Aug 02, 2008 8:11 pm
by trainmaster611
Open the .msh in notepad or hex editor and make sure you really applied the texture. Push Crtl + F and type in .tga and tell us if you can find it.

Re: Missing Textures

Posted: Sat Aug 02, 2008 8:28 pm
by Silas
yeah it was there. I'm not sure what the problem was, but re-exporting again seemed to work. My color came back :P

...at least until I tried making it into a vehicle. Now it just isn't there anymore, with no explaination in the logfile.

edit: it probably has to do with me forgetting the hardpoints. Do you need a hardpoint if the character isn't going to be shown at all inside the vehicle?(i'm not including weapons or damage hardpoints for simplicity)

Re: Missing Textures

Posted: Sun Aug 03, 2008 7:22 am
by DarthD.U.C.K.
yes, you have the hardpoint should be hp_pilot

Re: Missing Textures

Posted: Sun Aug 03, 2008 8:04 am
by MandeRek
Wrong. If he's not there, no hardpoint is needed. And you can call whatever you hardpoint want to be. Hardpoints will hardly crash a map or vehicle..

If you want no visible pilot, make this line in the odf:

Code: Select all

VehiclePosition			= "common.vehiclepositions.pilot"
Or you'll have one.. No hardpoint, that line, and you're clean on that.

Edit:

My post was wrong too :P No line in odf means no pilot. If you want one, these lines shall do:

Code: Select all

PilotPosition 			= "hardpointname"
Pilot9Pose	 		= "sit/ride/stand-animname"

Re: Missing Textures (missing ship now)

Posted: Sun Aug 03, 2008 5:08 pm
by Silas
so i do need a hardpoint then? I'm a little confused.

btw, I just took the odf for the rep jedi fighter and replaced the geometries. I also took out the weapons, chunks, and the details about smoke for damaged ships. I assumed that's all i would need, but i dont know...it just won't show up ingame

Re: Missing Textures

Posted: Sun Aug 03, 2008 6:53 pm
by Teancum
Silas wrote:I checked my .tga, and it is 512 x 512. I also checked the r-something compression thing. it's clear too. I'm quite, er, bamboozled at the moment.
RLE Compression should be off, not on.

Re: Missing Textures

Posted: Sun Aug 03, 2008 9:54 pm
by Silas
i know. i made sure each time it was unchecked. thats what i meant