home *** CD-ROM | disk | FTP | other *** search
/ Toolkit for Quake 2 / Q2TOOL_0498.bin / console / nukescriptv15.zip / Sniper.wa < prev   
Text File  |  1998-01-26  |  5KB  |  174 lines

  1. // Quake 2 Sniper Configuration Script
  2. // ===================================
  3.  
  4. echo SNIPER MODE 
  5.  
  6. // Bindings
  7. // --------
  8.  
  9. unbindall
  10.  
  11. // Special Keys
  12. bind escape togglemenu
  13. bind pause pause
  14. bind ` toggleconsole
  15. bind - sizedown
  16. bind = sizeup
  17. bind tab "cmd help"
  18.  
  19. // Function Keys
  20. bind f1 "cmd help"
  21. bind f2 menu_savegame
  22. bind f3 menu_loadgame
  23. bind f4 menu_keys
  24. bind f5 menu_startserver
  25. bind f6 "echo quick saving...; wait; save quick"
  26. bind f7 menu_playerconfig
  27. bind f8 menu_addressbook
  28. bind f9 "echo quick loading...; wait; load quick"
  29. bind f10 menu_quit
  30. bind f11 menu_credits
  31. bind f12 screenshot
  32.  
  33. // Weapon Keys
  34. bind 1 "use blaster"
  35. bind 2 "use shotgun"
  36. bind 3 "use super shotgun"
  37. bind 4 "use machinegun"
  38. bind 5 "use chaingun"
  39. bind 6 "use grenade launcher"
  40. bind 7 "use rocket launcher"
  41. bind 8 "use hyperblaster"
  42. bind 9 "use railgun"
  43. bind 0 "use bfg10k"
  44.  
  45. // Movement Keys
  46. bind e +forward
  47. bind s +moveleft
  48. bind d +back
  49. bind f +moveright
  50. bind alt crouch
  51. bind space +moveup
  52.  
  53. //Advertise Key - If you're in 1st place and you want everyone to know why! :)
  54. bind p say Just another efficient killer using Nukelear Script. Get armed at ftp.cdrom.com
  55.  
  56. // Quick Keys
  57. bind q "use rocket launcher"
  58. bind w "use hyperblaster"
  59. bind r "use railgun"
  60. bind t "use bfg10k"
  61. bind a gunner
  62. bind g +rj
  63. bind z "flashlight_on"
  64. bind x use hook
  65. bind c cmd flagstat
  66. bind v cmd id
  67. bind b message_switch
  68. bind shift run
  69. bind ctrl +zoom
  70. bind pgup zoomc
  71.  
  72. //Item Keys
  73. bind y "use invulnerability"
  74. bind u "use quad damage"
  75. bind i "use silencer"
  76. bind o "use rebreather"
  77.  
  78. // Inventory Keys
  79. bind [ invprev
  80. bind ] invnext
  81. bind \ inven
  82. bind ' invdrop
  83. bind enter invuse
  84.  
  85. // Wave Keys
  86. bind h "wave 0"
  87. bind j "wave 1"
  88. bind k "wave 2"
  89. bind l "wave 3"
  90. bind semicolon "wave 4"
  91.  
  92. // Message Keys
  93. bind n messagemode
  94. bind m messagemode2
  95.  
  96. // Mouse Buttons
  97. bind mouse1 +attack
  98. bind mouse2 qw
  99. bind mouse3 gunner
  100.  
  101. // Aliases
  102. // -------
  103.  
  104. // Quick Weapon
  105. alias qw "set qw_msg $msg;msg 3;qw1;qw2;set msg $qw_msg;echo Sniper Change"
  106. alias qw1 "wait;use blaster;wait;use grenade launcher;wait;use shotgun;wait;use super shotgun;wait;use machinegun;"
  107. alias qw2 "wait;use rocket launcher;wait;use bfg10k;wait;use chaingun;wait;use hyperblaster;wait;use railgun;"
  108.  
  109. // Rocket Jump
  110. alias +rj "wait;+lookdown;wait;-lookdown;hand 2;+moveup;+attack;echo Rocket Jump"
  111. alias -rj "-attack;-moveup;hand 2;centerview"
  112.  
  113. // Quick Zoom
  114. alias +zoom "fov 10;m_pitch 0.003;m_yaw 0.003"
  115. alias -zoom "fov 90;m_pitch 0.022;m_yaw 0.022"
  116.  
  117. // Flashlight
  118. alias flashlight_on "cl_testlights 1;bind z flashlight_off"
  119. alias flashlight_off "cl_testlights 0;bind z flashlight_on"
  120.  
  121. // Run/Walk
  122. alias run run_on
  123. alias run_on "cl_run 1;alias run run_off"
  124. alias run_off "cl_run 0;alias run run_on"
  125.  
  126. // Hold Crouch
  127. alias crouch +crouch
  128. alias +crouch "alias crouch -crouch;+movedown"
  129. alias -crouch "alias crouch +crouch;-movedown"
  130.  
  131. // Zoom cycling
  132. alias zoomc "zoomx1"
  133. alias zoomx1 "fov 46;m_pitch 0.015;m_yaw 0.015;echo Zoom Factor =x1=;set crosshair 1;alias zoomc zoomx2"
  134. alias zoomx2 "fov 24;m_pitch 0.010;m_yaw 0.010;echo Zoom Factor =x2=;set crosshair 1;alias zoomc zoomx3"
  135. alias zoomx3 "fov 8;m_pitch 0.005;m_yaw 0.005;echo Zoom Factor =x3=;set crosshair 1;alias zoomc zoomx0"
  136. alias zoomx0 "fov 90;m_pitch 0.022;m_yaw 0.022;echo Zoom =Off=;set crosshair 1;alias zoomc zoomx1"
  137.  
  138. //Message Alias
  139. alias originalkeys "echo Original F key functions;bind f1 xf1;bind f2 xf2;bind f3 xf3;bind f4 xf4;bind f5 xf5;originalkeys2"
  140. alias originalkeys2 "bind f6 xf6;bind f9 xf9;bind f10 xf10;bind f11 xf11;bind f12 xf12"
  141. alias messagekeys "echo Message F key functions;bind f1 msg1;bind f2 msg2;bind f3 msg3;bind f4 msg4;bind f5 msg5;messagekeys2"
  142. alias messagekeys2 "bind f6 msg6;bind f7 msg7;bind f8 msg8;bind f9 msg9;bind f10 msg10;bind f11 msg11;bind f12 msg12"
  143.  
  144. alias xF1 "cmd help"
  145. alias xF2 "menu_savegame"alias xF3 "menu_loadgame"
  146. alias xF4 "menu_keys"
  147. alias xF5 "menu_startserver"
  148. alias xF6 "echo Quick Saving...; wait; save quick"
  149. alias xF9 "echo Quick Loading...; wait; load quick"
  150. alias xF10 "menu_quit"
  151. alias xF12 "screenshot"
  152.  
  153. alias msg1 "say_team INCOMING!!!"
  154. alias msg2 "say_team I'm going after the flag, cover me."
  155. alias msg3 "say_team I've got your back"
  156. alias msg4 "say_team Get our flag back!"
  157. alias msg5 "say_team BASE OVERRUN!!!"
  158. alias msg6 "say_team Base secure!"
  159. alias msg7 "say_team I'm on offense!"
  160. alias msg8 "say_team I'm on defense!"
  161. alias msg9 "say_team NEED HELP ON DEFENSE!"
  162. alias msg10 "say_team What is status of base?"
  163. alias msg11 "say_team If you need ammo, jump by our flag."
  164. alias msg12 "say_team Dropping weapons by our flag."
  165.  
  166. alias switch0 "originalkeys;alias message_switch switch1"
  167. alias switch1 "messagekeys;alias message_switch switch0"
  168. switch0 // change this to 'switch1' for the alias to call the message F key bindings by default.
  169.  
  170.  
  171. // DualScript Changer
  172. alias gunner "exec main.wa"
  173.  
  174. // EOF