Custom ship randomly turns white
-
I’ve been having this problem with a couple of my custom ships (some of SolCommand great work ) and I’ve been able to get the ships in the game, with texture’s working (most of the time) and got around to doing some basic hard pointing. I’ve been having the problem that half the time the ship is shown textured the other half it comes out white, this changes every time the game reloads the model, so when i undock, even if it is perfectly textured in the base i comes out in space as a white ship, I’m at a loss as to what is causing it and would like to get on top of it before i forget again
Also another thing while i’m asking, how do you get a working mesh thing when you turn to the targeting section thing, if it’s to do with sur’s my knowledge of them is almost none existant, i just use the great sur builder for sur creation.
Thanks
Ozed. -
What kind of texture format do you use?
dds? tga? else?You may have invert (flipped) textures in ms3d, it may cause this error, but as i havent had this problem so far, i wouldn’t know.
Do you have one .mat for one ship or you made a .mat file for groups? -
All of the model’s groups and materials have unique names?
-
oZed wrote:
Also another thing while i’m asking, how do you get a working mesh thing when you turn to the targeting section thingI’m probably too quick to jump in here, but an older solution is to use make_wire. It’s a command line program, so perhaps you might like to wait for another reply, if there’s another approach.
-
OK, i use .dds texture formats for their size and i use the DXT3 encoder, i use the same .mat for several ships and they all seem to have this problem so ill attach the .mat to this post, i didn’t invert the textures in milkshape (at least not to my knowledge), its just a single texture for each ship, the one provided by SolCommand with the models, and i go my a strict naming scheme. So if take a look at the .Mat and see if the problem is in their i would greatly appreciate it
Ozed.
O, too big a file here it is uploaded
-
Your textures are probably too large for your current graphic settings. I don’t use more than 1024 x 1024 x 72 but some of you are detail hungry.
2 things…
1. I always save dds textures as DXT1 no alpha like my pal Gibbon, never used DXT3. Remember FL is not 100% reliable with all its functions, some may work sporadically - but keep to the basics and you have a better chance of something working well.
2. Start Freelancer and check the “Game Options” - “Performance” - “Detail” slider, set it all the way to the right. Lowering this setting will at some point result in what you say you are seeing.
If you lower it far enough my custom ships disappear and all I can see is the engines, lights and contrails and weapons hanging in space!
Here’s a tip for those who use dds textures - if you use a .dds picture to make a ship icon that displays at the shipdealer (shipname.3db), you need to invert it before importing it into the .3db file! If you use .tga then keep it right way up, the subroutine in FL always inverts it, whether its a MIPS node or a MIP0 node. This is a case in point of FL functions not being 100%.
-
Also remember that dds textures need to be square. If it is an odd size it will not work and will show up white ingame. Also, I have a couple of ships in my mod that have 2048x2048 textures and they work fine.
-
Firstly, I don’t know of any ships saved using DTX3 for dds textures. I’ve only ever seen them saved as already mentioned as DXT1 with no alpha, why this doesn’t happen to me lol
Secondly, there is no magic utility needed to square up textures, most paint programs do it. Paint shop pro which is what i use, can be downloaded for free, especially version 7 which is so simple to use it hurts. As Nightstalker quite rightly says, the textures need to be square, even sizes like 256x512 will give problems and can happily cause a ctd in game. I know this because i have this same issue with one of my ships that i forgot to square one of the textures for.
-
I never said its magic tool, just i adviced something i use and works fine, doesnt need to misinterpret it.
Having regard to using dxt3 or dxt1, it seems so many men, so many minds, and all of them work properly at least dxt3 works at me, and i dont think im an exception, so it could not be the problem.
-
I’ve just tried using DXT1 for the fighter model and am still getting the white ship problem, so i’m thinking that it might be my system that is messing with it. I’m also experiencing other problems such as when i go to jump through a Jump Gate (haven’t tryed jump holes) i go through it but when the tunnel thing comes up it freezes then i emerge on the other side. This occurs on both my modified freelancer and my standard one (which only has jflp added to it.) So looks like i’ve got system related problems, great
Ozed.
-
Davis wrote:
Having regard to using dxt3 or dxt1, it seems so many men, so many minds, and all of them work properly at least dxt3 works at me, and i dont think im an exception, so it could not be the problem.Ozed is having problems, we are trying to help by returning him to standards then he can find it.
Here we are offering our advice that we have gained by lots of errors and problems and headaches.
What we are saying is…
Why use a method that standard FL does not use? We already advised you that the FL functions are not all 100% reliable.
So if it works for you and some others then great, but please don’t insist, DXT3 is not correct in this instance and it may not work for everyone all the time.
Ozed:
I don’t like to download files from a site that pushes porn onto my screen, don’t do this again please, I will not download your mat file.
Have you checked your Options - Performance - Detail slider is all the way to the right as I advised above?
And are your textures square - 1024 x 1024 x 72?
I would not advise 2048 x 2048 until you are sure 1024 x 1024 x 72 works.
If your mat file is too big for this forum to upload, even as DDS, then your texture is wrong.
Once you find the problem you can put back the things you want one at a time, including those DXT3’s and 4096 x 4096 x 128!! if you want.
-
I don’t like to download files from a site that pushes porn onto my screen, don’t do this again please, I will not download your mat file.
Sorry to hear that, i will make note to remember for next time, i hadn’t noticed it when uploaded it so it never occurred to me that it would become offensive :oops:
Have you checked your Options - Performance - Detail slider is all the way to the right as I advised above?
Yes and to no effect, it seems to be happening at a 50/50 chance when maxed or when its on minimum.
And are your textures square - 1024 x 1024 x 72?
I would not advise 2048 x 2048 until you are sure 1024 x 1024 x 72 works.
Yes they are square as SolCommand Provided them, i have just resized it down to 1024 x 1024 to no effect.
If your mat file is too big for this forum to upload, even as DDS, then your texture is wrong.
Not sure what you mean buy wrong (its a bit too general) but i use this MAT file for four separate ships all with 2048 x 2048 textures (all of which suffer this problem).
I’m going to be downloading newer codecs in the hope for a solution through that. Thanks for all the help so far, i appreciate it.
Ozed.
-
sigh… just finished installing drivers for graphics card and still had a white ship, i resized the texture again to 512 x 512 to no effect either. I even tried playing the game in a variety of resolutions and at 16 bit colour to no effect does anyone what both the ship and the MAT to test on their machines? maybe we can find the problem in their?
Ozed.
-
Oh dear, sorry you still have the problem.
If you can try again to upload your .cmp and .mat and .sur here in a .zip we’ll (at least I’ll) be happy to check it out for you?
-
Thanks!
I’ve uploaded the file to rapidshare.com, at least this time their isn’t any porn coming on your screen, sorry about last time. This includes both a normally textured version and a Detail Mapped version to look at. Both experience the problem, ignore the wiredata file, it was part of my feeble attempt at getting the Wire frame working. the v2 file is the Normally textured and the v3 file is the Detailed one.
So here’s the link
Thanks again.
Ozed. -
OK, got them.
Immediate problem without opening them yet: Your .mat file is 27MB!!!
I’ll take a look and get back to you soon.