鐵之狂傲

 取回密碼
 註冊
搜尋
列印 上一主題 下一主題

請問=_=?

[複製連結] 檢視: 2868|回覆: 3
肖像被遮蔽

禁止發言

切換到指定樓層
1#
提示: 作者被封鎖或刪除 內容自動遮蔽
 
轉播0 分享0 收藏0

回覆 使用道具 檢舉

原文由 aa2710991 於 06-6-13 11:25 PM 發表
你們誰知道遊戲的設定按鍵的檔案在哪裡呢@@?

= =|||
請用記事本開啟:
CSTRIKE/CONFIG.CFG
找到以下這段:
CONFIG檔案
.................
bind "TAB" "+showscores"
bind "ENTER" "+attack"
bind "ESCAPE" "cancelselect"
bind "SPACE" "+jump"
bind "'" "+moveup"
bind "," "buyammo1"
bind "-" "bot_kill"
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 "=" "bot_add"
bind "\" "timeleft"
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" "+power3"
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" "+duck"
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" "+strafe"
bind "CTRL" "+duck"
bind "SHIFT" "+speed"
bind "F1" "deagle;secammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"
bind "F2" "shield;vesthelm;vest;hegren;flash;flash;defuser;secammo;"
bind "F3" "mp5;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"
bind "F4" "famas;galil;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"
bind "F5" "m4a1;ak47;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"
bind "F6" "aug;sg552;primammo;vesthelm;vest;hegren;flash;flash;defuser;secammo;"
bind "F7" "awp;vesthelm;vest;usp;secammo;hegren;flash;flash;defuser;"
bind "F8" "awp;vesthelm;vest;deagle;secammo;hegren;flash;flash;defuser;"
bind "F9" "vestheml;vest;hegren;flash;flash;sgren;defuser;"
bind "F12" "snapshot"
bind "INS" "bot_quota 31"
bind "DEL" "bot_kick"
bind "PGDN" "+lookdown"
bind "PGUP" "+lookup"
bind "END" "centerview"
bind "KP_HOME" "deagle;"
bind "KP_UPARROW" "m249;"
bind "KP_PGUP" "shield;"
bind "KP_LEFTARROW" "famas;galil;"
bind "KP_5" "aug;sg552;"
bind "KP_RIGHTARROW" "awp;"
bind "KP_END" "flash;"
bind "KP_DOWNARROW" "hegren;"
bind "KP_PGDN" "sgren;"
bind "KP_ENTER" "vesthelm;"
bind "KP_DEL" "defuser;"
bind "CAPSLOCK" "+voicerecord"
bind "MWHEELDOWN" "invnext"
bind "MWHEELUP" "invprev"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "weapon_knife"
bind "MOUSE5" "invprev"
bind "PAUSE" "pause"
..................

然後請改吧= =
英文不懂?那沒辦法.因為CS本來就是用英文建構的.自己找翻譯網站翻譯吧= =
(其實.有1/3的英文我也不懂[炸])

[ 本文最後由 阿治衝啊 於 06-6-17 05:08 PM 編輯 ]
 
http://steamcommunity.com/id/ag-w

回覆 使用道具 檢舉

其實不難理解...BIND是設定按鍵的...
舉例:
bind "ENTER" "+attack"
設定按鍵 ENTER 為 攻擊
BIND是按鍵的設定
ENTER是鍵盤ENTER鍵
+attack是動作設定名稱

另外
bind "KP_RIGHTARROW" "awp;"

是設定按鍵KP_RIGHTARROW (九宮格數字鍵6 好像吧..我對九宮格鍵盤設定不熟..)
動作命令是購買AWP
這是1.6版才有的動作設定~能直接寫上武器物品名稱直接做購買動作
如果是1.5版以前的則須寫上開啟購買選單~選擇選單編號才作購買

這是我的腳本CONFIG設定...可以參考看看..


  1. bind "TAB" "+showscores"
  2. bind "ENTER" "righthand"
  3. bind "ESCAPE" "cancelselect"
  4. bind "SPACE" "+jump"
  5. bind "'" "+moveup"
  6. bind "*" "log"
  7. bind "," "buyammo1;"
  8. bind "-" "bot_add_t;bot_add_t"
  9. bind "." "buyammo2;buyammo2;"
  10. bind "/" "+movedown"
  11. bind "0" "slot10;shield;vesthelm;vest;hegren;"
  12. bind "1" "slot1"
  13. bind "2" "slot2;vesthelm;vest;"
  14. bind "3" "slot3;"
  15. bind "4" "slot4;hegren;"
  16. bind "5" "slot5;flash;"
  17. bind "6" "slot6;sgren;"
  18. bind "7" "slot7;ump45;buyammo1;vesthelm;vest;buyammo1;buyammo1;buyammo1;"
  19. bind "8" "slot8;fn57;elites;buyammo2;vesthelm;vest;buyammo2;"
  20. bind "9" "slot9;nighthawk;buyammo2;vesthelm;vest;buyammo2;shield;buyammo2;"
  21. bind ";" "+mlook"
  22. bind "=" "bot_add_ct"
  23. bind "`" "toggleconsole"
  24. bind "a" "+moveleft"
  25. bind "b" "buy"
  26. bind "c" "radio3"
  27. bind "d" "+moveright"
  28. bind "e" "reload_stop"
  29. bind "f" "buyequip"
  30. bind "g" "drop"
  31. bind "h" "+commandmenu"
  32. bind "i" "showbriefing"
  33. bind "j" "nightvision"
  34. bind "k" "+use"
  35. bind "l" "say menu"
  36. bind "m" "chooseteam"
  37. bind "n" "+use1"
  38. bind "o" "impulse 100;wait;impulse 100;wait;wait;impulse 100;wait;;waiti;mpulse 100;wait;impulse 100;wait;impulse 100;wait;wait;impulse 100;wait;;waiti;mpulse 100;wait;"
  39. bind "p" "nightvision"
  40. bind "q" "lastinv"
  41. bind "r" "+reload"
  42. bind "s" "+back"
  43. bind "t" "impulse 201"
  44. bind "u" "messagemode2"
  45. bind "v" "+voicerecord"
  46. bind "w" "+forward"
  47. bind "x" "radio2"
  48. bind "y" "messagemode"
  49. bind "z" "radio1"
  50. bind "~" "toggleconsole"
  51. bind "UPARROW" "nvgs"
  52. bind "DOWNARROW" "defuser"
  53. bind "LEFTARROW" "vesthelm;hegren;"
  54. bind "RIGHTARROW" "g3sg1;sg550;buyammo1;vesthelm;vest;buyammo1;hegren;"
  55. bind "ALT" "+strafe"
  56. bind "CTRL" "+duck"
  57. bind "SHIFT" "+speed"
  58. bind "F1" "autobuy"
  59. bind "F2" "rebuy"
  60. bind "F3" "+use"
  61. bind "F4" "awp;vesthelm;vest;"
  62. bind "F5" "m4a1;ak47;buyammo1;vesthelm;vest;buyammo1;"
  63. bind "F6" "mp5;buyammo1;vesthelm;vest;buyammo1;hergen;"
  64. bind "F7" "nighthawk;buyammo2;vesthelm;vest;buyammo2;buyammo2;"
  65. bind "F8" "famas;galil;buyammo1;vesthelm;vest;buyammo1;"
  66. bind "F11" "exec csmate.cfg"
  67. bind "F12" "exec csmate.cfg"
  68. bind "DEL" "bot_kick"
  69. bind "END" "bot_kill"
  70. bind "KP_HOME" "7exl"
  71. bind "KP_UPARROW" "8chmap"
  72. bind "KP_PGUP" "9cant"
  73. bind "KP_LEFTARROW" "4miccry"
  74. bind "KP_5" "5fuck"
  75. bind "KP_RIGHTARROW" "6chmap1"
  76. bind "KP_END" "1listmap"
  77. bind "KP_DOWNARROW" "2timeup"
  78. bind "KP_PGDN" "3camp"
  79. bind "KP_ENTER" "wds1"
  80. bind "KP_INS" "0qa1"
  81. bind "KP_DEL" "admi"
  82. bind "KP_SLASH" "wds1"
  83. bind "KP_MINUS" "cog"
  84. bind "KP_PLUS" "slep"
  85. bind "MWHEELDOWN" "invnext"
  86. bind "MWHEELUP" "invprev"
  87. bind "MOUSE1" "+attack"
  88. bind "MOUSE2" "+attack2"
  89. bind "MOUSE4" "voice_key"
  90. bind "PAUSE" "pause"

複製代碼


有人會發現我的九宮格設定有點怪怪的..沒錯..那不是CS內建設定動作
而是自己寫的動作命令...
這是透過exec來強制更換userconfig配置
原始config需要搭配userconfig來做設置動作所以CONFIG會有一段
// Add custom configurations to the file "userconfig.cfg".
但是userconfig內建設定是CS原始設定動作...常常會發生自行設定命令會相衝而無作用
所以要自己寫一個userconfig.cfg來做更改...
這樣可以保護原始配置不被破壞也降低設定錯誤所導致的風險

下面是我自己寫的userconfig.cfg


  1. bind "F12" "exec csmate.cfg"
  2. alias reload_stop "weapon_knife; wait; wait; wait; lastinv;"
  3. bind "e" "reload_stop"
  4. alias +use1 "+use;wait;wait;slot10;wait;say_team Cover me defusing or planting the bomb !"
  5. alias -use1 "-use;wait;wait;slot10;"  
  6. bind "n" "+use1"
  7. alias +use "+use"
  8. alias -use "-use"
  9. bind "k" "+use"
  10. alias righthand "righthand1"
  11. alias righthand1 "cl_righthand 1;wait; alias righthand righthand2"
  12. alias righthand2 "cl_righthand 0;wait; alias righthand righthand1"
  13. bind "ENTER" "righthand"
  14. alias 9cant "say .伺服器不接受一般指令且非AMX等模組架設,所以相關指令無法使用!"
  15. alias 8chmap "say .伺服器更換地圖中,請稍後! 如有短暫延遲現象屬於正常情形!"
  16. alias 7exl "say .請玩家(離開座位)或是(上廁所)時下觀眾席,以避免拖累遊戲進行。謝謝合作!"
  17. alias 6chmap1 "say .伺服器僅遵照地圖列表做25分鐘更換地圖,除站長外不得更換地圖!"
  18. alias 5fuck "say .請勿口出惡言或侮蔑玩家! 例如:你是x養的、e04、Gan等相關句辭。"
  19. alias 4miccry "say .嚴禁麥克風無意義噪音! 例如:唱歌、笑聲、呼喊聲、撥放音樂等相關!"
  20. alias 3camp "say .凡是正常且合理的手段與方式皆不屬違規行為,但是請別做無意義動作!"
  21. alias 2timeup "say .查詢時間請直接按鍵盤H畫面左邊出現說明->剩下時間,config原始設定有效。"
  22. alias 1listmap "say .查詢地圖列表請先按下左上角~開啟命令列輸入<小寫>LISTMAPS按下ENTER。"
  23. alias 0qa1 "say .伺服器不禁止、不限制任何<武器與道具>使用,但以不妨礙任務進行為主!"
  24. alias admi "say .以上為伺服器公告規範內容,請玩家注意如有違規者將不另做告知!"
  25. alias slep "say .伺服器場內掛網5回合,場外掛網10回合,但伺服器人數未滿時不限制場外觀眾!"
  26. alias cog "say .Logo噴漆不限制,但盡量別噴在屍體上,行為嚴重者管理員予以告誡!"
  27. alias chet "say .凡是作弊經管理員確認者一率永久BAN處置,玩家檢舉作弊請先確認在做告知!"
  28. alias wis "say .過度無意義洗頻與Radio濫用者,將依據規範處置!"
  29. alias wds1 "say .嚴厲禁止廣告或商業宣傳與其他友站IP或名稱出現於伺服器頻道內!"
  30. bind "F11" "exec csmate.cfg"

複製代碼


解說:
alias 6chmap1 "say .伺服器僅遵照地圖列表做25分鐘更換地圖,除站長外不得更換地圖!"

alias是命令配置
6chmap1是命令名稱
"say .伺服器僅遵照地圖列表做25分鐘更換地圖,除站長外不得更換地圖!"是遊戲動作

配合config設定 bind "KP_RIGHTARROW" "6chmap1"
在遊戲中按下鍵盤九宮格6執行6chmap1動作
6chmap1動作為使用公用頻道顯示.伺服器僅遵照地圖列表做25分鐘更換地圖,除站長外不得更換地圖!
遊戲畫面中出現
玩家:.伺服器僅遵照地圖列表做25分鐘更換地圖,除站長外不得更換地圖!

這是CS不透過中文輸入程式而顯示中文對話的方法之ㄧ..
但是限定寫好的例句而無法在遊戲中更換

至於.伺服器僅遵照地圖列表做25分鐘更換地圖,除站長外不得更換地圖!
這是因為範本是遊戲管理員的配置...伺服器沒使用AMX來架設所以要自己寫..><"

如果你有興趣使用請注意CONFIG存檔格式要改成UTF-8...不然會無法顯示
至於單鍵例句的教學文...等有有正式的版主再說吧...我不想寫沉底文..

[ 本文最後由 KOGA.tpe! 於 06-6-18 12:09 PM 編輯 ]
 

回覆 使用道具 檢舉

總評分:  聲望 + 2   檢視全部評分
阿治衝啊  有人說我有資格當CS版版主.  發表於 06-6-18 19:25 聲望 + 2 枚  回覆一般留言

整個CONFIG比較難解讀的是BIND後面的參數設定:


  1. _cl_autowepswitch "1"
  2. _snd_mixahead "0.1"
  3. ati_npatch "1.0"
  4. ati_subdiv "2.0"
  5. bgmvolume "1.000000"
  6. bottomcolor "6"
  7. brightness "1.590000"
  8. cl_allowdownload "1"
  9. cl_allowupload "1"
  10. cl_backspeed "400"
  11. cl_cmdbackup "2"
  12. cl_cmdrate "30"
  13. cl_corpsestay "1"
  14. cl_crosshair_color "50 250 250"
  15. cl_crosshair_size "auto"
  16. cl_crosshair_translucent "0"
  17. cl_dlmax "128"
  18. cl_download_ingame "1"
  19. cl_dynamiccrosshair "1"
  20. cl_forwardspeed "400"
  21. cl_himodels "0"
  22. cl_idealpitchscale "0.8"
  23. cl_lc "1"
  24. cl_logocolor "#Valve_Yellow"
  25. cl_logofile "smiley"
  26. cl_lw "1"
  27. cl_minmodels "0"
  28. cl_radartype "1"
  29. cl_righthand "1"
  30. cl_shadows "0"
  31. cl_timeout "35"
  32. cl_updaterate "40"
  33. cl_vsmoothing "0.05"
  34. cl_weather "0"
  35. con_color "255 180 30"
  36. console "1.000000"
  37. crosshair "1.000000"
  38. fastsprites "0"
  39. fps_max "101"
  40. fps_modem "0"
  41. gamma "3"
  42. gl_dither "1"
  43. gl_flipmatrix "0"
  44. gl_fog "1"
  45. gl_monolights "0"
  46. gl_overbright "0"
  47. gl_polyoffset "0.1"
  48. hisound "1"
  49. hpk_maxsize "4"
  50. hud_capturemouse "1"
  51. hud_centerid "1"
  52. hud_draw "1"
  53. hud_fastswitch "1"
  54. hud_saytext_internal "1"
  55. hud_takesshots "0"
  56. joystick "0"
  57. lookspring "0.000000"
  58. lookstrafe "0.000000"
  59. m_filter "1"
  60. m_forward "1"
  61. m_pitch "0.022"
  62. m_side "0.8"
  63. m_yaw "0.022"
  64. model "gordon"
  65. MP3FadeTime "2.0"
  66. MP3Volume "1"
  67. mp_decals "30.000000"
  68. name "I's Mitanic Akuma:KoGa.Sen [Rx]"
  69. net_graph "1"
  70. net_graphpos "1"
  71. net_scale "5"
  72. r_bmodelhighfrac "5.0"
  73. r_detailtextures "0"
  74. s_a3d "0.0"
  75. s_automax_distance "30"
  76. s_automin_distance "2"
  77. s_bloat "2.0"
  78. s_distance "60"
  79. s_doppler "0.0"
  80. s_eax "0.0"
  81. s_leafnum "0"
  82. s_max_distance "1000"
  83. s_min_distance "5"
  84. s_numpolys "200"
  85. s_polykeep "1000000000"
  86. s_polysize "10000000"
  87. s_refdelay "4"
  88. s_refgain "0.4"
  89. s_rolloff "1.0"
  90. s_verbwet "0.25"
  91. sensitivity "13.809999"
  92. skin ""
  93. spec_autodirector_internal "1"
  94. spec_drawcone_internal "1"
  95. spec_drawnames_internal "1"
  96. spec_drawstatus_internal "1"
  97. spec_mode_internal "3"
  98. spec_pip "0"
  99. suitvolume "0.250000"
  100. sv_aim "0"
  101. sv_voiceenable "1"
  102. team ""
  103. topcolor "30"
  104. viewsize "120.000000"
  105. voice_enable "1"
  106. voice_forcemicrecord "1"
  107. voice_modenable "1"
  108. voice_scale "1"
  109. volume "1.430000"
  110. setinfo "_vgui_menus" "1"
  111. setinfo "lang" "tc"
  112. setinfo "_ah" "1"
  113. +mlook

複製代碼


這裡面所寫的是遊戲中參數的設定...其中很多設定關係著遊戲程式運作的配置
建議你..看不懂就不要動...不然遊戲會無法執行或是執行時發生問題..

詳情參閱:

05-7-22 08:32 PM腳本完全解析(如有回鍋請告知)

05-8-3 06:46 PMCS 完整參數指令集 2005/8/3發佈 (2006/02/10更新)



題外話...

如果仔細看CONFIG設定就知道..裡面暗藏許多玄機...
為何某些玩家會動作比你快..玩家動作的流暢度...網路訊號平穩度都會比較高..
原因之一就是CONFIG參數設定有修改過...但這不算作弊...
原始CONFIG是配合大眾所使用的..但是每台PC配置不見得相同...玩家習慣也不同所以才做更改

雖然正式公開賽有限制CONFIG的更改..
但是比賽用PC是性能規格是完全相同的
比賽時遊戲通用遊戲參數也是整體一致..
能修改的僅有鍵盤配置...前提是以不破壞公平性為原則..當然userconfig是不能作更改..

[ 本文最後由 KOGA.tpe! 於 06-6-18 11:57 AM 編輯 ]
 

回覆 使用道具 檢舉

你需要登入後才可以回覆 登入 | 註冊

存檔|手機版|聯絡我們|新聞提供|鐵之狂傲

GMT+8, 25-1-9 23:58 , Processed in 0.019537 second(s), 15 queries , Gzip On.

回頂部