How to account for horizontal recoil?
Hey Sbuj, I have poked around the internals of this and it is working really nicely so far. Editing the recoil_table for each weapon is fairly intuitive.
Now the question is, how can I customize the horizontal recoil? I THINK the function MoveMouseRelative(0, recovery / 10) part is where it feeds in the mouse movements in X and Y planes. Now, the Y value reads off recovery / 10, but the X value (horizontal recoil) currently stays set at 0. Is it possible for you to add an input from another set of recoil tables to feed into the horizontal movement value, so that we can tinker with the horizontal recoil?
Cant wait to tinker with this more.
Now the question is, how can I customize the horizontal recoil? I THINK the function MoveMouseRelative(0, recovery / 10) part is where it feeds in the mouse movements in X and Y planes. Now, the Y value reads off recovery / 10, but the X value (horizontal recoil) currently stays set at 0. Is it possible for you to add an input from another set of recoil tables to feed into the horizontal movement value, so that we can tinker with the horizontal recoil?
Cant wait to tinker with this more.




