Garry's Mod

Garry's Mod

137 ratings
Universal Weapons Zoom
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
283.471 KB
Apr 10, 2017 @ 4:45am
Apr 11, 2017 @ 5:24am
3 Change Notes ( view )

Subscribe to download
Universal Weapons Zoom

Description
What is this?
Universal Weapons Zoom is a mod that allows you to zoom with any weapon! Just like the crossbow, Universal Weapons Zoom can zoom upon a key press.

This means that you can zoom with the lovely default Half-Life 2 pistol or any other weapon!


Highly configurable
Go to Options > Captain Fatbelly > Universal Weapons Zoom to access the options.
Options:
  • Zoom toggle key (bind to a key) - the key when held will zoom
  • Default FOV - the FOV when not zoomed
  • Zoom FOV - the FOV when zoomed
  • Crosshair (enable) - show the default Garry's Mod crosshair in the zoom
  • Animation (enable, adjust animation speed) - animate the zoom, you can adjust the speed
  • Scope (enable, change scope texture) - the scope is used for precision, choose between 3 scope textures (see the screenshots above)
  • Recoil (enable) - the zoom will be affected by the weapon's recoil


Blacklisting
You can prevent Universal Weapons Zoom from activating on any weapon. Open the uwz.txt file at garrysmod/data/captainfatbelly and follow the instructions there.
To get the class name:
  • Open the spawnmenu
  • Right-click on a weapon and click Copy to Clipboard
  • Paste it in the uwz.txt file


Upcoming features
  • Choose either to zoom by holding a key to zoom or pressing to toggle
  • Show a list of blacklisted weapons in the Options panel


Notes
  • There is no compatibility with the Half-Life 2 crossbow, because it already has a zoom feature.
  • The HUD seen in the screenshots is the GTA: San Andreas HUD mod.


We're open-source!
[github.com]


Credits
  • I wrote the code and designed the icon myself.
11 Comments
afdelta01 May 24, 2024 @ 12:53pm 
Can you add an option to allow me to keep the weapon viewmodel? I'm tryna get a mod that'll let me zoom in with scopes already on a gun, and or use a laser sight. :) I can understand if it's no longer supported but, you know.
Sevka Slav Apr 13, 2024 @ 2:23pm 
blacklist isn't working, can you show an example how?
Alt Acc. #17 Oct 24, 2022 @ 12:11am 
this addon fucked up thirdperson for me, is it a compatibility issue or actually a bug
VictorVild Oct 22, 2022 @ 6:35am 
i do not like scopes
xan Jun 27, 2022 @ 8:40am 
hey, can i edit the code and re-upload? credit will be provided
Zesty Bertha Jun 1, 2019 @ 4:39am 
yeah because people really need a scope on their grenades
rocky May 23, 2019 @ 1:44pm 
wont work when i try to use mouse 2 for zoom even when i reset the key
ekis bokis Oct 21, 2018 @ 11:27pm 
cool
bepsy27 Aug 23, 2017 @ 4:51am 
@Bonnie(kys)
You can change the key that you press to activate it in the options in the spawn menu.
Fox May 6, 2017 @ 8:43pm 
umm the smg grenades? how do we shoot them?