Page 1 of 1

How to make a .shader file

Posted: Fri Oct 12, 2012 1:02 pm
by Rayne
Seems this is a common problem with a lot of mappers no matter their skill level.
How to turn a simple text file into a .shader file that the game recognizes. Most mappers do it...the noob way. Open an existing shader, replace the original shader with your own and rename it.
But, there is a smarter way of making it, and it's just one click away.

Make a new text file and write your shader in it. Once you're done go to "save as", and in the bottom you got a little drop down menu that says "save as type".
Here switch to "all files", now type the name of your shader followed by the ".shader" extension, i.e. "rayne.shader", and now when you save it you got a real shader file instead of a useless .txt file.

And that's pretty much it, simple as that. I'm gonna make this a sticky.

Re: How to make a .shader file

Posted: Fri Oct 12, 2012 4:21 pm
by Rylius
Go thank Microsoft for hiding file extensions by default. <3

Re: How to make a .shader file

Posted: Sat Oct 13, 2012 6:59 am
by banksy
That's simple enough, but I still need to work out what text goes where in a shader :P

Re: How to make a .shader file

Posted: Sat Oct 13, 2012 10:36 am
by Rayne
banksy wrote:That's simple enough, but I still need to work out what text goes where in a shader :P

Now that's a whole different thing.

Re: How to make a .shader file

Posted: Sat Oct 13, 2012 11:22 am
by banksy
People have tried teaching me multiple times, and I have watched many tutorials, but I still don't get it haha.

Re: How to make a .shader file

Posted: Sat Oct 13, 2012 3:30 pm
by Markinho
Rylius wrote:Go thank Microsoft for hiding file extensions by default. <3

And this is why I still use XP

Well no, it's because my pc doesn't support 7, whatever :lol:

Re: How to make a .shader file

Posted: Sat Oct 13, 2012 4:00 pm
by Rylius
XP hides the extensions by default as well.

Re: How to make a .shader file

Posted: Sat Oct 13, 2012 4:33 pm
by Markinho
You say? Then I must have changed it somehow, I've always got them displayed