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 24d ago
    Offline
    Prikizuaro Flag Affiliation: Prikizuaro
    86 points Ranked 65777th
    kizuati Prikizuaro Flag
    关联
    Prikizuaro
    access_time 3d edit 3d
    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
    帖子链接:

Embed

menu
分享横幅
图片 URL
HTML 嵌入代码
BB Code 嵌入代码
Markdown 嵌入代码

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
HL2 Manager
Offline
10,486 points Ranked 561st
30 medals 5 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
  • Building Bridges Entrant Medal icon

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
HL2 Manager
Away
10,486 points Ranked 561st
30 medals 5 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
  • Building Bridges Entrant 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 323
  • mode_comment 1
  • access_time 1mo

More from Submitter

menu

WiPs by Submitter

menu

More Weapons Scripts