Chaosforge Forum

DoomRL => Modding => Topic started by: Alpro on March 18, 2012, 19:10

Title: Question about TStatusEffect
Post by: Alpro on March 18, 2012, 19:10
I wonder if those...

STATUSNORMAL
STATUSINVERT
STATUSRED
STATUSGREEN

...determine both the effect and the screen color altogether. I would like to make a mod that doesn't change the screen color when you go berserk, envirosuit or invulnerable. If i change, say, the envirosuit's TStatusEffect to STATUSNORMAL, will it still give the protection without making everything green? If not, can someone point me the right direction, without telling me exactly how to do it (otherwise i won't learn anything)? Would this be handled differently in graphical mode?
Title: Re: Question about TStatusEffect
Post by: Game Hunter on March 19, 2012, 06:44
I wonder if those determine both the effect and the screen color altogether.
Those enumerators work in an entirely visual fashion and have nothing to do with the effects themselves. You can change those all you want and keep the current effects working just fine: graphical and console versions should be affected equally by such a change.