peace-maker/smrpg

The color is reset

xeeek opened this issue · 5 comments

xeeek commented

How to turn off the effects in the following skills? I have a plugin for changing the color of the character, and when the following skills are applied, the color is reset.

icenade
fnade
icestab
firepistol
fpistol
pscout

You can change the smrpg__visuals convar in the cfg/sourcemod/smrpg/ config file of each upgrade to 0 to disable the visual effects.

xeeek commented

That's the thing, it costs 0 everywhere

What costs zero where?

xeeek commented

smrpg_icestab_visuals "0" and so on

Hm, it looks like the smrpg_effects library plugin always resets the render color of the player to the default in some situations. I didn't consider external plugins changing the rendercolor other than smrpg upgrades. I'll think about how to only trigger the reset if we changed the color ourselves safely.