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

Toggle Lowered Weapon

A Config Script for Half-Life 2

4 233 bytes Raw Code
1
2
3
4
alias "lowerweapon" "global_set friendly_encounter 1;alias passivetoggle raiseweapon"
alias "raiseweapon" "global_set friendly_encounter 0;alias passivetoggle lowerweapon"
alias "passivetoggle" "lowerweapon"
bind y "passivetoggle"

Because flagging friendlies is bad mojo.

This will create a bind to toggle the "lowered" weapon state seen when in certain areas of HL2 on command.
Sign up to access this!

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 Moderator
WAITING
26,212 points Ranked 199th
45 medals 3 legendary 9 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
Modification
Original Authors
Spoom
Alias script
Special Thanks
notaguyyoucantrust
notaguyyoucantrust Joined 6mo ago
Offline
180 points Ranked 59,523rd
Informing me about the global_set command

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 Moderator
WAITING
26,212 points Ranked 199th
45 medals 3 legendary 9 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
  • 790
  • 5
  • 3mo

More from Submitter

WiPs by Submitter

More Weapons Scripts