Peculiar PowerInvisibility behavior

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
StroggVorbis
Posts: 866
Joined: Wed Nov 08, 2017 4:23 pm
Graphics Processor: nVidia with Vulkan support
Location: Germany

Peculiar PowerInvisibility behavior

Post by StroggVorbis »

I noticed that if you set Powerup.Strength to 100, enemies which have been woken up and are chasing you will almost never attack at all.
The Powerup.Type (Invisibility, Ghost, Shadow) doesn't matter.
However, this only happens when the Powerup.Mode is either Translucent or Additive.
If Powerup.Strength is 1-99, the attack frequency is the same as if you had either no invis powerup active at all, or chose Stencil, Opaque or Cumulative as Powerup.Mode.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Peculiar PowerInvisibility behavior

Post by Graf Zahl »

It's a feature, not a bug. But the math was wrong and destroyed all values from 1 to 99. It was either on or off.
Post Reply

Return to “Closed Bugs [GZDoom]”