My autoexec.cfg file

According to a very informative post (I have not verified this), the custom vpk and autoexec files I provide here do NOT work. The method however DOES work. So if I could get a few more people to try this, I would like people to follow the steps I provide WITHOUT using my stuff. If I get some time later I'll try and update the vpk files and see if that makes them work again.

Backed by popular demand (well, one guy requested it :P), here is my personal autoexec.cfg file. It works well with my custom radial menu, so if you are using that, I recommend using this as well.

I do NOT recommend just copying this file. Make sure that all the binds are setup for keys that you want. As it is right now, I have 1,2,3,z,x all bound as radial menus for vocalize commands that all survivors can use. I also have CTRL,ALT,c,v,g,t bound as radial menus for specific players. Also, h is used to switch between players (so when you are Coach, you want Coach's radial menus to be bound to CTRL,ALT,c,v,g,t and when you are Ellis you want his radial menus to be on CTRL,ALT,c,v,g,t and not Coach's). Just hit h (or whatever key you change that to) and it will output onto your screen what player your binds are set as.

autoexec.cfg (found in C:\Program Files (x86)\Steam\steamapps\common\left 4 dead 2\left4dead2\cfg)

      
cl_showfps 1

alias +menuCoach "+mouse_menu coach1"
alias +menuCoach2 "+mouse_menu coach2"
alias +menuCoach3 "+mouse_menu coach3"
alias +menuCoach4 "+mouse_menu coach4"
alias +menuCoach5 "+mouse_menu coach5"
alias +menuCoach6 "+mouse_menu coach6"
alias +menuGambler "+mouse_menu gambler1"
alias +menuGambler2 "+mouse_menu gambler2"
alias +menuGambler3 "+mouse_menu gambler3"
alias +menuGambler4 "+mouse_menu gambler4"
alias +menuGambler5 "+mouse_menu gambler5"
alias +menuGambler6 "+mouse_menu gambler6"
alias +menuMechanic "+mouse_menu mechanic1"
alias +menuMechanic2 "+mouse_menu mechanic2"
alias +menuMechanic3 "+mouse_menu mechanic3"
alias +menuMechanic4 "+mouse_menu mechanic4"
alias +menuMechanic5 "+mouse_menu mechanic5"
alias +menuMechanic6 "+mouse_menu mechanic6"
alias +menuProducer "+mouse_menu producer1"
alias +menuProducer2 "+mouse_menu producer2"
alias +menuProducer3 "+mouse_menu producer3"
alias +menuProducer4 "+mouse_menu producer4"
alias +menuProducer5 "+mouse_menu producer5"
alias +menuProducer6 "+mouse_menu producer6"

alias +mouseMenu1 +menuCoach
alias -mouseMenu1 "-mouse_menu"
alias +mouseMenu2 +menuCoach2
alias -mouseMenu2 "-mouse_menu"
alias +mouseMenu3 +menuCoach3
alias -mouseMenu3 "-mouse_menu"
alias +mouseMenu4 +menuCoach4
alias -mouseMenu4 "-mouse_menu"
alias +mouseMenu5 +menuCoach5
alias -mouseMenu5 "-mouse_menu"
alias +mouseMenu6 +menuCoach6
alias -mouseMenu6 "-mouse_menu"

bind c +mouseMenu1
bind "CTRL" +mouseMenu2
bind "ALT" +mouseMenu3
bind v +mouseMenu4
bind g +mouseMenu5
bind t +mouseMenu6
bind "1" "+mouse_menu all1"
bind "2" "+mouse_menu all2"
bind "3" "+mouse_menu all3"
bind "z" "+mouse_menu all4"
bind "x" "+mouse_menu all5"

alias coach "say coach; alias +mouseMenu1 +menuCoach; alias +mouseMenu2 +menuCoach2; alias +mouseMenu3 +menuCoach3; alias +mouseMenu4 +menuCoach4; alias +mouseMenu5 +menuCoach5; alias +mouseMenu6 +menuCoach6; alias togglePlayer mechanic"
alias mechanic "say ellis; alias +mouseMenu1 +menuMechanic; alias +mouseMenu2 +menuMechanic2; alias +mouseMenu3 +menuMechanic3; alias +mouseMenu4 +menuMechanic4; alias +mouseMenu5 +menuMechanic5; alias +mouseMenu6 +menuMechanic6; alias togglePlayer producer"
alias producer "say rochelle; alias +mouseMenu1 +menuProducer; alias +mouseMenu2 +menuProducer2; alias +mouseMenu3 +menuProducer3; alias +mouseMenu4 +menuProducer4; alias +mouseMenu5 +menuProducer5; alias +mouseMenu6 +menuProducer6; alias togglePlayer gambler"
alias gambler "say nick; alias +mouseMenu1 +menuGambler; alias +mouseMenu2 +menuGambler2; alias +mouseMenu3 +menuGambler3; alias +mouseMenu4 +menuGambler4; alias +mouseMenu5 +menuGambler5; alias +mouseMenu6 +menuGambler6; alias togglePlayer coach"

alias togglePlayer coach

bind h togglePlayer
bind 7 coach
bind 8 mechanic
bind 9 gambler
bind 0 producer



      
   

Binds...

bind c +mouseMenu1
bind "CTRL" +mouseMenu2
bind "ALT" +mouseMenu3
bind v +mouseMenu4
bind g +mouseMenu5
bind t +mouseMenu6

there not working ?

Not working for me either.

There binds are not working for me either. They used to but they seemed to have stopped...any suggestions? i put the vpk in addons and the autoexec in cfg.

Hey thanks for the voice

Hey thanks for the voice commands and all...I have a question, is there a way to change the way you toggle between characters in game? without having to say each name? I just don't like it when I'm in game and i have to press h to get to the right character, people that I'm playing with think I'm calling them...lol. Thnx again!!!

You can change the parts that

You can change the parts that are like "say [character name]" to "echo [character name]"; that will output the current character into console instead of chat.

So for example, "say coach" would become "echo coach"

Then just look in console to make sure you are on the right character

Another Problem

Whenever I use the autoexe.cfg it unbinds my melee attack. I have my melee attack bound to mouse2 and even with the command at the end of all the radials it doesnt work. I rebound 1 2 3 CTRL and ALT radials to different buttons, but it always unbind 1 2 3 and CTRL and ALT when I play. :(

Doesn't work

Doesn't work

*sigh*

it does work.. I've just done a clean install and copied/pasted this code into my own autoexec file. It works very well.

weepinangel.deviantart.com

No, it doesn't work for this reason.

Your autoexec.cfg file binds mouse2 for +melee, when the real command is +attack2. I think +melee works for you because of your "taunt while shoving" script you have up on the site also.

thank you.

Thank you for pointing that out. I guess I missed removing that from this file when I split my autoexec into two pages. It's fixed now.

Problems.

I'd like to thank you first for compiling all these vocalizations and sharing your custom .cfg and radial menus. =P

My problem comes in when I've installed both files. I took one of the regular CFG files in the cfg folder in C:\Program Files\Steam\steamapps\common\left 4 dead 2\left4dead2\cfg, copied the file to another location, editted it with your CFG, and then renamed it to autoexec.cfg. (This is because I knew no other easy way to make sure it's a .cfg file). It is indeed cfg and I copied your radialmenus and made them into a .txt file and placed them in scripts.

So as far as I know I have them in the correct folders and as correct files. When I load the game, the FPS counter will work, and the chat box will respond to me pressing "h", giving me names when it toggles to different characters. However, NONE of the radial menu keys will respond, this including "1,2,3,z,x,CTRL,ALT,c,v,g,t"

Do you have any idea where I should start looking to solve this problem? Thanks for any feedback. =)

my guess is

My guess is that you need to double check that inside the pak_dir file, the instance of "radialmenu" you had to rename is still "tadialmenu". For some reason, that seems to change back on me every now and then. I would check that. If you don't know what pak_dir file I'm talking about, check the radial menu tutorial.

Thank you for providing some details about your problem lol

Ha!

No problem with the details. I did what you suggested and changed the specified "radialmenu" to "tadialmenu". However, this now gives me an error when launching the game. "Unknown version 538976257 for vpk c:\programfiles\steam\steamapps\common\left 4 dead 2\left4dead2/pak01"

I switched "tadialmenu" back to "radialmenu" and the error remains. Going to reinstall game files and try again. If you have any ideas what may have gone wrong, lemme know. Thanks man! =)

did you

Did you use notepad++ to edit your file? I know I ran into that little problem when I used notepad or wordpad to edit the file. Also, instead of reinstalling you could just right click on Left 4 Dead 2 in your steam games browser, and somewhere in properties there is a "check game files for integrity" (or something close to that). That will just redownload the problematic files.

Same Problem

What else have you done to your game? I am having the same problem, only the "h" key works, and nothing else will.

Chances are good you have not

Chances are good you have not changed the correct instance of radialmenu to tadialmenu.

Where is this listed?

I cannot find anywhere on your site that the correct exact instance of radialmenu to tadialmenu to change.

I'm having the same issue as isthatclam28 (see below), the h key works and 7,8,9,and 0 work but the menus will not come up.

I see numerous mentions of radialmenu to tadialmenu, I even found the pak01_dir.vpk thats mentioned in previous but their are a couple of different references to radialmenu in it, I just need to know which is the correct one to change and hopefully I can finally get this working correctly.

Thanks for your time and sorry if I'm blind and missed where this is listed.

----------------------------

#8Submitted by isthatclam28 on January 5, 2010 - 12:07pm.
Problems.
I'd like to thank you first for compiling all these vocalizations and sharing your custom .cfg and radial menus. =P

My problem comes in when I've installed both files. I took one of the regular CFG files in the cfg folder in C:\Program Files\Steam\steamapps\common\left 4 dead 2\left4dead2\cfg, copied the file to another location, editted it with your CFG, and then renamed it to autoexec.cfg. (This is because I knew no other easy way to make sure it's a .cfg file). It is indeed cfg and I copied your radialmenus and made them into a .txt file and placed them in scripts.

So as far as I know I have them in the correct folders and as correct files. When I load the game, the FPS counter will work, and the chat box will respond to me pressing "h", giving me names when it toggles to different characters. However, NONE of the radial menu keys will respond, this including "1,2,3,z,x,CTRL,ALT,c,v,g,t"

Do you have any idea where I should start looking to solve this problem? Thanks for any feedback. =)

There is actually a new

There is actually a new method that you need to use to get custom radial menus working. Valve changed some things and the old method no longer works. Try this guide instead:

http://www.fitterblog.com/content/new-method-use-vocalize-commands