You are viewing a potentially older version of this package. View all versions.
AlphaTeam777-Gun_Sniper_Rifle_Config-1.0.1 icon

Gun Sniper Rifle Config

Configurable tweaks for Gun Sniper Rifle: hip/zoom damage, zoom magnification, zoom step, laser battery drain, and shoot cooldown. Host-side settings apply to the whole lobby.

Date uploaded a day ago
Version 1.0.1
Download link AlphaTeam777-Gun_Sniper_Rifle_Config-1.0.1.zip
Downloads 89
Dependency string AlphaTeam777-Gun_Sniper_Rifle_Config-1.0.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Wakaura-Gun_Sniper_Rifle-0.6.0 icon
Wakaura-Gun_Sniper_Rifle

Add a new weapon to the game.

Preferred version: 0.6.0

README

Gun Sniper Rifle Config

A config add-on for Gun Sniper Rifle that makes several weapon stats configurable without touching the original mod.

All values are read from a standard BepInEx config file. This mod does not modify the original DLL — it patches values at runtime via Harmony reflection.

Requirements

Config

The config file is generated automatically on first launch at:

BepInEx/config/alpha.TheSniperRifleConfig.cfg
Setting Default Description
HipDamage 250 Damage when NOT zoomed
ZoomDamage 355 Damage when zoomed
ZoomMagnification 7 Default zoom magnification (FOV = 70 / magnification, so 7 ≈ 10° FOV, 14 ≈ 5°)
ZoomStep 0.1 Zoom tuning step per scroll tick, in FOV degrees
LaserDrainRate 0.1 Battery drained per frame while the laser dot is on
ShootCooldown 5 Cooldown between shots (reload/bolt-cycle time)

Changes require a game restart.

Multiplayer / host vs client

  • ShootCooldown, HipDamage, ZoomDamage, LaserDrainRate are host-authoritative: only the host's values take effect, and they apply to the whole lobby.
  • ZoomMagnification and ZoomStep are local: each player can set their own scope feel independently.

Credits

Original mod: Gun Sniper Rifle by Wakaura.

CHANGELOG

1.0.1

  • Fix package structure: DLL now sits at the package root, matching the standard BepInEx install layout.

1.0.0

  • Initial release.
  • Configurable: hip damage, zoom damage, zoom magnification, zoom step, laser battery drain, shoot cooldown.