-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable the overflow weapon drop mechanism by default #137
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes existing behavior. Did you intend to do so? To keep existing behavior the new cvar should be set to 1.
What's the motivation for adding this? Did someone ask for it?
Yes, that was intended. If someone desparately wants the old behaviour, they can use the cvar. But like I said, I'm open to debate about the default value for the cvar :) |
f419032
to
9652308
Compare
Rebased |
I don't think you're wrong but I prefer not to change the behavior, as there are now a lot of user expectations associated with the current behavior. Not that I think the way it is now is necessarily the best way to go, but I made it that way because I was worried that people might not know why they can't pick up a weapon from the ground. IE they press e but nothing happens, and they don't understand that they have to drop something. So I drop something automatically if you're full because the player can always pick it up again, and I know that the player most likely wants the weapon on the ground more. I don't remember whether this was an issue that actually came up in playtesting or whether I was going by hunch. In an ideal world I'd like to see a solution that involved better indicators to show that either you can't pick up a gun unless you drop things or that you're going to drop something if you pick something up, and I'd probably lean towards the latter. |
Hmm, I can pop up a notice on how to drop weapons if you hit the limit. |
9652308
to
5d060c7
Compare
Rebased again |
I'd have to see a design. |
Include in that same panel the key to drop, e.g. "Inventory Full \n [G] Drop Weapon" and I think I'm OK with that. |
Gotta figure out how that works, first :) |
Can be re-enabled by setting da_drop_overflow_on_pickup to 1.
There's already one in CHudHintDisplay, this one causes 2 hints to pop up in the same place. The Hint System is currently unused as far as I can tell, so I don't think there will be any side-effects.
The previous font was misaligned.
2eb9356
to
36ffba8
Compare
Can be re-enabled by setting da_drop_overflow_on_pickup to 1.
I'm open to debate about the default value.
I'm also looking for a way to make a GUI option for this (and da_slide_unclick_time).
Fixes #93