Page 2 of 3

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 8:55 am
by cec.
There are only two 3rd party maps but they have been there for over a year and I never had any problems caused by them. I'll remove them for the next compile to be sure that this is not the problem.
Damn, this engine/editor makes me cry.

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 9:02 am
by johnnyenglish
Have you got a low value set for _lightmapscale? Do you have a lot of images in your maps texture folder?

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 9:32 am
by cec.
No, _lightmapscale is default and there are 37 textures including diffuse, normal and heigh maps. About 20 textures are in the zpak000_assets folder (I know, you shouldn't do this anymore and before I release the map, I'll change it).
I googled the error and the only result led me to this post: http://forums.massassi.net/vb3/showthre ... post271569
Do you think this would solve the problem? I don't think so: there are only 4454 brushes and 391 entities in my map, ut4_raiders for example has over 8000 brushes.

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 9:37 am
by johnnyenglish
Assuming there's no fault in your shaders then there must be another reason why weapon textures/shaders aren't working and that topic suggests a few things to try. Are there any really large textures?

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 9:46 am
by cec.
The largest textures have a size of 1024x1024px but there is a model with a diffuse texture with 2048x512px. Is it too much?

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 9:51 am
by xandaxs
Difuse could be 512x512.

Do you have any custom pk3s modifying the skin of weapons?

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 10:02 am
by cec.
No, I have never cared about such a .pk3.
The next thing I will try is to remove the models I added a few days ago (they had all 1024x1024/2048x512/256x1024 textures) and see if these models are a problem in general. If no, then I know it's the size of the texture or their shaders.
I'll start compiling in the afternoon when I'm not at home, so you can give me more tips of how to maybe fix it :)

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 10:03 am
by xandaxs
Does this happens on all weapons?

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 10:11 am
by cec.
Yes, and even on symbols such as the medic kit sign in the minimap or the ammo clip (look at the screenshots in my first post) or even the smoke of the power slide.

Re: Missing texture on weapon?!

Posted: Tue Dec 27, 2011 10:16 am
by xandaxs
If you remove your map from the q3ut4 foolder, does it still happen?