Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Biggs

L4D2 player/member commands list, & BINDS

97 posts / 24133 viewsLast Reply

Recommended Posts

does anybody know how to bind multiple keys? so like shift+f11

 

The general idea is to use +/- aliases (which trigger when a key is pressed and released respectively.)

Very simply you can do this:

 

alias +mod "bind f11 say shift"
alias -mod "bind f11 say normal"
bind shift +mod

 

although in advanced configs you might want to use a few intermediary aliases like

alias f11_normal "say normal" // Bind for when you're not holding shift
alias f11_shift "say shift" // Bind for when you're holding shift


alias f11_modded f11_normal // Default if shift never pressed

alias +mod "alias f11_modded f11_shift" // Shift key down
alias -mod "alias f11_modded f11_normal" // Shift key up


bind shift +mod	 // You can bind other things to +mod if you want to have like ctrl+f11
bind f11 f11_modded // f11 will now do whatever f11_modded is aliased to by +/-mod

Edited by ctrlfrk

Share this post


Link to post
Share on other sites

Very useful info, thanks.

 

The only gap is that as I'm new to the server, and not familiar with the order of the buy menu, I had to go in game mid-match to make note of the order so I could set up some binds.

 

So I figured, why not add that bit of info here, and maybe help a future newb who finds themselves in my situation? Besides, I'll take any excuse to scribble up a colorful list. :3

 

Color coded: Main Menu > Sub Menu 1 > Sub Menu 2

 

 

 

Survivors:

 

 

1. Weapons Menu

~~~~~1. Secondary Weapons

~~~~~~~~~~~1. Pistol

~~~~~~~~~~~2. Desert Eagle

~~~~~~~~~~~3. Baseball Bat

~~~~~~~~~~~4. Crowbar

~~~~~~~~~~~5. Cricket Bat

~~~~~~~~~~~6. Fire Axe

~~~~~~~~~~~7. Katana

~~~~~2. Sniper Rifles

~~~~~~~~~~~1. Hunting Rifle

~~~~~~~~~~~2. Scout

~~~~~~~~~~~3. AWP

~~~~~~~~~~~4. Military Sniper

~~~~~3. Assault Rifles

~~~~~~~~~~~1. M16 (Assault Rifle)

~~~~~~~~~~~2. Scar (Desert Rifle)

~~~~~~~~~~~3. AK-47

~~~~~~~~~~~4. SG552

~~~~~~~~~~~5. M60

~~~~~4. Shotguns

~~~~~~~~~~~1. Chrome Shotgun

~~~~~~~~~~~2. Pump Shotgun

~~~~~~~~~~~3. Auto Shotgun

~~~~~~~~~~~4. SPAS Shotgun

~~~~~5. Sub-Machine Guns

~~~~~~~~~~~1. SMG

~~~~~~~~~~~2. Silenced SMG

~~~~~~~~~~~3. MP5

~~~~~6. Throwables

~~~~~~~~~~~1. Molotov

~~~~~~~~~~~2. Pipe Bomb

~~~~~~~~~~~3. Bile Jar

 

2. Upgrades Menu

~~~~~1. Laser Sights

~~~~~2. Explosive Ammo (Gun Only)

~~~~~3. Incendiary Ammo (Gun Only)

~~~~~4. Explosive Ammo Pack

~~~~~5. Incendiary Ammo Pack

~~~~~6. Ammo Refill

 

3. Health Menu

~~~~~1. First Aid Kit

~~~~~2. Defibrillator

~~~~~3. Pain Pills

~~~~~4. Adrenaline

~~~~~5. Full Heal

~~~~~6. Respawn on Corpse.

 

4. Misc. Menu

~~~~~1. Grenade Launcher

~~~~~2. Chainsaw

~~~~~3. Gnome Chompsky

~~~~~4. Cola bottles

~~~~~5. Gas Can

~~~~~6. Oxygen Tank

~~~~~7. Fireworks Crate

 

~~------Page 2------

 

~~~~~1. Propane Tank

 

 

Infected:

 

 

 

1. Full Heal

2. Suicide

3. Additional Boomer Slot

4. Additional Spitter Slot

5. Additional Smoker Slot

6. Additional Hunter Slot

7. Additional Charger Slot

 

-----Page 2-----

 

1. Additional Jockey Slot

2. Tank

3. Witch

4. Horde

5. Ghost Yourself

6. Spawn Horde on Respawn

 

 

Hopefully it helps someone, if not, hey at least it will look pretty sitting here. It could use just a dash of blue and maybe a bit of green though.... There! :D

 

~ Snow Fox (ninja kitty)

nice list if you could add cost requirements might be more detailed

Share this post


Link to post
Share on other sites

does anybody know how to bind multiple keys? so like shift+f11

 

The general idea is to use +/- aliases (which trigger when a key is pressed and released respectively.)

Very simply you can do this:

 

alias +mod "bind f11 say shift"
alias -mod "bind f11 say normal"
bind shift +mod

 

although in advanced configs you might want to use a few intermediary aliases like

alias f11_normal "say normal" // Bind for when you're not holding shift
alias f11_shift "say shift" // Bind for when you're holding shift


alias f11_modded f11_normal // Default if shift never pressed

alias +mod "alias f11_modded f11_shift" // Shift key down
alias -mod "alias f11_modded f11_normal" // Shift key up


bind shift +mod	 // You can bind other things to +mod if you want to have like ctrl+f11
bind f11 f11_modded // f11 will now do whatever f11_modded is aliased to by +/-mod

 

Thanks for this but im sooooo confused

i want to have left shift, keypad 1 for suicide ,how would i do that?

I keep pressing the suicide key by accident

Thanks ctrlfrk for your help

Share this post


Link to post
Share on other sites

does anybody know how to bind multiple keys? so like shift+f11

 

The general idea is to use +/- aliases (which trigger when a key is pressed and released respectively.)

Very simply you can do this:

 

alias +mod "bind f11 say shift"
alias -mod "bind f11 say normal"
bind shift +mod

 

although in advanced configs you might want to use a few intermediary aliases like

alias f11_normal "say normal" // Bind for when you're not holding shift
alias f11_shift "say shift" // Bind for when you're holding shift


alias f11_modded f11_normal // Default if shift never pressed

alias +mod "alias f11_modded f11_shift" // Shift key down
alias -mod "alias f11_modded f11_normal" // Shift key up


bind shift +mod	 // You can bind other things to +mod if you want to have like ctrl+f11
bind f11 f11_modded // f11 will now do whatever f11_modded is aliased to by +/-mod

 

OH

didn't see this reply. Remind me to look at this when I am home. Thanks!

Share this post


Link to post
Share on other sites

i want to have left shift, keypad 1 for suicide ,how would i do that?

This should work:

 

// Alias for suicide
alias gc_suicide "sm_buy; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10"

// What you want keypad 1 to do with and without shift
alias keypad_1 "say #yolo"
alias shift_keypad_1 "gc_suicide"

// An alias that rebinds KP_END whenever you press or release the shift key.
// (The +/-speed; bit is what shift was probably bound to before)
alias +mod "+speed; bind KP_END keypad_1"
alias -mod "-speed; bind KP_END shift_keypad_1"

// Bind shift to your new improved alias
bind shift +mod

 

Before you type this you should type

bind shift

to see what shift is currently set to (mine was +speed). Replace the +speed/-speed parts of what I pasted with whatever your shift was bound to. Also replace say #yolo with whatever you want keypad 1 to do when you're not holding shift

Edited by ctrlfrk

Share this post


Link to post
Share on other sites

two days later... im home!

 

so, if I wanted to bind multiple things to a shift combo I would need to do

bind shift "+k1;+k2;+k3;"

?

Share this post


Link to post
Share on other sites

i want to have left shift, keypad 1 for suicide ,how would i do that?

This should work:

 

// Alias for suicide
alias gc_suicide "sm_buy; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10"

// What you want keypad 1 to do with and without shift
alias keypad_1 "say #yolo"
alias shift_keypad_1 "gc_suicide"

// An alias that rebinds KP_END whenever you press or release the shift key.
// (The +/-speed; bit is what shift was probably bound to before)
alias +mod "+speed; bind KP_END keypad_1"
alias -mod "-speed; bind KP_END shift_keypad_1"

// Bind shift to your new improved alias
bind shift +mod

 

Before you type this you should type

bind shift

to see what shift is currently set to (mine was +speed). Replace the +speed/-speed parts of what I pasted with whatever your shift was bound to. Also replace say #yolo with whatever you want keypad 1 to do when you're not holding shift

 

thanks I will try this

Share this post


Link to post
Share on other sites

Mercman asked me to contribute this for auto-rocket spawns (his work, not mine):

 

alias +rocketspawnGC "+reload;+attack"

alias -rocketspawnGC "-attack;-reload"

 

bind "MOUSE3" +rocketspawnGC

 

 

I haven't tested it, but I think if you have MOUSE3 as your zoom key you won't be able to do this.

Share this post


Link to post
Share on other sites

These are my binds so see if they are diffrent from yours.

Bind "f" "say !buy; menuselect 4; menuselect 7; menuselect 1" Is the Firework case

bind "h" "say_team !heal"

bind "m" "say !buy; menuselect 1; menuselect 3; menuselect 1; menuselect 1" M16 (Assault Rifle)

bind "t" "say !buy; menuselect 3; menuselect 1; menuselect 1" Health pack

bind "g" "say_team !getup" get up off cliff ext.

bind "y" "say !buy; menuselect 3; menuselect 6; menuselect 1" Respawn on corpse

for the questions on the top once you put these in console they will stay like that

only way to get rid of binds and go back to defaults is to go to keyboard on your setting and go to defaults and apply and press ok.

and if your binds do not save there is a cfg file if you altered that then you might have issues there. so delete it and restart the game and it will be default again.

to normal but you would have to put the binds back in once more.

Share this post


Link to post
Share on other sites

Mercman asked me to contribute this for auto-rocket spawns (his work, not mine):

 

alias +rocketspawnGC "+reload;+attack"

alias -rocketspawnGC "-attack;-reload"

 

bind "MOUSE3" +rocketspawnGC

 

 

I haven't tested it, but I think if you have MOUSE3 as your zoom key you won't be able to do this.

 

Thanks Dry but its not my work. ctrlfrk is the author

Thanks ctrlfrk

Share this post


Link to post
Share on other sites

Very useful info, thanks.

 

The only gap is that as I'm new to the server, and not familiar with the order of the buy menu, I had to go in game mid-match to make note of the order so I could set up some binds.

 

So I figured, why not add that bit of info here, and maybe help a future newb who finds themselves in my situation? Besides, I'll take any excuse to scribble up a colorful list. :3

 

Color coded: Main Menu > Sub Menu 1 > Sub Menu 2

 

 

 

Survivors:

 

 

1. Weapons Menu

~~~~~1. Secondary Weapons

~~~~~~~~~~~1. Pistol

~~~~~~~~~~~2. Desert Eagle

~~~~~~~~~~~3. Baseball Bat

~~~~~~~~~~~4. Crowbar

~~~~~~~~~~~5. Cricket Bat

~~~~~~~~~~~6. Fire Axe

~~~~~~~~~~~7. Katana

~~~~~2. Sniper Rifles

~~~~~~~~~~~1. Hunting Rifle

~~~~~~~~~~~2. Scout

~~~~~~~~~~~3. AWP

~~~~~~~~~~~4. Military Sniper

~~~~~3. Assault Rifles

~~~~~~~~~~~1. M16 (Assault Rifle)

~~~~~~~~~~~2. Scar (Desert Rifle)

~~~~~~~~~~~3. AK-47

~~~~~~~~~~~4. SG552

~~~~~~~~~~~5. M60

~~~~~4. Shotguns

~~~~~~~~~~~1. Chrome Shotgun

~~~~~~~~~~~2. Pump Shotgun

~~~~~~~~~~~3. Auto Shotgun

~~~~~~~~~~~4. SPAS Shotgun

~~~~~5. Sub-Machine Guns

~~~~~~~~~~~1. SMG

~~~~~~~~~~~2. Silenced SMG

~~~~~~~~~~~3. MP5

~~~~~6. Throwables

~~~~~~~~~~~1. Molotov

~~~~~~~~~~~2. Pipe Bomb

~~~~~~~~~~~3. Bile Jar

 

2. Upgrades Menu

~~~~~1. Laser Sights

~~~~~2. Explosive Ammo (Gun Only)

~~~~~3. Incendiary Ammo (Gun Only)

~~~~~4. Explosive Ammo Pack

~~~~~5. Incendiary Ammo Pack

~~~~~6. Ammo Refill

 

3. Health Menu

~~~~~1. First Aid Kit

~~~~~2. Defibrillator

~~~~~3. Pain Pills

~~~~~4. Adrenaline

~~~~~5. Full Heal

~~~~~6. Respawn on Corpse.

 

4. Misc. Menu

~~~~~1. Grenade Launcher

~~~~~2. Chainsaw

~~~~~3. Gnome Chompsky

~~~~~4. Cola bottles

~~~~~5. Gas Can

~~~~~6. Oxygen Tank

~~~~~7. Fireworks Crate

 

~~------Page 2------

 

~~~~~1. Propane Tank

 

 

Infected:

 

 

 

1. Full Heal

2. Suicide

3. Additional Boomer Slot

4. Additional Spitter Slot

5. Additional Smoker Slot

6. Additional Hunter Slot

7. Additional Charger Slot

 

-----Page 2-----

 

1. Additional Jockey Slot

2. Tank

3. Witch

4. Horde

5. Ghost Yourself

6. Spawn Horde on Respawn

 

 

Hopefully it helps someone, if not, hey at least it will look pretty sitting here. It could use just a dash of blue and maybe a bit of green though.... There! :D

 

~ Snow Fox (ninja kitty)

is this list kind of out-of-date? Is that why some of my binds aren't working?

Share this post


Link to post
Share on other sites

do colors (as in the aura) still work? haven't seen anybody use them in ages

 

edit: just found out they don't work why was this discontinued? would love this. never had a chance to use it :(

Edited by Static

Share this post


Link to post
Share on other sites

This took about an hour

bind "l" "!laser"

bind "h" "!heal"

bind "." "!ammo"

Bind "f" "sm_buy; menuselect 4; menuselect 7; menuselect 1" FireWorks

bind "" "sm_buy; menuselect 1; menuselect 3; menuselect 1; menuselect 1" M16 (Assault Rifle)

bind "" "sm_buy; menuselect 1; menuselect 1; menuselect 1; menuselect 1" Desert Eagle

bind "" "sm_buy; menuselect 1; menuselect 6; menuselect 1; menuselect 1" Molotov

bind "" "sm_buy; menuselect 1; menuselect 6; menuselect 3; menuselect 1" Bile Jar

bind "" "sm_buy; menuselect 3; menuselect 4; menuselect 1; menuselect 1" Adrenaline

bind "" "sm_buy; menuselect 3; menuselect 1; menuselect 1" Health Pack

bind "" "sm_buy; menuselect 3; menuselect 2; menuselect 1" Defibrillator

bind "" "sm_buy; menuselect 3; menuselect 2; menuselect 1" Respawn On Corpse"

For anyone that needs all these binds just copy and paste

Edited by GummyBear

Share this post


Link to post
Share on other sites

I dont think you can do bind l !laser

you would need to do bind l "say !laser"

but if you are binding a command please don't bind say, it get's kinda spammy when people say !points or !buy every second

protip:

 

Instead you cab do bins l "say /laser", all /commands are hidden from chat... except admins can still see them

pro protip:

you can also do bind l sm_laser and it won't appear at all

 

Basically:

say !command = displays in chat

say /command = only displays to admins... I usually use / when I am manually typing commands because its quicker than !

sm_command in console= doesn't display to chat at all

 

sm ! and / are interchangable on all commands

Share this post


Link to post
Share on other sites

Very well.. but the healing stuff like those "BINDING COMMANDS" is only for new views? I mean.. Is the first time which I view this thread. Is all that? Or just me thought it seen a little help?

Whatever.. so, thanks to let me know how really works this (:
I buy it.
See you on servers guys.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×