Jump to content

  • Log in with Facebook Log in with Twitter Log In with Steam Log In with Google Sign In
  • Create Account
Photo

timing nade script

- - - - -

  • Please log in to reply
7 replies to this topic

#1
krAzy :)

krAzy :)

    L8: Grand Teacher

  • ET Trial
  • 1,550 posts
70
On the road to fame
  • Admin:11
  • Server:Silent #1
  • Alias:krAzy:]
Contributor
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:


Click here to login or here to register to remove this ad, it's free!

#2
Justice

Justice

    L3: Novice

  • User
  • 138 posts
2
Unknown at this point
  • Admin:3
Nice krazy, btw you should use it because you always tk with nades :D

#3
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,093 posts
3,229
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor
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...

#4
krAzy :)

krAzy :)

    L8: Grand Teacher

  • ET Trial
  • 1,550 posts
70
On the road to fame
  • Admin:11
  • Server:Silent #1
  • Alias:krAzy:]
Contributor

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)

#5
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,093 posts
3,229
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor
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

#6
krAzy :)

krAzy :)

    L8: Grand Teacher

  • ET Trial
  • 1,550 posts
70
On the road to fame
  • Admin:11
  • Server:Silent #1
  • Alias:krAzy:]
Contributor
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"

#7
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,093 posts
3,229
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor

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.

#8
krAzy :)

krAzy :)

    L8: Grand Teacher

  • ET Trial
  • 1,550 posts
70
On the road to fame
  • Admin:11
  • Server:Silent #1
  • Alias:krAzy:]
Contributor
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)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users