An autoexec file is a file that runs every time you launch Left 4 Dead 2. Usually, it is not a "standard" file, so you must create it yourself. So, lets start by doing that. Open up your favorite text editor and save an autoexec.cfg file to this location: C:\Program Files (x86)\Steam\steamapps\common\left 4 dead 2\left4dead2\cfg. NOTE: The file MUST be named autoexec.cfg, it cannot be autoexec.txt or autoexec.cfg.txt or it will NOT work. The contents of this file is up to you. Basically, on each load of L4D2, each line of the autoexec.cfg file is executed one at a time as a console command. I'm assuming most of you are coming here from the radial menu tutorial, so I will tailor this more towards you. For each radial menu you have in your radialmenu.txt file, you will need an alias in your autoexec.cfg file. You can define an alias like this:
So, an example of an alias for a radial menu would be this:
+menuCoach and -menuCoach are the [name], and +mouse_menu coach1 and -mouse_menu are the [command]. For radial menus, you need to have both the + and - aliases for each radial menu. You can call menuCoach whatever you wish though. In my example, coach1 is the name of my radial menu. Then it's as easy as binding the +menuCoach to a key on your keyboard, so add this to the bottom of your autoexec.cfg file:
You do not need to worry about calling -menuCoach, it will be called automatically. There you have it! Now when you load L4D2, your autoexec.cfg file will be automatically executed and whatever you chose [KEY] to be will now display a radial menu for you! :) |
|||
hmmm
does the "mouse_menu" have to do with anything? like, will that mess up with my bound key?
mouse_menu is the function
mouse_menu is the function you are calling, it requires a single parameter (the name of your radial menu)
so, you need to do this: "+mouse_menu [name of radial menu]"
omg halp !
I don't know what im doing wrong, please help.
Here's my Radial Menu:
"RadialMenu"
{
//--------------------------------------------------------------
"All1,Survivor,Alive"
{
"Center"
{
"command" "vocalize PlayerLaugh"
"text" "Laugh"
}
"North"
{
"command" "vocalize PlayerMoveOn"
"text" "#L4D_rosetta_letsgo"
}
"NorthEast"
{
"command" "vocalize PlayerLeadOn"
"text" "#L4D_rosetta_youtakelead"
}
"East"
{
"command" "vocalize PlayerHurryUp"
"text" "#L4D_rosetta_hurry"
}
"SouthEast"
{
"command" "vocalize PlayerNiceJob"
"text" "#L4D_rosetta_nicejob"
}
"South"
{
"command" "vocalize PlayerWaitHere"
"text" "#L4D_rosetta_waithere"
}
"SouthWest"
{
"command" "vocalize PlayerToTheRescue"
"text" "#L4D_rosetta_totherescue"
}
"West"
{
"command" "vocalize PlayerWarnCareful"
"text" "#L4D_rosetta_becareful"
}
"NorthWest"
{
"command" "vocalize PlayerImWithYou"
"text" "#L4D_rosetta_withyou"
}
}
//--------------------------------------------------------------
"All2,Survivor,Alive"
{
"Center"
{
"command" "vocalize playerdeath"
"text" "Death"
}
"North"
{
"command" "vocalize PlayerLaugh"
"text" "#L4D_rosetta_laugh"
}
"NorthEast"
{
"command" "vocalize PlayerTaunt"
"text" "#L4D_rosetta_taunt"
}
"East"
{
"command" "vocalize PlayerNegative"
"text" "#L4D_rosetta_negative"
}
"SouthEast"
{
"command" "vocalize PlayerNo"
"text" "#L4D_rosetta_no"
}
"South"
{
"command" "vocalize PlayerSorry"
"text" "#L4D_rosetta_sorry"
}
"SouthWest"
{
"command" "vocalize PlayerYes"
"text" "#L4D_rosetta_yes"
}
"West"
{
"command" "vocalize PlayerHurrah"
"text" "#L4D_rosetta_hurrah"
}
"NorthWest"
{
"command" "vocalize PlayerThanks"
"text" "#L4D_rosetta_thankyou"
}
}
//--------------------------------------------------------------
"Orders,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"label" "#L4D_rosetta_grrrr"
}
}
//--------------------------------------------------------------
"QA,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"text" "#L4D_rosetta_grrrr"
}
}
//--------------------------------------------------------------
"Alerts,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"text" "#L4D_rosetta_grrrr"
}
}
}
Here is my autoexec.cfg
alias +menuAll1 "+mouse_menu All1"
alias -menuAll1 "-mouse_menu"
alias +menuAll2 "+mouse_menu All2"
alias -menuAll2 "-mouse_menu"
bind g +menuAll1
bind v +menuAll2
Please tell me what I did wrong because it doesnt work when i try to pull up my radialmenu in-game.
Also, you were unclear about the .cfg file that we're suppose to make. I made the file with a regular Notepad text editor, and just renamed it autoexec.cfg.
But it still is a .txt type file ! how can I make a .cfg file?
alias +QA,Survivor,Alive
alias +QA,Survivor,Alive "+mouse_menu"
alias -QA,Survivor,Alive "-mouse_menu"
bind "c" "+menuQA,Survivor,Alive"
that right?
try this..
alias +qa "+mouse_menu QA"
alias -qa "-mouse_menu"
bind "c" "+qa"
Of course I don't know what your radial menu is actually named, but I think from the chunk you gave me I was able to figure it out.
???
Would this work?
alias +menuKillersCustomMenu "+mouse_menu killerscustommenu1"alias -menuKillersCustomMenu "-mouse_menu"
bind b +menuKillersCustomMenu
yes
yes, assuming you have a custom radial menu called killerscustommenu1.
Need help
Hi
I just followed all steps but i somehow don't get it to work.
When i enter "+mouse_menu Test" or "+mouse_menu test1" , nothing happens.
EDIT:
Extra information:
I installed the L4d2 Add-on support and used the vpk.exe from L4d1.
The new radialmenu.vpk was created successfully in the "addons" folder.I later deactivated the add-on in game.
As you can see i added my custom radialmenu to the two standard menus.The standard radialmenus still work but the custom not.
EDIT²:
Strange.Now it works with the Add-on ENABLED, online too.
I just tried it on 1 server tho.
i still dont understand how to do this
when you say how to name with th alias, would it be:
say its this:
alias +menuCoach "+mouse_menu coach1"
so this stands for the first sound?
and if i wanted to use this for ellis would it be:
alias +menuEllis"+mouse_menu ellis1"
or
alias +menuMechanic "+mouse_menu mechanic1"
????
they are just names
You don't *need* to call the radial menus ellis1 or coach1, they could be anything. It's just a variable (it must be the same as the name of your custom radial menu though).
help!
I am assuming the autoexec.cfg file would look like this.
alias +menuEllis "+mouse_menu mechanic1"
alias -menuEllis "-mouse_menu"
bind v "+menuEllis"
Now this is my radialmenu.txt
"RadialMenu"
{
//--------------------------------------------------------------
"Orders,Survivor,Alive"
{
"Center"
{
"command" "vocalize smartlook"
"text" "#L4D_rosetta_look"
}
"North"
{
"command" "vocalize PlayerMoveOn"
"text" "#L4D_rosetta_letsgo"
}
"NorthEast"
{
"command" "vocalize PlayerLeadOn"
"text" "#L4D_rosetta_youtakelead"
}
"East"
{
"command" "vocalize PlayerHurryUp"
"text" "#L4D_rosetta_hurry"
}
"SouthEast"
{
"command" "vocalize PlayerNiceJob"
"text" "#L4D_rosetta_nicejob"
}
"South"
{
"command" "vocalize PlayerWaitHere"
"text" "#L4D_rosetta_waithere"
}
"SouthWest"
{
"command" "vocalize PlayerToTheRescue"
"text" "#L4D_rosetta_totherescue"
}
"West"
{
"command" "vocalize PlayerWarnCareful"
"text" "#L4D_rosetta_becareful"
}
"NorthWest"
{
"command" "vocalize PlayerImWithYou"
"text" "#L4D_rosetta_withyou"
}
}
//--------------------------------------------------------------
"QA,Survivor,Alive"
{
"Center"
{
"command" "vocalize PlayerAskReady"
"text" "#L4D_rosetta_ready"
}
"North"
{
"command" "vocalize PlayerLaugh"
"text" "#L4D_rosetta_laugh"
}
"NorthEast"
{
"command" "vocalize PlayerTaunt"
"text" "#L4D_rosetta_taunt"
}
"East"
{
"command" "vocalize PlayerNegative"
"text" "#L4D_rosetta_negative"
}
"SouthEast"
{
"command" "vocalize PlayerNo"
"text" "#L4D_rosetta_no"
}
"South"
{
"command" "vocalize PlayerSorry"
"text" "#L4D_rosetta_sorry"
}
"SouthWest"
{
"command" "vocalize PlayerYes"
"text" "#L4D_rosetta_yes"
}
"West"
{
"command" "vocalize PlayerHurrah"
"text" "#L4D_rosetta_hurrah"
}
"NorthWest"
{
"command" "vocalize PlayerThanks"
"text" "#L4D_rosetta_thankyou"
}
}
//--------------------------------------------------------------
"mechanic1,Survivor,Alive"
{
"Center"
{
"command" "vocalize _c2m3_coaster03"
"text" "Christmas"
}
"North"
{
"command" "vocalize c2m5_intro024"
"text" "Born ready"
}
"NorthEast"
{
"command" "vocalize _C1M1_ElevatorHello01"
"text" "Zombie nightmare"
}
"East"
{
"command" "vocalize C2M1Intro008"
"text" "Love you"
}
"SouthEast"
{
"command" "vocalize C2M1Intro_400"
"text" "Best day"
}
"South"
{
"command" "vocalize PlayerNegative"
"text" "SHIT"
}
"SouthWest"
{
"command" "vocalize C1M1_ElevatorHello01_02G3"
"text" "99% zombie proof"
}
"West"
{
"command" "vocalize WorldC3M1FerryCrossingJ3"
"text" "Buff as hell"
}
"NorthWest"
{
"command" "vocalize _C2M2_Peanut01"
"text" "Lil peanut"
}
}
//--------------------------------------------------------------
"Orders,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"label" "#L4D_rosetta_grrrr"
}
}
//--------------------------------------------------------------
"QA,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"text" "#L4D_rosetta_grrrr"
}
}
//--------------------------------------------------------------
"Alerts,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"text" "#L4D_rosetta_grrrr"
}
}
}
All this still doesn't work for me. any Insight would help. Thanks!
The problem I am having is
The problem I am having is that the first set of binds work, but the other two menus don't. Here is my menu:
"RadialMenu"
{
//--------------------------------------------------------------
"Nick,Survivor,Alive"
{
"Center"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"North"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"NorthEast"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"East"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"SouthEast"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"South"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"SouthWest"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"West"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
"NorthWest"
{
"command" "vocalize playerlostcall"
"text" "HELLOOO"
}
}
//--------------------------------------------------------------
"2,Survivor,Alive"
{
"Center"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"North"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"NorthEast"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"East"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"SouthEast"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"South"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"SouthWest"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"West"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
"NorthWest"
{
"command" "vocalize ScreamWhilePounced"
"text" "GET IT"
}
}
//--------------------------------------------------------------
"3,Survivor,Alive"
{
"Center"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"North"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"NorthEast"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"East"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"SouthEast"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"South"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"SouthWest"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"West"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
"NorthWest"
{
"command" "vocalize playeranswerlostcall"
"text" "TOURETTES"
}
}
//--------------------------------------------------------------
"Orders,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"label" "#L4D_rosetta_grrrr"
}
}
//--------------------------------------------------------------
"QA,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"text" "#L4D_rosetta_grrrr"
}
}
//--------------------------------------------------------------
"Alerts,Zombie,Alive"
{
"Center"
{
"command" "vocalize PlayerZombieTaunt"
"text" "#L4D_rosetta_grrrr"
}
}
}
I'm assuming you followed the
I'm assuming you followed the new method to create radial menus?
What if you typed "+mouse_menu mechanic1" into console?
thx man working perfectly
thx man working perfectly
i dont get it
i dont get it so where can i see what i named my radialmenu? like i dont know what to put at the last step on the "alias +menucoach" i dont get it what u mean there could u explain it to me a little better? like where do i find the name of my custom radialmenu and how can i rename it to something different
what am i doing wrong?
Ok so i have my own radialmenu in the scripts folder i did what you said and went to Notepad++ and changed radialmenu to tadialmenu i also have my autoexec: autoexec
alias +menuEllis1 "+mouse_menu Ellis1"
alias -menuEllis1 "-mouse_menu"
alias +menuEllismenu2 "+mouse_menu Ellismenu2"
alias -menuEllismenu2 "-mouse_menu"
alias +menuNickmenu1 "+mouse_menu Nickmenu1
alias -menuNickmenu1 "-mouse_menu"
alias +menuNickmenu2 "+mouse_menu Nickmenu2
alias -menuNickmenu2 "-mouse_menu"
alias +Coachmenu1 "+mouse_menu Coachmenu1
alias -Coachmenu1 "-mouse_menu"
alias +Alertmenu1 "+mouse_menu Alertmenu1"
alias -Alertmenu1 "-mouse_menu"
alias +Alertmenu2 "+mouse_menu Alertmenu2"
alias -Alertmenu2 "-mouse_menu"
alias +Foundmenu1 "+mouse_menu Foundmenu1"
alias -Foundmenu1 "-mouse_menu"
bind z "+menuEllis1"
bind x "+menuEllismenu2"
bind c "+menuNickmenu1"
bind v "+menuNickmenu2"
bind b "+menuCoachmenu1"
bind n "+menuAlertmenu1"
bind m "+menuAlertmenu2"
bind , "+menuFoundmenu1"
however when i load l4d2 it isnt working
Try these things and let me
Try these things and let me know the results:
1) Remove the default radial menus from your custom radial menu file. Then try to use them, if they show up and work properly, then you did not rename the correct instance of "radialmenu" to "tadialmenu" in the pak_dir file. See the guide for the correct instance that needs to be renamed (there will be a few, but only one needs renaming).
2) In console, type this: "+mouse_menu Ellis1" does your custom menu show up? If so, then your autoexec.cfg file is not being used properly. Make sure it's not saved as autoexec.cfg.txt and that it's in the correct directory.
another idea
cant you upload your pak_dir to megaupload or something? than i download it and place it in my folder
Of course I could, but...
Of course I could, but that would require that I go find an upload site, make an account, upload the file, provide you with a link, and then hope it doesn't break anything else (which it likely will).
I think an easier solution would be that you try the steps again, and if it still doesn't work, maybe go post on the steam forums or something because there are quite a few people over there who have gotten this to work and I'm sure they can help you.
I just don't have the time to be helping individual people find out which step they missed, because if it's not working it's just because you didn't follow the directions properly.
Not to sound like an ass, but I don't really feel like spoon feeding you answers. That's what forums are for -_-
ok i get it...
but there is 1 weird thing i posted it already but the line that for you is 102456 is for me 102451 how is this possible? because its the exact same line ÿÿvgui ÿÿradialmenu (changed to tadialmenu) and it does affect radialmenu to tadialmenu and i opened pak01_dir.vpk
could be a variety of things
Well, it really depends on what valve stores in that file. If they store user dependent stuff or other things that could vary from one computer to another, then our files will be different.
i dont really get step 1
i dont really get step 1
didnt work
i copyed your text and saved it to the dir its ment to be in and did the following above but when i press "v" witch is what i binded it to the menu wont show.. =/
You're going to have to give
You're going to have to give me more details of what you already did, otherwise I can't help. There are quite a few steps that could have gone wrong at this point. First I would recommend going through the guides again and making sure everything you did was saved, then if it's still a problem come back here and say what you have done and I'll try to get it working.
Barricade Builder Beta Mod didn't work
I use your Release of Barricade Builder Beta.
My Problems...
When i open the console it says:
KeyValue Error: bla bla: from File: {../scripts/RadialMenu.txt }
I typed
bind "p" "+mouse_menu quickbinds"
but when i tried to open up the menu...nothing happens....
I putted the autoexec.cfg file in the cfg folder....I think it shuold must work but....it isn't so...:(
Can u Tell me what I'm doing wrong, or can u tell me exactly what i must to do with the downloaded files.
Sincerely,
nobodyshout