HandmadeGunsOverdrive-4.0.4.3.jar
Curse Maven Snippet
What's new
# HMG Overdrive — Gun Icon Rework & Fire Mode Update
## Reworked Gun Inventory Icons
- HMG's existing model-based gun inventory icons have been completely reworked for consistency and performance.
- Instead of repeatedly relying on the live gun renderer for inventory presentation, HMG now generates a clean model-derived icon once and reuses it across GUI screens.
- The reworked icons are used consistently across:
- Inventory
- Hotbar
- Creative menu
- GUIs
- NEI
- Generated icons are cached to disk and reused on future launches.
- Guns with authored inventory sprites can still use them normally through existing icon overrides.
- Equipped guns, dropped guns, placed guns, skins, attachments, and other live-world rendering remain unchanged.
## Much Better Gun Icon Framing
- Gun icons are now framed around the weapon's actual visible silhouette instead of depending on the raw model origin or authored scale.
- Pistols, rifles, launchers, and unusually offset pack models should now appear at much more consistent sizes.
- Weapons are automatically centered and scaled to use most of the available icon space while still keeping transparent padding around the model.
- Long barrels, stocks, optics, suppressors, and other protruding parts are much less likely to clip outside the icon.
- If a weapon still approaches the capture boundary, HMG automatically retries with a wider view.
- Weapons that still cannot be captured safely fall back to their authored sprite instead of saving a visibly broken or clipped icon.
- Higher-resolution captures and improved downsampling produce cleaner edges and transparency.
- Older cached icons automatically regenerate using the new framing system.
## More Reliable Icon Caching
- Completed gun icons now persist more reliably between game sessions.
- Unchanged guns can load their cached icon directly without needing another capture.
- Failed or interrupted cache writes are handled safely instead of corrupting the saved icon.
- If disk saving fails, a successfully generated icon remains usable for the rest of the current session.
- Resource reloads and game shutdowns now handle pending icon saves more cleanly.
- Changes to gun models, textures, animation data, transforms, or other appearance data automatically invalidate the old cached icon and generate an updated one.
## Cleaner Pending and Failure Behavior
- While a model-derived icon is still being prepared, HMG uses the gun's normal authored sprite instead of falling back to an expensive live render.
- Failed icon generation also falls back cleanly to the authored icon rather than repeatedly retrying expensive rendering work.
- Inventory, hotbar, creative, GUI, and NEI all share the same finalized generated icon once it is ready.
## Better Default Fire Selector
- Newly created guns that support automatic fire now default to their first available automatic fire mode.
- Semi-auto-only weapons continue to use their normal first configured fire mode.
- Existing gun stacks keep whatever fire mode was already saved on them.
This mod has no additional files

