Trouble with shaders -1 reply

Please wait...

Lazerbeak

Spared no expense.

50 XP

30th April 2005

0 Uploads

216 Posts

0 Threads

#1 13 years ago

OK, here's the low-down, I'm racking my brain trying to fix a problem with a skin I'm making and I think it has to do with the skin's shader file. Here's the whole story, I'll try to be as informative as possible: I reskinned a player model that originally came with a shader (to make it look shiny), and while editing the files (.skin, .bot. etc) I came across the .shader file. I wasn't sure how to edit that, so I did the first thing that came to mind (change all occurances of the original name with the new one). This was probably a bad idea, because when I zipped it up into a pk3 and tested it, the game would crash while the map was loading, giving me a "request omitted at compile time" message. I'm fairly sure that this has to do with my idiotic poking at the shader file, as everything else seems to be in order. If someone in the know would be so kind as to diagnose the issue, I'd be most grateful. While I wait for a reply, I'll keep experimenting to see what I can come up with. Really, I could fix the problem by just deleting the shader file, but it'd be nice to keep it, as it really helps the look of the model. If anyone needs any more information than what I've posted, just say so.




Renkinjutsushi

This is top secret information

50 XP

4th June 2005

0 Uploads

20 Posts

0 Threads

#2 13 years ago

why dont you try to just make the shader file from scratch but not copy and past or anything just flatout open,key,save as a new name and see if it works




Lazerbeak

Spared no expense.

50 XP

30th April 2005

0 Uploads

216 Posts

0 Threads

#3 13 years ago

I would, if I had any idea how (or even if I had the right equipment). I'm just starting out with this kind of stuff, so I'm kind of a noob moron as far as that's concerned...




Lazerbeak

Spared no expense.

50 XP

30th April 2005

0 Uploads

216 Posts

0 Threads

#4 13 years ago

OK, I just found out that it has nothing to do with the shader. I just deleted the file from the pk3, then tested it in-game, and I'm still getting an "omitted at compile time" error. Now I'm more confused and frustrated than ever...




Renkinjutsushi

This is top secret information

50 XP

4th June 2005

0 Uploads

20 Posts

0 Threads

#5 13 years ago

hmm..i have no clue :D lol im just learning how to model but still i know some about shaders..google it? Lol you might be able to find out what causes it then fix it




Lazerbeak

Spared no expense.

50 XP

30th April 2005

0 Uploads

216 Posts

0 Threads

#6 13 years ago

I think what I'll do is just poke around until I find the problem, that usually seems to work for me. :D




Inyri Forge VIP Member

[Insert User Title Here]

55 XP

15th March 2005

0 Uploads

25,940 Posts

0 Threads

#7 13 years ago

"Request ommited at compile time" has to do with the JPG, not the shader. Make sure you save it as "baseline", not "progressive." If you find you're still having trouble with shaders after that, I can explain that to you as well. However what you did should work, assuming all the paths are correct. One thing to know about shaders: the paths should always point to a graphic file, not a model or a part of a model.




Lazerbeak

Spared no expense.

50 XP

30th April 2005

0 Uploads

216 Posts

0 Threads

#8 13 years ago

You know, I think that was the problem. I saved the player icon as "progressive". That should fix it, I'll give it a test run. Thanks a million Inyri! :bows: EDIT: Tested it out, and it works flawlessly! Once again, thanks to Inyri and anyone else who helped me out.