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:
LightPower1: Power given is inherited from PowerLightAmp (Fails)
LightPower2: Power from PowerTorch (Fails)
LightPower3: Power given is PowerLightAmp (Succeeds)
LightPower4: Power is PowerTorch (Succeeds)
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.