Garry's Mod

Garry's Mod

Hematolysis - Inventory System
Showing 1-9 of 9 entries
Update: Sep 26 @ 1:15pm

Changes & improvements

  • Opening the pickup window now centers the cursor on the "Yes" button.

Fixes
  • Fixed the pickup window not opening on the first attempt after picking up an item.
  • Fixed the method ply:HEMAInvAddItem() not dropping the item when the inventory was full and an item of the same type was already present.

Update: Aug 17 @ 4:36pm

Hotfix:
Removed most of console logs

Update: Aug 17 @ 3:11pm

New features
  • Pickup confirmation window
    • Displays a preview of the item along with its name, effects, and description
    • Gives the option to store, grab, or cancel the pickup
    • Can be disabled in client settings
  • Item inspection
    • Highlighting an item slot may reveal a ? button in the upper-right corner of the slot
    • Clicking on this button will open the item description and details (very similar to the pickup confirmation window)
  • Item request system
    • Clicking on an item on the proximity inventory will send an item request to the player who has it
    • Clicking on an item in the proximity inventory sends a request to the player who owns it
    • Players may receive only one request at a time and it will expire after 30 seconds (can be changed with
      sv_hema_inv_trade_time
      command or in server settings)
  • Flashlight system
    • The default flashlight now has limited battery
    • Spare batteries can be stored, then used later
      • Recharge by either trying to turn on an empty flashlight or left-clicking the flashlight HUD element
      • Right-clicking on the flashlight HUD element drops a spare battery
    • Can be customized or disabled in server settings
  • Picked up items history
    • Replaces the default Garry's Mod pickup history
    • Features a unique animated style
    • Now displays consumables and upgrades stored in the inventory
    • Displays item names and icons

New items
  • Revive shot - Instant self-revive with less health
  • G + R + B Mixed Herbs – Fully heals, removes all status effects, and reduces infection by 25%
  • Gunpowder D – Used to craft explosives and Gunpowder X
  • Gunpowder X – Used to craft universal ammo
  • Yellow Herb – Used to craft antibiotics with Chem Fluid
  • Universal Ammo Box – Consumable that gives a full ammo stack for the currently equipped weapon
    • Cannot be used if the equipped weapon has no compatible ammo type

Added new crafting recipes
  • G + R + B Mixed Herbs
  • C + D → M67 Grenade (Arc9 - Gunsmith Arms)
  • B + D → SMG1 Grenade
  • D + D → Gunpowder X
  • X + X → Universal Ammo Box
  • Yellow herb + Chem fluid → NMRiH antibiotics

Changes and improvements
  • Custom ammo types support
    • Custom ammo types will no longer be prevented from being picked up and throw error.
    • Picked-up ammo types that are not in the default pool will automatically be added to the database and saved with a default stack capacity of 90.
    • A menu in the server settings allows you to change the maximum amount of ammo that a single inventory slot can hold.
  • Custom weapons blacklist
    • Added a menu to create a custom weapon blacklist.
    • Blacklisted weapons will no longer take up a slot in the inventory.
  • Changing inventory behavior settings will now reload every player's inventory (a fresh respawn or an empty inventory is still recommended, though). Reload is triggered when:
    • Toggling "Ignore weapons"
    • Toggling "Ignore ammos"
    • Saving custom ammo limits
    • Saving weapons blacklist
  • Remote inventories now refresh properly when changes are made
  • Slight change to pickup sound (uses L4D1 sound instead of L4D2)
  • HL2 battery now also restores a small amount of flashlight power
  • Improved ARC9 weapon icon display, using generated icons (if supported by the weapon)
    • Does not affect ARC9 weapons from the Gunsmith Arms: Source pack
    • Icons regenerate when the weapon is highlighted via the weapon selector
  • New mixed herbs categories icons for improved crafting clarity
  • Crunchy’s NMRiH pills now cure infection instead of healing, to match the original game behavior
  • Added a button in the client settings to reload the inventory in case of problems.
  • Inventory windows now close when the player dies.

Bug fixes
  • Fixed proximity inventories being permanently open
  • Fixed ammo not being correctly added on spawn on server-side
  • The "pointer" cursor no longer shows when hovering outside UI windows
  • Fixed the `Cannot destroy physics in a physics callback!` error when the entire inventory is dropped on death
  • ARC9 weapons no longer lose their attachments when dropped or given
    • (still occurs when dropped after player/zombie death)
  • Fixed ammo entities names matching (especially with SMG1 Ammo Grenade mismatching with SMG1 Ammo)

Update: Jun 9 @ 8:41am

Fixed errors if the Hema Infection addon is not mounted.

Update: Apr 21 @ 6:21am

  • Added an option to make ammo not occupy the inventory
  • Fixed error when zombified player drop weapons
  • Added a global function for the infection addon

Update: May 13, 2024 @ 3:42pm

  • Potentially fixed unclosable inventory in multiplayer
  • The windows will not longer be in front of Gmod's menu
  • Players can now move when inventory is open
  • Added console command to force close inventory

Update: Jan 27, 2024 @ 3:23pm

  • Fixed wrong font name that result error on crafting window when Hema HUD is not mounted

Update: Jan 9, 2024 @ 1:01pm

  • Added two options to toggle background blur and dim.

Update: Jan 1, 2024 @ 11:45am