Project Zomboid

Project Zomboid

Harry's Better Ammo Icons
64 Comments
xXAlamedAXx 17 Apr @ 6:44pm 
my god bro, just say if its compatible with other gun mods:cozypoevaal:
TikaTops 23 Jan @ 9:02am 
Build 42 pls
Tyr Morga 23 Jan @ 2:58am 
is this compatible with multiplayer?
harrycheez  [author] 24 Nov, 2024 @ 11:09am 
@Ax i dont see why not
Ax 24 Nov, 2024 @ 5:33am 
Can it be used on existing save?
ₘₑₗₒₙ🍈 27 Aug, 2024 @ 6:46am 
Great mod ty.
ELTR101 6 Aug, 2024 @ 8:44pm 
Is this compatible with VFE and VFE stalker? thx! :)
Tnaz.v 14 Mar, 2024 @ 9:08am 
Does it work with snake weapons?
Wuffo 12 Mar, 2024 @ 10:13pm 
@trashcanhands I hope @harrycheez reads that bc Item Tweaker doesn't look so stable with build 42 around the corner
trashcanhands 12 Dec, 2023 @ 7:07am 
@harrycheez
If you're interested, you can change your script easily so that it doesn't require ItemTweaker.

local function TweakItem(Name, Property, Value)
local Item = ScriptManager.instance:getItem(Name)
if Item then
Item:DoParam(Property.." = "..Value)
end
end

TweakItem("Base.Bullets9mmBox", "Icon", "HBVAI_9mmBox");
TweakItem("Base.Bullets45Box", "Icon", "HBVAI_45Box");
..ETC..

You can just copy/paste the TweakItem list from your current script.
S4ro 18 Nov, 2023 @ 6:33am 
it's safe to add middle game?
rain 11 Oct, 2023 @ 5:04pm 
Great mod idea. Is the fix mentioned previously now applied to the mod?
space is cool 26 Aug, 2023 @ 7:42am 
ah cool
harrycheez  [author] 26 Aug, 2023 @ 7:12am 
@Space is alive, image should now be fixed, sorry about that
space is cool 26 Aug, 2023 @ 1:03am 
where can I see a screenshot of the icobs
trashcanhands 14 Apr, 2022 @ 9:26am 
@Gus
@Ginn
You're very welcome!

@harrycheez
No problem. Keep making the awesome mods!
harrycheez  [author] 14 Apr, 2022 @ 5:16am 
@trashcanhands thanks for sharing that fix while I couldn't keep the mod updated :spiffo:
Ginn 13 Mar, 2022 @ 1:11am 
Great work i love it!! and thanks to @trashcanhands for the fix ♥♥
Gustavo Pava 19 Feb, 2022 @ 10:50am 
@trashcanhands It worked! Thank you!! :)
trashcanhands 18 Feb, 2022 @ 7:21am 
The M14 clip icon bug is an easy fix:

Open: HBVAI_ItemTweaker.lua in the mod's "media\lua\client\" folder

Change this part of the final line of this file: "HBVAI_762Mag" > "HBVAI_M14Clip"

Now just go back to "media\textures" and rename "HBVAI_M14Clip" to "Item_HBVAI_M14Clip"

And that's it!
YingSuHuaKai 20 Jan, 2022 @ 5:09am 
:steamhappy: ?
Phyne 15 Jan, 2022 @ 3:07pm 
@Gus yup, would love a quick update for that!
Gustavo Pava 8 Jan, 2022 @ 10:58am 
Really nice mod!
Though, the M14 clip doens't show any icon on inventory, just a (?). Anyone else? (41.65 MP)
Koss 14 Dec, 2021 @ 11:30am 
First mod that add a good quality texture ammo
harrycheez  [author] 24 Jun, 2021 @ 5:12am 
@Astray Curiosity Thanks!
AstrayCuriosity 23 Jun, 2021 @ 11:19pm 
I really appreciate people liky Harry who makes really quality visuals that fits the style of the game and not some wacky crap like other moders often do.
Hairy.Mario 19 Mar, 2021 @ 1:24pm 
@BananaDealer cuz it was updated
BananaDealer 19 Mar, 2021 @ 12:30pm 
I dunno... I've got it working on my end, on the latest B41/IWBUMS build and with a laundry-list of mods alongside...
yarosan62 10 Mar, 2021 @ 1:15pm 
This mod is doesnt works!!!!!!!!!!!!!!!
ƘΙƮSƯƝΔKΔI ︻ア ョ 6 Mar, 2021 @ 7:31am 
Yep. but i think the lua it's broken for B41. Because even without any mod that this doesn't work.

The only config based for change vanilla texture with harry : HBVAI_ItemModelParams.lua
( Steam\steamapps\workshop\content\108600\2271559391\mods\Harry's Better Vanilla Ammo Icons\media\lua\client )
Kommando 6 Mar, 2021 @ 3:36am 
Doesn't seem to work B41 :steamsalty:
Leo_Pardo 5 Mar, 2021 @ 1:42pm 
Hey, can anyone use this mod?
its very awesome! But not working on build 41 for me =(
Plushie 9 Feb, 2021 @ 1:22pm 
The .223 ingame represents .223 Remington civilian ammo. Common for hunting and sport. The 5.56 is likely representing 5.56x45mm NATO M855 military/surplus.

.223 is usually loaded to 39-55 grain

5.56 SS109/M855 is loaded to 62 grain

Basically any AR-15 can fire .223, though lower grain grounds are more likely to cause failures to eject and feed. That said, guns designed to fire 55 grain and below .223, while capable of chambering 5.56, are prone to catastrophic failures, sometimes even deadly ones. Most commonly though the gun will start tearing cases and depending on the quality of the rifle, components may start to crack or break. Minor explosions are common too.

Similarly, the M855A1 early in development was quite harsh on AR-15s, and many AR-15 carbines are not rated to fire 63 grain and above rounds.
But it was me, Dio! 28 Jan, 2021 @ 9:17pm 
@Janus819 actually i think 556 has more powder than 223 rem otherwise its basically the same round. theres some rifles out there you can use 223 in but not 556. or you will blow the gun up with overpressure, i beleive
Janus819 27 Jan, 2021 @ 7:38am 
Wait, this game differentiates between .223 caliber and 5.56mm? Those are basically synonyms. Hadn't noticed that.
Abdula 21 Jan, 2021 @ 8:36pm 
Please fix the mod:spiffo:
bikinihorst 20 Jan, 2021 @ 4:44am 
The icons look awesome. Sadly in the mod selection dialog it just pops an undefined "lua error" for me.
Leo_Pardo 15 Jan, 2021 @ 7:14am 
Not working on build 41
ChthonicKnight 28 Dec, 2020 @ 7:42am 
Seems like the tweak lua code is broken. Replacing the code with Item Tweaker API seems to repair it but will have to wait for Harry.
AvocadoGuy 18 Dec, 2020 @ 9:31pm 
The mod is giving me some errors as soon as I open the game and it's not working in changing the actual icons for stuff. If needed, I could add any more details here.
JDog_HLM 16 Dec, 2020 @ 1:08am 
That mod doesn't work on 41.48(( I really like this sprites!
harrycheez  [author] 20 Nov, 2020 @ 7:05am 
Ill fix it in a little bit
Herz 20 Nov, 2020 @ 7:00am 
I'm no modder but it seems to be fixed by just verifying if the field is not of type userdata inside of the HBVWRewriteParams() function. like: if (type(field) ~= "userdata") then
Herz 20 Nov, 2020 @ 6:18am 
I'm also receiving the same error reported by AlexSFeather
AlexSFeather 20 Nov, 2020 @ 2:00am 
after the recent update there is this error popping up:
function: HBVARewriteParams -- file: HBVAI_ItemEditAPI.lua line # 48.
[20-11-20 11:56:22.757] ERROR: General, 1605866182757> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getName of non-table: public java.lang.String zombie.scripting.objects.Item.clothingExtraSubmenu at KahluaThread.tableget line:1690..
[20-11-20 11:56:22.757] ERROR: General, 1605866182757> DebugLogStream.printException> Stack trace:.
[20-11-20 11:56:22.760] LOG : General, 1605866182760>
YingSuHuaKai 17 Nov, 2020 @ 10:14am 
Have disabled nearly all MODs, but still have icon bug on 20 rounds .308magazine, already send friend request
Wiechciu 7 Nov, 2020 @ 7:56am 
There was a conflict between 223. and 308. magazine. Somehow, the game loaded me the 223. ammo icon instead of 308. Changing the name of it solved. Thanks to all!
Wiechciu 7 Nov, 2020 @ 7:54am 
Ok, I fixed it, like Clebenstein said. I had to change the name of magazine icon, thanks for your help!
MobileSuitCleb 7 Nov, 2020 @ 5:38am 
@Wiechciu what weapon mods are you using? i had a similar issue with trying to use the assault rifle mod that added the m14 back into the game and the magazine had the same issue. i fixed it by copying and renaming the icon for the magazine from another out of date mod.
harrycheez  [author] 4 Nov, 2020 @ 2:34pm 
@Wiechciu I don't have that problem, I would definitely look into a possible mod conflict. If you aren't using any other mods send me a friend request and ill try my best to help