I made a custom texture in jpg format (130 x 40 pix, RGB-colors 24bit, resolution 72 dpi, subformat 4:2:2), I putted the texture in main/textures/custom. I can load the texture in mohradiant but I cant see it in the texture list.
textures/custom/customtexture
{
qer_keyword brick //put your keywords here (can be searched), if you don't want your textures to show up and have people accidentally use on of yours you could just make it mymapname or something
qer_keyword stone
qer_keyword wall
surfaceparm stone //put the surface type here
{
map textures/custom/customtexture.tga //I've always heard this must be .tga even if it's a jpg...
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Place this in a /scripts/ foler in /main/ or /mainta/ or /maintt/
It is good to have a shader for your new texture. But one is not needed to see it in the texture window. Although, you must have "Show Non-Shader Textures" set in preferences.
Make sure that texture pops up when you type "custom" in the keyword box. If it does not, you may need to add a text file (shaderlist.txt) to the scripts folder. The text file should have any new keywords listed.
you know when you pull down the list of textures and it has a whole bunch of stuff like algiers and general_structure?
well yours would appear as custom when you put that txt file in.