Page 1 of 1

Custom Powers from LightAmp/Torch Don't Work

Posted: Tue May 18, 2010 20:50
by NeuralStunner
Giving PowerLightAmp or PowerTorch from the PowerupGiver behaves as usual. However, making new Power types from either of of those simply fail to provide vision. Works fine in ZDoom's software renderer.

Here's the code I tested with:
Spoiler:
Hopefully this is not just my own problem. I also tested all the weay back to r566, and it wasn't working with then, either. So it's apparently not (as I had guessed) related to the recent changes regarding fake contrast...

No changes to lighting mode, fog mode, Fake Contrast mode, or even Enhanced Night Vision Mode made any difference.

Re: Custom Powers from LightAmp/Torch Don't Work

Posted: Tue May 18, 2010 21:24
by Graf Zahl
Yes, small oversight. It checked for the exact powerup class, not descendants.

Re: Custom Powers from LightAmp/Torch Don't Work

Posted: Tue May 18, 2010 23:14
by NeuralStunner
Ah, good to know it was that simple. :)