Jump to content

timing nade script


krAzy :)

Recommended Posts

  • Clan Friend

hmm, on etpro you can just hit the weaponalt button (usually right mouse) with a nade in hand to say 'fire in the hole'.

on other mods (and etpro too, if you want your message), you could do something like this:

 

set message_on "+attack; vsay_team FireInTheHole ^3*^7nAde" 
set message_off "-attack; -attack;" 
set nade_off "bind mouse1 "+attack" " // or your default action for mouse1 

bind 4 "weaponbank 4; bind mouse1 "+vstr message_on message_off" " 

// you should go back to default action for other weapons! 
bind 1 "weaponbank 1; vstr nade_off" 
bind 2 "weaponbank 2; vstr nade_off" 
bind 3 "weaponbank 3; vstr nade_off" 
// etc.

 

This works, the problem is that you need to modify the attack button just for the nade and not for other weapons, which means that if you die with a nade in your hand you should press 3 after respawn, etc.

Otherwise you will say 'fire in the hole' every time you shoot :)

 

maybe, if you really want that, you could bind a button in your mouse to say just fire in the hole, or use the etpro feature I said...

Link to comment
Share on other sites

Nice krazy, btw you should use it because you always tk with nades :D

 

nahhhh.NOT true :P

 

hmm, on etpro you can just hit the weaponalt button (usually right mouse) with a nade in hand to say 'fire in the hole'.

on other mods (and etpro too, if you want your message), you could do something like this:

 

set message_on "+attack; vsay_team FireInTheHole ^3*^7nAde" 
set message_off "-attack; -attack;" 
set nade_off "bind mouse1 "+attack" " // or your default action for mouse1 

bind 4 "weaponbank 4; bind mouse1 "+vstr message_on message_off" " 

// you should go back to default action for other weapons! 
bind 1 "weaponbank 1; vstr nade_off" 
bind 2 "weaponbank 2; vstr nade_off" 
bind 3 "weaponbank 3; vstr nade_off" 
// etc.

 

This works, the problem is that you need to modify the attack button just for the nade and not for other weapons, which means that if you die with a nade in your hand you should press 3 after respawn, etc.

Otherwise you will say 'fire in the hole' every time you shoot :)

 

maybe, if you really want that, you could bind a button in your mouse to say just fire in the hole, or use the etpro feature I said...

 

 

thx...i'll try it!!!!

 

EDIT: not working right....

at beginning worked well....but then suddenly i could jump and shoot :/

(and yes, i did all as u said it)

Link to comment
Share on other sites

  • Clan Friend

hmm strange, I didn't make extensive tests but the script seems ok... what do you have binded to your mouse1, normally? just +attack? Do you use your mouse wheel with other weaponbank binds? Remember that you have to bind the normal +attack to everything else other than slot 4, without knowing your config I can't guess if you have other binds that could conflict with these.

 

imho you could just make a separate bind, after all you don't need to say 'fire in the hole' every *single* time you throw a grenade and that would be easier

Link to comment
Share on other sites

maybe this is the problem:

seta sensitivity "2.35"

seta atk1 "+attack; sensitivity 2.30 "

seta atk2 "-attack; sensitivity 1.90 "

unbind mouse1

bind MOUSE1 "+vstr atk1 atk2"

Link to comment
Share on other sites

  • Clan Friend

maybe this is the problem:

seta sensitivity "2.35"

seta atk1 "+attack; sensitivity 2.30 "

seta atk2 "-attack; sensitivity 1.90 "

unbind mouse1

bind MOUSE1 "+vstr atk1 atk2"

 

yes...

 

btw, higher sens when you attack? :o wtf? anyway, personal preference...

is that for grenades only or in general?

 

so:

(unbind mouse1 is not necessary, since you bind it in the next line, and you don't need to unbind things first)

 

apart from that, in my script you had:

set nade_off "bind mouse1 "+attack" "

 

which puts the bind back to normal after you switched to other weapons, you should replace it with your bind for mouse1 when you shoot.

It's not clear to me if that higher sens of yours is for grenades or shooting, if it's for shooting then do as I said above, if it's for grenades, then you should change the whole script.

 

The bottom line is that you cannot bind more things in sequence to mouse1, or the first will be cancelled by the next one and it's a mess.

 

Let me know if that higher sens is for normal shooting (mp40, etc.) or you want it only for grenades (which seems more logical but I don't know). then I will rewrite the whole script again for you.

Link to comment
Share on other sites

i got many cfg's .....just tried it one time

 

seta sensitivity "2.30"

seta atk1 "+attack; sensitivity 1.90 "

seta atk2 "-attack; sensitivity 2.30 "

unbind mouse1

bind MOUSE1 "+vstr atk1 atk2"

 

(for mouse and grenades same sens)

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.