Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Optimized L4D2 Autoexec by Dots v1.6.8
- // --- Possible Launch Options ---
- // (Performance) -heapsize 1572864 -high -refresh 60 -noforcemaccel -noforcemparms -noipx
- -nojoy
- // (Utility and Preference): -novid -lv
- // (Cvars) +sb_all_bot_team 1 +allow_all_bot_survivor_team 1
- // (Hax) +mat_hdr_level 0
- // Optimized General Settings
- cl_showfps 1
- rcon_password "yourpass" // Set RCON Password
- sv_cheats "1" // Cheats to change some settings
- con_enable "1" // Enable console
- sv_allow_lobby_connect_only "0" // Allow server hosting without lobby
- sv_lan "0" // Allow server hosting outside of lan
- crosshair "1" // Crosshair on
- rate "30000" // Rate settings
- cl_updaterate "101" // Rate settings
- cl_cmdrate "101" // Rate settings
- cl_interp "0.00" // Interpolation
- cl_interp_ratio "0" // Interpolation Ratio
- cl_lagcompensation 1 // Lag compensation
- cl_resend "1.5" // Resend connection to server in seconds
- cl_timeout "20" // Time until server timeout
- cl_allowdownload "1" // Allow downloads from server
- cl_downloadfilter "nosounds" // Filter for downloads from a server
- cl_forcepreload "1" // Preload entire map into cache before starting
- cl_viewmodelfovsurvivor "65" // Survivor/Infected field of view
- cl_crosshair_dynamic "0" // Static crosshair
- cl_crosshair_alpha "175" // Crosshair transparency
- cl_crosshair_red "160" // Crosshair red value
- cl_crosshair_green "255" // Crosshair green value
- cl_crosshair_blue "26" // Crosshair blue value
- cl_crosshair_thickness "2" // Crosshair thickness
- cl_observercrosshair "1" // Crosshair during spectate
- r_eyemove "0" // Remove eye movements
- r_eyesize "0" // Remove eye movements
- r_eyeshift_z "0" // Remove eye movements
- r_eyeshift_y "0" // Remove eye movements
- r_eyeshift_x "0" // Remove eye movements
- mat_grain_scale_override "0" // Film grain effect
- dsp_slow_cpu 0 // Enhanced audio
- dsp_enhance_stereo "1" // Enhanced audio
- spec_allowroaming "1" // Allow spectator free roam
- func_break_max_pieces "0" // Breakable gibs limit
- mat_monitorgamma_tv_enabled "1.6" // Brightness
- mm_dedicated_search_maxping "100" // Lobby search for 100 ping or less servers
- mm_dedicated_force_servers "" // Set default server to connect to from lobby
- net_graphpos "1" // Netgraph positioning on screen
- net_graphheight "600" // Height of netgraph, resolution minus 30
- net_graphproportionalfont "5" // Smaller font for netgraph
- // Optimized glow colors
- cl_glow_infected_r "0.20" // Survivor: Survivor through walls (Light Blue)
- cl_glow_infected_g "0.40"
- cl_glow_infected_b "1.00"
- cl_glow_item_far_r "1.00" // Survivor: Items at a distance (Yellow)
- cl_glow_item_far_g "1.00"
- cl_glow_item_far_b "0.00"
- cl_glow_infected_r "0.20" // Infected: Spawned Infected (Light Blue)
- cl_glow_infected_g "0.40"
- cl_glow_infected_b "1.00"
- cl_glow_ghost_infected_r "1.00" // Infected: Unspawned Infected (White)
- cl_glow_ghost_infected_g "1.00"
- cl_glow_ghost_infected_b "1.00"
- // Generic Key Binds
- bind "p" "motd"
- bind "v" "vocalize_force PlayerDeath"
- // Confogl Ready Up Script
- // Tap once for !ready, double-tap for !unready
- bind "F3" "r1"
- alias r2 "alias r1 r3; alias r4 r6; wait 30; r4"
- alias r3 "alias r4 ; r5"
- alias r6 "say !ready; play level/scoreregular; alias r1 r2"
- alias r5 "say !unready; play level/scoreregular; alias r1 r2"
- alias r1 "r2"
- // Confogl Pause Script
- // Tap once for !pause, double-tap for !unpause
- bind "F4" "p1"
- alias p2 "alias p1 p3; alias p4 p6; wait 30; p4"
- alias p3 "alias p4 ; p5"
- alias p6 "say !pause; play ui/beepclear; alias p1 p2"
- alias p5 "say !unpause; play ui/beepclear; alias p1 p2"
- alias p1 "p2"
- // Closed Caption Toggle Script
- // Tap to turn on, tap again to turn off
- bind "F6" togglecc
- alias toggleccon "closecaption 1; alias togglecc toggleccoff; play ui/helpful_event_1; echo [Autoexec
- Command]: Closed Caption On"
- alias toggleccoff "closecaption 0; alias togglecc toggleccon; play
- ambient/atmosphere/arena_lights_off_05; echo [Autoexec Command]: Closed Caption Off"
- alias togglecc "toggleccon"
- // Lagscript
- // 1 Lagthread to lag the server
- // 3 Lagthreads for 10 seconds to fall through elevators
- // 3-7 Lagthreads continious to crash the server
- bind "F9" "lag; play ui/beep07; echo [Autoexec Command]: 1 Lagthread Introduced to Server"
- bind "F10" "lag2; play player/survivor/voice/coach/friendlyfire05; echo [Autoexec Command]:
- Lagthreads Released; wait 2; lag3"
- alias lag lag4
- alias lag2 "alias lag"
- alias lag3 "alias lag lag4"
- alias lag4 "groundlist; wait 1; lag"
- // Disconnect
- // Disconnects from server to menu on press
- bind "F11" "disconnect; echo [Autoexec Command]: Hard Disconnect from Server; wait 20; play
- player/survivor/voice/coach/closethedoorquiet03"
- // Confogl WarpToSurvivor
- // Nick/Bill = 1, Rochelle/Zoey = 2, Coach/Louis = 3, Ellis/Francis = 4
- bind "UPARROW" "sm_warptosurvivor 1; echo [Autoexec Command]: Warping to Nick/Bill"
- bind "DOWNARROW" "sm_warptosurvivor 2; echo [Autoexec Command]: Warping to Rochelle/Zoey"
- bind "LEFTARROW" "sm_warptosurvivor 3; echo [Autoexec Command]: Warping to Coach/Louis"
- bind "RIGHTARROW" "sm_warptosurvivor 4; echo [Autoexec Command]: Warping to Ellis/Francis"
- // Flashlight Spam Script
- // Tap once to turn on normally, double-tap to autospam, tap again to turn off autospam
- bind "f" "+flashspam"
- alias "+fs1" "alias fs3 +fs2; +fs2"
- alias "+fs2" "impulse 100; wait; -fs2"
- alias "-fs2" "impulse 100; wait; fs3"
- alias "fs3" "+fs2"
- alias "-fs1" "alias fs3 impulse 100"
- alias "+flashspam" "impulse 100; -fs1"
- alias "-flashspam" "flashspam2"
- alias "flashspam2" "alias -flashspam +fs1; wait 20; alias -flashspam flashspam2"
- // Netgraph Scoreboard
- // Displays net_graph with the scoreboard
- bind "TAB" +ngscore
- alias +ngscore "+showscores; net_graph 1"
- alias -ngscore "-showscores; net_graph 0"
- // Lerp Incrementing
- // Increments every press until it reaches the end, then starts over
- bind "kp_plus" "toggle cl_interp 0 0.010 0.0167 0.020 0.033 0.040 0.067 0.1; play ui/buttonrollover"
- // Music Mute/Unmute
- // Toggles between 85% and 0% volume
- bind "kp_minus" "incrementvar snd_musicvolume 0 .85 .85; play ui/buttonrollover"
- // Null Movement Script
- // Prevents stopping when pressing opposing directions
- bind "w" +mfwd
- bind "s" +mback
- bind "a" +mleft
- bind "d" +mright
- alias +mfwd "-back;+forward;alias checkfwd +forward"
- alias +mback "-forward;+back;alias checkback +back"
- alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
- alias +mright "-moveleft;+moveright;alias checkright +moveright"
- alias -mfwd "-forward;checkback;alias checkfwd none"
- alias -mback "-back;checkfwd;alias checkback none"
- alias -mleft "-moveleft;checkright;alias checkleft none"
- alias -mright "-moveright;checkleft;alias checkright none"
- alias checkfwd none
- alias checkback none
- alias checkleft none
- alias checkright none
- alias none ""
- // Cheats Off and Clear Screen
- sv_cheats "0"
- clear
- // Information Printed to Console for Reference
- echo "=| |="
- echo "=| Autoexec.cfg has been successfully loaded! |="
- echo "=| |="
- echo "=| F3 = (Confogl) Ready/Unready |="
- echo "=| F4 = (Confogl) Pause/Unpause |="
- echo "=| F5 = Incremental Demo Record |="
- echo "=| F6 = Closed Caption On/Off |="
- echo "=| F7 = Force Dedicated Server: Default |="
- echo "=| F8 = Force Dedicated Server: YourServer |="
- echo "=| F9 = Send a Lagthread to Server |="
- echo "=| F10 = Release Lagthreads from Server |="
- echo "=| F11 = Disconnect |="
- echo "=| |="
- echo "=| Up Arrow = (Confogl) Warp to Nick/Bill |="
- echo "=| Down Arrow = (Confogl) Warp to Rochelle/Zoey |="
- echo "=| Left Arrow = (Confogl) Warp to Coach/Louis |="
- echo "=| Right Arrow = (Confogl) Warp to Ellis/Francis |="
- echo "=| |="
- echo "=| z = Special Infected Spawn Timer |="
- echo "=| / = Special Infected Kick Script |="
- echo "=| \ = Thirdperson On/Off |="
- echo "=| Backspace = Suicide |="
- echo "=| Numpad0 = Spawn Timer Switch (1v1/2v2/3v3/4v4) |="
- echo "=| Numpad1 = Falcon Punch Haymaker On/Off |="
- echo "=| Numpad2 = 100ms Longarm On/Off (Confogl) |="
- echo "=| Numpad3 = 500ms Longarm On/Off (Vanilla) |="
- echo "=| Numpad4 = Join Survivor Team |="
- echo "=| Numpad5 = (Confogl) Display Healthbonus |="
- echo "=| Numpad6 = Join Infected Team |="
- echo "=| Numpad7 = Director On |="
- echo "=| Numpad8 = Director On (No Special Infected) |="
- echo "=| Numpad9 = Director Off |="
- echo "=| Numpad- = Set Lerp (0,10,16.7,20,33,40,67,100) |="
- echo "=| Numpad+ = Mute/Unmute Game Music |="
- echo "=| Mouse4 = Haymaker/Pre-Punch Charge |="
- echo "=| Mouse5 = Noclip |="
- echo "=| |="
- echo "=| o Video, audio, and network optimized |="
- echo "=| o Survivor/Infected Glows optimized |="
- echo "=| o Generic binds rebound for purity |="
- echo "=| o Lerp fixed at 16.7ms |="
- echo "=| o Incremental Lerp Changing |="
- echo "=| o Static crosshair |="
- echo "=| o Scoreboard includes net_graph 1 |="
- echo "=| o Double-tap switch teams key for spectator |="
- echo "=| o Null-Movement script |="
- echo "=| o Automatic Pistol Script |="
- echo "=| o Automatic Reload Script |="
- echo "=| o Flashlight spam script |="
- echo "=| o Console messages for most everything |="
- echo "=| |="
- echo
- "===============================================================
- ="
- echo ""
- echo ""
- exec hldj_init.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement