Здравствуйте, гость ( Авторизация | Регистрация )

Action Scripts, Quick Weapon Acces_b1

<-MonsterKill->
Группа: <Main Admin>

Второй флудер
Ссылка на Сообщение #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 ^^
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"
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0
Похожие темы
Тема Последнее сообщение
Action Muzzleflashes
30.7.2011, 8:44 Посл. сообщение: KoT wawJIbIK
Action muzzleflash v. 1.1
12.7.2011, 20:15 Посл. сообщение: KoT wawJIbIK
Action muzzleflash v. 1.1
4.11.2010, 16:11 Посл. сообщение: ViTR
Action Scripts
Strafe Mode (Toggle)
24.5.2010, 18:13 Посл. сообщение: s1ege
Action Scripts
Strafe Mode (By Pressing Key)
24.5.2010, 18:13 Посл. сообщение: s1ege

Случайные сервера

[RUS](47/48)CSRulez.​ru​ ]Dustferno[
de_dust2_2x2
ИГРОКОВ: 0 / 32
[RUS](47/48)CSRulez.​ru​ ]Diablomod[
de_chateau
ИГРОКОВ: 0 / 20
[RUS](47/48)CSRulez.​ru​ ]Jump[
kz_climbers_b01
ИГРОКОВ: 0 / 20
[RUS](47/48)CSRulez.​ru​ ]hns 364[
hns_bronx
ИГРОКОВ: 0 / 21