Ссылка на Сообщение
#1
4.4.2010, 15:14
Quick Weapon Acces_b1
This is my first .cfg config for CS:S to manipulate the keybindings.
This script is nearly useless if you don't own a mouse with more than 5 buttons.
Key binds:
1. mouse-button : swap to slot 1(rifles); if slot 1 selected -> attack
2. mouse-button : swap to slot 3(kife), if slot 3 selected -> attack
3. mouse-button : swap to slot 4(granades),if slot 4 selected ->cycle throu slot 4
4. mouse-button : attack
5. mouse-button : swap to slot 2(pistol); if slot 2 selected -> attack
I scriped the default movment etc. bindings in this script too, but anyone should be able to change them to their config.
I knew i forgo the radio comands, but I don't miss them.
if anyone need support for this script, PM me ^^
This is my first .cfg config for CS:S to manipulate the keybindings.
This script is nearly useless if you don't own a mouse with more than 5 buttons.
Key binds:
1. mouse-button : swap to slot 1(rifles); if slot 1 selected -> attack
2. mouse-button : swap to slot 3(kife), if slot 3 selected -> attack
3. mouse-button : swap to slot 4(granades),if slot 4 selected ->cycle throu slot 4
4. mouse-button : attack
5. mouse-button : swap to slot 2(pistol); if slot 2 selected -> attack
I scriped the default movment etc. bindings in this script too, but anyone should be able to change them to their config.
I knew i forgo the radio comands, but I don't miss them.
if anyone need support for this script, PM me ^^
CODE
Unbindall
//movement
bind "w" "+forward"
bind "a" "+moveleft"
bind "s" "+back"
bind "d" "+moveright"
bind "SPACE" "+jump"
bind "c" "+duck"
bind "e" "+use"
bind "f" "impulse 100" //flashlight
bind "g" "drop"
bind "n" "nightvision"
bind "SHIFT" "+speed"
//shooting
bind "r" "+reload"
bind "q" "+attack2"
bind "MOUSE1" "+mouse_1"
bind "MOUSE2" "+mouse_2"
bind "MOUSE3" "+mouse_3"
bind "MOUSE4" "+mouse_4"
bind "MOUSE5" "+mouse_5"
alias +mouse_1 "+quickrifle"
alias -mouse_1 "-quickrifle"
alias +mouse_2 "+quickknife"
alias -mouse_2 "-quickknife"
alias +mouse_3 "+choosegren"
alias +mouse_4 "+throwgren"
alias -mouse_4 "-throwgren"
alias +mouse_5 "+quickgun"
alias -mouse_5 "-quickgun"
alias +quickrifle "slot1; +attack"
alias -quickrifle "-attack"
alias +quickgun "slot2; +attack"
alias -quickgun "-attack"
alias +quickknife "slot3; +attack"
alias -quickknife "-attack"
alias +choosegren "slot4"
alias +throwgren "+attack"
alias -throwgren "-attack"
//menues
bind "b" "buymenu"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "`" "toggleconsole"
bind "m" "chooseteam"
bind "F12" "exit"
//scripting
hud_fastswitch "1"
sensitivity "8"
//movement
bind "w" "+forward"
bind "a" "+moveleft"
bind "s" "+back"
bind "d" "+moveright"
bind "SPACE" "+jump"
bind "c" "+duck"
bind "e" "+use"
bind "f" "impulse 100" //flashlight
bind "g" "drop"
bind "n" "nightvision"
bind "SHIFT" "+speed"
//shooting
bind "r" "+reload"
bind "q" "+attack2"
bind "MOUSE1" "+mouse_1"
bind "MOUSE2" "+mouse_2"
bind "MOUSE3" "+mouse_3"
bind "MOUSE4" "+mouse_4"
bind "MOUSE5" "+mouse_5"
alias +mouse_1 "+quickrifle"
alias -mouse_1 "-quickrifle"
alias +mouse_2 "+quickknife"
alias -mouse_2 "-quickknife"
alias +mouse_3 "+choosegren"
alias +mouse_4 "+throwgren"
alias -mouse_4 "-throwgren"
alias +mouse_5 "+quickgun"
alias -mouse_5 "-quickgun"
alias +quickrifle "slot1; +attack"
alias -quickrifle "-attack"
alias +quickgun "slot2; +attack"
alias -quickgun "-attack"
alias +quickknife "slot3; +attack"
alias -quickknife "-attack"
alias +choosegren "slot4"
alias +throwgren "+attack"
alias -throwgren "-attack"
//menues
bind "b" "buymenu"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "`" "toggleconsole"
bind "m" "chooseteam"
bind "F12" "exit"
//scripting
hud_fastswitch "1"
sensitivity "8"