我忙了一下午搞了一个脚本,但在使用中发现一个问题:我编好的脚本是4.86KB的,使用了一次后发现变成了3.79KB,而且有些功能也不能用了.
我的脚本:unbindall
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "SPACE" "+cjump"
bind "'" "+moveup"
bind "," "buyammo1"
bind "." "buyammo2"
bind "/" "+movedown"
bind "0" "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 ";" "+mlook"
bind "[" "invprev"
bind "]" "invnext"
bind "`" "toggleconsole"
bind "a" "+moveleft"
bind "b" "buy"
bind "c" "radio3"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "impulse 100"
bind "g" "drop"
bind "h" "+commandmenu"
bind "i" "showbriefing"
bind "j" "cheer"
bind "k" "+voicerecord"
bind "l" "playermode"
bind "m" "chooseteam"
bind "n" "nightvision"
bind "o" "buyequip"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "messagemode2"
bind "v" "timeleft"
bind "w" "+forward"
bind "x" "radio2"
bind "y" "messagemode"
bind "z" "radio1"
bind "~" "toggleconsole"
bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+left"
bind "RIGHTARROW" "+right"
bind "ALT" "hegren"
bind "CTRL" "walk_t"
bind "SHIFT" "+duck"
bind "F2" "net.cfg"
bind "F3" "+deagle"
bind "F4" "+team-light-rifle"
bind "F5" "+helm"
bind "F6" "+hegren"
bind "F7" "+fb"
bind "F10" "quit prompt"
bind "INS" "+klook"
bind "PGDN" "+lookdown"
bind "PGUP" "+lookup"
bind "END" "centerview"
bind "KP_HOME" "b413"
bind "KP_UPARROW" "b424"
bind "KP_PGUP" "awp"
bind "KP_LEFTARROW" "mp5"
bind "KP_5" "p90"
bind "KP_RIGHTARROW" "ump45"
bind "KP_END" "usp"
bind "KP_DOWNARROW" "deagle"
bind "KP_PGDN" "p228"
bind "KP_ENTER" "hegren"
bind "KP_INS" "helm"
bind "KP_DEL" "vest"
bind "KP_SLASH" "nvgs"
bind "KP_MINUS" "defuser"
bind "KP_PLUS" "fb"
bind "CAPSLOCK" "+voicerecord"
bind "MWHEELDOWN" "invnext"
bind "MWHEELUP" "invprev"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "PAUSE" "pause"
voice_scale "1"
voice_enable "1"
voice_forcemicrecord "1"
console "1"
zoom_sensitivity_ratio "1.200000"
fps_max "100"
fps_modem "0"
crosshair "1"
gamma "500000.00"
brightness "500000.00"
con_color "120 255 120"
net_graph "0"
net_scale "5"
net_graphpos "1"
net_graphwidth "140"
sv_voiceenable "1"
sv_aim "0"
hpk_maxsize "0"
viewsize "120"
ati_subdiv "2"
ati_npatch "1"
r_bmodelhighfrac "5"
r_mirroralpha "0"
mp_decals "300"
gl_dither "1"
gl_polyoffset "0.1"
gl_overbright "0"
gl_flipmatrix "0"
gl_monolights "0"
gl_ztrick "1"
gl_wateramp "0"
gl_round_down "6"
gl_playermip "1000"
gl_picmip "0"
gl_lightholes "0"
gl_keeptjunctions "0"
gl_palette_tex "0"
gl_cull "1"
gl_spriteblend "0"
gl_smoothmodels "0"
gl_lightholes "0"
s_rolloff "1"
s_doppler "0"
s_distance "60"
s_automin_distance "2"
s_automax_distance "30"
s_min_distance "8"
s_max_distance "1000"
s_leafnum "0"
s_refgain "0"
s_refdelay "0"
s_polykeep "0"
s_polysize "0"
s_numpolys "0"
s_occfactor "0"
s_occ_epsilon "0"
s_occlude "0"
s_bloat "2"
s_verbwet "0"
s_usepvs "0"
s_reverb "0"
s_reflect "0"
s_geometry "0"
s_a3d "1"
s_eax "0"
volume "0.5"
suitvolume "0.25"
hisound "1"
bgmvolume "1"
MP3Volume "0.8"
_snd_mixahead "0.1"
name "www.stinfo.net"
team ""
model "gordon"
skin ""
topcolor "30"
bottomcolor "6"
rate "21000.666016"
r_drawviewmodel "1"
r_dynamic "0"
r_shadows "0"
cl_updaterate "60"
cl_lw "1"
cl_lc "1"
cl_dlmax "128"
cl_himodels "0"
cl_idealpitchscale "0.8"
cl_timeout "35"
cl_cmdbackup "2"
cl_download_ingame "1"
cl_allowdownload "1"
cl_allowupload "0"
cl_cmdrate "60"
cl_showfps "1"
cl_observercrosshair "0"
cl_adaptive "0"
cl_pred_maxtime "500"
cl_pred_fraction "0.650"
cl_nopred "0"
cl_nolerp "0"
cl_hidefrags "1
cl_gaitestimation "1"
cl_solid_players "0"
cl_rollspeed "9999999"
cl_pitchup "89"
cl_pitchdown "89"
cl_bobup "0"
cl_bobcycle "0.8"
cl_bob "0"
lookstrafe "0"
lookspring "0"
cl_forwardspeed "400"
cl_backspeed "400"
cl_vsmoothing "0.05"
m_pitch "0.022"
m_yaw "0.022"
m_forward "1"
m_side "0.8"
m_filter "1"
scr_conspeed "6000"
scr_transparentui "1"
scr_conspeed "123456789"
sensitivity "4"
joystick "0"
hud_takesshots "0"
fastsprites "0"
cl_corpsestay "180"
_cl_autowepswitch "1"
hud_capturemouse "1"
hud_draw "1"
hud_takesshots "1"
cl_righthand "1"
cl_minmodels "1"
cl_dynamiccrosshair "0"
hud_fastswitch "1"
hud_centerid "1"
voice_modenable "1"
max_smokepuffs "0.000000"
max_shells "0.000000"
ex_interp "0.05"
ex_maxerrordistance "0"
cd_fps "0"
cd_sound "0"
hud_classautokill "1"
d_spriteskip "0.000000"
_windowed_mouse "0.000000"
host_framerate "100"
developer "1"
tracker "0"
precache "1"
graphheight "105"
crosshair "1.000000"
pushlatency "-999"
snd_noextraupdate "1"
loadas8bit "1"
hisound "1.000000"
suitvolume "0.000000"
setinfo "_ah" "1"
setinfo "lefthand" "1"
setinfo "vgui_menus" "0"
setinfo "ah" "1"
setinfo "dm" "0"
setinfo "_vgui_menus" "0"
setinfo ghosts "0"
+mlook
+jlook