Hi,
I need to use the common new/cusihionslick shader, but when i apply it to a brush it doesnt work when i test the map, it shows the orange/black blocks. What to do?
Thx!
Hi,
I need to use the common new/cusihionslick shader, but when i apply it to a brush it doesnt work when i test the map, it shows the orange/black blocks. What to do?
Thx!
I don’t have that texture by default,
You can add this in common.shader and refresh radiant.It works for me.
textures/common/cushionslick
{
qer_editorimage textures/common/cushion.tga
qer_nocarve
qer_trans 0.5
surfaceparm nodamage
surfaceparm nodraw
surfaceparm nomarks
surfaceparm trans
surfaceparm slick
}
This file :common.shader, should be located in ETmain/scripts.
You just have to open it with any text editor(wordpad or notepad), and add the code I’ve put here in it.
Then restart radiant or use the Flush and Reload Shaders tool in the texture browser.
Hope it helps. Greetz
First of all, never edit shaders (and preferably anything else if possible) that comes with pak0.pk3. And NEVER edit pak0.pk3 itself.
Probably your problem is that you did not add the shader file’s name to the shaderlist.txt, which is found in your scripts folder.
[QUOTE={SSF}Sage;252338]First of all, never edit shaders (and preferably anything else if possible) that comes with pak0.pk3. And NEVER edit pak0.pk3 itself.
Probably your problem is that you did not add the shader file’s name to the shaderlist.txt, which is found in your scripts folder.[/QUOTE]
OK I didnt do this, I added cushionslick to the shaderlist file which didnt work, also added common_new to the shaderlist file but this did not work too…
True.It’s not what I told you.
Step 1:As Sage said,do not edit the pak0.pk3,but the .shader files in your ETmain/scripts folder.
Step 2:Open common.shader
Step 3:Copy paste this as it’s end:
textures/common/cushionslick
{
qer_editorimage textures/common/cushion.tga
qer_nocarve
qer_trans 0.5
surfaceparm nodamage
surfaceparm nodraw
surfaceparm nomarks
surfaceparm trans
surfaceparm slick
}
Step 4: Save the file.
Step 5:Restart radiant.
Step 6:You should have that:

But what sage was saying is that you shouldn’t put it in common.shader either.
You should preferably make you’re own shader and put it in there.
It’s not such a problem now, but say later he says hmm I want a different clip… Problem.
Yes exactly. But into the shaderlist.txt you have to put the name of the .SHADER file. So if the shaders were in a file called my_stuff.SHADER, you would put my_stuff to a new line in the shaderlist.