[XND] Ranged Stagger Rebalanced
Direct download from GitHub[github.com] (source[github.com])
Naturally won’t work with Beta 18.
Stopping power patching is done dynamically through C# for weapons which have the default stopping power of 0.5. For those with their own defined stopping power, they will need patching to be consistent balance-wise.
For details on which weapons have been dynamically patched and which weapons haven’t been patched, this mod will leave lists detailing each of those in the output console and log upon startup.
Mods that have been patched for this mod:
The above patches have been integrated into Ranged Stagger Rebalanced itself; no additional downloads are required.
If you find any bugs, please link me to a full output log and give some basic information on how you triggered the bug; this is vital information for me to be able to fix said bugs.
In vanilla RimWorld, ranged stagger lasts 95 ticks (just under 1.6 seconds). This 95 ticks is constant, meaning that a staggered pawn will move at 1/6th of their normal movement speed for that duration regardless of if their body size is considerably lower than the projectile’s stopping power, or if their body size is equal to that stopping power.
Ranged Stagger Rebalanced somewhat changes the way that this duration works by making it dynamic. It changes ranged stagger and stopping power in the following ways:
- The base ranged stagger duration is now 120 ticks (2 seconds). A pawn with a body size that’s less than or equal to 20% of the stopping power gets staggered for the full duration; a pawn with a body size that’s equal to the stopping power gets staggered for 20% of the base duration. This duration transitions smoothly (e.g. body size that’s 80% of the stopping power gets staggered for 40% duration).
- Most projectiles now have a stopping power that’s equivalent to their base damage x 0.1. This is multiplied by a further 1.5x for the LMG and shotguns
- Stopping power scales with quality in the same way that damage does
Note: With v1.1, there’s an opt-in experimental formula which can be toggled in the mod settings menu. It changes the ranged stagger duration formula to the following:
- The base ranged stagger duration is still 120 ticks (2 seconds)
- If stopping power is equal to the pawn’s body size, the pawn gets staggered for 20% of the base duration
- If stopping power is 1.5x the pawn’s body size, the pawn gets staggered for 50% of the base duration
- If stopping power is 3x the pawn’s body size, the pawn gets staggered for the full duration
To put this new formula into perspective, this table shows the baseline stagger duration for each conventional weapon against a human, in seconds:
If you have any feedback, feel free to let me know!
Powered by the Harmony Patch Library.
Brrainz – for their fantastic Harmony Patch Library!
Marnador – for the RimWorld-style font
Mehni – for rubberducking. Quack quack!
As is standard with my mods: you may include this mod in a mod pack, and you may derive from this, but please inform me if you’re doing so through Ludeon Forums (preferably) or the Steam Comments Section, and give credit where credit’s due.