我的Counter-Strike 1.5脚本分析

类别:软件工程 点击:0 评论:0 推荐:

一下脚本是给左手使用鼠标的人用的哦。

alias d0 "developer 0"
alias d1 "developer 1"

alias w1 "wait"
alias w2 "wait;wait"
alias w5 "wait;wait;wait;wait;wait"
alias w0 "w5;w5"
//快速买弹药手雷主枪
alias pak_quick "buy;menuselect 4;menuselect 1;menuselect 3;buyequip;menuselect 2;menuselect 1;menuselect 4;menuselect 3;buyammo1;buyammo1;buyammo1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
//快速买弹药手雷
alias pak_full "buyammo1;buyequip;menuselect 2;menuselect 1;menuselect 4;buyammo1;buyammo1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
//大跳
alias +cjump "+jump;+duck"
alias -cjump "-jump;-duck"
//跳,落地时买东西
alias +buyjump "+jump;+duck;pak_full"
alias -buyjump "-jump;-duck"
//单发
alias +semi "+attack;wait;-attack;"
alias -semi "wait;"
//武器切换
alias weapon_prev "invprev;+attack;wait;-attack"
alias weapon_next "invnext;+attack;wait;-attack"
//awp开枪专用,开枪完毕自动切换到手枪
alias +awpfire "+attack"
alias -awpfire "-attack;weapon_usp;weapon_deagle;weapon_glock18"
//awp开枪,普通开枪切换
alias fs4 "bind mouse1 +attack;bind mouse2 +semi;bind INS fs5;d1;echo [ AUTO | SEMI ];d0"
alias fs5 "bind mouse1 +awpfire;bind mouse2 +attack2;bind INS fs4;d1;echo [  AWP Fire  ];d0"

/////////////////////////////////////////////////////////////////////////////////////////////
//鼠标左键开枪,鼠标右键单发
bind "MOUSE1" "+attack"
bind "MOUSE2" "+semi"
//一键买枪MP5,DEagle,USP,钳子,AK/M4,SG552/AUG,AWP,衣服弹药,衣服帽子弹药,手雷,闪光,烟雾
bind f1 "buy;menuselect 3;menuselect 1;buyammo1;buyammo2;buyequip;menuselect 1;menuselect 2;buyammo1;buyammo1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind f2 "buy;menuselect 1;menuselect 3;buyammo2;buyammo2;buyammo2;buyammo2;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind f3 "buy;menuselect 1;menuselect 1;buyammo2;buyammo2;buyammo2;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind f4 "buyequip;menuselect 6;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"

bind f5 "buy;menuselect 4;menuselect 1;menuselect 3;buyammo1;buyammo1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind f6 "buy;menuselect 4;menuselect 2;menuselect 4;buyammo1;buyammo1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind f7 "buy;menuselect 4;menuselect 6;buyammo1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind f8  "buyammo1;buyequip;menuselect 1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"

bind f9  "buyammo1;buyequip;menuselect 2;menuselect 1;menuselect 4;buyammo1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind f10 "buyequip;menuselect 4;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;"
bind f11 "buyequip;menuselect 3;menuselect 3;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;"
bind f12 "buyequip;menuselect 5;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;"

bind "1"  "slot1"
bind "2"  "slot2"
bind "3"  "slot3"
bind "4"  "slot4"
bind "5"  "slot5"
bind "6"  "slot6"
bind "7"  "slot7"
bind "8"  "slot8"
bind "9"  "slot9"
bind "0"  "slot10"
bind "-" "timeleft"

bind "CAPSLOCK" "+voicerecord"
bind "ESCAPE"  "cancelselect"
bind "`"  "toggleconsole"
bind "~"  "toggleconsole"
//调整准星颜色
bind "k"  "adjust_crosshair"

bind "tab" "+showscores"
bind "z"  "radio1"
bind "x"  "radio2"
bind "c"  "radio3"

bind "m"  "chooseteam"
bind "y"  "messagemode"
bind "u"  "messagemode2"
bind "b"  "buy"
bind "o"  "buyeuqip"
bind ","  "buyammo1"
bind "."  "buyammo2"
bind "f" "impulse 100"
bind "t" "impulse 201"
//快速radio消息i
bind "w"  "radio3;menuselect 4;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind "v"  "radio1;menuselect 1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind "e"  "radio3;menuselect 2;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind "s"  "radio2;menuselect 5;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind "d"  "radio3;menuselect 3;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind "a"  "radio3;menuselect 1;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
bind "n"  "radio3;menuselect 8;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"

bind "ALT" "+strafe"
bind "CTRL" "+duck"
bind "SHIFT" "+speed"
bind "ENTER" "+reload"

bind "PAUSE" "pause"
//awp,普通开枪切换
bind "INS"  fs5
//drop武器
bind "HOME" "drop"
//上一次使用的武器
bind "PGDN" "lastinv"
//武器第二种功能
bind "PGUP" "+attack2"
//上一个武器
bind "END" "weapon_prev"
//下一个武器
bind "DEL" "weapon_next"

bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+moveleft"
bind "RIGHTARROW" "+moveright"


//大跳
bind "KP_INS" "+cjump"
//显示比分
bind "KP_HOME" "+showscores"

bind "KP_PGUP"  "snapshot"
bind "KP_LEFTARROW" "+voicerecord"
//发现敌人
bind "KP_PLUS" "radio3;menuselect 2;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"
//拆弹,埋弹
bind "KP_END" "+use"
//呼救
bind "KP_ENTER" "radio3;menuselect 3;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;slot10"

bind "*"  "quit"

//Client Settings
//降低画质
cl_pitchspeed 5
setinfo cl_pitchspeed 5
console "1"
con_color "255 155 50"
voice_modenable "1.000000"
volume "0.500000"
sensitivity "2.40000000"
drawradar
scr_conspeed 9000
gamma 3
brightness 5

hud_capturemouse "1"
hud_fastswitch "1"
hud_centerid "1"
hud_classautokill "1"
hud_saytext_time 5
//鼠标动作过滤
m_filter "0"
//显示网络状况
net_graph "3"
net_graphpos "3"

setinfo "dm" "1"
setinfo "lefthand" "0"
setinfo "ah" "1"
setinfo "vgui_menus" "0"
setinfo _ah "1"
setinfo _vgui_menus "0"

hisound 1

+mlook


//FPS tweak
fps_max "72"
//画质
cl_drawnames "1"
cl_dynamiccrosshair "0"
r_drawviewmodel "1"

//cl_highmodels "0"
cl_bob "0"
cl_bobup "0"
cl_bobcycle "1"
cl_download_ingame "1"
cl_allowdownload "1"
cl_allowupload "1"

gl_cull "1"
gl_clear "1"
gl_lightholes "0"
gl_max_size "128"
gl_playermip "1"
gl_picmip "2"
gl_round_down "10"
gl_smoothmodels "0"
gl_wateramp "0"

mp_decals "60"
max_smokepuffs "0"
max_shells "40"
r_decals "40"
r_dynamic "0"

violence_ablood "0"
violence_agibs "0"
violence_hgibs "0"

console 1

zoom_sensitivity_ratio 1.6
sensitivity 5.3

本文地址:http://com.8s8s.com/it/it32229.htm