Unique Alias I wrote..

W

weapey

Guest
Right..

I liked and got used to aliases where ducking and walking was a toggle switch, as in you press the duck button and you duck (without keeping it pressed) and you press it again and you stand again - it meant that you didn't have to keep your finger on the button.

However, a lot of the time I just found myself when ducking in the middle of a fire fight, or in a spot waiting for someone to pop out of a corner or something. If I was spotted or recieving return fire, I would need to quickly move from where I was stood behind cover.

What this alias does is rebinds the duck button so when it is pressed you instantly duck in that position, and you do not need to keep the button pressed to duck. However, when you move in any direction (forward, left or right, etc.) you will automatically stand up and move.

However, instead of completely removing the ability to move while ducking (which makes navigating certain maps limiting - ie. vents in cs_assault), while ducking you can press the walk button, and you can then move while ducking. Pressing it again will go back to the previous mode.

Pressing the duck button at any time will make you stand again. The walk button works all the time, and is also a toggle.

This is the first proper (advanced?) alias script I have ever created, and I do know its a little messy and some of the naming conventions are a little wrong. You have to rebind the keys for movement to the ones listed here (so standing when moving from duck position works) but works a treat.

All move binds have the slot10 command in it, which will clear the buy menu automatically when you move (useful if you have buy scripts that tend to stick)

I also included an updated version of the duckjump alias (used to get extra height) to correctly reset the binds when you jump from a ducking position.

Feel free to use them for personal use, although I would love to hear some feedback on this script. If you intend to use it in a script pack please just email me and let me know, isn't hard to do (weap@baseone.demon.co.uk)

Enjoy

DISCLAIMER: USE AT YOUR OWN PERIL. This is for advanced users only. Always back up your files. No, this script isn't responsible for that subseven trojan installed on your PC.

Code:
// -- Duck Script -- 
// -- Written by PiTCHFoRK (weap@baseone.demon.co.uk)

alias d1 "developer 1" 
alias d0 "developer 0" 

alias +fwd1 "duckoff; walkoff; slot10; +forward"
alias +fwd2 "slot10; +forward"
alias +bindforward "+fwd2";
alias -bindforward "-forward"

alias +lft1 "duckoff; walkoff; slot10;+moveleft"
alias +lft2 "+moveleft"
alias +bindleft "+lft2"
alias -bindleft "-moveleft"

alias +rgt1 "duckoff; walkoff; slot10; +moveright"
alias +rgt2 "+moveright"
alias +bindright "+rgt2"
alias -bindright "-moveright"

alias +bck1 "duckoff; walkoff; slot10; +back"
alias +bck2 "+back"
alias +bindback "+bck2"
alias -bindback "-back"


// Duck Toggle
alias toggleduck "walkoff; duckon"
alias duckon "+duck; alias toggleduck duckoff; alias walkmode walk2on; bindmode1;"
alias duckoff "-duck; alias toggleduck duckon; alias walkmode walk1on; bindmode2"

// Normal prone mode
alias walkmode "walk1on"
alias walkon "+speed"
alias walkoff "-speed"
alias walk1on "walkon; bindmode2; alias walkmode walk1off"
alias walk1off "walkoff; bindmode2; alias walkmode walk1on"

// Move toggle while ducking mode
alias walk2on "bindmode2; alias walkmode walk2off d1; echo *** MOVING WHILE DUCKING ENABLED ***; d0"
alias walk2off "bindmode1; alias walkmode walk2on; echo "*** MOVING WHILE DUCKING DISABLED ***; d0"

alias bindmode1 "alias +bindforward +fwd1; alias +bindleft +lft1; alias +bindright +rgt1; alias +bindback +bck1"
alias bindmode2 "alias +bindforward +fwd2; alias +bindleft +lft2; alias +bindright +rgt2; alias +bindback +bck2"

alias +cjump "+jump; slot10; +duck; bindmode2" 
alias -cjump "-jump; -duck" 

// Your jump key
bind "CAPSLOCK" "+cjump"

// Your walk toggle key
bind "MOUSE3" "walkmode"

// Your duck toggle key
bind "SHIFT" "toggleduck"

// Your movement keys
bind "w" "+bindforward"
bind "a" "+bindleft"
bind "d" "+bindright"
bind "s" "+bindback"
 
C

Ch3tan

Guest
Probably a useful bind, ignore Puma, he's quite clearly a twat.
 
I

isuck

Guest
Originally posted by Ch3tan
Probably a useful bind, ignore Puma, he's quite clearly a twat.

ch3tan, you've taken over from skyler in the "write what isuck is thinking before he gets the chance to type it".

leave my brain alone please, all of you, bastards.

as for the duck-toggle, im gonna play around with that, i love it in deux ex and always wanted sommit similar for cs as i dont have any free keys accessible to me, i have to duck instead of walking. a toggle would be nice.

fuck it, i may as well play deux ex.
 
T

Trem

Guest
Originally posted by puma
duck off
No need for that you big spastic, what was the point in typing that? If you didn't find it interesting just don't reply!!
 
S

S-Gray

Guest
lol, im sure he didnt mean it like that, i think that because the Threads about "Ducking" he thought about saying something witty like that?

*i think
 
W

weapey

Guest
Almost a perfect response :D

Just wanted someone else to benefit off something I did, so I thought BW, before any other CS community does :p

If you don't like it, fine, I can live with that. Its here if you want it and want to use it.

I would rather you duel it out with me on the 56k server, instead of the blatant flames, but most people here are far too friendly compared to what I am used to.
 
P

puma-fs

Guest
Originally posted by PiTCHFoRK
Almost a perfect response :D

Just wanted someone else to benefit off something I did, so I thought BW, before any other CS community does :p

If you don't like it, fine, I can live with that. Its here if you want it and want to use it.

I would rather you duel it out with me on the 56k server, instead of the blatant flames, but most people here are far too friendly compared to what I am used to.


Hi weap!
 
S

Skyler

Guest
lol

Well, scripts are lame, anything beyond a buy script pretty much shows lameness if you have the need to use it. Although this script does seem partly useful in some ways, I wouldnt use it because scripts are lame. Also its a bit silly how you have to press walk while the duck toggle is on to move while ducked, that just creates even more effort imo. As for the duck jumping part of it, that = ub3r lame. Duck jump scripts are pathetic and unfair to a point and shouldnt be used, if you need a duck jump script you are pretty damn useless. I get enjoyment from winning games on my skill, I dont want to be Mr. Script 2002 and have scripts win it for me :p

And why is it that most CS players who are a bit stupid seem to always challenge anyone going against their views to a duel. CS is a team game, thus 1v1's are pathetic and pointless. I really cant understand that mentality, "omfg you disagreed with me, duel me now!11!1", then when you refuse they try and say your crap, pathetic.

Note: I aint saying your one of those people Pitchfork, because you dont seem a twat, you just simply reminded me of the many many idiot CS players that have done that and thus I felt the need to comment :p
 
W

Will

Guest
It's a little bit extended actually, though nearly all scripts are based around one of a few cores, I know mine is.
 
W

weapey

Guest
Skyler,

Erm, when I said duel, I didn't literally mean duel. But it is known to be extra-competitive with someone on the other team, looking for their head :D

Your views on scripts. I'll agree to the extent when its about scripts such as anti-recoil scripts, but scripts such as this one I see as an extension to the UI, just an alternative control mechanism.

Also, duckjumps are becoming recognised in every single game to the level where its actually part of the UI in SoF II (turn on or off duck jumping automatically).

I respect your views however, I just gave your arguments from my perspective.
 
S

Skyler

Guest
Yeah its added in the UI in SoF2, so its accepted. Is it added in the UI of HalfLife, does every player have the option to use automatic duck jumping without having to get a script?

No.

That means that users of the duck jump scripts get an unfair advantage over the majority of CS players, unfair advantages to some extents = cheating. Cheating = lame :p

Duck jump scripts are a form of cheating... ;)
 

Users who are viewing this thread

Top Bottom