Closed Paneedah closed 5 months ago
The latest update to Modern Warfare Cubed Version 0.2 introduces a refined user experience with improvements focused on in-game interactions and visual cues. Notably, the update enhances the way players switch fire modes, view ammo counts directly on magazines as well as on guns, and interact with the game's crosshairs. These changes aim to provide a more intuitive and immersive gameplay experience by ensuring that crucial information and options are presented more contextually and visually appealing.
File Path | Change Summary |
---|---|
Changelog.md |
- Contextual fire mode prompts - Magazine bullet count display - Crosshair visibility with magazine |
.../weaponlib/CustomGui.java |
- Added Item import- Replaced RenderGameOverlayEvent.ElementType.HELMET with HELMET - Removed handleModificationHUD - Deprecated handleAmmoCounter for drawAmmoCounter - Refactored onRenderCrosshair - Introduced and enhanced drawAmmoCounter for ammo display logic |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
📝 Description
This PR is all about the
Ammo HUD
and the bottom-right ammo counter display, improvements and small bug fixes.🎯 Goals
drawAmmoCounter
method that works with both guns and magazines[B]
(change firing mode) if there's multiple modes to choose from❌ Non Goals
It is not a goal to update old methods and try to do stupid shit to them to get them to work.
It is not a goal to update anything that isn't simply visual / in the HUD.
🚦 Testing
This has been tested within and outside of dev-env. Tested all HUD related items such as open door, combinations of magazines and guns, and more.
⏮️ Backwards Compatibility
Perfectly backwards compatible and won't break anything. Old method has been marked as
@Deprecated
and should be removed in the near future.📚 Related Issues & Documents
N/A
🖼️ Screenshots/Recordings
Original Display:
New:
📖 Added to documentation?
Summary by CodeRabbit