Jump to content

L4D2 player/member commands list, & BINDS


Biggs

Recommended Posts

  • 4 months later...

Hello everyone, this is my first post here. I read through as much as I could find but saw no recent update, so I just wanted to post a quick update to the list of items to purchase, currently I'm using this version (1.8.0) of the "Points System" plugin. To start off, I'm really glad to be here. I hail from Big Sky country in Montana. I'm a big fan of L4D2, have been since watching my kids play it when it first came out. Every now and then I love to create my own local server so I can play some rounds with my kids. I recently came back to the game and wanted a more robust bind setup so I set out on a search for info to be able to fine tune what I had and to try and automate as much as I could. I did an exhaustive search and came across this thread which alluded to this autoexec.cfg listed here and it turned out to help quite a bit with the syntax issues I was having. Turned out I was at first using slot1, slot 2, etc. in place of "menuselect" which was an issue for me, now I'm using "menuselect" and all is 5x5 for the most part. The bind(s) do work as intended but the main problem that remains for me is that following the bind execution, the menu remains onscreen for whatever reason, whereby the selection of "slot10" hs no effect if it ever did, perhaps due to the new MM/SM versions I don't know exactly but nevertheless things work. One other minor issue I'd like to mention is if you bind for an "M60" and "Explosive Ammo" (great for battling tanks) the "M60" doesn't come up after purchase as it would if you did it manually and this is a problem because when you go to execute the Explosive Ammo bind it won't take because it prompts for you needing a primary weapon first to do so even though you already have it. A simple press of whichever key you have bound to your primary wep will bring it up thus allowing the purchase to go through. I'd love to be able to have it come up after executing it's bind somehow and then draw up an alias for the both together, but for now this is what we seem to have unless i'm missing something. Another issue I'm interested in and I believe I read something along the lines of this here somewhere, is working with "aliases" as it relates to multiple keys with a single bind. One of the biggest draws to this game for me is the near endless ways to manipulate the key bindings for the best time as I'm sure most of you can relate to, I love it. One more thing, I see one of the members here is @JackieChan, I've long admired his servers which are legendary and I very much look forward to possibly conferring with him on server setup issues, I'm a big fan! Well that's all I have for now, I hope to be on more often to meet many of you and to test things out, take care and great to be aboard. 

 

 

Color Coding:

 

Main Categories:

 

Weapons 

Upgrades

Health Items

Sub-Categories

Sub-Sub-Categories ( "Next" )

Binds (Entire section highlighted in Green)

 

 

1. Weapons 

          1. Melee

                    1. Cricket Bat  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 1; wait 2menuselect 1wait 123; slot10" ]

                    2. Crow Bar  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" ]

                    3. Baseball Bat  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10" ]

                    4. Electric Guitar  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 4; wait 2menuselect 1wait 123; slot10" ]

                    5. Fire Axe  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 5; wait 2menuselect 1wait 123; slot10" ]

                    6. Katana  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 6; wait 2menuselect 1wait 123; slot10" ]

                    7. Tonfa  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 7; wait 2menuselect 1wait 123; slot10" ]

                    .               

                    8. Back

                    .

                    9. Next

                            1. Golf Club "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 9; wait 2menuselect 1wait 2menuselect 1wait 123; slot10" 

                            2. Machete "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 9; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" ]

                            3. Frying Pan "sm_buy; wait 2; menuselect 1; wait 2; menuselect 1; wait 2; menuselect 9; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10" ]

                            .

                            8. Previous  

                            .

                            0. Exit

 

                    0. Exit

 

          2. Snipers

                    1. Hunting Rifle "sm_buy; wait 2; menuselect 1; wait 2; menuselect 2; wait 2; menuselect 1; wait 2menuselect 1wait 123; slot10" ]

                    2. Military Sniper  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 2; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" ]

                    3. AWP  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 2; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10"]

                    4. Scout Sniper  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 2; wait 2; menuselect 4; wait 2menuselect 1wait 123; slot10" ]

                    .

                    8. Back

                    .              

                    0. Exit

 

          3. Rifles

                    1. M60  [ "sm_buy; wait 2; menuselect 1; wait 2; menuselect 3; wait 2; menuselect 1; wait 2menuselect 1wait 123; slot10" ]

                    2. M16  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 3; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" ]

                    3. SCAR  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 3; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10" ]

                    4. AK-47  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 3; wait 2; menuselect 4; wait 2menuselect 1wait 123; slot10" ]

                    5. SG552  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 3; wait 2; menuselect 5; wait 2menuselect 1wait 123; slot10" ]

                    .

                    8. Back

                    .

                    0. Exit

               

          4. Shotguns

                    1. Auto Shotgun  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 4; wait 2; menuselect 1; wait 2menuselect 1wait 123; slot10" ]

                    2. Chrome Shotgun  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 4; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" ]

                    3. Spas Shotgun  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 4; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10" ]

                    4. Pump Shotgun  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 4; wait 2; menuselect 4; wait 2menuselect 1wait 123; slot10" ]

                    .

                    8. Back

                    .

                    0. Exit

 

          5. SMGs

                    1. SMG  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 5; wait 2; menuselect 1; wait 2menuselect 1wait 123; slot10" ]

                    2. Silenced SMG  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 5; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" 

                    3. MP5  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 5; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10" ]

                    .

                    8. Back

                    .

                    0. Exit

               

          6. Throwables

                    1. Molotov  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 6; wait 2; menuselect 1; wait 2menuselect 1wait 123; slot10" ]

                    2. Pipe Bomb  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 6; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" ]

                    3. Bile Bomb  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 6; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10" ]

                    .

                    8. Back

                    .              

                    0. Exit

 

          7. Misc

                    1. Grenade Launcher  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 1; wait 2menuselect 1wait 123; slot10" ]

                    2. Pistol  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 2; wait 2menuselect 1wait 123; slot10" ]

                    3. Magnum  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 3; wait 2menuselect 1wait 123; slot10" ]

                    4. Chainsaw  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 4; wait 2menuselect 1wait 123; slot10" ]

                    5. Gnome  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 5; wait 2menuselect 1wait 123; slot10" ]

                    6. Cola  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 6; wait 2menuselect 1wait 123; slot10" ]

                    7. Fireworks Crate  "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 7; wait 2menuselect 1wait 123; slot10" ]

                    .

                    8. Back

                    9. Next

                             1. Gas Can "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 9; wait 2menuselect 1wait 2menuselect 1wait 123; slot10" ]

                             2. Oxygen tank "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 9; wait 2menuselect 2wait 2menuselect 1wait 123; slot10" ]

                             3. Propane Tank "sm_buy; wait 2; menuselect 1; wait 2; menuselect 7; wait 2; menuselect 9; wait 2menuselect 3wait 2menuselect 1wait 123; slot10" ]

                             .

                             8. Previous

                             .

                             0. Exit

 

                    0. Exit

 

2. Upgrades

          1. Laser Sight  "sm_buy; wait 2; menuselect 2; wait 2; menuselect 1; wait 2; menuselect 1; wait 123; slot10" ]

          2. Explosive Ammo  "sm_buy; wait 2; menuselect 2; wait 2; menuselect 2; wait 2; menuselect 1; wait 123; slot10" ]

          3. Incendiary Ammo  "sm_buy; wait 2; menuselect 2; wait 2; menuselect 3; wait 2; menuselect 1; wait 123; slot10" ]

          4. Explosive Ammo Pack  "sm_buy; wait 2; menuselect 2; wait 2; menuselect 4; wait 2; menuselect 1; wait 123; slot10" ]

          5. Incendiary Ammo Pack  "sm_buy; wait 2; menuselect 2; wait 2; menuselect 5; wait 2; menuselect 1; wait 123; slot10" ]

          6. Ammo  "sm_buy; wait 2; menuselect 2; wait 2; menuselect 6; wait 2; menuselect 1; wait 123; slot10" ]

          .

          8. Back

          .              

          0. exit

 

3. Health Items

          1. First Aid Kit  "sm_buy; wait 2; menuselect 3; wait 2; menuselect 1; wait 2; menuselect 1; wait 123; slot10" ]

          2. Defibrillator  "sm_buy; wait 2; menuselect 3; wait 2; menuselect 2; wait 2; menuselect 1; wait 123; slot10" ]

          3. Pills  "sm_buy; wait 2; menuselect 3; wait 2; menuselect 3; wait 2; menuselect 1; wait 123; slot10" ]

          4. Adrenaline  "sm_buy; wait 2; menuselect 3; wait 2; menuselect 4; wait 2; menuselect 1; wait 123; slot10" ]

          5. Full Heal  "sm_buy; wait 2; menuselect 3; wait 2; menuselect 5; wait 2; menuselect 1; wait 123; slot10" ]

          .

          8. Back

          .

          0. Exit

.

0. Exit

Edited by InspectorCallahan
  • Like 1
Link to comment
Share on other sites

Hi InspectorCallahan, I was the guy who originally made those aliases you're using. The problem of the menu remaining onscreen is a tricky one because it seems to require timing things perfectly. There was a comment at the top of the original config file that kind of explained it, but basically the `wait 123; slot10` is ping dependent and was meant to be changed by the person using the config using find/replace.

 

 

The value of 123 was pretty high because I have a 200ms+ ping on these servers. You can try change it down to `wait 10;` or so and see if that helps you. You can also try changing `slot10` to `menuselect 0`

 

 

Let me know how you get on.

  • Like 1
Link to comment
Share on other sites

Hi InspectorCallahan, I was the guy who originally made those aliases you're using. The problem of the menu remaining onscreen is a tricky one because it seems to require timing things perfectly. There was a comment at the top of the original config file that kind of explained it, but basically the `wait 123; slot10` is ping dependent and was meant to be changed by the person using the config using find/replace.

 

 

The value of 123 was pretty high because I have a 200ms+ ping on these servers. You can try change it down to `wait 10;` or so and see if that helps you. You can also try changing `slot10` to `menuselect 0`

 

 

Let me know how you get on.

 

Hi ctrlfrk, ty for the response. At first I was a bit confused but realizing first that the delay number is in milliseconds (ms), (50 = .5 sec, 100  = 1 sec etc.) and after some searching, I combed through my server config and voila! Sitting under my nose the whole time :rolleyes: The server convar below which I long had forgotten about fixes obviously the menu screen remaining on after binds are executed and I've hence adjusted my delay times accordingly and all is 5x5. The command below for the M60 is a fun one but I'm sure with aliasing it could be cleaned up for aesthetics.

 

sv_allow_wait_command 1

 

Buy an M60 with Explosive ammo + Laser (Tank Killer):

 

bind "x" "sm_buy; menuselect 1; menuselect 3; menuselect 1; menuselect 1; wait 50; slot10; wait 50; sm_buy; menuselect 2; menuselect 2; menuselect 1; wait 50; slot10; wait 50; sm_buy; menuselect 2; menuselect 1; menuselect 1; wait 50; slot10"

Edited by InspectorCallahan
Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

Where do we insert the binds that InspectorCallahan mentioned ?

In the autoexec.cfg file in your game's /cfg directory, or in that same directory you can create a new file e.g. mybinds.cfg and then in your autoexxec.cfg you execute it like this:

 

exec mybinds.cfg

 

you could, for example, to keep things tidy, create a sub directory under /cfg, call it /binds so it would read like this:

 

/cfg/binds

 

and in this new sub dir, you can keep all of your custom binds etc. Now in the autoexec.cfg you would then execute these binds as follows:

 

exec binds\mybinds.cfg

exec binds\mybinds2.cfg

 

and so on...

  • Like 1
Link to comment
Share on other sites

Laser Sight. bind "x" "sm_buy; wait 2; menuselect 2; wait 2; menuselect 1; wait 2; menuselect 1; wait 123; slot10". Copy exactly the way it is. Look up at anzuls post to see what other binds you want.

Edited by EliasPerez
Link to comment
Share on other sites

So I have followed the instructions and my binds will not work. Ex: bind "l" "laser"  like this in console today and it would not work. 

Any help would be great!! 

 

Thanks. 

thats not it works, what you did there was bind "l" to execute the comand "laser". you should follow what the other post say THOROUGHLY.

just so you know what you are doing, here's a brief explanation on how the binds work and what you need to do get the laser bind working.

 

first, binds are just a shorcut to execute one or more of the game's engine comands

second, the server has its own comands, they are only executable trough the chat.

third, you can either create all your binds trough the console, or by creating a .cfg file which you can edit anytime you want. the later is ideal if you plan on having 20+ binds

 

 

so, what you need to do is bind a key to sayin the chat the server's comand that gives you the laser, its goes like this:

 

sm_      is the source/game engine comand that says something in the game chat whithout it actualy apearing in it, you need to add what you want it to say

!laser    is the server's chat comand that you use during the game to get the laser

 

so what you need to do is this:

bind "l" "sm_!laser"

 

hope that helps you understand how it works!

Edited by anzul
Link to comment
Share on other sites

  • 2 weeks later...

Laser Sight. bind "x" "sm_buy; wait 2; menuselect 2; wait 2; menuselect 1; wait 2; menuselect 1; wait 123; slot10". Copy exactly the way it is. Look up at anzuls post to see what other binds you want.

lol

Link to comment
Share on other sites

this is where I put the binds in my cfg directory. went in today to see why there werent working and they were gone. 

Again the path I used to get here is: I:\Steam\SteamApps\common\Left 4 Dead 2\left4dead2\cfg

Im not well versed on this kinda stuff. Ask me anything about your eyes and various diseases and treatments I can help you with that.but this stuff, well. Its beyond me. 

Im trying,really I am. 

bind "0" "slot10"

bind "1" "slot1"

bind "2" "slot2"

bind "3" "slot3"

bind "4" "slot4"

bind "5" "slot5"

bind "6" "slot6"

bind "7" "slot7"

bind "8" "slot8"

bind "9" "slot9"

bind "a" "+moveleft"

bind "c" "+voicerecord"

bind "d" "+moveright"

bind "e" "+use"

bind "f" "impulse 100"

bind "h" "motd"

bind "l" "sm_!laser"

bind "m" "chooseteam"

bind "q" "lastinv"

bind "r" "+reload"

bind "s" "+back"

bind "t" "impulse 201"

bind "u" "messagemode2"

bind "v" "tankbuster"

bind "w" "+forward"

bind "x" "+mouse_menu QA"

bind "y" "messagemode"

bind "z" "+mouse_menu Orders"
Link to comment
Share on other sites

 

 

 

bind n "sm_buy; menuselect 1; menuselect 2; menuselect 1"

 

this one's for my boy general

Don't you mean:

 

bind mouse1 "sm_buy; menuselect 1; menuselect 2; menuselect 1"

Can't, mouse 1 already bound to propane tanks
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...