sniper script
Moderators: Moderators, Mappers
Code: Select all
bind mouse1 "+attack;say_team BOOM HEADSHOT! -> %K;radioteam enemyd"
kek.
yes u
Code: Select all
//Sniper Lens
alias sniper "weapon;sensitivity 3 ;echo [2x]:sens [3];bind SPACE 4xz"
alias 4xz "weapon;sensitivity 2.8;echo [4x]:sens [2.8];bind SPACE 1xz"
alias 1xz "lens 1;sensitivity 4;echo [1x];bind SPACE sniper"
bind SPACE sniper
Code: Select all
set sensitivity 6
alias rst "bind KP_ENTER 2x; reset m_pitch; reset m_yaw"
alias bck "rst; lens 1"
alias 1x "bind KP_ENTER 2x; reset m_pitch; reset m_yaw; lens 1"
alias 2x "bind KP_ENTER 4x; m_pitch 0.0075; m_yaw 0.0075; lens 2"
alias 4x "bind KP_ENTER 5x; m_pitch 0.003; m_yaw 0.003; lens 4"
alias 5x "bind KP_ENTER 1x; m_pitch 0.0075; m_yaw 0.0075; lens 2"
bind KP_PGUP "bck"
bind KP_ENTER "2x"
- no sensitivity, just m_pitch/m_yaw (the default values for both)
- reset command from apr1.19! (:rambo:)
- less noisy (goes from zoomed to 1x with just one key with lens 1)
basically, i adapted Haudrauf's script to fit my special needs
This is mine:
The echo's are for condump, so I can see when I did what (maybe a bit useless, but okay).
Code: Select all
alias _1x "sensitivity 7;lens 1;echo :: Zooming to 1x ** $cl_health HP - $cl_ammo ammo ** [sens 7.0] ::;bind mwheelup _2x;bind mwheeldown _alr1x"
alias _2x "sensitivity 4.5;lens 2;echo :: Zooming to 2x ** $cl_health HP - $cl_ammo ammo ** [sens 4.5] ::;bind mwheelup _4x;bind mwheeldown _1x"
alias _4x "sensitivity 2.5;lens 4;echo :: Zooming to 4x ** $cl_health HP - $cl_ammo ammo ** [sens 2.5] ::;bind mwheelup _6x;bind mwheeldown _2x"
alias _6x "sensitivity 1;lens 6;echo :: Zooming to 6x ** $cl_health HP - $cl_ammo ammo ** [sens 1.0] ::;bind mwheeldown _4x;unbind mwheelup"
alias _alr1x "sensitivity 7;lens 1;echo :: Already 1x zoom * $cl_health HP - $cl_ammo ammo ** [sens 7.0] ::;bind mwheelup _2x"
alias s7 "wpdrop"
alias 1x "wpdrop"
alias wpdrop "sensitivity 7;echo :: Zooming w/o sound ** $cl_health HP - $cl_ammo ammo ** [sens 7.0] ::;bind mwheelup _2x;bind mwheeldown _alr1x"
bind mwheelup "_2x;bind mwheeldown _1x"
bind mwheeldown "_alr1x"