Skip to content
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

Add Weapon Status Overrides #74

Open
UndeadZeratul opened this issue Jan 24, 2024 · 1 comment
Open

Add Weapon Status Overrides #74

UndeadZeratul opened this issue Jan 24, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@UndeadZeratul
Copy link
Owner

With enough effort & time, the HCItemOverrides class should let me do what I need, similar to how the Stat Counters were made using a BaseCounter class and extending it from there. A core BaseWeaponStatus that has all the necessary hooks, methods, getters, etc. to draw every piece of the main/"standard" templates should suffice for the 80% of the weapons out there, then override the methods in the remaining 20% with whatever custom layout they use.

@UndeadZeratul UndeadZeratul added the enhancement New feature or request label Jan 24, 2024
@UndeadZeratul UndeadZeratul self-assigned this Jan 24, 2024
@UndeadZeratul
Copy link
Owner Author

One suggestion for this HUD element was to have the extra magazines reverse their direction when renewing how full they are, so instead of rounds "lowering down from the top", they're instead "rising up from the bottom" of the mag. Should be as simple as adding a CVAR toggle for the durability bar direction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant