by Ichor » Thu Oct 23, 2008 6:09 am
I suppose you could use A_SetBlend for custom pain states, but it won't be like a normal red flash (i.e. the higher the damage, the deeper the color) without a great deal of coding, if at all. However, even if you do this, there's still the original red flash that you'll have to deal with. If you can shut that off when you get hurt, then I think custom pain flashes might be possible, albeit a bit hacky. However, I'm not sure you can do that part yet.
Of course, custom pain colors would be a whole lot easier here. Perhaps there could even be a duration, from a quick blip to a slow fading like with poison damage.
I suppose you could use A_SetBlend for custom pain states, but it won't be like a normal red flash (i.e. the higher the damage, the deeper the color) without a great deal of coding, if at all. However, even if you do this, there's still the original red flash that you'll have to deal with. If you can shut that off when you get hurt, then I think custom pain flashes might be possible, albeit a bit hacky. However, I'm not sure you can do that part yet.
Of course, custom pain colors would be a whole lot easier here. Perhaps there could even be a duration, from a quick blip to a slow fading like with poison damage.