Jump to content
  • 0
Sign in to follow this  
krAzy :)

timing nade script

Question

just a " vsay_team FireInTheHole ^3*^7nAde " when TIMING nade

(not when press button for nade and dont when throwing...just when timing)

 

thx :lol:

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

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...

Share this post


Link to post
Share on other sites
  • 0

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)

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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"

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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)

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  

×