Hello, probably asked before, but I did not find (understood) the answer for my problem.
I loaded my own texture (some JPG), in Radiant it’s OK, but when I compiled he whole thing and put the map into etmain in ET directory and started testing the map, I saw only the yellow/black window instead of the picture. I think it did not find the texture, so where it should be?
And the second question, if I want to place some pics on the walls, what is the best way to do it? I just created the piece of the wall, and changed it’s face to the poster texture, but it’s a “big” work for something simple like this.
This problem is probably because your texture is not sized to a power of 2. Your texture needs to be 2^n x 2^n up to a maximum of 256x256. meaning sizes like 128x256, 128x128, 64x64 etc.
If this doesn’t fix it then follow these basics
1.) Create a folder under etmain called textures.
2.) This folder should have only other folders in it and no files.
3.) Give these folders unique names so they don’t conflict with the default textures.
3.) Put your textures under these folders inside the textures folder.
4.) These new folders should not have folders inside them because you won’t see them.
5.) Your textures can only be .tga, or .jpg. Be careful when converting .gif pictures to the accepted formats cause you might not see them in the editor, if you see it in the editor then no problem.
6.) make sure your pictures are sized to a power of 2, and no greater than 256x256 (they can be bigger but it’s not recommend because older cards can’t support them).
7.) In radiant, under the textures menu make sure you uncheck “Shaderlist.txt only”
8.) You should now see your texture folders listed.
That’s all I can think of now but I think that’s about it.
First some shortcuts.
[Ctrl + Shift + Left] click allows you to select just once face of the brush and not the entire brush. This way you can place a texture on that face that is different from the other faces.
[S] once brush or face is selected you can press s to bring up the surface inspector window which allows you to manually tweak the position of the texture on the brush. You can find out what the various options of the surface inspector do in your manual.
If you’re trying to put something like a painting or a poster on your wall, but that does not cover the whole wall area, then you will need to create a new brush with just your poster on it. Once you do this you can press Fit in your surface inspector and it will fit the image onto the brush so it looks proper. With this new brush with your picture on it you can do 3 things. You can try to make is as thin as the grid allows and then just put it on top of the wall, you can split up your wall and make a hole for your brush in there (be careful how you split up your wall http://www.splashdamage.com/forums/viewtopic.php?t=4128)
or you can place your brush inside the wall brush and write a decal shader for it which I’m sure you dont know how to do.
You’ll find out that many things that you see in the editor don’t show up well in game and some things that don’t show up well in the editor show up fine in game. It can make things very frustrating but hopefully you’ll learn to minimize these problems. And yes the editor will show up pictures no matter what size they are but for them to show up in game they have to be a power of 2.