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

No ads for members. Membership is 100% free. Sign up!
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.

Comments

Sign up to access this!
  • kizuati avatar
    kizuati username pic Joined 2mo ago
    Sleeping
    Prikizuaro Flag Affiliation: Prikizuaro
    432 points Ranked 46893rd
    7 medals 1 rare
    • 10 submissions featured Medal icon
    • Submission featured Medal icon
    • Returned 100 times Medal icon
    • Became a Studio Leader Medal icon
    • Received thanks 5 times Medal icon
    • One month a member Medal icon
    kizuati avatar
    kizuati
    Prikizuaro Flag
    Affiliation
    Prikizuaro
    access_time 1mo edit 1mo
    Damn,I just implemented the same thing into PK...
    alias frag_q "use_weapon_frag ; wait 400 ; +attack ; wait 10 ; -attack ; lastinv"
    Welp now I don't know what to do...
    Destiny Fulfilled
    URL to post:

Embed

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

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
HL2 Manager
Offline
11,295 points Ranked 512th
31 medals 6 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Achieved Game Manager clearance Medal icon

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
HL2 Manager
Away
11,295 points Ranked 512th
31 medals 6 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Achieved Game Manager clearance 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

menu

Attributes

Language
CFG/Config

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 1
  • remove_red_eye 536
  • mode_comment 1
  • access_time 2mo

More from Submitter

menu

WiPs by Submitter

menu

More Weapons Scripts