Config : Petit script pour améliorer le LG
2 participants
Page 1 sur 1
Config : Petit script pour améliorer le LG
Un petit script pour ceux qui ont une sensi trop élevée qui peut poser problème quand ils attaquent au LG. L'idée du script est d'offrir un mode d'attaque secondaire : Lorsqu'on tire avec le LG grâce à MOUSE2, la sensibilité est diminuée avec un léger zoom. Quand on tient le LG sans tirer ou qd on tient une autre arme, on revient à sa sensibilité habituelle. M'suis inspiré d'un code que Dant m'a envoyé. =)
J'ai mis ce mode de tir secondaire pour le LG sur la touche de zoom, que personne n'utilise qd il tient un LG de toute façon... Voilà, je le mets sur le forum car je trouvais l'astuce intéressante.
// ------------ Actions -------------
bind MOUSE1 "+attack"
bind MOUSE2 "+zoom"
// ------------ Weapons ------------
bind 1 "weapon 1; _OTHER"
bind 2 "weapon 2; _OTHER"
bind 3 "weapon 3; _OTHER"
bind 4 "weapon 4; _OTHER"
bind 5 "weapon 5; _OTHER"
bind 6 "weapon 6; _LG"
bind 7 "weapon 7; _OTHER"
bind 8 "weapon 8; _OTHER"
bind 9 "weapon 9; _OTHER"
bind c "weapon 3; _OTHER"
bind q "weapon 5; _OTHER"
bind e "weapon 6; _LG"
bind r "weapon 7; _OTHER"
bind j "weapon 8; _OTHER"
// ---------- Script _LG ---------
alias _LG "bind MOUSE2 +attackLG"
alias +attackLG "+attack; sensitivity 3; cg_zoomfov 80; +zoom"
alias -attackLG "-attack; sensitivity 5; cg_zoomfov 30; -zoom"
alias _OTHER "bind MOUSE2 +zoom; sensitivity 5; cg_zoomfov 30"
J'ai mis ce mode de tir secondaire pour le LG sur la touche de zoom, que personne n'utilise qd il tient un LG de toute façon... Voilà, je le mets sur le forum car je trouvais l'astuce intéressante.
// ------------ Actions -------------
bind MOUSE1 "+attack"
bind MOUSE2 "+zoom"
// ------------ Weapons ------------
bind 1 "weapon 1; _OTHER"
bind 2 "weapon 2; _OTHER"
bind 3 "weapon 3; _OTHER"
bind 4 "weapon 4; _OTHER"
bind 5 "weapon 5; _OTHER"
bind 6 "weapon 6; _LG"
bind 7 "weapon 7; _OTHER"
bind 8 "weapon 8; _OTHER"
bind 9 "weapon 9; _OTHER"
bind c "weapon 3; _OTHER"
bind q "weapon 5; _OTHER"
bind e "weapon 6; _LG"
bind r "weapon 7; _OTHER"
bind j "weapon 8; _OTHER"
// ---------- Script _LG ---------
alias _LG "bind MOUSE2 +attackLG"
alias +attackLG "+attack; sensitivity 3; cg_zoomfov 80; +zoom"
alias -attackLG "-attack; sensitivity 5; cg_zoomfov 30; -zoom"
alias _OTHER "bind MOUSE2 +zoom; sensitivity 5; cg_zoomfov 30"
Quaker- Messages : 390
Date d'inscription : 23/04/2010
Age : 37
Re: Config : Petit script pour améliorer le LG
pas trop compris -_-' ^^
tOxic1cSs- Messages : 18
Date d'inscription : 29/03/2010
Re: Config : Petit script pour améliorer le LG
script original
/sensitivity 6.2
/bind mouse2 +attack
...
// weapon binds
...
/bind e "weapon 5;_defBind;" //add _defbind; to every other weapon bind to reset the +attack bind
/bind f "weapon 6;_LG;"
...
//script
alias _defBind "bind mouse2 +attack"; // rebinds +attack to mouse2 when you switch the weapon
alias _LG "bind mouse2 +LGattack;" // binds the sens script to mouse2
alias +LGattack "sensitivity 5.2;+attack;" // gets executed while you hold mouse2
alias -LGattack "-attack;sensitivity 6.2;" // gets executed if you release mouse2
/sensitivity 6.2
/bind mouse2 +attack
...
// weapon binds
...
/bind e "weapon 5;_defBind;" //add _defbind; to every other weapon bind to reset the +attack bind
/bind f "weapon 6;_LG;"
...
//script
alias _defBind "bind mouse2 +attack"; // rebinds +attack to mouse2 when you switch the weapon
alias _LG "bind mouse2 +LGattack;" // binds the sens script to mouse2
alias +LGattack "sensitivity 5.2;+attack;" // gets executed while you hold mouse2
alias -LGattack "-attack;sensitivity 6.2;" // gets executed if you release mouse2
Quaker- Messages : 390
Date d'inscription : 23/04/2010
Age : 37
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum
|
|