config qui dechire en 2 fichier
- Code:
// fichier autoexec.cfg
exec "bind.cfg"
- Code:
// fichier : bind.cfg
// Alias
alias "v_sensihight" "sensitivity 2.1; m_yaw 0.022; m_pitch 0.022;cg_fov 125"
alias "v_sensimid" "sensitivity 1.9; m_yaw 0.020; m_pitch 0.020;cg_fov 109"
alias "v_sensilow" "sensitivity 1.7; m_yaw 0.018; m_pitch 0.018;cg_fov 100"
// CA weapon
alias "gauntlet" "weapon 1; v_sensihight;"
alias "machinegun" "weapon 2; v_sensimid;"
alias "shotgun" "weapon 3; v_sensihight;"
alias "grenade_launcher" "weapon 4; v_sensihight;"
alias "rocket_launcher" "weapon 5; v_sensihight;"
alias "lighting_gun" "weapon 6; v_sensilow;"
alias "rail_gun" "weapon 7; v_sensimid;"
alias "plasma_gun" "weapon 8; v_sensilow;"
// Other game weapon
alias "bfg" "weapon 9; v_sensihight;"
alias "nail_gun" "weapon 11; v_sensihight;"
alias "mines" "weapon 12; v_sensihight;"
alias "chaingun" "weapon 13; v_sensihight;"
unbindall
// bind des armes CA
bind a "rocket_launcher"
bind e "rail_gun"
bind f "lighting_gun"
bind c "grenade_launcher"
bind x "plasma_gun"
bind r "machinegun"
bind SPACE "shotgun"
bind SHIFT "gauntlet"
bind CTRL "gauntlet"
// bind des autres armes
bind KP_HOME "bfg"
bind KP_UPARROW "nail_gun"
bind KP_PGUP "mines"
bind KP_PLUS "chaingun"
// mouvement
bind z "+forward"
bind q "+moveleft"
bind s "+back"
bind d "+moveright"
bind MOUSE1 "+attack" // TIR
bind MOUSE2 "+moveup" // SAUT
bind MOUSE3 "+button2" // USE ITEM
bind MOUSE6 "+speed" // MARCHE
bind MOUSE7 "+movedown" // SE BAISSE
bind MWHEELDOWN "weapprev" // Arme precedente
bind MWHEELUP "weapnext" // Arme suivante
// divers
bind g "dropweapon" // lache arme
bind h "dropflag" // lache le drapeau (CTF)
bind KP_ENTER "+button3" // taunt
bind ALT "+zoom" // Zoom
// prout
bind F1 "vote yes"
bind F2 "vote no"
bind F3 "readyup"
bind F4 "say ta gueule bouffon va chier dans ta caisse!!! (special whine bind)"
bind F5 "record; echo ^4Recording..."
bind F6 "stoprecord; echo ^4Stop Recording..."
bind F11 "screenshotJPEG"
bind F12 "+acc"
// chat
bind KP_DOWNARROW "+chat" // chat history
bind t "messagemode" // chat general
bind KP_INS "messagemode" // chat general
bind y "messagemode2" // chat team
bind KP_DEL "messagemode2" // chat team
bind KP_LEFTARROW "messagemode3" // chat target
bind KP_PGDN "messagemode4" // chat attaquer
bind KP_END "messagemode5" // reponse chat quakelive
// autres
bind TAB "+scores"