WASTED > Mod Releases > Topic Details
Mr. Podunkian  [developer] Apr 20, 2017 @ 6:36pm
No Knockback Mod
To celebrate the new modding tools, I've put together a quick mod that removes knockback from any weapons in the game.

Rather than doing this the easy way by overwriting each weapon's knockback value, I've instead opted to implement this in a much more convoluted way that demonstrates the many different moving parts of the mod system.


Download the mod[www.dropbox.com]


To install the mod, put the No Knockback Mod folder in your Mods folder and put a line reading "No Knockback Mod" somewhere near the bottom of your load_order.cfg file.

How it works

The mod works by first creating a Knockback Reduction condition that applies a Knockback Reduction buff to its target.

Then, the mod goes through each weapon in the game and for each FireBase (the code that tells the weapon how to act when it's fired) on each weapon, tells the FireBase to apply the Knockback Reduction condition to its target.

When the Knockback Reduction condition is first applied, it adds the Knockback Reduction buff to the target, which reduces any incoming knockback by 100%.

Shortly after the Condition is applied, the Condition is removed, removing the Knockback Reduction buff along with it.

Again, this isn't the best, or simplest way of getting rid of the knockback effect, but I made the mod intentionally very complicated in order to demonstrate how the game's different systems can be made to work with one another to create something interesting.
Last edited by Mr. Podunkian; Apr 20, 2017 @ 6:37pm
< >
Showing 1-2 of 2 comments
Mr. Podunkian  [developer] Apr 21, 2017 @ 1:27am 
I just found out first hand that the mod breaks the New Boys tutorial, so make sure to choose the right dialogue choices to skip the tutorial before playing the game with this mod enabled!
kraligor Apr 26, 2017 @ 6:36am 
Perfect, so it doesn't only show the complexity of modding, but also how it can break seemingly unrelated stuff! :D
< >
Showing 1-2 of 2 comments
Per page: 15 30 50

WASTED > Mod Releases > Topic Details