WeaponMechanics / MechanicsMain

A New Age of Weapons in Minecraft.
https://www.spigotmc.org/resources/WeaponMechanics.99913/
MIT License
71 stars 26 forks source link

Better Recoil #396

Open HMS-CV-Unicorn opened 4 months ago

HMS-CV-Unicorn commented 4 months ago

Description

Make a slight zoom magnification change to the gun's recoil. This makes the visual of recoil more realistic.

The current configuration of recoil is realized by a two-dimensional movement of the viewpoint in the vertical and horizontal directions. By using this change in zoom magnification, it will be possible to produce more three-dimensional recoil and shaking.

Configuration

Recoil:
      Push_Time: <push time in millis>
      Recover_Time: <recover time in millis>
      Depth:
        - <recoil depth>
      Horizontal:
        - <horizontal recoil>
        - <etc.>
      Vertical:
        - <vertical recoil>
        - <etc.>

Payment (optional)

CJCrafter commented 4 months ago

If you would like to add screen shake, I recommend using the Flinch{} mechanic