Opened 12 years ago
Last modified 11 years ago
#47 new enhancement
Binding keys to help switching weapons
Reported by: | tequila | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Client GUI and Experience | Version: | 1.1 |
Keywords: | Cc: |
Description
People requests better way to select weapons easily. Smokin'Guns is a fast-paced game and it is a pain then to select weapons from the in-game menu.
Related forum thread: Weapon Switching
Attachments (1)
Change History (3)
Changed 11 years ago by
Attachment: | instantWeaponSwitch.patch added |
---|
comment:1 Changed 11 years ago by
I just attached a patch which implements a system quite similar to what was suggested in the linked forum thread. A new cilent-side command "instaswap" can be called to instantly change what weapon is in the players hand. While, not instantly; the animations and everything still plays, but the menu is bypassed.
The valid parameters for instaswap are:
knife
pistol1
pistol2
akimbo
longgun
dynamite
molotov
Inserting anything else or nothing should cause the function to catch an error and print to console.
This patch is considered a first draft. I doubt very much that it's ready to be pushed in mainland, and is here mainly as a request for comment. There is very likely a bug hiding in the code somewhere, and it needs proper testing.
Should I bump the forum thread with an announcement of this patch? Perhaps I'll also include a precompiled pk3 with the changes when I make that bump so that anyone can test and not just those setup for compiling code.
Also, it's good to be back. I've been gone from this community for way too long.
comment:2 Changed 11 years ago by
Hi ilag, good to see your interest here and even with a patch. Thank you.
Oh, yes, you should post in the related thread with a backlink to here so possibly interested people would focus on your effort. Personaly I got alerted as I'm the admin here and the bug reporter. I coudl imagine I'm the only one at the moment to have seen your effort ;)
And thank you again to use this bug tracker ;) You're an example !! :D
Implements a new client console command instaswap to help resolve the issue.