PDA

View Full Version : Please help me to make the grenade switch to and thro work...


lollers
03-23-2010, 05:09 PM
Already tried a few different variations of the same script, and I've nothing to show from it but hours of annoyance. I already know how to bind buy scripts, but for whatever reason this one is not working.

alias gren "gren1"
alias gren1 "use weapon_hegrenade; alias gren gren2"
alias gren2 "use weapon_flashbang; alias gren gren3"
alias gren3 "use weapon_smokegrenade; alias gren gren1"

bind "f" "gren"

What I'm looking for is a script that will immediately select the proper grenade and throw it. Saves a few seconds of toggling through them.

Also I'm really, really new to this. Like just started yesterday and don't even know how to bind them to the key new, or even be aware of the relevant questions to ask. Do I simply need to activate them through the console? If so, then I'm pretty sure I missed that step.

prototism
03-23-2010, 05:28 PM
i think your script doesnt work, simply because the act of throwing a grenade first requires you to switch to it, and click. clicking is really a bind for "+attack".

since your script lacks +attack, your script doesnt work.

its been a while since i wrote a script for cs, but +attack has to be in there in at least one place.

what is the intended result of your script anyway? to spam all the nades you have? thats how it eads to me, with my limited and outdated knoledge.

gamezombie
03-23-2010, 07:20 PM
alias +grenhe "use weapon_hegrenade; +attack"
alias -grenhe "-attack; wait; wait; lastinv"
alias +grenfb "use weapon_flashbang; +attack"
alias -grenfb "-attack; wait; wait; lastinv"
alias +grensg "use weapon_smokegrenade; +attack"
alias -grensg "-attack; wait; wait; lastinv"
should work didn't test it yet though

lollers
03-23-2010, 08:07 PM
Hey, I edited the original post.

gamezombie
03-24-2010, 05:54 PM
go to steam/steamapps/<account name>/counterstrike/cstrike/cfg and make a autoexec.cfg file and add what I said and if you want add
bind <key> +grenhe
bind <key> +grenfb
bind <key> +grensg
replace <key> with any key you want

PumPumGanja
03-24-2010, 07:56 PM
I only need fastswitch for HE/Flash...



alias "grens" "s1"
alias "s1" "use weapon_hegrenade; alias grens s2"
alias "s2" "use weapon_flashbang; alias grens s3"
alias "s3" "use weapon_smokegrenade; alias grens s1"

bind KEY grens

(works 4 me)

defragen1911
03-24-2010, 09:53 PM
bind "x" "use weapon_hegrenade"
bind "f" "use weapon_flashbang"
bind "v" "use weapon_smokegrenade ; buy smokegrenade ; use weapon_smokegrenade"

that's what i use