-
Notifications
You must be signed in to change notification settings - Fork 737
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
Arsenal - Filter firemodes for precision display by showToPlayer #6572
Conversation
Sounds like the weapon's config is broken if for some reason AI has different dispersion than players. |
You don't want AI insta headshotting you generally.
Wait wut? |
In most cases, it is just caused by not adjusting all firemodes when you have your own gun inherit from |
Like I said, broken then. Doesn't mean I am against this PR / fix btw.
Sounds fine if it is intentional, although you could just change aiDispersionX and aiDispersionY instead for those (ai) modes. Asset makers (artists) are bad at logic I guess, or I am just full of myself and there is something I am missing. |
Which is false, I fixed this months ago by changing what firemodes are used. Only non-AI firemodes should be listed in there. |
@alganthe, you're wrong about that |
The Can you even remove a subclass after inheriting it? |
No. |
When merged this pull request will:
There is a number of weapons, such as the NIArms M14DMR, RHS M249s and NIArms SiG 553s, that have an AI-only firemode with a lower
dispersion
value than any mode available to players. The current implementation shows those values on the Arsenal interface, painting a rather misleading picture.I have considered checking for existence of the
showToPlayer
property first, but it is already defined on the base classes for weapons (Default
) and firemodes (Mode_SemiAuto
).