Tested on: GZDoom 4.3.3
Github Repo
Universal Weapon Sway is a general mod that seeks to add momentum-based weapon swaying to any weapon in the GZDoom engine. The amount your weapon sways is based off how quickly you turn as opposed to being cumulative giving it a much snappier feeling. Included are both horizontal and vertical sway alongside a plethora of options to customize it to your liking.
Features
- Horizontal and vertical sway for any weapon in GZDoom
- Sway based on player velocity
- Vertical offsetting for weapon sprites
- Options to customize movement sway, vertical sway, horizontal sway, when the weapon should sway, and more
Spoiler: Aiming sway
Spoiler: Movement swayFAQ
Q: Will this work with anything?
A: It should. If something doesn't work let me know and I'll see what I can do to fix it.
Q: Do I need to load this before or after anything?
A: No, this mod is currently load order independent.
Section for modders
Q: Can I use this in my own project?
A: Yes, you may freely use this in your projects so long as it follows the license. This project is licensed under the MIT license. See the included LICENSE file for more info.
Q: Should I use the Github repo?
A: The Github repo may be updated frequently with more experimental features. Using the version here ensures you'll always have the current stable release, but the choice is up to you.