Hello!
I have a problem and I can’t find a solution.
I’m trying to give 4 textures some shaders. They are textures from the game. And they are under temperate_sd catalogue. master_grass, dense_grass and so on.
I created a new folder : etmain/textures/mygrass
Copied these 4 textures with PakScape to that folder…Renamed them grass1, grass2 and so on. Yes, they are still TGA. I just renamed them.
My map is called town. So I created a town.shader file.
Added in these lines for 3 textures:
textures/mygrass/grass_1
{
qer_editorimage textures/temperate_sd/grass_dense1
implicitMap textures/temperate_sd/grass_dense1lm
surfaceparm grasssteps
surfaceparm landmine
}
textures/mygrass/grass_2
{
qer_editorimage textures/temperate_sd/master_grass_dirt3
implicit textures/temperate_sd/master_grass_dirt3
surfaceparm grasssteps
surfaceparm landmine
}
textures/mygrass/grass_3
{
qer_editorimage textures/temperate_sd/grass_path1
implicit textures/temperate_sd/grass_path1lm
surfaceparm grasssteps
surfaceparm landmine
}
I put town.shader to etmain/scripts folder.
Now I don’t understand if i’m doing anything wrong here…I open my etmain/scripts/shaderlist.txt and to the very end I simply add: town
No spaces, no _ between other shader names.
So when I open Radiant and test if they are textures or shaders, it says they are textures. If I compile and try ingame, I can see textures but as expected, shader file does not work. I don’t think the problem is that there already exists a “town” texture folder because “town.shader” originally doesn’t exist.
How can I add shaders to shaderlist.txt?
Please help me out on this one!
Thanks!
Cheers, Frosty!
