PowerWeaponAccuracy

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

XLightningStormL
Posts: 373
Joined: Mon May 09, 2016 1:38 am
Twitch ID: XLightmingStormL

PowerWeaponAccuracy

Post by XLightningStormL »

Essentially a powerup class with the ability to easily affect weapon spread through the use of float multipliers without devolving into spaghetti code, with support for "all" and separate entries (ala WeaponAccuracy "All", 0.50;)

Having a spread of 0 would negate all spread factor, whilst a spread of 2, would increase it by 2.

It may also be beneficial to add FPF_PowerWeaponAccuracyAngle and FPF_PowerWeaponAccuracySpawnOfs flags to the A_FireProjectile action so that if players wish PowerWeaponAccuracy will affect their custom weapons projectiles "accuracy" or opt out of it entirely by default.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47994
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: PowerWeaponAccuracy

Post by Graf Zahl »

This is a rather invasive change as you need to add checks to all weapon related code - in particular it cannot work with custom weaoons that use their own attack code. Essentially the same reason why Skulltag's PowerSpread was never ported.

Return to “Feature Suggestions”