GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Quick Grenade Bind

A Config Script for Half-Life 2

1 73 bytes Raw Code
1
bind t "use weapon_frag;wait 450;+attack;wait 15;-attack;wait 50;lastinv"

Throw a grenade quickly

A "quick throw" bind for HL2. While someone else already did something similar before, it doesn't work as they used the commands incorrectly.

Breakdown of the commands:
  • use weapon_frag - swap directly to the grenade
  • wait 450 - wait for the draw animation to finish
  • +attack - fire the grenade
  • wait 15 - wait before releasing to ensure grenade is thrown
  • -attack - release prompt
  • wait 50 - ensure -attack is run and the grenade has been thrown
  • lastinv - switch to the last weapon

The default bind used here is T, but of course you can change that to whatever you want.

I played with the wait commands to try and get them as low as I possibly could, so they should work as fast as possible. I'm using fps_max 60 on my game config, so if yours is higher or lower you'll need to adjust the wait times yourself.

Sign up to access this!
  • wowks avatar
    wowks Joined 8mo ago
    Offline
    598 points Ranked 45,268th
    6 medals 1 rare
    • Returned 1000 times Medal icon
    • Returned 100 times Medal icon
    • One month a member Medal icon
    • Thanked 5 submitters Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 6 months a member Medal icon
    5mo 5mo
    Thank you! Now it is like in F.E.A.R. with extra button for the granade.

    I also use 60 fps limit (cmd: +fps_max 60) on Half-Life 2 Update with "Juniez' Grenade MMod" (https://gamebanana.com/skins/170051)
    And I figured out the minumum wait limit. It is 137.
    With the value 137 it works but not always. I suggest to use 150.
    Here is a video comparison between 450 and 150 wait value:



    Bananite
    URL to post:
  • I think "bind t "use weapon_frag;wait 115;+attack;wait 15;-attack;wait 50;lastinv"" works better
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 10y ago
HL2 Manager HL2:MMod Manager HL2:DM Manager Source Manager OC Manager Syn Manager GMod Manager GMod 9 Manager INS Manager DoD:S Manager CS:S Manager BM Manager L4D Manager L4D2 Manager Moderator
WAITING
30,198 points Ranked 164th
48 medals 3 legendary 10 rare
  • 2019 Top Contributor Medal icon
  • Returned 5000 times Medal icon
  • 10 years a member Medal icon
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 10y ago
HL2 Manager HL2:MMod Manager HL2:DM Manager Source Manager OC Manager Syn Manager GMod Manager GMod 9 Manager INS Manager DoD:S Manager CS:S Manager BM Manager L4D Manager L4D2 Manager Moderator
WAITING
30,198 points Ranked 164th
48 medals 3 legendary 10 rare
  • 2019 Top Contributor Medal icon
  • Returned 5000 times Medal icon
  • 10 years a member Medal icon
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
Reverend V92 avatar
Reverend V92

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Attributes

Language
CFG/Config

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 3
  • 3.9k
  • 4
  • 1y
  • 8mo

More from Submitter

WiPs by Submitter

More Weapons Scripts