Special bindings

Loc-Dog

Newbie
Joined
Aug 21, 2005
Messages
280
Reaction score
0
I use knives alot in CS: Source. The knife is always on my secondary weapon key, because its practical (you always find yourself in close range in CS). But it takes me too long to react when an enemy gets close.

For example if im in a hallway shooting at someone while running towards them. I might run out of bullets. And it takes me a while to acess whats going on, switch to knife, and then kill him. So is there a way to bind a single key to do all these commands?

For example bind Mouse button 3 to automaticlly swich to knife, AND instantly attack?
 
Stole this from the Red-claw-clan Script:

Code:
// Quick Slash
alias +slash "use weapon_knife; w8; +attack; spec_next"
alias -slash "-attack; lastinv"

// Qick Stab
alias +stab "use weapon_knife; w8; +attack2; spec_next"
alias -stab "-attack2; lastinv"

Just bind a key to "+slash" and one to "-slash" or something.
 
Oooo how about a script to do a perfect duck-jump-duck? (this makes u jump just a tad higher than just jumping then ducking. :)

I have this from hl2.net script, but im not sure how to steal it out of their script and make it work in a standard cfg file... Also its not a duck-jump-duck but only standard duck-jump, but maybe thats best so u control when to stop ducking...

//Duck Jump
alias ducktoggle jump_on
alias jump_on "bind KP_INS +jump; alias ducktoggle duckjump_on; developer 1; echo Duck-Jump is now: Disabled; developer 0"
alias duckjump_on "bind KP_INS +duckjump; alias ducktoggle jump_on; developer 1; echo Duck-Jump is now: Enabled; developer 0"
alias +duckjump "+jump; wait; +duck"
alias -duckjump "-jump; wait; -duck"
 
mmm, thats not the best way to do it.

crouch, THEN jump and you'll get on boxes and stuff that are about as high as your head. you can even jump onto other players without them needing to crouch. it's becomes second nature after a while, but a script isnt hard to make.
 
dekstar said:
Stole this from the Red-claw-clan Script:

Code:
// Quick Slash
alias +slash "use weapon_knife; w8; +attack; spec_next"
alias -slash "-attack; lastinv"

// Qick Stab
alias +stab "use weapon_knife; w8; +attack2; spec_next"
alias -stab "-attack2; lastinv"

Just bind a key to "+slash" and one to "-slash" or something.
Do i just copy that text into a cfg file? (but type a key instead of "alias"?)
 
No Loc, what you do is copy this into a text file (e.g. Slashscript.cfg): And then you need to bind a button to "+slash" and one to "-slash". And the same for stab. You can put the binds in the same file at the bottom.

e.g.:
bind e "+stab"
bind f "-stab"

and so on.

EDIT: If it doesn't work it's my fault and I might have told you how to do it wrong.
 
It doesn't work :( i dont think theres such a command as "stab".

Can you explain exactly what i should type? I'm bad at the console.
 
Loc-Dog said:
It doesn't work :( i dont think theres such a command as "stab".

Can you explain exactly what i should type? I'm bad at the console.
Well the stab is what the alias is called. so whenever you bind a key to '+stab' then it should start that list of actions. Like a macro.
 
It works now, thanks. Only problem is that my knife instantly becomes the "previous weapon".

Like if i want to have Mp5 equipped and have the USP on backup. When i klick my newly-generated "stab" button, the knife then becomes the previous weapon after it automaticlly switches back to Mp5. Is there a way past that?
 
Back
Top