Advertisement
t3h_m00kz

CONFIG - Quake 4

Feb 23rd, 2022 (edited)
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. com_fixedTic -1
  2. //
  3. ///////////////////////////////
  4. //// File: Weapons
  5. //// Game: Quake IV
  6. ////
  7. //// Version: 0.60 Beta
  8. //// Date: 03/20/06
  9. //// By: Nologic
  10. ///////////////////////////////
  11. //
  12. //
  13. ///////////////////////////////
  14. //// Required Default Values
  15. ///////////////////////////////
  16. //set wg1_a "_impulse2"
  17. //set wg2_a "_impulse3"
  18. //set wg3_a "_impulse7"
  19. //set wg4_a "_impulse6"
  20. //set wg5_a "_impulse8"
  21. //
  22. ///////////////////////////////
  23. //// Recall
  24. ///////////////////////////////
  25. //set wg1r "set wg1_a $wg1_m"
  26. //set wg2r "set wg2_a $wg2_m"
  27. //set wg3r "set wg3_a $wg3_m"
  28. //set wg4r "set wg4_a $wg4_m"
  29. //set wg5r "set wg5_a $wg5_m"
  30. //
  31. ///////////////////////////////
  32. //// Memory
  33. ///////////////////////////////
  34. //set wg0m "vstr wg1r; vstr wg2r; vstr wg3r; vstr wg4r; vstr wg5r"
  35. //set wg1m "set wg1_m $wg1_a; vstr wg2r; vstr wg3r; vstr wg4r; vstr wg5r"
  36. //set wg2m "set wg2_m $wg2_a; vstr wg1r; vstr wg3r; vstr wg4r; vstr wg5r"
  37. //set wg3m "set wg3_m $wg3_a; vstr wg1r; vstr wg2r; vstr wg4r; vstr wg5r"
  38. //set wg4m "set wg4_m $wg4_a; vstr wg1r; vstr wg2r; vstr wg3r; vstr wg5r"
  39. //set wg5m "set wg5_m $wg5_a; vstr wg1r; vstr wg2r; vstr wg3r; vstr wg4r"
  40. //
  41. ///////////////////////////////
  42. //// Weapon Groups
  43. ///////////////////////////////
  44. //set wg1 "toggle wg1_a _impulse0 _impulse2; doImpulse $wg1_a; wait 1" //SG saw
  45. //set wg2 "toggle wg2_a _impulse5 _impulse3; doImpulse $wg2_a; wait 1" //HB nail
  46. //set wg3 "toggle wg3_a _impulse1 _impulse7; doImpulse $wg3_a; wait 1" //MG rail
  47. //set wg4 "toggle wg4_a _impulse4 _impulse6; doImpulse $wg4_a; wait 1" //grenade rocket
  48. //set wg5 "toggle wg5_a _impulse9 _impulse8; doImpulse $wg5_a; wait 1" //ligthning matter
  49. //
  50. //bindings
  51. //
  52. //bind MOUSE3 "vstr wg4m; vstr wg4; vstr wg4; vstr wg4"
  53. //bind MOUSE4 "vstr wg5m; vstr wg5; vstr wg5; vstr wg5"
  54. //bind MOUSE5 "vstr wg1m; vstr wg1; vstr wg1; vstr wg1"
  55. //bind MWHEELUP "vstr wg3m; vstr wg3; vstr wg3; vstr wg3"
  56. //bind MWHEELDOWN "vstr wg2m; vstr wg2; vstr wg2; vstr wg2"
  57. //bind 1 "vstr wg0m; doImpulse _impulse0"
  58.  
  59. com_fixedTic -1
  60.  
  61. /////////
  62. //WAITS//
  63. /////////
  64. set "w1" "wait 1"
  65. set "w2" "vstr w1; vstr w1"
  66. set "w3" "vstr w2; vstr w1"
  67. set "w4" "vstr w3; vstr w1"
  68. set "w5" "vstr w4; vstr w1"
  69. set "w6" "vstr w5; vstr w1"
  70. set "w7" "vstr w6; vstr w1"
  71. set "w8" "vstr w7; vstr w1"
  72. set "w9" "vstr w8; vstr w1"
  73. set "w10" "vstr w9; vstr w1"
  74. set "w15" "vstr w10; vstr w5"
  75. set "w20" "vstr w10; vstr w10"
  76. set "w25" "vstr w20; vstr w5"
  77. set "w50" "vstr w25; vstr w25"
  78.  
  79. ///////////
  80. //WEAPONS//
  81. ///////////
  82. set BL "doImpulse _impulse0; "
  83. set MG "doImpulse _impulse1; "
  84. set SG "doImpulse _impulse2; "
  85. set HB "doImpulse _impulse3; "
  86. set GL "doImpulse _impulse4; "
  87. set NG "doImpulse _impulse5; "
  88. set RL "doImpulse _impulse6; "
  89. set RG "doImpulse _impulse7; "
  90. set LG "doImpulse _impulse8; "
  91. set DM "doImpulse _impulse9; "
  92. set NP "doImpulse _impulse10; "
  93.  
  94. set Wep_Clos vstr Wep_Clos1
  95. set Wep_Proj vstr Wep_Proj1
  96. set Wep_Expl vstr Wep_Expl1
  97. set Wep_Rang vstr Wep_Rang1
  98. set Wep_Heav vstr Wep_Heav1
  99.  
  100. set resetWep_Clos "set Wep_Proj vstr Wep_Proj1; set Wep_Expl vstr Wep_Expl1; set Wep_Rang vstr Wep_Rang1; set Wep_Heav vstr Wep_Heav1; "
  101. set resetWep_Proj "set Wep_Clos vstr Wep_Clos1; set Wep_Expl vstr Wep_Expl1; set Wep_Rang vstr Wep_Rang1; set Wep_Heav vstr Wep_Heav1; "
  102. set resetWep_Expl "set Wep_Clos vstr Wep_Clos1; set Wep_Proj vstr Wep_Proj1; set Wep_Rang vstr Wep_Rang1; set Wep_Heav vstr Wep_Heav1; "
  103. set resetWep_Rang "set Wep_Clos vstr Wep_Clos1; set Wep_Proj vstr Wep_Proj1; set Wep_Expl vstr Wep_Expl1; set Wep_Heav vstr Wep_Heav1; "
  104. set resetWep_Heav "set Wep_Clos vstr Wep_Clos1; set Wep_Proj vstr Wep_Proj1; set Wep_Expl vstr Wep_Expl1; set Wep_Rang vstr Wep_Rang1; "
  105.  
  106. set Wep_Clos1 "vstr zoom0; vstr resetWep_Clos; set Wep_Clos vstr Wep_Clos2; vstr SG; wait 1"
  107. set Wep_Clos2 "vstr zoom0; vstr resetWep_Clos; set Wep_Clos vstr Wep_Clos1; vstr MG; wait 1"
  108. set Wep_Proj1 "vstr zoom0; vstr resetWep_Proj; set Wep_Proj vstr Wep_Proj2; vstr HB; wait 1"
  109. set Wep_Proj2 "vstr zoom0; vstr resetWep_Proj; set Wep_Proj vstr Wep_Proj1; vstr NG; wait 1"
  110. set Wep_Expl1 "vstr zoom0; vstr resetWep_Expl; set Wep_Expl vstr Wep_Expl2; vstr RL; wait 1"
  111. set Wep_Expl2 "vstr zoom0; vstr resetWep_Expl; set Wep_Expl vstr Wep_Expl1; vstr GL; wait 1"
  112. set Wep_Rang1 "vstr zoom0; vstr resetWep_Rang; set Wep_Rang vstr Wep_Rang2; vstr RG; wait 1"
  113. set Wep_Rang2 "vstr zoom0; vstr resetWep_Rang; set Wep_Rang vstr Wep_Rang1; vstr BL; wait 1"
  114. set Wep_Heav1 "vstr zoom0; vstr resetWep_Heav; set Wep_Heav vstr Wep_Heav2; vstr LG; wait 1"
  115. set Wep_Heav2 "vstr zoom0; vstr resetWep_Heav; set Wep_Heav vstr Wep_Heav1; vstr DM; wait 1"
  116.  
  117. unbind MOUSE1
  118. bind MOUSE1 "_attack"
  119.  
  120. unbind MOUSE2
  121. //bind MOUSE2 "_zoom"
  122. bind MOUSE2 "vstr toggleZoom"
  123.  
  124. unbind MOUSE3
  125. bind MOUSE3 "vstr Wep_Expl; vstr Wep_Expl; vstr Wep_Expl; "
  126.  
  127. unbind MOUSE4
  128. bind MOUSE4 "vstr Wep_Heav; vstr Wep_Heav; vstr Wep_Heav; "
  129.  
  130. unbind MOUSE5
  131. bind MOUSE5 "vstr Wep_Clos; vstr Wep_Clos; vstr Wep_Clos; "
  132.  
  133. unbind MWHEELUP
  134. bind MWHEELUP "vstr Wep_Rang; vstr Wep_Rang; vstr Wep_Rang; "
  135.  
  136. unbind MWHEELDOWN
  137. bind MWHEELDOWN "vstr Wep_Proj; vstr Wep_Proj; vstr Wep_Proj; "
  138.  
  139. unbind end
  140. bind end kill
  141. unbind del
  142.  
  143. bind del clear
  144.  
  145. unbind home
  146. bind home exec m00kz.cfg
  147.  
  148. unbind r
  149. bind r "vstr zoom0; doImpulse _impulse13"
  150.  
  151. unbind v
  152. //bind v "vstr zoom1"
  153.  
  154. //////////
  155. ///ZOOM///
  156. //////////
  157.  
  158. //Zoom states
  159. set zoom0 "ui_showGun 1; set toggleZoom vstr toggleZoom1; g_fov 120; sensitivity 2.1;"
  160. set zoom1 "ui_showGun 0; set toggleZoom vstr toggleZoom0; g_fov 80; sensitivity 1.4;"
  161.  
  162. //Toggle zoom
  163. set toggleZoom vstr toggleZoom1;
  164. set toggleZoom1 vstr zoom1;
  165. set toggleZoom0 vstr zoom0;
  166.  
  167. ///////
  168. //END//
  169. ///////
  170.  
  171. //clear;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement