Advertisement
Guest User

Untitled

a guest
Feb 16th, 2012
1,237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.75 KB | None | 0 0
  1. // Optimized L4D2 Autoexec by Dots v1.6.8
  2. // --- Possible Launch Options ---
  3. // (Performance) -heapsize 1572864 -high -refresh 60 -noforcemaccel -noforcemparms -noipx
  4.  
  5. -nojoy
  6. // (Utility and Preference): -novid -lv
  7. // (Cvars) +sb_all_bot_team 1 +allow_all_bot_survivor_team 1
  8. // (Hax) +mat_hdr_level 0
  9.  
  10.  
  11. // Optimized General Settings
  12. cl_showfps 1
  13. rcon_password "yourpass" // Set RCON Password
  14. sv_cheats "1" // Cheats to change some settings
  15. con_enable "1" // Enable console
  16. sv_allow_lobby_connect_only "0" // Allow server hosting without lobby
  17. sv_lan "0" // Allow server hosting outside of lan
  18. crosshair "1" // Crosshair on
  19. rate "30000" // Rate settings
  20. cl_updaterate "101" // Rate settings
  21. cl_cmdrate "101" // Rate settings
  22. cl_interp "0.00" // Interpolation
  23. cl_interp_ratio "0" // Interpolation Ratio
  24. cl_lagcompensation 1 // Lag compensation
  25. cl_resend "1.5" // Resend connection to server in seconds
  26. cl_timeout "20" // Time until server timeout
  27. cl_allowdownload "1" // Allow downloads from server
  28. cl_downloadfilter "nosounds" // Filter for downloads from a server
  29. cl_forcepreload "1" // Preload entire map into cache before starting
  30. cl_viewmodelfovsurvivor "65" // Survivor/Infected field of view
  31. cl_crosshair_dynamic "0" // Static crosshair
  32. cl_crosshair_alpha "175" // Crosshair transparency
  33. cl_crosshair_red "160" // Crosshair red value
  34. cl_crosshair_green "255" // Crosshair green value
  35. cl_crosshair_blue "26" // Crosshair blue value
  36. cl_crosshair_thickness "2" // Crosshair thickness
  37. cl_observercrosshair "1" // Crosshair during spectate
  38. r_eyemove "0" // Remove eye movements
  39. r_eyesize "0" // Remove eye movements
  40. r_eyeshift_z "0" // Remove eye movements
  41. r_eyeshift_y "0" // Remove eye movements
  42. r_eyeshift_x "0" // Remove eye movements
  43. mat_grain_scale_override "0" // Film grain effect
  44. dsp_slow_cpu 0 // Enhanced audio
  45. dsp_enhance_stereo "1" // Enhanced audio
  46. spec_allowroaming "1" // Allow spectator free roam
  47. func_break_max_pieces "0" // Breakable gibs limit
  48. mat_monitorgamma_tv_enabled "1.6" // Brightness
  49. mm_dedicated_search_maxping "100" // Lobby search for 100 ping or less servers
  50. mm_dedicated_force_servers "" // Set default server to connect to from lobby
  51. net_graphpos "1" // Netgraph positioning on screen
  52. net_graphheight "600" // Height of netgraph, resolution minus 30
  53. net_graphproportionalfont "5" // Smaller font for netgraph
  54.  
  55.  
  56. // Optimized glow colors
  57. cl_glow_infected_r "0.20" // Survivor: Survivor through walls (Light Blue)
  58. cl_glow_infected_g "0.40"
  59. cl_glow_infected_b "1.00"
  60. cl_glow_item_far_r "1.00" // Survivor: Items at a distance (Yellow)
  61. cl_glow_item_far_g "1.00"
  62. cl_glow_item_far_b "0.00"
  63. cl_glow_infected_r "0.20" // Infected: Spawned Infected (Light Blue)
  64. cl_glow_infected_g "0.40"
  65. cl_glow_infected_b "1.00"
  66. cl_glow_ghost_infected_r "1.00" // Infected: Unspawned Infected (White)
  67. cl_glow_ghost_infected_g "1.00"
  68. cl_glow_ghost_infected_b "1.00"
  69.  
  70.  
  71. // Generic Key Binds
  72. bind "p" "motd"
  73. bind "v" "vocalize_force PlayerDeath"
  74.  
  75. // Confogl Ready Up Script
  76. // Tap once for !ready, double-tap for !unready
  77. bind "F3" "r1"
  78. alias r2 "alias r1 r3; alias r4 r6; wait 30; r4"
  79. alias r3 "alias r4 ; r5"
  80. alias r6 "say !ready; play level/scoreregular; alias r1 r2"
  81. alias r5 "say !unready; play level/scoreregular; alias r1 r2"
  82. alias r1 "r2"
  83.  
  84.  
  85. // Confogl Pause Script
  86. // Tap once for !pause, double-tap for !unpause
  87. bind "F4" "p1"
  88. alias p2 "alias p1 p3; alias p4 p6; wait 30; p4"
  89. alias p3 "alias p4 ; p5"
  90. alias p6 "say !pause; play ui/beepclear; alias p1 p2"
  91. alias p5 "say !unpause; play ui/beepclear; alias p1 p2"
  92. alias p1 "p2"
  93.  
  94.  
  95.  
  96. // Closed Caption Toggle Script
  97. // Tap to turn on, tap again to turn off
  98. bind "F6" togglecc
  99. alias toggleccon "closecaption 1; alias togglecc toggleccoff; play ui/helpful_event_1; echo [Autoexec
  100.  
  101. Command]: Closed Caption On"
  102. alias toggleccoff "closecaption 0; alias togglecc toggleccon; play
  103.  
  104. ambient/atmosphere/arena_lights_off_05; echo [Autoexec Command]: Closed Caption Off"
  105. alias togglecc "toggleccon"
  106.  
  107.  
  108. // Lagscript
  109. // 1 Lagthread to lag the server
  110. // 3 Lagthreads for 10 seconds to fall through elevators
  111. // 3-7 Lagthreads continious to crash the server
  112. bind "F9" "lag; play ui/beep07; echo [Autoexec Command]: 1 Lagthread Introduced to Server"
  113. bind "F10" "lag2; play player/survivor/voice/coach/friendlyfire05; echo [Autoexec Command]:
  114.  
  115. Lagthreads Released; wait 2; lag3"
  116. alias lag lag4
  117. alias lag2 "alias lag"
  118. alias lag3 "alias lag lag4"
  119. alias lag4 "groundlist; wait 1; lag"
  120.  
  121.  
  122. // Disconnect
  123. // Disconnects from server to menu on press
  124. bind "F11" "disconnect; echo [Autoexec Command]: Hard Disconnect from Server; wait 20; play
  125.  
  126. player/survivor/voice/coach/closethedoorquiet03"
  127.  
  128.  
  129. // Confogl WarpToSurvivor
  130. // Nick/Bill = 1, Rochelle/Zoey = 2, Coach/Louis = 3, Ellis/Francis = 4
  131. bind "UPARROW" "sm_warptosurvivor 1; echo [Autoexec Command]: Warping to Nick/Bill"
  132. bind "DOWNARROW" "sm_warptosurvivor 2; echo [Autoexec Command]: Warping to Rochelle/Zoey"
  133. bind "LEFTARROW" "sm_warptosurvivor 3; echo [Autoexec Command]: Warping to Coach/Louis"
  134. bind "RIGHTARROW" "sm_warptosurvivor 4; echo [Autoexec Command]: Warping to Ellis/Francis"
  135.  
  136.  
  137. // Flashlight Spam Script
  138. // Tap once to turn on normally, double-tap to autospam, tap again to turn off autospam
  139. bind "f" "+flashspam"
  140. alias "+fs1" "alias fs3 +fs2; +fs2"
  141. alias "+fs2" "impulse 100; wait; -fs2"
  142. alias "-fs2" "impulse 100; wait; fs3"
  143. alias "fs3" "+fs2"
  144. alias "-fs1" "alias fs3 impulse 100"
  145. alias "+flashspam" "impulse 100; -fs1"
  146. alias "-flashspam" "flashspam2"
  147. alias "flashspam2" "alias -flashspam +fs1; wait 20; alias -flashspam flashspam2"
  148.  
  149.  
  150. // Netgraph Scoreboard
  151. // Displays net_graph with the scoreboard
  152. bind "TAB" +ngscore
  153. alias +ngscore "+showscores; net_graph 1"
  154. alias -ngscore "-showscores; net_graph 0"
  155.  
  156.  
  157. // Lerp Incrementing
  158. // Increments every press until it reaches the end, then starts over
  159. bind "kp_plus" "toggle cl_interp 0 0.010 0.0167 0.020 0.033 0.040 0.067 0.1; play ui/buttonrollover"
  160.  
  161.  
  162. // Music Mute/Unmute
  163. // Toggles between 85% and 0% volume
  164. bind "kp_minus" "incrementvar snd_musicvolume 0 .85 .85; play ui/buttonrollover"
  165.  
  166.  
  167. // Null Movement Script
  168. // Prevents stopping when pressing opposing directions
  169. bind "w" +mfwd
  170. bind "s" +mback
  171. bind "a" +mleft
  172. bind "d" +mright
  173. alias +mfwd "-back;+forward;alias checkfwd +forward"
  174. alias +mback "-forward;+back;alias checkback +back"
  175. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  176. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  177. alias -mfwd "-forward;checkback;alias checkfwd none"
  178. alias -mback "-back;checkfwd;alias checkback none"
  179. alias -mleft "-moveleft;checkright;alias checkleft none"
  180. alias -mright "-moveright;checkleft;alias checkright none"
  181. alias checkfwd none
  182. alias checkback none
  183. alias checkleft none
  184. alias checkright none
  185. alias none ""
  186.  
  187.  
  188. // Cheats Off and Clear Screen
  189. sv_cheats "0"
  190. clear
  191.  
  192.  
  193. // Information Printed to Console for Reference
  194.  
  195. echo "=| |="
  196. echo "=| Autoexec.cfg has been successfully loaded! |="
  197. echo "=| |="
  198. echo "=| F3 = (Confogl) Ready/Unready |="
  199. echo "=| F4 = (Confogl) Pause/Unpause |="
  200. echo "=| F5 = Incremental Demo Record |="
  201. echo "=| F6 = Closed Caption On/Off |="
  202. echo "=| F7 = Force Dedicated Server: Default |="
  203. echo "=| F8 = Force Dedicated Server: YourServer |="
  204. echo "=| F9 = Send a Lagthread to Server |="
  205. echo "=| F10 = Release Lagthreads from Server |="
  206. echo "=| F11 = Disconnect |="
  207. echo "=| |="
  208. echo "=| Up Arrow = (Confogl) Warp to Nick/Bill |="
  209. echo "=| Down Arrow = (Confogl) Warp to Rochelle/Zoey |="
  210. echo "=| Left Arrow = (Confogl) Warp to Coach/Louis |="
  211. echo "=| Right Arrow = (Confogl) Warp to Ellis/Francis |="
  212. echo "=| |="
  213. echo "=| z = Special Infected Spawn Timer |="
  214. echo "=| / = Special Infected Kick Script |="
  215. echo "=| \ = Thirdperson On/Off |="
  216. echo "=| Backspace = Suicide |="
  217. echo "=| Numpad0 = Spawn Timer Switch (1v1/2v2/3v3/4v4) |="
  218. echo "=| Numpad1 = Falcon Punch Haymaker On/Off |="
  219. echo "=| Numpad2 = 100ms Longarm On/Off (Confogl) |="
  220. echo "=| Numpad3 = 500ms Longarm On/Off (Vanilla) |="
  221. echo "=| Numpad4 = Join Survivor Team |="
  222. echo "=| Numpad5 = (Confogl) Display Healthbonus |="
  223. echo "=| Numpad6 = Join Infected Team |="
  224. echo "=| Numpad7 = Director On |="
  225. echo "=| Numpad8 = Director On (No Special Infected) |="
  226. echo "=| Numpad9 = Director Off |="
  227. echo "=| Numpad- = Set Lerp (0,10,16.7,20,33,40,67,100) |="
  228. echo "=| Numpad+ = Mute/Unmute Game Music |="
  229. echo "=| Mouse4 = Haymaker/Pre-Punch Charge |="
  230. echo "=| Mouse5 = Noclip |="
  231. echo "=| |="
  232. echo "=| o Video, audio, and network optimized |="
  233. echo "=| o Survivor/Infected Glows optimized |="
  234. echo "=| o Generic binds rebound for purity |="
  235. echo "=| o Lerp fixed at 16.7ms |="
  236. echo "=| o Incremental Lerp Changing |="
  237. echo "=| o Static crosshair |="
  238. echo "=| o Scoreboard includes net_graph 1 |="
  239. echo "=| o Double-tap switch teams key for spectator |="
  240. echo "=| o Null-Movement script |="
  241. echo "=| o Automatic Pistol Script |="
  242. echo "=| o Automatic Reload Script |="
  243. echo "=| o Flashlight spam script |="
  244. echo "=| o Console messages for most everything |="
  245. echo "=| |="
  246. echo
  247.  
  248. "===============================================================
  249.  
  250. ="
  251. echo ""
  252. echo ""
  253.  
  254. exec hldj_init.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement