MinkQ

CSGO-Script-CTRL_Practice

Mar 9th, 2017
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.76 KB | None | 0 0
  1. // My (nmyi) "CTRL Hotkey" or "CTRL combination" script for CSGO practice servers & chat. I do not have much knowledge in coding, so this is my 1st attempt at creating custom binds and scripts.
  2. //
  3. // I used this steamcommunity guide to write this script:
  4. // steamcommunity.com/sharedfiles/filedetails/?id=314801693
  5. //
  6. // The following binds that I had been using no longer with this CTRL Hotkey script. I think this is b/c these commands are one step more complex than a single command, for example "slot3" is simpler than "use weapon_knife"
  7. // bind "6" "use weapon_c4";
  8. // bind "7" "incrementvar gameinstructor_enable 0 1 1";
  9. // bind "8" "toggle voice_scale 0.02 0.6";
  10. // bind "9" "incrementvar cl_righthand 0 1 1"
  11. // bind "6" "use weapon_c4"; bind "7" "incrementvar gameinstructor_enable 0 1 1"; bind "8" "toggle voice_scale 0.02 0.6"; bind "9" "incrementvar cl_righthand 0 1 1"
  12. //
  13. //
  14. // Note: I adopted "ESDF" not "WASD" to play games last week (on 20170228), b/c I learned the "number row" on keyboard (row "R1") traditionally, so it had been a bit cumbersome whenever I was buying weapons in buy menus with my keyboard when I was using WASD.
  15. //
  16. // Personal note01: add these later to bind "0" key
  17. // r_particles 0 1 toggles smoke effect
  18. // Replace the following with the "toggle r_particles 0 1"
  19. // alias CTRL00 "toggle mat_drawgray 0 1"
  20. // alias CTRL0 "bind 0 CTRL00"
  21. // alias def0 "bind 0 r_cleardecals"
  22. //
  23. // Personal note02: The CTRL+3 command
  24. // "toggle sv_showimpimpacts_time 0.8 4"
  25. // does not work properly. It does not toggle between 0.8 seconds and 4 secs.
  26. //
  27. // Personal note03: Japanese emoji script does not work b/c CSGO does not recognize most of the characters. So I dumbed down the emojis to be displayed properly in CSGO. It's not as effective so look into it later. Emojis I want to add are found on this site: https://textfac.es/
  28. // http://japaneseemoticons.me/all-japanese-emoticons/
  29. // Nothing necessary. I just want to add a tiny little flair to my routine gameplay of CSGO. Plus it's a good practice for scripting. Knowing what works and what doesn't.
  30. //
  31. // Personal note04: Create CTRL Hotkey for grenade practices - specifically allowing changes in grenade trajectory-line time durations & length of trajectory-lines.
  32. //
  33. //
  34. // CTRL combination script's voice_scale adjust follows Poker 3 volume function layer (i.e. Fn+S, Fn+D, Fn_F = CTRL+S, CTRL+D, CTRL+F ... volume down,up,mute)
  35. // Funciton keys (e.g. F1, F2, F3,...) do not work with these as far as I know
  36. // These alias are ordered in QWERTY order (not alphabetical or numberical)
  37.  
  38. alias CTRL00 "say noice shot m8"
  39. alias CTRL0 "bind 0 CTRL00"
  40.  
  41. alias CTRL11 "toggle r_drawviewmodel 0 1"
  42. alias CTRL1 "bind 1 CTRL11"
  43.  
  44. alias CTRL22 "incrementvar sv_showimpacts 0 3 1"
  45. alias CTRL2 "bind 2 CTRL22"
  46.  
  47. alias CTRL33 "sv_showimpacts_time 0.8"
  48. alias CTRL3 "bind 3 CTRL33"
  49.  
  50. alias CTRL44 "toggle weapon_accuracy_nospread 0 1"
  51. alias CTRL4 "bind 4 CTRL44"
  52.  
  53. alias CTRL55 "toggle weapon_debug_spread_show 0 1"
  54. alias CTRL5 "bind 5 CTRL55"
  55.  
  56. alias CTRL66 "getpos_exact"
  57. alias CTRL6 "bind 6 CTRL66"
  58.  
  59. alias CTRL77 "toggle r_drawparticles 0 1"
  60. alias CTRL7 "bind 7 CTRL77"
  61.  
  62. alias CTRL88 "toggle mat_fillrate 0 1"
  63. alias CTRL8 "bind 8 CTRL88"
  64.  
  65. alias CTRL99 "toggle mat_drawgray 0 1"
  66. alias CTRL9 "bind 9 CTRL99"
  67.  
  68. alias CTRLQ1 "toggle voice_loopback 0 1"
  69. alias CTRLQ "bind Q CTRLQ1"
  70.  
  71. alias CTRLR1 "incrementvar gameinstructor_enable 0 1 1"
  72. alias CTRLR "bind R CTRLR1"
  73.  
  74. alias CTRLT1 "say :)"
  75. alias CTRLT "bind T CTRLT1"
  76.  
  77. alias CTRLU1 "say yupp"
  78. alias CTRLU "bind U CTRLU1"
  79.  
  80. alias CTRLI1 "say nope"
  81. alias CTRLI "bind I CTRLI1"
  82.  
  83. alias CTRLO1 "say glhf <3"
  84. alias CTRLO "bind O CTRLO1"
  85.  
  86. alias CTRLP1 "say sorry :("
  87. alias CTRLP "bind P CTRLP1"
  88.  
  89. alias CTRLS1 "ngdn"
  90. alias CTRLS "bind S CTRLS1"
  91.  
  92. alias CTRLD1 "ngup"
  93. alias CTRLD "bind D CTRLD1"
  94.  
  95. alias CTRLF1 "toggle voice_scale 0.06 0.22"
  96. alias CTRLF "bind F CTRLF1"
  97.  
  98. alias CTRLG1 "say lol"
  99. alias CTRLG "bind G CTRLG1"
  100.  
  101. alias CTRLH1 "say :("
  102. alias CTRLH "bind H CTRLH1"
  103.  
  104. alias CTRLJ1 "say sick shot m8"
  105. alias CTRLJ "bind J CTRLJ1"
  106.  
  107. alias CTRLK1 "say geegee"
  108. alias CTRLK "bind K CTRLK1"
  109.  
  110. alias CTRLL1 "toggle mp_restartgame 0 1"
  111. alias CTRLL "bind L CTRLL1"
  112.  
  113. alias CTRLZ1 "say nice shot"
  114. alias CTRLZ "bind Z CTRLZ1"
  115.  
  116. alias CTRLX1 "say ||||°__°) ||||"
  117. alias CTRLX "bind X CTRLX1"
  118.  
  119. alias CTRLC1 "say i see you"
  120. alias CTRLC "bind C CTRLC1"
  121.  
  122. alias CTRLV1 "say (o____o)"
  123. alias CTRLV "bind V CTRLV1"
  124.  
  125. alias CTRLB1 "say thank you"
  126. alias CTRLB "bind B CTRLB1"
  127.  
  128. alias CTRLN1 "say guns"
  129. alias CTRLN "bind N CTRLN1"
  130.  
  131. alias CTRLM1 "say (\/) (°,,°) (\/)"
  132. alias CTRLM "bind M CTRLM1"
  133.  
  134. alias CTRL/1 "incrementvar cl_righthand 0 1 1"
  135. alias CTRL/ "bind / CTRL/1"
  136.  
  137. //alias CTRLF11 "toggle sv_regeneration_force_on 0 1"
  138. //alias CTRLF1 "bind F1 CTRLF11"
  139.  
  140. alias def0 "bind 0 botstop"
  141.  
  142. alias def1 "bind 1 show"
  143.  
  144. alias def2 "bind 2 noclip"
  145.  
  146. alias def3 "bind 3 slot11"
  147.  
  148. alias def4 "bind 4 slot3"
  149.  
  150. alias def5 "bind 5 slot4"
  151.  
  152. alias def6 "bind 6 slot9"
  153.  
  154. alias def7 "bind 7 radio1"
  155.  
  156. alias def8 "bind 8 radio2"
  157.  
  158. alias def9 "bind 9 radio3"
  159.  
  160. alias defQ "bind Q +spray_menu"
  161.  
  162. alias defR "bind R +use"
  163.  
  164. alias defT "bind T +reload"
  165.  
  166. alias defU "bind U messagemode"
  167.  
  168. alias defI "bind I messagemode2"
  169.  
  170. alias defO "bind O bot_place"
  171.  
  172. alias defP "bind P mimic"
  173.  
  174. alias defS "bind S +moveleft"
  175.  
  176. alias defD "bind D +back"
  177.  
  178. alias defF "bind F +moveright"
  179.  
  180. alias defG "bind G slot7"
  181.  
  182. alias defH "bind H slot6"
  183.  
  184. alias defJ "bind J drop"
  185.  
  186. alias defK "bind K wallhack"
  187.  
  188. alias defL "bind L svcheats"
  189.  
  190. alias defZ "bind Z +duck"
  191.  
  192. alias defX "bind X slot8"
  193.  
  194. alias defC "bind C slot9"
  195.  
  196. alias defV "bind V slot10"
  197.  
  198. alias defB "bind B slot8"
  199.  
  200. alias defN "bind N buymenu"
  201.  
  202. alias defM "bind M +lookatweapon"
  203.  
  204. alias def/ "bind / ClipBrushes"
  205.  
  206. //alias defF1 "bind F1 GODS1"
  207.  
  208.  
  209. alias +altbinds "CTRL0; CTRL1; CTRL2; CTRL3; CTRL4; CTRL5; CTRL6; CTRL7; CTRL8; CTRL9; CTRLQ; CTRLR; CTRLT; CTRLU; CTRLI; CTRLO; CTRLP; CTRLS; CTRLD; CTRLF; CTRLG; CTRLH; CTRLJ; CTRLK; CTRLL; CTRLZ; CTRLX; CTRLC; CTRLV; CTRLB; CTRLN; CTRLM; CTRL/"
  210.  
  211. alias -altbinds "def0; def1; def2; def3; def4; def5; def6; def7; def8; def9; defQ; defR; defT; defU; defI; defO; defP; defS; defD; defF; defG; defH; defJ; defK; defL; defZ; defX; defC; defV; defB; defN; defM; def/"
  212.  
  213. bind CTRL +altbinds
  214.  
  215. // Standard ESDF keybind, post 20170625 figure out how to switch bind "0" with bind "1" by fixing "modifier-key combination bind" script
  216.  
  217. bind "0" "botstop"
  218. bind "1" "show"
  219. bind "2" "noclip"
  220. bind "3" "slot11"
  221. bind "4" "slot3"
  222. bind "5" "slot4"
  223. bind "6" "slot9"
  224. bind "7" "radio1"
  225. bind "8" "radio2"
  226. bind "9" "radio3"
  227. bind "a" "+turndownforwhat"
  228. bind "b" "slot8"
  229. bind "c" "slot9"
  230. bind "d" "+back"
  231. bind "e" "+forward"
  232. bind "f" "+moveright"
  233. bind "g" "slot7"
  234. bind "h" "slot6"
  235. bind "i" "messagemode2"
  236. bind "j" "drop"
  237. bind "k" "wallhack"
  238. bind "l" "svcheats"
  239. bind "m" "+lookatweapon"
  240. bind "n" "buymenu"
  241. bind "o" "bot_place"
  242. bind "p" "mimic"
  243. bind "q" "+spray_menu"
  244. bind "r" "+use"
  245. bind "s" "+moveleft"
  246. bind "t" "+reload"
  247. bind "u" "messagemode"
  248. bind "v" "slot10"
  249. bind "w" "lastinv"
  250. bind "x" "slot8"
  251. bind "y" "use weapon_knife"
  252. bind "z" "+duck"
  253. bind "[" "callvote"
  254. bind "]" "teammenu"
  255. bind "SEMICOLON" "toggle volume 0 0.2"
  256. bind "'" "botduck"
  257. bind "`" "toggle cl_mute_enemy_team 0 1"
  258. bind "," "autobunnyhopping"
  259. bind "." "regenhealth"
  260. bind "/" "ClipBrushes"
  261. bind "\" "toggleconsole"
  262. bind "-" "incrementvar volume 0 1 -0.1"
  263. bind "=" "incrementvar volume 0 1 0.1"
  264. bind "SPACE" "+jump"
  265. bind "TAB" "+showscores"
  266. bind "CAPSLOCK" "incrementvar gameinstructor_enable 0 1 1"
  267. bind "NUMLOCK" "r_cleardecals"
  268. bind "ESCAPE" "cancelselect"
  269. bind "SCROLLLOCK" "say guns"
  270. bind "INS" "show_loadout_toggle"
  271. bind "DEL" "mute"
  272. bind "HOME" "+jumpthrow"
  273. bind "END" "CrosshairToggleOff"
  274. bind "PGUP" "ngup"
  275. bind "PGDN" "ngdn"
  276. bind "PAUSE" "pause"
  277. bind "SHIFT" "slot5"
  278. bind "RSHIFT" "getpos"
  279. bind "ALT" "noclip"
  280. bind "CTRL" "+altbinds"
  281. bind "RCTRL" "toggle cl_draw_only_deathnotices 0 1"
  282. bind "UPARROW" "toggle net_graph 0 1"
  283. bind "LEFTARROW" "invprev"
  284. bind "DOWNARROW" "duck_tog"
  285. bind "RIGHTARROW" "invnext"
  286. bind "F1" "GODS1"
  287. bind "F2" "incrementvar sv_showimpacts_penetration 0 2 1"
  288. bind "F3" "toggle sv_grenade_trajectory 0 1"
  289. bind "F4" "incrementvar sv_grenade_trajectory_time 0 20 5"
  290. bind "F5" "toggle cl_weapon_debug_show_accuracy 0 2"
  291. bind "F6" "toggle cl_weapon_debug_show_accuracy_duration 2 10"
  292. bind "F7" "toggle weapon_accuracy_nospread 0 1"
  293. bind "F8" "incrementvar sv_showimpacts_time 0 10 1"
  294. bind "F9" "incrementvar sv_infinite_ammo 0 2 1"
  295. bind "F10" "quit prompt"
  296. bind "F11" "displaydamage"
  297. bind "MOUSE1" "+attack"
  298. bind "MOUSE2" "+attack2"
  299. bind "MOUSE3" "+voicerecord"
  300. bind "MOUSE4" "slot2"
  301. bind "MOUSE5" "slot1"
  302. bind "MWHEELUP" "r_cleardecals"
  303. bind "MWHEELDOWN" "r_cleardecals"
Add Comment
Please, Sign In to add comment