Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Left 4 Dead

Reply
 
Thread Tools Display Modes
Old 02-09-2009, 05:03 AM   #1
mystrdat
 
 
 
Join Date: Nov 2008
Reputation: 478
Posts: 3,720
Post [Release] L4D Community Autoexec

L4D Community Autoexec 2.3 "Vague Vomit"



Overview
The community has so far created a lot of handy scripts and variable settings that improve common gameplay in many aspects. I took the liberty of bundling them together and releasing as a preconfigured autoexec. This file is absolutely secure to use and does not produce any side effects apart from those listed here). Feel free to contribute, use and share at your own will. The file will be updated based on patch changes, suggestions and new game features.

*the script is no longer just a community work - most new features are per request and/or have never been introduced before. note that console scripting is highly limited and we cannot perform miracle bugfixes to the game*

Download
[download link #1]

Official Steam Group
http://steamcommunity.com/groups/l4dcommunityautoexec
Feel free to join up if you use/like the script. First hand info about releases available in the group announcements.

Features
mm_dedicated_search_maxping 80
This setting guarantees that as a Lobby Leader, you will not search for any servers above 80ms ping.

cl_timeout 60
A workaround for premature disconnect on server delay bug.

netcode optimizations for a 30 tick experience
The script opens up 30 tick and adequate interpolation values for the most responsive experience possible.

thirdpersonshoulder mode
F9 now toggles thirdpersonshoulder cam, the default offset (in)accuracy has been minimalised so the mode is now usable and actually nice to play in (shotgun sounds are still bugged, we cannot help that one in any way). Mousewheel now enables you to zoom.

scoreboard & net_graph
TAB press now shows your ping, fps and other information along with the standard scoreboard and server information.

incremental 1-key demo recording
Sets F8 as the default key toggle for demo (.dem) recording and stopping in _demo_##.dem incremental naming fashion. Be sure to backup any demos you want to keep as the script will mercilessly overwrite them on game reset (SEADS support in progress).

hd avi demo recording
F7 now works as a non-incremental toggle for Source AVI recording. This recording is capped @ 30fps and a codec can be selected from drop-down menu. You can as well set your game visual settings to maximum, since the recording speed is not influenced. More necessary technical information on codecs and the 4GB limit cap here.

walk & crouch double tap toggles
Default CTRL (crouch) and SHIFT (walk) keys now have toggle functionality too if double tapped fast

autorun toggle
CAPS LOCK has now an autorun functionality to make writing on the move more convenient.

altered glows
Changes the item & character glows to use more logical coloring than the default ones. The colors have been tested with various people and should be well balanced and pleasing to the eye.
More information, screenshots and customizations here.

items & incapped color pulse themes
We have introduced a color & smooth glow pulse theme support. You can select from default Q1, D1 or the game default in feature settings. Color themes are defaulted during demo recording for compatibility reasons.
The script is now able to work with themes created by the FunkeyGlows tool by ElStalky, which is bundled in the script by default. Awesomely easy and practical to use, many thanks to the creator.

!ready !unready 2-tap script
F3 now has a 2-tap !ready !unready feature, which comes in handy for advanced players

server status echo
F4 now opens console and echoes server status and sm plugins list for a convenient check.

Changelog
2.3 "vague vomit" (26/04/09)
- compatible with the Crash Course DLC console var changes
- mm_dedicated_search_maxping 80 reintroduced
- uses a new and cleaner file hierarchy, individual scripts are now called by exec, this makes editing/removing/adding features more convenient and easy for the end-user
- glow scripts have been optimised and are now loaded externally and packed along the FunkeyGlows 2.0 tool by ElStalky - this way you can easily create your own color schemes and use them connected to other script features
- the system of default F# keybinds has been refined with some features added and some removed, in effect leading to a subjectively more logical and functional user environment
- !ready !unready 2-tap script introduced (defaulted on F3)
- server info check script (now at F4) has been refined to show more adequate info
- as valve never fixed the retry command and probably never will, there is no need to keep it along disconnect (as that one is quite handy), disconnect has therefore been reintroduced just as a convenient keybind on F11
- demoui bind on F10
- sm_admin bind on F12
- many syntax changes
Code:
2.2g "shady schnitzel" (26/04/09)
- demos no longer record net_graph commands (net_graph on TAB press disabled during demo recording)
- 30 server tick set default along with 0.067 interpolation value
2.2f "wicked weasel" (26/04/09)
- this release is focused on generalisation & code cleanup as a preparation for further project progress
- fully SP compatible (not like it wasn't before :), but better to say this one straight)
- script now echoes most of it's functions status to console
- netcode tweaks have been optimised accordingly to the current server FPS limitation (still as an optional feature that needs enabling manually)
- server status check does not autoclose after a while anymore as it only brought chaos
- server status check now shows game time
- netgraph defaulted to 3 and it's position reverted back to the former "bottom right" area
- several smaller fixes
- ubuntu style project version naming introduced :)
2.2c (10/03/09)
- bugfix release
- thirdpersonshoulder cam default vars included for reverting any invalid user setting, which resulted in wrong angles and aim
- disconnect/retry F4 functionality has been switched to 1-tap retry / 2-tap disconnect, so retry works well in game menu (retry itself is bugged still though, that's Valve's job to fix)
- net_graph on tab press has been defaulted on 2 and moved to the lower left corner instead of the default position
- color glow theme switching by F11 should not produce any epileptic shock therapy now (glow toggle code optimised)
- mouse invert toggle (F12) moved to optional features
- new feature: F10 now checks the server status, cheats & alltalk in console echo
2.2 (24/02/09)
- mainly a bugfix release
- autorun has been fixed to toggle itself while running forward
- color theme switch, hard theme defaulting fixes
- optional netcode optimization for users with quality connection (find under optional features)
2.1 (20/02/09)
- glows & pulses have been rewritten as fully switchable color themes (Q1/D1/default themes available as of now), you can now select your default theme in script feature settings and switch throught all with F11
- as the pulses were interfering with demo recording and playback, the color theme is now automatically reverted to game default during demo recording and turned back on on record stop so the demo file stays clean of them by itself (you will however still see pulses during demo playback if you have them turned on as the will be rendered realtime)
- your own voice chat is now recorded with demos too, you can turn this off in feature settings
- autorun script has been made more intelligent! if you now run backwards and press the CAPS LOCK toggle, the autorun will run backwards for you
- voice chat toggle added as an optional feature
- various smaller bugs & typos corrected
2.0
- thirdpersonshoulder mode equipped with zoom functionality (mousewheel)
- HD AVI recording toggle (defaulted at F7)
- autorun toggle added (defaulted on CAPS-LOCK) as requested, which can help you write in a rush
- 3-tap difficulty voting (defaulted on F3)
- 2-tap disconnect/retry (defaulted on F4)
- default glows have been highly altered and tested with 12 different people
- glow pulsing functionality smoothed out (toggle readded on F11)
- script cleaned up - binds, setting & features are now set on top
- many kudos and rep to dieckmann215 for the massive coding work
1.9
- color pulse is now used on items as well and the toggle functionality has been removed (was not really of much use)
- this version will stick for a while, as 2.0 should be more feature packed
1.8
- team_desired removed as it's functionality has been found very limited
- my glow default mode changed to a bit enhanced _V TURQ++
- new feature: incapped survivor color pulse, toggled by F7 (on by default)
- cl_timeout set to 60 by default to prevent disconnect on server delay bug
- some typos corrected
1.7
- first very solid release
- recording script redone, now opens and closes the console with an echo (the best way we found so far) and file naming improved again - there is a slight pause (game stun) before the recording anyway, so we used this time to echo the command
- crouch/walk double tap toggles rewritten
- team_desired now added to general settings
1.6
walk and crouch double tap toggle script added to the collection
1.5
F12 bind changed to mouse invert toggle, recording script file naming improved
1.4
F12 openserverbrowser key bind
1.3
thirdpersonshoulder F9 key bind and accuracy fix (as much as possible without an offset)
1.2
- recording script rewritten to flash the crosshair on demo record/stop instead of say_team, initial crosshair variables now have to be set if you use a non-default crosshair
- crosshair flashing has been unproductive due to the Infected crosshair being a texture
1.1
- initial release
Installation
Simply extract the ZIP contents and place everything as is in your /cfg folder
(default C:\Program Files (x86)\Steam\steamapps\common\left 4 dead\left4dead\cfg). This autoexec.cfg file is now automatically executed when you start Left 4 Dead.

If you already have an autoexec.cfg with some personal settings, you can simply update your existing one with the contents of this bundle.

Authors & Contributors
myself (project guru)
dieckmann215 (coding guru)
eram
linfosoma
nova.
fakyio
deathbybeef
downtown1
bi0_gauss
xclusionnl
furyo
pikmario
ELStalky
madhatter
t3a1c
kattle87
charax
hVn (testing)
porn king (testing)
phynexis (testing)
shedim (testing)
and others...

-----

*Thank you for suggestions and keeping the thread on subject.

-----

My Essential Console Commands thread.
My Essential Crashing Solutions thread.
My Essential Spray Guide thread.
...

Last edited by mystrdat: 05-19-2010 at 02:07 AM. Reason: 2.3 vague vomit
mystrdat is offline  
Reply With Quote
Old 02-09-2009, 05:08 AM   #2
securityMan
 
Banned
Join Date: Feb 2009
Reputation: 7
Posts: 238
what does incremental 1-key demo recording do?
securityMan is offline   Reply With Quote
Old 02-09-2009, 05:10 AM   #3
mystrdat
 
 
 
Join Date: Nov 2008
Reputation: 478
Posts: 3,720
Quote:
Originally Posted by securityMan View Post
what does incremental 1-key demo recording do?
It binds F8 to both demo recording and stopping, making it a toggle and utilizes A-Z incremental demo naming. Very handy.
mystrdat is offline   Reply With Quote
Old 02-09-2009, 05:22 AM   #4
Coolyou
 
 
 
Join Date: Mar 2008
Reputation: 92
Posts: 1,719
What does my glow do?
Coolyou is offline   Reply With Quote
Old 02-09-2009, 05:24 AM   #5
mystrdat
 
 
 
Join Date: Nov 2008
Reputation: 478
Posts: 3,720
Quote:
Originally Posted by dieckmann215 View Post
What does my glow do?
Sorry, was still updating the OP with features, you can find it there now.
mystrdat is offline   Reply With Quote
Old 02-09-2009, 05:26 AM   #6
Coolyou
 
 
 
Join Date: Mar 2008
Reputation: 92
Posts: 1,719
Quote:
Originally Posted by mystrdat View Post
Sorry, was still updating the OP with features, you can find it there now.
Ok, nice. I like this.

But is it really necessary to tell your team when you're recording? I don't see the point to that...

EDIT: That glow does make sense. All items are red, ghosts re white-ish, vomit is purple.
However, I would recommend making a difference between item outlines at different distances.

And why is all that glow stuff commented out at the end with no value?

Last edited by Coolyou: 02-09-2009 at 05:31 AM.
Coolyou is offline   Reply With Quote
Old 02-09-2009, 05:29 AM   #7
mystrdat
 
 
 
Join Date: Nov 2008
Reputation: 478
Posts: 3,720
Quote:
Originally Posted by dieckmann215 View Post
Ok, nice. I like this.

But is it really necessary to tell your team when you're recording? I don't see the point to that...
It ain't, but the only other way to know if you have just started recording or stopped it is through console echo, which you can't view directly without opening the console.

I found the say_team more practical, but you can of course edit the script to your liking.
mystrdat is offline   Reply With Quote
Old 02-09-2009, 05:33 AM   #8
Coolyou
 
 
 
Join Date: Mar 2008
Reputation: 92
Posts: 1,719
Quote:
Originally Posted by mystrdat View Post
It ain't, but the only other way to know if you have just started recording or stopped it is through console echo, which you can't view directly without opening the console.

I found the say_team more practical, but you can of course edit the script to your liking.
Ok. I think there is some sort of code like "developer 1", where putting that before an echo command makes it display also in the upper-left corner. Try it out.
And the say_team could always be replaced by some arbitrarty voice clip.
Coolyou is offline   Reply With Quote
Old 02-09-2009, 05:40 AM   #9
Ebay
 
Join Date: Oct 2007
Reputation: 87
Posts: 2,000
Screenshots?(For the glow) and thanks for the formatting on the first post.
Ebay is offline   Reply With Quote
Old 02-09-2009, 05:40 AM   #10
mystrdat
 
 
 
Join Date: Nov 2008
Reputation: 478
Posts: 3,720
Quote:
Originally Posted by dieckmann215 View Post
Ok. I think there is some sort of code like "developer 1", where putting that before an echo command makes it display also in the upper-left corner. Try it out.
And the say_team could always be replaced by some arbitrarty voice clip.
Other way of knowing you record would be as well to color the crosshair red and revert it to default on record stop

Anyway I tried to look for a command that would print out some visible info only to the client outside of console, but was unsuccesful. Can't find that "developer 1" cvar anywhere - could you provide more info on how it works?
mystrdat is offline   Reply With Quote
Old 02-09-2009, 05:42 AM   #11
mystrdat
 
 
 
Join Date: Nov 2008
Reputation: 478
Posts: 3,720
Quote:
Originally Posted by Ebay View Post
Screenshots?(For the glow) and thanks for the formatting on the first post.
My Glow was made by fakyio, he's got a thread on the whole thing here, there are some screens too.
mystrdat is offline   Reply With Quote
Old 02-09-2009, 05:52 AM   #12
Coolyou
 
 
 
Join Date: Mar 2008
Reputation: 92
Posts: 1,719
Forgot to give rep and rate, here you go!

I would recommend for recording, make the crosshairs flash green twice when you start and purple (not red to eliminate confusion) twice when you stop.
Coolyou is offline   Reply With Quote
Old 02-09-2009, 05:56 AM   #13
wuped
 
Join Date: Dec 2005
Reputation: 158
Posts: 2,350
Lol mystrdat that's a babies autoexec! Heres some useful scripts:
Heres a script I made that reloads shotguns automatically after every shot, works like a charm:
alias +shtrld "+attack"
alias -shtrld "-attack;wait 10;+reload;wait 15;-reload"
alias shtrldon "bind mouse1 +shtrld;bind . shtrldoff;echo shotgun"
alias shtrldoff "bind mouse1 +attack;bind . shtrldon;echo notshotgun"
shtrldon
bind . shtrldoff

Heres one I grabbed off fpsbana for rapid fire(I use it cause can't fire pistols good with shotgun on also usefull for spawning in tricky places as boomer):

Bind "capslock" "+1"
alias "+1" "alias 3 +2; +2"
alias "+2" "+attack; wait 2; -2"
alias "-2" "-attack; wait 2; 3"
alias "3" "+2"
alias "-1" "alias 3 -attack"
bind "MWHEELDOWN" "invnext"
bind "MWHEELUP" "invprev"


And I guess I might as well link demo record script I use as I like it more but it's to long to post: http://pastebin.com/m21610ba
I have some more but none of them really useful.

Last edited by wuped: 02-09-2009 at 06:00 AM.
wuped is offline   Reply With Quote
Old 02-09-2009, 05:59 AM   #14
Coolyou
 
 
 
Join Date: Mar 2008
Reputation: 92
Posts: 1,719
Quote:
Originally Posted by wuped View Post
Lol mystrdat that's a babies autoexec! Heres some useful scripts:
Heres a script I made that reloads shotguns automatically after every shot, works like a charm:
Heres one I grabbed off fpsbana for rapid fire(I use it cause can't fire pistols good with shotgun on also usefull for spawning in tricky places as boomer):

And I guess I might as well link demo record script I use as I like it more but it's to long to post: http://pastebin.com/m21610ba
I don't think he intended for this autoexec to be for stuff like auto-reloading and rapid-fire, I think he intended for it to be more like just some preferences.
Correct me if I'm wrong.

Anyone know the commands for crosshair colors so I can make the demo recording make them flash?
Coolyou is offline   Reply With Quote
Old 02-09-2009, 05:59 AM   #15
mystrdat
 
 
 
Join Date: Nov 2008
Reputation: 478
Posts: 3,720
Quote:
Originally Posted by dieckmann215 View Post
EDIT: That glow does make sense. All items are red, ghosts re white-ish, vomit is purple.
However, I would recommend making a difference between item outlines at different distances.

And why is all that glow stuff commented out at the end with no value?
Yeah, it's very handy.

The commented out vars were included that way by fakyio so his script has all the possible variables ready to be edited at any time. I'll delete them to keep the file smaller, thanks.

Good idea for the distance outline difference, I suggest you post in this thread for it to be changed universally.

I wanted to simply bundle existing useful scripts and let the original authors make changes and adjustments on their own.
mystrdat is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Left 4 Dead


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 11:17 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.