Approver: Emp` (115)
Join Date: Jul 2006
Location: I|O wa
CS Zoomscopes fo Counter-Strike 1.6
This plugin will allow CS 2-stage weapon scopes to employ a variable zoom.
To use the zoom scope, you must bind one key to +zoomin, and another key to +zoomout. To make it easier, I built in a routine so that players can simply enter a command in-console and the plugin will bind keys for the player. There is also a display while scoped to inform the player of the approximate zoom magnification and the available zoom commands.
The scope can be zoomed to different values in both of the 2 scope modes, and will remain at the last used setting, unless you change to a non-scoped primary weapon of another type.
There are 2 levels of zoomable scopes built in. The standard level will zoom from the weapon's natural limitations. The advanced type will zoom all scopes out a little further and allow non-AWP weapons to zoom in to the AWP's level.
I only had the ability to test this plugin on a single-player server and I don't really play CS anymore, but it all ran fine under the situations I tested. But I'm sure there's a scenerio I was unable to test. So if you find a glitch, let me know.
+zoomin - Causes the scope to zoom in
+zoomout - Causes the scope to zoom out
zoombindpg - Binds the keys PageUp to +zoomin and PageDown key to +zoomout
zoombindmw - Binds the mousewheel to zoom in and out
zoomscopes_enable <0|1> Disables|Enables the plugin (default 1)
zoomscopes_info_enable <0|1> Disables|Enables the zoom display (default 1)
zoomscopes_advanced_enable <0|1> Disables|Enables the advanced scope levels (default 1)
There are 2 versions offered...
V1.2 (cs_zoomscopes.sma) is for those who use Amxmodx prior to v1.8.
V1.2H (cs_zoomscopes_H.sma) utilizes features in the Hamsandwich module.
NOTE: Recommend placing this plugin ahead of others plugins that create
HUD messages upon death (ie: csstats)
1.2H Replaced DeathMsg and Damage (bomb) event routines
- with HamSandwich 'Killed' detection
- Requires Amxmodx 1.8+ and Hamsandwich module
1.2 Replaced target distance with zoom commands
- Fixed zooming if killed while zoomed
- Fixed zooming if killed by bomb
- Uses a dedicated channel for HUD message
1.11 - Fixed display appearing when dead
1.1 Original release
Last edited by Vet; 05-11-2009 at 22:10.