Shader not showing up - again!
Posted: Sat Dec 31, 2011 10:40 pm
I'm using some of bst's shaders from his Terminatria map, but renaming them to avoid conflicts. Here is one of them I'm using:
textures/chronicle1/bst_striplight_0.25k
{
qer_editorimage textures/bst_tech/bst_striplight.tga
q3map_lightimage textures/bst_tech/bst_striplight.tga
surfaceparm nomarks
q3map_surfacelight 250
{
map $lightmap
rgbGen identity
tcGen lightmap
}
{
map textures/bst_tech/bst_striplight.tga
rgbGen identity
}
}
It's in a .shader file called chronicle1.shader and it has been put in shaderlist.txt, so the editor will try and look for it. It shows up in the editor just fine, but in-game, it is missing, and shows with an error:
"trying textures/chronicle1/bst_striplight_0.tga..."
This is rather baffling. Since when was there a texture called bst_striplight_0? Why is there a "_0" added at the end of the shader name? That shows up nowhere in my shader file at all, all the texture directories point to bst_striplight without the _0, so this shouldn't happen. Also, notice how the directories in my shader have bst_tech as a path, but when the game shows the error, it says "trying textures/chronicle1/bst_striplight_0.tga..." That makes no sense, why is it trying to look in a different directory for the textures if I clearly specified they were to be found in textures/bst_tech? That defies logic.
I tried renaming the paths from bst_tech to chronicle1 to see if that would fix it, but it doesn't work. I don't want to have to be forced to rename every single image to have a _0 at the end either... surely there is a better, more convenient solution. And I assure you, they are in their proper textures folders.
Any help would be greatly appreciated. I'm working on this map for EntityPlus, if that helps any.
textures/chronicle1/bst_striplight_0.25k
{
qer_editorimage textures/bst_tech/bst_striplight.tga
q3map_lightimage textures/bst_tech/bst_striplight.tga
surfaceparm nomarks
q3map_surfacelight 250
{
map $lightmap
rgbGen identity
tcGen lightmap
}
{
map textures/bst_tech/bst_striplight.tga
rgbGen identity
}
}
It's in a .shader file called chronicle1.shader and it has been put in shaderlist.txt, so the editor will try and look for it. It shows up in the editor just fine, but in-game, it is missing, and shows with an error:
"trying textures/chronicle1/bst_striplight_0.tga..."
This is rather baffling. Since when was there a texture called bst_striplight_0? Why is there a "_0" added at the end of the shader name? That shows up nowhere in my shader file at all, all the texture directories point to bst_striplight without the _0, so this shouldn't happen. Also, notice how the directories in my shader have bst_tech as a path, but when the game shows the error, it says "trying textures/chronicle1/bst_striplight_0.tga..." That makes no sense, why is it trying to look in a different directory for the textures if I clearly specified they were to be found in textures/bst_tech? That defies logic.
I tried renaming the paths from bst_tech to chronicle1 to see if that would fix it, but it doesn't work. I don't want to have to be forced to rename every single image to have a _0 at the end either... surely there is a better, more convenient solution. And I assure you, they are in their proper textures folders.
Any help would be greatly appreciated. I'm working on this map for EntityPlus, if that helps any.