H.E.C.U. (NG_Fixed)
🟡 Updated this yearPreview
📋 About This Mod
Fork of H.E.C.U. by darlak97. Original mod: https://steamcommunity.com/sharedfiles/filedetails/?id=3452711271 All credit for the mod goes to the original author. This fork only patches errors, never behaviour. 1. The gas mask never had a filter Symptom: the H.E.C.U. gas mask gives no protection against gas, and swapping filters changes nothing. Both mask variants declared an OnCreate hook that does not exist: item HECU_GasMask { OnCreate = SpecialLootSpawns.OnCreateGasMask, There is no SpecialLootSpawns anywhere - not in projectzomboid.jar, not in this mod, not in any other mod. The string appears only in this mod's own item script. The vanilla hook is OnCreate = ItemCodeOnCreate.onCreateGasMask, and that function is exactly the one that installs the filter and rolls its remaining life (createFilterForMask, filterType, GASMASK_FILTER, RESPIRATOR_FILTERS, RAG_FILTER in zombie.scripting.logic.ItemCodeOnCreate). With the hook pointing at nothing, every mask spawned with no filter fitted at all, so there was nothing for the filter mechanic to act on. Repointed to the vanilla function on HECU_GasMask and HECU_GasMask_Flip, in all three copies of the item script the mod ships (42.12, 42.13 and the B41 root). Nothing else changed - the mask keeps its own stats, its filter recipes and its CorpseSicknessDefense of 45. 2. A filter taken out could never be put back Symptom: the mask lets you remove its filter, but fitting a new one plays the animation, destroys the filter and changes nothing. This one is a vanilla defect that the mask happened to be exposed to. Vanilla's PutFilterOnGasMask cannot refill anything, modded or not: OnCreate = RecipeCodeOnCreate.addGasFilter -> attachTankOrFilter(clothing, item, false) setFilterType(...) / setTankType(...) / setUsedDelta(...) / setCurrentUsesFloat(...) It only writes the filter type and the remaining uses into the item it is handed. It never converts the empty shell into its WithDrainable type. Only the opposite direction swaps the
Fork of H. E. C. U. by darlak97. Original mod: https://steamcommunity.com/sharedfiles/filedetails/?id=3452711271 All credit for the mod goes to the original author. This fork only patches errors, never behaviour. 1. The gas mask never had a filter Symptom: the H. E. C. U. gas mask gives no protection against gas, and swapping filters changes nothing. Both mask variants declared an OnCreate hook that does not exist: item HECU_GasMask { OnCreate = SpecialLootSpawns. OnCreateGasMask, There is no SpecialLootSpawns anywhere - not in projectzomboid.jar, not in this mod, not in any other mod. The string appears only in this mod's own item script. The vanilla hook is OnCreate = ItemCodeOnCreate.onCreateGasMask, and that function is exactly the one that installs the filter and rolls its remaining life (createFilterForMask, filterType, GASMASK_FILTER, RESPIRATOR_FILTERS, RAG_FILTER in zombie.scripting.logic. ItemCodeOnCreate). With the hook pointing at nothing, every mask spawned with no filter fitted at all, so there was nothing for the filter mechanic to act on. Repointed to the vanilla function on HECU_GasMask and HECU_GasMask_Flip, in all three copies of the item script the mod ships (42. 12, 42. 13 and the B41 root). Nothing else changed - the mask keeps its own stats, its filter recipes and its CorpseSicknessDefense of 45. 2. A filter taken out could never be put back Symptom: the mask lets you remove its filter, but fitting a new one plays the animation, destroys the filter and changes nothing. This one is a vanilla defect that the mask happened to be exposed to. Vanilla's PutFilterOnGasMask cannot refill anything, modded or not: OnCreate = RecipeCodeOnCreate.addGasFilter -> attachTankOrFilter(clothing, item, false) setFilterType(...) / setTankType(...) / setUsedDelta(...) / setCurrentUsesFloat(...) It only writes the filter type and the remaining uses into the item it is handed. It never converts the empty shell into its WithDrainable type. Only the opposite direction swaps the
📊 Mod Details
- Game
- Project Zomboid Mods
- Author
- 76561198122609812
- Version
- N/A
- Downloads
- 249
- Endorsements
- 0
- Category
- Build 42, Clothing/Armor, Military, Misc
- Created
- 8/6/2026
- Updated
- 8/10/2026
🔧 How to Install Project Zomboid Mods
Subscribe on Steam Workshop. Mods auto-download and install. Launch the game to activate.
📖 Full step-by-step install guide for Project Zomboid →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Project Zomboid commands, item IDs, and more.
Keep browsing — more Project Zomboid mods await