PowerWeaponAccuracy

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

Moderator: GZDoom Developers

PowerWeaponAccuracy

Postby XLightningStormL » Fri Mar 12, 2021 11:16 pm

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
XLightningStormL
Former DUSK Wiki Master
 
Joined: 09 May 2016
Discord: XLightningStormL#7461
Twitch ID: XLightmingStormL

Re: PowerWeaponAccuracy

Postby Graf Zahl » Sat Mar 13, 2021 2:11 am

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests