Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.91 KB | None | 0 0
  1. // Written By Whirlingdervish[Q2C] - edited by Jehar
  2. //NOTE: MOST BINDS ARE LEFT BLANK BY DEFAULT, fill them in with your preference.
  3. //EXAMPLE: bind <key> "+forward", just add your preferred key between the word bind and the action. ie turn bind "+forward" into bind w "+forward"
  4. //Mouse keys are: mouse1 (lb), mouse2 (rb), mouse3 (wheel click), mwheelup (wheel up), mwheeldown (wheel down), and mouse# for extra mouse buttons.
  5.  
  6. unbindall
  7.  
  8. set name "{X}Er!c@"
  9.  
  10. // ---player movement binds---
  11.  
  12. bind e "+forward"
  13. bind d "+back"
  14. bind s "+moveleft"
  15. bind f "+moveright"
  16.  
  17. //duck
  18. bind a "+movedown"
  19.  
  20. //run-walk
  21. bind shift "+speed"
  22.  
  23. //fire
  24. bind mouse1 "+attack"
  25.  
  26. //jump
  27. bind mouse2 "+moveup"
  28.  
  29. //doublejump
  30. alias w8 "wait; wait; wait; wait"
  31. alias +dj "+moveup; w8; -moveup; w8; +moveup"
  32. alias -dj "-moveup"
  33. bind "+dj"
  34.  
  35. //inventory
  36. bind tab "inven"
  37. bind enter "invuse"
  38. bind [ "invprev"
  39. bind ] "invnext"
  40. bind backspace "invdrop"
  41.  
  42. // ---use specific item binds---
  43. bind "bfg"
  44. bind v"blast"
  45. bind c"shot"
  46. bind mwheelup "ssg"
  47. bind h "mac"
  48. bind mwheeldown "chain"
  49. bind r "nadel"
  50. bind mouse4 "rl"
  51. bind r "hyper"
  52. bind mouse5 "rg"
  53. bind g "nade"
  54.  
  55. alias blast "use blaster"
  56. alias shot "use shotgun"
  57. alias ssg "use super shotgun"
  58. alias mac "use machinegun"
  59. alias chain "use chaingun"
  60. alias nadel "use grenade launcher"
  61. alias rl "use rocket launcher"
  62. alias hyper "use hyperblaster"
  63. alias rg "use railgun"
  64. alias bfg "use bfg10k"
  65. alias nade "use grenades"
  66.  
  67. bind "use rebreather; use environment suit"
  68. bind "use invulnerability"
  69. bind "use quad damage"
  70. bind "use power shield; use power screen"
  71.  
  72. // ---favorite weapon binds - rightmost weapon on the bind takes priority---
  73. alias bulletweps "mac; hyper; chain"
  74. bind "bulletweps"
  75. bind "shot; ssg"
  76. bind "rg"
  77. bind "bfg; nadel; rl"
  78.  
  79. // ---weapon scrolling binds---
  80. bind q "weapnext"
  81. bind w "weapprev"
  82.  
  83. // ---menu toggles---
  84. bind ESCAPE "togglemenu"
  85. bind ` "toggleconsole"
  86. bind ~ "toggleconsole"
  87.  
  88. // ---scoreboard---
  89. bind x "score"
  90.  
  91. // ---screensize binds---
  92. bind - "sizedown"
  93. bind + "sizeup"
  94. bind = "sizeup"
  95.  
  96. // ---look related binds---
  97. bind "+klook"
  98. bind "+lookdown"
  99. bind "+lookup"
  100. bind "centerview"
  101.  
  102. // ---chat binds---
  103. bind space "say :D"
  104. bind "say LOL"
  105. bind "say I'm Hit!"
  106. bind "say Argh!"
  107. bind "say Nice Shootin!"
  108. bind "say Thx"
  109. // ---team chat and public chat, respectively---
  110. bind y "messagemode2"
  111. bind t "messagemode"
  112. bind capslock "say_team I'm @ << $loc_here >> with %h and %a !"
  113. bind shift "say_team ENEMY @ [$loc_there$]"
  114. bind 1 "drop chaingun;drop bullets;say_team Chaingun @ [$loc_here]"
  115. bind 2 "drop supershotgun;drop shells;say_team "SSG @ [$loc_here]"
  116. bind 3 "drop rocketlauncher;drop rockets;say_team RocketLauncher @ [$loc_here]"
  117. bind 4 "drop railgun;drop slugs;say_team RailGun @ [$loc_here]"
  118.  
  119. // ---menu binds---
  120.  
  121. "cmd help"
  122. bind F2 "menu_savegame"
  123. alias rup "ready; bind f3 urup"
  124. alias urup "unready; bind f3 rup"
  125. bind F3 rup
  126. bind F4 "menu_keys"
  127. bind F12 "screenshot"
  128. bind PAUSE "pause"
  129.  
  130. // ---Demo Recording---
  131. alias startdemo "record ${$time}-${$date}-${$mapname};bind F5 stopdemo"
  132. alias stopdemo "stop;bind F5 startdemo"
  133. bind F5 "startdemo"
  134.  
  135. //Toggle forced models
  136. set cl_noskins "0"
  137.  
  138. // ---asynchronous FPS toggle---
  139. set cl_async "0"
  140.  
  141. // ---mouse direct input accel fix---
  142. set m_directinput "0"
  143. set m_accel "0"
  144.  
  145. // ---v-sync---
  146. set gl_swapinterval "0"
  147.  
  148. // ---renderer configs and video settings---
  149. set gl_ext_pointparameters "0"
  150. set gl_ext_multitexture "1"
  151. set gl_vertex_arrays "0"
  152. set gl_texturesolidmode "default"
  153. set gl_texturealphamode "default"
  154. set gl_texturemode "GL_LINEAR_MIPMAP_NEAREST"
  155. set gl_polyblend "0"
  156. set gl_flashblend "0"
  157. set gl_shadows "2"
  158. set gl_particle_att_c "0.01"
  159. set gl_particle_att_b "0.0"
  160. set gl_particle_att_a "0.01"
  161. set gl_replacemd2 "0"
  162. set gl_replacepcx "1"
  163. set gl_replacewal "1"
  164. set gl_particle_size "1"
  165. set gl_particle_max_size "1"
  166. set gl_particle_min_size "1"
  167. set gl_ext_palettedtexture "0"
  168. set gl_driver "opengl32"
  169. set sw_stipplealpha "0"
  170. set vid_ypos "0"
  171. set vid_xpos "0"
  172. set gl_flush "0"
  173. set viewsize "100"
  174. set rate "25000"
  175.  
  176. //---brightness settings---
  177. set vid_gamma ".5"
  178. set gl_modulate "3"
  179. set intensity "2"
  180. set gl_dynamic "0"
  181. set gl_gammapics "0"
  182. //---gun model display---
  183. set cl_gun 2
  184.  
  185. //--resolution---
  186. set gl_mode "4"
  187. set vid_fullscreen "0"
  188.  
  189. // ---skin/name/handedness/sensitivity and other settings---
  190. set gender_auto "1"
  191. set gender "female"
  192. set skin "male/athena"
  193.  
  194. set lookstrafe "0"
  195. set lookspring "1"
  196.  
  197. set cl_run "1"
  198. set in_joystick "0"
  199. set in_mouse "1"
  200. set freelook "1"
  201. set win_noalttab "0"
  202.  
  203. // -- 0=righty 1=lefty--
  204. set hand "2"
  205.  
  206. // ---mouse sensitivity---
  207. set sensitivity "3"
  208.  
  209. //---crosshair - use values 1-12 for crosshair image---
  210. set crosshair "1"
  211. set ch_alpha "1"
  212. set ch_scale "1"
  213. set ch_red "255"
  214. set ch_blue "255"
  215. set ch_green "255"
  216.  
  217. set netgraph "1"
  218.  
  219. set bob_pitch "0"
  220. set bob_roll "0"
  221. set bob_up "0"
  222. set run_pitch "0"
  223. set run_roll "0"
  224.  
  225. set cl_smoothsteps "3"
  226. set cl_footsteps "1"
  227.  
  228. //---maxfps---
  229. set cl_maxfps "90"
  230. set cl_maxpackets "90"
  231.  
  232. set gl_finish "0"
  233.  
  234. // ---sound control configs---
  235.  
  236. set cl_stereo_separation "0.4"
  237. set cd_nocd "0"
  238. set s_initsound "1"
  239. //LINUX USERS UNCOMMENT BELOW LINES
  240. //set s_initsound "2"
  241. //set s_openal_driver "libopenal.so"
  242. set s_primary "0"
  243. set s_mixahead "0.2"
  244. set s_loadas8bit "0"
  245. set s_khz "44"
  246. set s_openal_rollofffactor "5"
  247.  
  248. // ---server connect/download settings---
  249.  
  250. set sv_reconnect_limit "3"
  251. set allow_download_maps "1"
  252. set allow_download_sounds "1"
  253. set allow_download_models "1"
  254. set allow_download_players "0"
  255. set allow_download "1"
  256. set hostname "wd"
  257.  
  258.  
  259. // ---commented out level testing binds---
  260. //bind . "kill"
  261. //bind , "noclip"
  262. //bind m "give all"
  263. //bind / "r_speeds 1"
  264.  
  265.  
  266. // ---gl_modulate toggle for super dark maps---
  267.  
  268. alias brighten "set gl_modulate 10; bind m darken"
  269. alias darken "set gl_modulate 2; bind m brighten"
  270.  
  271. bind darken
  272. bind vid_restart
  273.  
  274. // --sky toggle---
  275.  
  276. alias sky1 "sky carnival; bind f8 sky0"
  277. alias sky0 "sky black; bind f8 sky1"
  278.  
  279. bind sky1
  280.  
  281. // ---in-game volume change binds---
  282. bind "vup"
  283. bind "vdn"
  284.  
  285. alias vup vol_01
  286. alias vdn vol_00
  287. alias vol_00 "set s_volume 0.0;alias vup vol_01;alias vdn vol_00;echo VOLUME |---------- 0"
  288. alias vol_01 "set s_volume 0.1;alias vup vol_02;alias vdn vol_00;echo VOLUME -|--------- 1"
  289. alias vol_02 "set s_volume 0.2;alias vup vol_03;alias vdn vol_01;echo VOLUME --|-------- 2"
  290. alias vol_03 "set s_volume 0.3;alias vup vol_04;alias vdn vol_02;echo VOLUME ---|------- 3"
  291. alias vol_04 "set s_volume 0.4;alias vup vol_05;alias vdn vol_03;echo VOLUME ----|------ 4"
  292. alias vol_05 "set s_volume 0.5;alias vup vol_06;alias vdn vol_04;echo VOLUME -----|----- 5"
  293. alias vol_06 "set s_volume 0.6;alias vup vol_07;alias vdn vol_05;echo VOLUME ------|---- 6"
  294. alias vol_07 "set s_volume 0.7;alias vup vol_08;alias vdn vol_06;echo VOLUME -------|--- 7"
  295. alias vol_08 "set s_volume 0.8;alias vup vol_09;alias vdn vol_07;echo VOLUME --------|-- 8"
  296. alias vol_09 "set s_volume 0.9;alias vup vol_10;alias vdn vol_08;echo VOLUME ---------|- 9"
  297. alias vol_10 "set s_volume 1.0;alias vup vol_10;alias vdn vol_09;echo VOLUME ----------| 10"
  298.  
  299.  
  300. // in-game config status verification
  301.  
  302. alias showvol "echo VOLUME = $s_volume"
  303. alias showglmod "echo GL_MODULATE = $gl_modulate"
  304. alias showvsync "echo V-SYNC = $gl_swapinterval"
  305.  
  306. alias showstatus "showvsync;showvol;showglmod;name"
  307.  
  308. bind "showstatus"
  309.  
  310. alias time1 " bind t timescale 0.1"
  311. alias time2 "bind y timescale 1"
  312. alias time3 "bind u timescale 10"
  313. alias timestuff "time1; time2; time3"
  314. alias reg1 "bind u say Thx"
  315. alias reg2 "bind t messagemode2"
  316. alias reg3 "bind y messagemode"
  317. alias regstuff "reg1; reg2; reg3"
  318.  
  319. alias regmode "regstuff; bind f11 directormode; echo =regular mode="
  320. alias directormode "timestuff; bind f11 regmode; echo =director mode="
  321.  
  322. bind "directormode"
  323.  
  324. alias color1 "gl_coloredlightmaps 0; gl_modulate 20; vid_restart; bind numlock color2"
  325. alias color2 "gl_coloredlightmaps 0.5: gl_modulate 15; vid_restart; bind numlock color3"
  326. alias color3 "gl_coloredlightmaps 1: gl_modulate 10; vid_restart; bind numlock color1"
  327.  
  328. bind color1
  329.  
  330. //OPTIONAL SCRIPTS
  331.  
  332. // ---ZoomTool---
  333.  
  334. set zoomfov "30"
  335. set zoomsens ".5"
  336. alias +zoom "set storesen $sensitivity;set storefov $fov;set sensitivity $zoomsens;set fov $zoomfov"
  337. alias -zoom "set sensitivity $storesen;set fov $storefov"
  338. bind mouse3 "+zoom"
  339.  
  340. // ---Weapon/Item Drop and Request Aliases - only needed for those playing serious tdm---
  341. alias m1 "play misc/menu1"
  342. alias m2 "play misc/menu2"
  343.  
  344. alias x1 "drop Rocket Launcher"
  345. alias x2 "drop Railgun"
  346. alias x3 "drop Super Shotgun;drop Shotgun"
  347. alias x4 "drop Chaingun;drop HyperBlaster;drop MachineGun"
  348.  
  349. alias a1 "drop Rockets"
  350. alias a2 "drop Slugs"
  351. alias a3 "drop Shells"
  352. alias a4 "drop Bullets;drop Cells"
  353.  
  354. alias droprl "say_team �ˆŸ � DROPPED RL < $loc_here >;x1;a1"
  355. alias droprg "say_team �ˆŸ � DROPPED RG < $loc_here >;x2;a2"
  356. alias dropsgs "say_team �ˆŸ � DROPPED SSG/SG < $loc_here >;x3;a3"
  357. alias dropsprayweps "say_team �ˆŸ � DROPPED CG/MG/HB < $loc_here >;x4;a4"
  358.  
  359. alias reqrl "say_team �‰Ÿ NEED RL/AMMO < $loc_here >"
  360. alias reqrg "say_team �‰Ÿ NEED RG/AMMO < $loc_here >"
  361. alias reqsgs "say_team �‰Ÿ NEED SSG/SG/AMMO < $loc_here >"
  362. alias reqsprayweps "say_team �‰Ÿ NEED CG or HB/AMMO < $loc_here >"
  363.  
  364. alias w1 "droprl ;m1"
  365. alias w2 "droprg ;m1"
  366. alias w3 "dropsgs ;m1"
  367. alias w4 "dropsprayweps ;m1"
  368.  
  369. alias r1 "reqrl ;m2"
  370. alias r2 "reqrg ;m2"
  371. alias r3 "reqsgs ;m2"
  372. alias r4 "reqsprayweps ;m2"
  373.  
  374. alias temp1 "bind RIGHTARROW w4;bind DOWNARROW w2"
  375. alias temp2 "bind LEFTARROW w3;bind UPARROW w1"
  376.  
  377. alias temp3 "bind RIGHTARROW r4;bind DOWNARROW r2"
  378. alias temp4 "bind LEFTARROW r3;bind UPARROW r1"
  379.  
  380. alias changetodrops "temp1; temp2; droptoggle2"
  381. alias changetoreq "temp3; temp4; droptoggle1"
  382.  
  383. alias droptoggle1 "bind kp_enter changetodrops"
  384. alias droptoggle2 "bind kp_enter changetoreq"
  385.  
  386. bind kp_enter changetoreq
  387.  
  388. bind r4
  389. bind r2
  390. bind r3
  391. bind r1
  392.  
  393. // ---Status/Team Communication Binds---
  394. alias teamokay "say_team �ˆŸ AFF/SAFE < $loc_here >"
  395. alias teamneg "say_team �ˆŸ NEGATIVE < $loc_here >"
  396. alias teamstatus "say_team �ˆŸ < $loc_here > [%h]-[%a]"
  397.  
  398. alias teamnmy "say_team �‹Ÿ ENEMY < $loc_there >"
  399. alias teamhelp "say_team �‹Ÿ HELP/2+ NMY < $loc_there >"
  400. alias teambehind "say_team �‹Ÿ ENEMY BEHIND! < $loc_there >"
  401.  
  402. alias teamforward "say_team �‡Ÿ PRESS FORWARD! < $loc_there >"
  403. alias teamback "say_team �‡Ÿ FALL BACK! < $loc_here >"
  404. alias teamhold "say_team �‡Ÿ HOLD THIS POSITION! < $loc_here >"
  405.  
  406. bind teamstatus
  407. bind teamokay
  408. bind teamneg
  409. bind teamnmy
  410. bind teamhelp
  411. bind teambehind
  412. bind teamforward
  413. bind teamback
  414. bind teamhold
  415.  
  416. // ---config loading verification---
  417. bind f6 "cfg_save autoexec; echo CONFIG SAVED"
  418. echo ...............
  419. echo :CONFIG LOADED:
  420. echo :.............:
  421.  
  422. exec address.cfg
  423.  
  424. //EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement