View Full Version : Shield Change Color
Invader Veex
October 27th, 2008, 10:46 PM
How do I do it?
Such as when a c_field_generator or a jackal shield gets shot it changes to something like red?
Inferno
October 27th, 2008, 10:47 PM
I believe you can do it with a ~damaged permutation but I've never actually done one so I'm not totally sure.
edit-
Oh and you can also do it with A in and A out between the object and the shader.
CtrlAltDestroy
October 27th, 2008, 10:52 PM
Here's the basic premise:
Two shaders, the first one is the "default", the second is the "damaged".
Shader one should be set to fade with function A.
Shader two should be set to fade with function B.
Functions A and B are identical except one or the other has the "invert" flag checked off.
Invader Veex
October 28th, 2008, 08:48 PM
Hey I got that, but when I test it out, it fades from the blue (undamaged) bitmap to nothing, rather than to my red bitmap.
The shaders are exactly the same with the exception of the different bitmaps and the blue shader being 'A out' and the red shader being 'B out'. and the functions are the same except the invert option.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.