Tacz Js Wiki › Guides › Modify Gun Aiming and Recoil Behavior
Modify Gun Aiming and Recoil Behavior
Accessing Gun Behavior Properties
KubeJS allows you to fine-tune how guns handle aiming and recoil. Open your gun's script definition and locate the aiming and recoil configuration sections.
Adjusting Aiming Mechanics
Modify properties that control:
- Zoom level: How much the camera magnifies when aiming down sights
- Field of view: The visible area while scoped
- Aim stability: How quickly the gun settles after firing
- Crosshair behavior: Spread and accuracy while aiming
Tuning Recoil
Recoil settings determine how the gun kicks after each shot:
- Vertical recoil: Upward gun movement
- Horizontal recoil: Side-to-side deviation
- Recoil recovery: How fast the gun returns to center
- Recoil pattern: Whether kicks are predictable or random
Lower recoil values create easier-to-control weapons, while higher values demand player skill. Test your changes in-game to find the balance that matches your intended weapon role—precision rifles need stability, while shotguns can have aggressive recoil.