TK-425 Posted November 2, 2004 Share Posted November 2, 2004 Hi I want to make the force protection/absorb to have no blue or green effect. So I am working with the effects.shader and close to the bottom of the shader file there is a link to a picture. It was called protect or somthing like that so I put null in place of it but now when I use force protect/absorb it makes the places whare the color changes in the char selection screen turn green or blue when I use either foce power. Can you help me? Link to comment Share on other sites More sharing options...
razorace Posted November 2, 2004 Share Posted November 2, 2004 what's the exact name of the shader you changed? Link to comment Share on other sites More sharing options...
TK-425 Posted November 2, 2004 Author Share Posted November 2, 2004 effects.shader gfx/misc/forceprotect { qer_editorimage gfx/effects/p_shield deformvertexes wave 100 sin 1 1 0 1 { map gfx/effects/whiteglow blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR rgbGen entity tcGen environment tcMod rotate 10 tcMod turb 0.6 0.3 0 0.6 tcMod stretch sin 1.5 0.5 0 1 } { map gfx/effects/caustic1 blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR rgbGen entity tcMod rotate -600 tcMod scale 2 3 } } I changed gfx/misc/forceprotect to 'null' Link to comment Share on other sites More sharing options...
TK-425 Posted November 6, 2004 Author Share Posted November 6, 2004 Hello? Link to comment Share on other sites More sharing options...
razorace Posted November 6, 2004 Share Posted November 6, 2004 Hmmm, interesting. My guess is that it does that even when the shader is normally in place. I just don't see any other references to that shader in the code. Link to comment Share on other sites More sharing options...
TK-425 Posted November 6, 2004 Author Share Posted November 6, 2004 Um I dont think so but whatever:( But if you find a way to fix this on your way through modding please let me know! Link to comment Share on other sites More sharing options...
TK-425 Posted November 7, 2004 Author Share Posted November 7, 2004 What about the shader itself? Could you change the color in the shader? Link to comment Share on other sites More sharing options...
razorace Posted November 7, 2004 Share Posted November 7, 2004 I imagine. http://www.qeradiant.com/manual/Q3AShader_Manual/ Link to comment Share on other sites More sharing options...
TK-425 Posted November 7, 2004 Author Share Posted November 7, 2004 Could I change the color to 'null' Link to comment Share on other sites More sharing options...
Fracman Posted November 7, 2004 Share Posted November 7, 2004 TK, what do you mean with color "null"? This one simply doesnt exist... Link to comment Share on other sites More sharing options...
TK-425 Posted November 7, 2004 Author Share Posted November 7, 2004 Sorry! Forgive me I know nothing about shaders. Link to comment Share on other sites More sharing options...
lassev Posted November 8, 2004 Share Posted November 8, 2004 You see, you cannot really delete or remove anything that's in the assets#.pk3s. So, if you want to get rid of this effect, you need to replace it with something. But you can't replace something with nothing, as that would be removing in all but name. That's why you need to modify that shader entry in such a way that it's very simple, and doesn't actually look like anything in game - in practice: Null it. What those modifications really are in code, that's for you to decide and make. One obvious solution might be to have only one totally transparent shader layer (change the texture appropriately). And you can't do things like this unless you learn something about shaders. Link to comment Share on other sites More sharing options...
TK-425 Posted November 10, 2004 Author Share Posted November 10, 2004 Ok, I may have fixed it. But now I would like to know what shader contains the effect for force rage:confused: Link to comment Share on other sites More sharing options...
TK-425 Posted November 10, 2004 Author Share Posted November 10, 2004 Well I didnt fix it I changed the protect image to an invisible pic and it didnt fix it. Does anyone know of any way to get rid of the color used for this effect? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.