Urban Terror Forums: One click nade throw. - Urban Terror Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

One click nade throw. Rate Topic: -----

#1 User is offline   _nSS (old) Icon

  • Passport: VoL_old
  • Joined: 09-March 09
  • Posts: 109
  • LocationBarrie, ON

Posted 19 November 2009 - 04:20 AM

I can't get in-game to test it atm, but would this work?

/bind mouse2 "ut_weaptoggle grenades; wait 8; +attack; -attack ; ut_weaptoggle primary"

Thanks much :)

This post has been edited by _nSS: 19 November 2009 - 04:27 AM

Posted ImagePosted Image
Apollo is a moron.

#2 User is offline   fda| ObScUrE Icon

  • newbie player
  • Passport: obscure
  • Main tag: fda|
  • Country:
  • Joined: 28-February 10
  • Posts: 755

Posted 19 November 2009 - 06:59 AM

ok here some correction:

/bind mouse2 "ut_weaptoggle grenades; wait 8; +attack; wait 400; -attack ; ut_weaptoggle primary"
then it would work "theoretical" but you can do it better with vstr. 8-)

//GRENADE SCRIPT//
set nade_start                    "vstr nade_echo ; vstr nade_Type_Auto; wait 10; +attack; wait 8"
set nade_end                      "-attack; wait 8; vstr my_weapon"
//bind KEY                        "+vstr nade_start nade_end"


//GRENADE TOGGLE//
set nade_HE                       "set nade_Type_Auto weapon 11; set nade_Type vstr nade_SMOKE ;vstr sfx1 ;set nade_echo ut_echo ^0[^6HighExplosiv^0]^2-->^8(^2'^8) ;vstr nade_echo"
set nade_SMOKE                    "set nade_Type_Auto weapon 13; set nade_Type vstr nade_HE    ;vstr sfx1 ;set nade_echo ut_echo ^0[^6SmokeNade^0]^2-->^8(^2'^8)    ;vstr nade_echo"
set sfx1                          "play sound\items\use_medkit"
set nade_Type                     "vstr nade_HE"
vstr nade_HE
//bind KEY                        "vstr nade_Type"

//WEAPTOGGLES//
set weapPrimary                   "ut_weaptoggle primary   ; set my_weapon vstr weapPrimary"
set weapSecondary                 "ut_weaptoggle secondary ; set my_weapon vstr weapSecondary"
set weapSidearm                   "ut_weaptoggle sidearm   ; set my_weapon vstr weapSidearm"
set my_weapon                     "vstr weapPrimary"
//bind KEY                        "vstr weapPrimary"
//bind KEY                        "vstr weapSecondary"
//bind KEY                        "vstr Sidearm"

but I trust my fingers more then scripts so I do it the old way. :laugh:

~The quiter you become, the more you are able to hear.~
01101000 01100101 01100001 01110010 00100000 01101101 01100101
AKG-K702

#3 User is online   Yas Icon

  • newbie player
  • Passport: yas
  • Country:
  • Joined: 28-February 10
  • Posts: 1,173

Posted 19 November 2009 - 11:29 AM

hmm... dont you cook your nades?



#4 User is offline   _nSS (old) Icon

  • Passport: VoL_old
  • Joined: 09-March 09
  • Posts: 109
  • LocationBarrie, ON

Posted 19 November 2009 - 02:25 PM

View PostYas, on 19 November 2009 - 10:29 AM, said:

hmm... dont you cook your nades?


Yes and no, but I rarely use them for close range stuff.
Posted ImagePosted Image
Apollo is a moron.

#5 User is offline   _nSS (old) Icon

  • Passport: VoL_old
  • Joined: 09-March 09
  • Posts: 109
  • LocationBarrie, ON

Posted 19 November 2009 - 02:27 PM

View PostObScUrE, on 19 November 2009 - 05:59 AM, said:

ok here some correction:

/bind mouse2 "ut_weaptoggle grenades; wait 8; +attack; wait 400; -attack ; ut_weaptoggle primary"
then it would work "theoretical" but you can do it better with vstr. 8-)

//GRENADE SCRIPT//
set nade_start                    "vstr nade_echo ; vstr nade_Type_Auto; wait 10; +attack; wait 8"
set nade_end                      "-attack; wait 8; vstr my_weapon"
//bind KEY                        "+vstr nade_start nade_end"


//GRENADE TOGGLE//
set nade_HE                       "set nade_Type_Auto weapon 11; set nade_Type vstr nade_SMOKE ;vstr sfx1 ;set nade_echo ut_echo ^0[^6HighExplosiv^0]^2-->^8(^2'^8) ;vstr nade_echo"
set nade_SMOKE                    "set nade_Type_Auto weapon 13; set nade_Type vstr nade_HE    ;vstr sfx1 ;set nade_echo ut_echo ^0[^6SmokeNade^0]^2-->^8(^2'^8)    ;vstr nade_echo"
set sfx1                          "play sound\items\use_medkit"
set nade_Type                     "vstr nade_HE"
vstr nade_HE
//bind KEY                        "vstr nade_Type"

//WEAPTOGGLES//
set weapPrimary                   "ut_weaptoggle primary   ; set my_weapon vstr weapPrimary"
set weapSecondary                 "ut_weaptoggle secondary ; set my_weapon vstr weapSecondary"
set weapSidearm                   "ut_weaptoggle sidearm   ; set my_weapon vstr weapSidearm"
set my_weapon                     "vstr weapPrimary"
//bind KEY                        "vstr weapPrimary"
//bind KEY                        "vstr weapSecondary"
//bind KEY                        "vstr Sidearm"

but I trust my fingers more then scripts so I do it the old way. :laugh:


Why the wait 400? I would have thought the once you actually +attacked, it wouldn't stop attacking until the actual attack was over.
Posted ImagePosted Image
Apollo is a moron.

#6 User is offline   fda| ObScUrE Icon

  • newbie player
  • Passport: obscure
  • Main tag: fda|
  • Country:
  • Joined: 28-February 10
  • Posts: 755

Posted 19 November 2009 - 03:15 PM

the wait 400 is the cooking time for your nade you have to find out how long you will do that.
without waiting time or to short waiting time your script will only change weapons and make a prenade.


In my script I use the +vstr support

set nade_start "vstr nade_echo ; vstr nade_Type_Auto; wait 10; +attack; wait 8"
set nade_end "-attack; wait 8; vstr my_weapon"
//bind KEY "+vstr 1nade_start 2nade_end"

so this script does the following:
1.you press the key and it selects the nade and starts immedently the cooking (time adjusted how long you hold the key)
2.with the release of your key the nade flys away and selects the weapon that you have used before.

~The quiter you become, the more you are able to hear.~
01101000 01100101 01100001 01110010 00100000 01101101 01100101
AKG-K702

#7 User is offline   mitsubishi Icon

  • newbie player
  • Passport: mitsubishi
  • Joined: 28-February 10
  • Posts: 9,396

Posted 19 November 2009 - 03:28 PM

don't forget any wait time handicaps you gaming. you can't do anything during the duration to input.

#8 User is offline   Opium Icon

  • newbie player
  • Passport: opium
  • Country:
  • Joined: 28-February 10
  • Posts: 1,862

Posted 19 November 2009 - 11:28 PM

easier to just cook throw then toggle/scroll back to your primary IMO

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users