Open RedRoryOTheGlen opened 2 months ago
Old Offset variable was renamed to Position. Added two new variables: Scale and Offset (new).
Added a reset to the variables in LateUpdate. This lets multiple mods simultaneously affect the Position, Scale and Offset of FPSWeapon.
It should behave entirely like usual as before. I think only the LateUpdate check would run as long as the variables are all zero'd.
Adds an Offset variable that lets other scripts move the FPS Weapon sprite while preserving the original weaponPosition variable, mostly made to support mods that add weapon sway/bob.
SAMPLE of Offset working with mod (not included)
If nothing tries to change the FPSWeapon Offset, it should behave entirely like usual. I hope. Suggestions for better implementation are always welcome.