Skip to content
View in the app

A better way to browse. Learn more.

Learn more

disable-sniper-zoom/README.txt

README.txt
50 lines · 2.2 KB · Text
Raw
Disable Sniper Zoom 1.0.0 (olds.ro)
===================================

Takes the scope away from sniper rifles, or allows only the first zoom
step, chosen per rifle, for modes that should not allow scoping.

Requirements
  - AMX Mod X 1.10 or newer with the hamsandwich module (enabled by default)
  - ReAPI (ReGameDLL_CS)
  - Written for AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReHLDS 3.15.0.896,
    ReGameDLL_CS 5.30.0.814

Install
  1. Compile scripting/olds_nozoom.sma with amxxpc 1.10 (with the ReAPI
     include files) and copy olds_nozoom.amxx to addons/amxmodx/plugins/.
  2. Copy data/lang/olds_nozoom.txt to addons/amxmodx/data/lang/.
  3. Copy configs/plugins/olds_nozoom.cfg to addons/amxmodx/configs/plugins/
     (if you skip this, the plugin writes the same file with the defaults on
     its first start).
  4. Add olds_nozoom.amxx to addons/amxmodx/configs/plugins.ini.

How it works
  - For each rifle turned on (AWP, Scout, SG 550, G3/SG-1) the zoom button
    (right mouse button) is limited:
      olds_nozoom_levels 0   no zoom at all
      olds_nozoom_levels 1   the first zoom step only; pressing again zooms
                             out instead of going to the closer second step
  - Rifles turned off zoom as in the normal game.
  - A player who is still zoomed in when a press is refused, or who takes
    another weapon while zoomed in, gets the normal view (field of view 90)
    and normal speed back, so no zoom state stays stuck.
  - Settings work at once, without a map change.

Server command
  olds_nozoom_status   prints the settings and every living player's weapon
                       and field of view

Settings (addons/amxmodx/configs/plugins/olds_nozoom.cfg)
  olds_nozoom_awp     1   1 = AWP zoom limited, 0 = as in the game
  olds_nozoom_scout   0   the same for the Scout
  olds_nozoom_sg550   1   the same for the SG 550
  olds_nozoom_g3sg1   1   the same for the G3/SG-1
  olds_nozoom_levels  0   0 = no zoom, 1 = the first zoom step only

Texts are in data/lang/olds_nozoom.txt (English). No sounds, models or
sprites are used.

Credits and licence
  Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1561.
  Licence: GNU GPL version 3 or later (GPL-3.0-or-later).

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.