Advertisement
Guest User

Untitled

a guest
Sep 28th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. //[ Binds
  2. bind 1 x_doslot1
  3. bind 2 x_doslot2
  4. bind 3 x_doslot3
  5. bind 4 x_doslot4
  6. bind 5 slot5
  7. bind q x_lastinv
  8. bind mwheelup x_invprev
  9. bind mwheeldown x_invnext
  10. bind mouse1 +x_attack
  11. bind mouse2 +cloak
  12. bind t +f_disg
  13. bind f10 drop_disg
  14. //]
  15.  
  16. //[ Settings
  17. fov_desired 90
  18. viewmodel_fov 99
  19. cl_autoreload 1
  20. //]
  21.  
  22. //[ Null-cancelling movement script
  23. // (prevents you from pressing two opposing directions, which causes you to stop moving)
  24.  
  25. bind w +mfwd
  26. bind s +mback
  27. bind a +mleft
  28. bind d +mright
  29.  
  30. alias +mfwd "-back;+forward;alias checkfwd +forward
  31. alias +mback "-forward;+back;alias checkback +back
  32. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft
  33. alias +mright "-moveleft;+moveright;alias checkright +moveright
  34. alias -mfwd "-forward;checkback;alias checkfwd none
  35. alias -mback "-back;checkfwd;alias checkback none
  36. alias -mleft "-moveleft;checkright;alias checkleft none
  37. alias -mright "-moveright;checkleft;alias checkright none
  38. alias checkfwd none
  39. alias checkback none
  40. alias checkleft none
  41. alias checkright none
  42. alias none ""
  43. //]
  44.  
  45. //[ Mechanics
  46.  
  47. alias +cloak "dotxhaircolor;dotxhairtype;r_drawviewmodel 1; +attack2; spec_prev"
  48. alias -cloak "r_drawviewmodel 1; -attack2"
  49.  
  50. alias +x_attack "vm_state; +attack; spec_next"
  51. alias -x_attack "-attack"
  52.  
  53. alias x_slot1 "dotxhairtype;dotxhaircolor;r_drawviewmodel 1;sensitivity 2.1; alias vm_state vm_state_slot1"
  54. alias x_slot2 "dotxhairtype;dotxhaircolor;sensitivity 3;r_drawviewmodel 1; alias vm_state vm_state_slot2"
  55. alias x_slot3 "sensitivity 3.7;dotxhairtype;dotxhaircolor;m_yaw .0220000000;r_drawviewmodel 1;alias wpn slot3; alias vm_state vm_state_slot3"
  56.  
  57. alias vm_state_slot1 "dotxhairtype;dotxhaircolor;r_drawviewmodel 0"
  58. alias vm_state_slot2 "dotxhaircolor;dotxhairtype;r_drawviewmodel 1;say_team sapping"
  59. alias vm_state_slot3 "dotxhairtype;dotxhaircolor;r_drawviewmodel 1"
  60.  
  61. hud_fastswitch 1
  62.  
  63. alias +x_slot1 alias x_doslot1 "xeq_slot1"
  64. alias xeq_slot1 "x_slot1; eq_slot1"
  65. alias -x_slot1 alias x_doslot1 "slot1"
  66.  
  67. alias +x_slot2 alias x_doslot2 "xeq_slot2"
  68. alias xeq_slot2 "x_slot2; eq_slot2"
  69. alias -x_slot2 alias x_doslot2 "slot2"
  70.  
  71. alias +x_slot3 alias x_doslot3 "xeq_slot3"
  72. alias xeq_slot3 "x_slot3; eq_slot3"
  73. alias -x_slot3 alias x_doslot3 "slot3"
  74.  
  75. alias +x_slot4 alias x_doslot4 "eq_slot4"
  76. alias -x_slot4 alias x_doslot4 "slot4"
  77.  
  78. alias x_lastinv_set
  79.  
  80. alias eq_slot1 "slot1; alias x_invprev x_slot3; alias x_invnext x_slot2; x_lastinv_set; alias x_lastinv_set alias x_lastinv x_slot1; -x_slot1; +x_slot2; +x_slot3; +x_slot4"
  81. alias eq_slot2 "slot2; alias x_invprev x_slot1; alias x_invnext x_slot3; x_lastinv_set; alias x_lastinv_set alias x_lastinv x_slot2; +x_slot1; -x_slot2; +x_slot3; +x_slot4"
  82. alias eq_slot3 "slot3; alias x_invprev x_slot2; alias x_invnext x_slot1; x_lastinv_set; alias x_lastinv_set alias x_lastinv x_slot3; +x_slot1; +x_slot2; -x_slot3; +x_slot4"
  83. alias eq_slot4 "slot4; alias x_invprev x_lastinv; alias x_invnext x_lastinv; +x_slot1; +x_slot2; +x_slot3; -x_slot4"
  84. //]
  85.  
  86. //[ Set default 'Q' action to toggle between slot3 and slot1
  87. eq_slot3
  88. eq_slot1
  89. //]
  90.  
  91. //[ disguises
  92. alias e_scout "disguise 1 -1; play vo\scout_yes01"
  93. alias e_sniper "disguise 2 -1; play vo\sniper_yes03"
  94. alias e_soldier "disguise 3 -1; play vo\soldier_yes04"
  95. alias e_demoman "disguise 4 -1; play vo\demoman_yes01"
  96. alias e_medic "disguise 5 -1; play vo\medic_yes03"
  97. alias e_hwguy "disguise 6 -1; play vo\heavy_yes03"
  98. alias e_pyro "disguise 7 -1; play vo\pyro_moveup01"
  99. alias e_spy "disguise 8 -1; play vo\spy_yes02"
  100. alias e_engineer "disguise 9 -1; play vo\engineer_yes03"
  101.  
  102. alias a_scout "disguise 1 -2; play vo\scout_no02"
  103. alias a_sniper "disguise 2 -2; play vo\sniper_no01"
  104. alias a_soldier "disguise 3 -2; play vo\soldier_no02"
  105. alias a_demoman "disguise 4 -2; play vo\demoman_no03"
  106. alias a_medic "disguise 5 -2; play vo\medic_no01"
  107. alias a_hwguy "disguise 6 -2; play vo\heavy_no03"
  108. alias a_pyro "disguise 7 -2; play vo\pyro_no01"
  109. alias a_spy "disguise 8 -2; play vo\spy_no03"
  110. alias a_engineer "disguise 9 -2; play vo\engineer_no01"
  111.  
  112. alias drop_disg "disguise 8 -2" // instantly removes disguise
  113.  
  114. alias +f_disg "bind f1 a_scout; bind f2 a_soldier; bind f3 a_pyro; bind f4 a_demoman; bind f5 a_hwguy; bind f6 a_engineer; bind f7 a_medic; bind f8 a_sniper; bind f9 a_spy"
  115. alias -f_disg "bind f1 e_scout; bind f2 e_soldier; bind f3 e_pyro; bind f4 e_demoman; bind f5 e_hwguy; bind f6 e_engineer; bind f7 e_medic; bind f8 e_sniper; bind f9 e_spy"
  116.  
  117. -f_disg
  118. //]
  119.  
  120. //[ Ambassador Zoom Script
  121. alias "+sens" "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 54; sensitivity 1.2"
  122. alias "-sens" "fov_desired 90; viewmodel_fov 99; viewmodel_fov_demo 99; sensitivity 2.1"
  123. bind "R" "+sens"
  124. //]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement