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

Add more slots

A Question for Half-Life 2

Question Solved

This Question was answered and a solution was chosen.
Is it possible to add more weapon slots and make them work? Either weapons included in the game or custom weapons
Sign up to access this!
  • 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
    32,128 points Ranked 148th
    49 medals 3 legendary 11 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
    12d 14hr
    Weapon buckets (bucket) start at 0 (Crowbar, Gravity Gun), and 5 (Bugbait). Weapon slots (bucket_position) similarly start at 0 and end at 31 in most branches by default.

    The difference between the two is that the bucket_position cannot be the same as another weapon, and will cause only one to be selectable.

    Adding more weapons to the buckets are possible, i.e. changing the AR2 to the Pistol bucket is definitely possible, as long as you change the bucket_position to be an empty position in the list.

    There's also the console-style bucket appearance you can toggle with hud_fastswitch 2, which uses the commands bucket_360 and bucket_position_360. All the default HL2 weapons have those commands, which can be referenced in the scripts/weapon_* files.

    CW4 of Source avatar
    Mantra
    CW4 of Source
    URL to post:

Embed

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

Asker

YTramiro avatar
YTramiro Joined 4mo ago
Offline
119 points Ranked 68,439th
YTramiro
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 127
  • 1
  • 12d

More from Submitter

More Help/Info Needed Questions