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

Members see zero ads. Membership is 100% free
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 Joined 26d ago
    Offline
    Prikizuaro Flag Affiliation: Prikizuaro
    107 points Ranked 65777th
    kizuati Prikizuaro Flag
    Affiliation
    Prikizuaro
    access_time 6d edit 6d
    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...
    Nomad
    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
10,523 points Ranked 553rd
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
10,523 points Ranked 553rd
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 363
  • mode_comment 1
  • access_time 1mo

More from Submitter

menu

WiPs by Submitter

menu

More Weapons Scripts

bcp.crwdcntrl.net tracking pixel