Missing Textures

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Missing Textures

Post 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?
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Missing Textures

Post by trainmaster611 »

The dimensions of the texture have to be a power of 2. 64, 128, 256, 512, 1024, 2048, etc.
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Missing Textures

Post 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.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Missing Textures

Post 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.
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Missing Textures

Post 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)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Missing Textures

Post by DarthD.U.C.K. »

yes, you have the hardpoint should be hp_pilot
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Missing Textures

Post 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"
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Missing Textures (missing ship now)

Post 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
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Missing Textures

Post 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.
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Missing Textures

Post by Silas »

i know. i made sure each time it was unchecked. thats what i meant
Post Reply