[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
How to make a .shader file - Custom Map Makers
Welcome to CMM

We've created a Custom Map Makers Discord channel, if you'd like to join us on the CMM Discord Channel, click here

How to make a .shader file

Having a problem with a shader or texture
User avatar
Rayne
Site Admin
Posts: 624
Joined: Wed Aug 17, 2011 5:22 pm

How to make a .shader file

Postby Rayne » Fri Oct 12, 2012 1:02 pm

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.

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: How to make a .shader file

Postby Rylius » Fri Oct 12, 2012 4:21 pm

Go thank Microsoft for hiding file extensions by default. <3

User avatar
banksy
Posts: 196
Joined: Wed Mar 07, 2012 11:10 am
Location: Australia

Re: How to make a .shader file

Postby banksy » Sat Oct 13, 2012 6:59 am

That's simple enough, but I still need to work out what text goes where in a shader :P
Image

User avatar
Rayne
Site Admin
Posts: 624
Joined: Wed Aug 17, 2011 5:22 pm

Re: How to make a .shader file

Postby Rayne » Sat Oct 13, 2012 10:36 am


User avatar
banksy
Posts: 196
Joined: Wed Mar 07, 2012 11:10 am
Location: Australia

Re: How to make a .shader file

Postby banksy » Sat Oct 13, 2012 11:22 am

People have tried teaching me multiple times, and I have watched many tutorials, but I still don't get it haha.
Image

Markinho
Posts: 109
Joined: Thu Nov 03, 2011 10:56 pm
Contact:

Re: How to make a .shader file

Postby Markinho » Sat Oct 13, 2012 3:30 pm

Image

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: How to make a .shader file

Postby Rylius » Sat Oct 13, 2012 4:00 pm

XP hides the extensions by default as well.

Markinho
Posts: 109
Joined: Thu Nov 03, 2011 10:56 pm
Contact:

Re: How to make a .shader file

Postby Markinho » Sat Oct 13, 2012 4:33 pm

You say? Then I must have changed it somehow, I've always got them displayed
Image


Return to “Shaders / textures”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests

cron