CSGO 綁定看demo錄像快捷鍵的一個cfg
主要內(nèi)容:綁定方向鍵鍵位實現(xiàn)快進(jìn)、倒退、慢放、暫停4個功能,再綁定一個特殊鍵用于加倍快進(jìn)、倒退的速度
快進(jìn)、慢放可以長按,倒退和暫停是點(diǎn)按
按住“特殊鍵”時快進(jìn)、慢放速度會加倍
一共會綁定5個鍵
下面會先放帶注釋的cfg,原cfg在最下面

// 這個文件分為兩部分
// 一個是“普通綁定”
// 另一個是“特殊綁定”
// 每個鍵都有兩個功能:“普通綁定”、“特殊綁定”
// 通過按住一個“特殊鍵”來實現(xiàn)不同功能
//實現(xiàn)demo快進(jìn)功能
// 沒有按住“特殊鍵”時
// 按住此鍵將以5倍速加速demo
// 松開恢復(fù)正常
alias +demo_forward "demo_timescale 5"
alias -demo_forward "demo_timescale 1"
// 按住“特殊鍵”時
// 按住此鍵將以16倍速加速demo
// 松開恢復(fù)正常
alias +demo_s_forward "demo_timescale 16"
alias -demo_s_forward "demo_timescale 1"
//實現(xiàn)demo慢放0.5、0.2倍功能
// special binding NOT pressed:
// Slows down the demo by half when holding.
// On release, sets the default speed (1) back.
alias +demo_slowmo "demo_timescale 0.5"
alias -demo_slowmo "demo_timescale 1"
// special binding pressed:
// Slows down the demo by a fifth when holding.
// On release, sets the default speed (1) back.
alias +demo_s_slowmo "demo_timescale 0.2"
alias -demo_s_slowmo "demo_timescale 1"
//實現(xiàn)demo倒退功能
// 沒有按住“特殊鍵”時
// 倒退10秒并暫停
alias demo_back "demo_goto -1280 relative pause"
// 按住“特殊鍵”時
// 倒退30秒并暫停
alias demo_s_back "demo_goto -3840 relative pause"?
//默認(rèn)是用方向鍵的四個鍵
//要改的話“普通綁定”和“特殊綁定”
里的要同時修改
//從上到下分別為
//??方向鍵↑? demo慢放
//??方向鍵↓? demo暫停
//??方向鍵←? demo倒退
//??方向鍵→? demo快進(jìn)
// 設(shè)置“普通綁定”
alias defUA "bind uparrow +demo_slowmo"
alias defDA "bind downarrow demo_togglepause"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
alias defLA "bind leftarrow demo_back"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
alias defRA "bind rightarrow +demo_forward"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
// 設(shè)置“特殊綁定”
alias specialUA "bind uparrow +demo_s_slowmo"
alias specialDA "bind downarrow demo_togglepause"
alias specialLA "bind leftarrow demo_s_back"
alias specialRA "bind rightarrow +demo_s_forward"
// 這部分實現(xiàn)“特殊鍵”按下的功能,無需修改
alias +advanced_binds "specialUA; specialDA; specialLA; specialRA"
alias -advanced_binds "defUA; defDA; defLA; defRA"
// 禁用此參數(shù)以防誤觸發(fā)
-advanced_binds
// 綁定“特殊鍵”
bind 你想要的鍵位 +advanced_binds
//在控制臺exec此cfg文件后會顯示的內(nèi)容?
echo Advanced DEMO Bindings Loaded [X]
//想綁到小數(shù)字鍵盤的話可以參照此鍵位表
//小數(shù)字
//Numpad 1 = "kp_end"
//Numpad 2 = "kp_downarrow"
//Numpad 3 = "kp_pgdn"
//Numpad 4 = "kp_leftarrow"
//Numpad 5 = "kp_5"
//Numpad 6 = "kp_rightarrow"
//Numpad 7 = "kp_home"
//Numpad 8 = "kp_uparrow"
//Numpad 9 = "kp_pgup"
//Numpad 0 = "kp_ins"
//加減乘除、回車
//bind "KP_PLUS"?
//bind "KP_MINUS"?
//bind "KP_MULTIPLY"?
//bind "KP_SLASH"?
//bind "KP_ENTER"?

/////////////// Demo advanced bindings - By: YourWorstNightmare
// The bindings are represented by two
// sections. One with an "s" for special
// biding and a normal binding.
//
// By holding a special key you can switch
// the functionality of one of this bindings.
// Further explanation below.
// Special binding NOT pressed:
// Accelerate the demo by 5 times when holding.
// On release, sets the default speed (1) back.
alias +demo_forward "demo_timescale 5"
alias -demo_forward "demo_timescale 1"
// Special binding pressed:
// Acellerate the demo by 16 times when holding.
// On release, sets the default speed (1) back.
alias +demo_s_forward "demo_timescale 16"
alias -demo_s_forward "demo_timescale 1"
// special binding NOT pressed:
// Slows down the demo by half when holding.
// On release, sets the default speed (1) back.
alias +demo_slowmo "demo_timescale 0.5"
alias -demo_slowmo "demo_timescale 1"
// special binding pressed:
// Slows down the demo by a fifth when holding.
// On release, sets the default speed (1) back.
alias +demo_s_slowmo "demo_timescale 0.2"
alias -demo_s_slowmo "demo_timescale 1"
// Special binding NOT pressed:
// Goes 10 seconds back on the demo and pauses
alias demo_back "demo_goto -1280 relative pause"
// Special binding pressed:
// Goes 30 seconds back on the demo and pauses
alias demo_s_back "demo_goto -3840 relative pause"?
// The default bindings are the keyboard arrows and the
// Special key to activate the special functionality is?
// the RIGHT CTRL.
//
// You can choose any key you like by changing it's names
// in the two next sections. Just make sure to use the same
// key in both of the sections!!
// Set the normal binds.
alias defUA "bind uparrow +demo_slowmo"
alias defDA "bind downarrow demo_togglepause"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
alias defLA "bind leftarrow demo_back"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
alias defRA "bind rightarrow +demo_forward"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
// Set the special bindings
alias specialUA "bind uparrow +demo_s_slowmo"
alias specialDA "bind downarrow demo_togglepause"
alias specialLA "bind leftarrow demo_s_back"
alias specialRA "bind rightarrow +demo_s_forward"
// Does all the advanced magic (doens't need to be modified)
alias +advanced_binds "specialUA; specialDA; specialLA; specialRA"
alias -advanced_binds "defUA; defDA; defLA; defRA"
// Set to disabled mode to prevent activating for no reason.
-advanced_binds
// SPECIAL KEY. Just need to be changed here.
bind kp_ins +advanced_binds
//Cool confirmation in console
echo Advanced DEMO Bindings Loaded [X]