Where Is Shaderfile for my map
Where Is Shaderfile for my map
hi guys i'm still having some trouble with shaders i cant find my shaderfile for my map do i create manually or is it somewhere where i can see ive check in scripts
Re: Where Is Shaderfile for my map
You have to make the shaderfile yourselfe.
open notepad write
"//shaderfile for "mapname""
Save it in your script folder named "mapname".shader and save as all types.
A shaderfile is just a .txt file with anohter fileextention really.
You will also have to edit/make a file named shaderlist.txt
In there you have to type the name of your shaderfile 3 times
Like this:
mapname
//mapname
//mapname
open notepad write
"//shaderfile for "mapname""
Save it in your script folder named "mapname".shader and save as all types.
A shaderfile is just a .txt file with anohter fileextention really.
You will also have to edit/make a file named shaderlist.txt
In there you have to type the name of your shaderfile 3 times
Like this:
mapname
//mapname
//mapname
Re: Where Is Shaderfile for my map
thanks alot i really appreciate it, you help me out a lot!
Re: Where Is Shaderfile for my map
You have to add ":q3map" after the first line of the nodamage shaders
like this:
Or you can define the texture like this
like this:
Code: Select all
textures/mapname/texture:q3map
{
surfaceparm nodamage
}
Or you can define the texture like this
Code: Select all
textures/mapname/texture
{
surfaceparm nodamage
{
map textures/mapname/texture.tga
}
}
Re: Where Is Shaderfile for my map
thanks it fixed it up!