Adding on to shaders?


(LaggingTom) #1

I’ve been working on some sprites for a soundpack, and these require the sprites.shader to work correctly. However, it seems that whatever version of the sprites.shader (adding onto the etmain, adding onto the one in etpro, etc.) I keep getting some missing textures boxes as sprites over the characters head. Now, I know my textures are good, seeing as they show up on the persons head, so my natural assumption is that its calling for scripting in the shader file that I just don’t have. So, I was wondering, is it possible to add on to an existing .shader file without have the original one intact? I.E. just an add on with the lines needed, not the lines already in other files.


(Jaquboss) #2

Tom , just do this :
Ready sprites , ensure they are on proper places
make folder ‘scripts’
create text file there , called for example ‘TomSprites.shader’ , and add there your shaders …
Then pack shaders and your sprites and rename zip file to ZZ_TomSprites.pk3 ( must be higher than “pak0” , rg “pzak” , " q_" , “r”… will work…)


(LaggingTom) #3

the pk3 for the soundpack is already “qdsound.pk3” so I’m not worried about the alphabetical thing. I thought I had to use the base sprites.shader, thanks a lot! :slight_smile:


(Jaquboss) #4

never replace official shader , unless you it is usefull , like for bigger mods changing modelsXXX shaders…