Hearts of Iron IV

Hearts of Iron IV

[MD] Ammunition
109 Comments
yonihakam 5 Jul @ 10:04am 
any plans on updating and also including the future features ?

Air ammo sounds good.
BlitzMike91 24 Apr @ 4:05am 
ui needs some re-work other than that it works.
Kingsmen1917 22 Apr @ 10:55am 
hoping to be able to lend lease and/or sell my surplus ammo. Lend leasing to allies to keep them alive during wars and selling ammo to war profiteer & gain influence.
Remus 15 Apr @ 9:01pm 
Could use an UI update, other than that it seems to work
Clarck 13 Mar @ 7:33am 
The fuel problem is back again! The other time it was "you are overwriting MD_defines.lua which creates this problem".
Sincap Adam 19 Feb @ 2:45am 
update ? does this mod still work ?
ebcott  [author] 10 Jan @ 3:35pm 
yonihakam - I don't plan on incorporating that as a feature.
ebcott  [author] 10 Jan @ 3:34pm 
@topgunsss - well, of course there will be an issue. As stated in my description, this mod overwrites \common\buildings\00_buildings.txt. Millenium Dawn: 112 Building Slot 1.15 Update also overwrites that same file. But you don't need that mod when running this mod as I already set max build slots to 112 with my mod. I think the only "issue" is a graphical one with the state view screen. I haven't had time to fix it. But it functions fine.
topgunsss 10 Jan @ 1:33pm 
i noticed there is a mod issue when using this mod with {Millenium Dawn: 112 Building Slot 1.15 Update}. when using both mods together there is no Ammunition gain it says at 0. no matter how many Military factories you have. you could have 1000 Military factories and you will still have 0 gain, ive tested it with just. {{{Millenium dawn mod, [MD] Ammunition and Millenium Dawn: 112 Building Slot 1.15 Update}}} only active for testing after noticing no ammo gain and only way i could get ammo was by buying it
yonihakam 3 Dec, 2024 @ 6:58am 
Is there anyway to make a game rules where we can choose to use this submod for the player only?
ebcott  [author] 27 Nov, 2024 @ 9:20am 
11/27 Update - Fixed issue with defines file that resolves fuel and end game screen issue (my bad, that was a rookie mistake)
ebcott  [author] 26 Nov, 2024 @ 4:33am 
@Revan - you're right. That file shouldn't be named that. It'll be fixed in next update
Revan 22 Nov, 2024 @ 10:21am 
You are overwriting MD_defines.lua which creates this problem
Revan 22 Nov, 2024 @ 10:09am 
Somehow this mod does have a problem with fuel and with end game screen.
ebcott  [author] 20 Nov, 2024 @ 5:19pm 
@randomPerson - This mod doesn't touch any vanilla files except the buildings file.And all I've done was add 2 lines of code for the ammo modifiers onto the arms factory building and max slots on some buildings (which was reported as a potential issue I have to look into). Literally everything else is this same. So this shouldn't affect oil/fuel production at all. Not sure how it would. You can compare the files yourself. Use a site like differ checker. I won't have time to check into it further until next week tho. Maybe others will report back on whether it is an issue for them or not to.
randomPerson 20 Nov, 2024 @ 12:48am 
Hey, does anyone else get considerably less fuel per oil unit with this mod vs. without it? As China, I get only 26.4k fuel for my 440 oil with the mod. Without it, I get 189.1k for 394 oil.
ebcott  [author] 19 Nov, 2024 @ 4:32pm 
@Zorlond - I'll look into that issue. Should be able to click continue to bypass it though for now
Roktuti 19 Nov, 2024 @ 4:01pm 
it was an incompatibility with the 112 slots mod
Roktuti 19 Nov, 2024 @ 11:43am 
Same problem with ammo production here, i just unsuscribed and resubbed and nothing changes, my factories produces no ammo
Zorlond 18 Nov, 2024 @ 10:51pm 
Just tried starting a new MD game as USA, 2000 start. The game instantly gave me a playthrough completion screen before I could even unpause. Restarted the game without Ammunition and it did not do that, turned Ammunition back on, did it again. Unsubscribe/Resubscribe didn't fix it.

Granted, I don't care about score in MD and I can just continue playing right past it, but that's still weird.
ebcott  [author] 18 Nov, 2024 @ 3:40pm 
@Blackhe4rt - Try unsubscribing and resubbing. My initial update did that too but then fixed it with another update.
Blackhe4rt 18 Nov, 2024 @ 6:05am 
just tried it and i think the mills dont produce the ammo, i got the freebie and after that no change outside of buying it. I was playing as germany
yonihakam 17 Nov, 2024 @ 7:32pm 
Thank you
ebcott  [author] 17 Nov, 2024 @ 6:25pm 
Updated for: v1.11 MD // v1.15 HOI4 || I didn't have time to do a full QA so let me know if there are any bugs.
ebcott  [author] 17 Nov, 2024 @ 1:39pm 
@yonihakam - This has not been updated yet so probably is the reason for crash. Will update soon
yonihakam 16 Nov, 2024 @ 10:36pm 
please update
yonihakam 16 Nov, 2024 @ 10:35pm 
seems like this submod was the reason for my game crashing on startup
maybe because of the new DLC update ??
redwormman 9 Oct, 2024 @ 7:20pm 
shoigu , gerasimov where is the ammo
Elefants98 4 Oct, 2024 @ 5:54pm 
Hi Ebcott

When do you think you'd add on selling ammo decisions?

I usually play as minor powers, so something like that would be quite good for helping to get out of debt when there's wars waging.
ebcott  [author] 22 Sep, 2024 @ 10:59am 
@Pirogok - You probably have a mod that conflicts. Specifically, since ammo is produced daily by military factories, you have a mod that overwrites \common\buildings\00_buildings.txt.

It's all in the description..
Pirogok 22 Sep, 2024 @ 2:44am 
after a week the production of ammo is 0, although at the start of the game it was 100
SilverWolf347 24 Aug, 2024 @ 8:09pm 
That sounds like an integer overflow error. You're producing so much ammo that the code can't process it, and circled back to the negative.
fedyaloha 16 Aug, 2024 @ 1:59pm 
I have the year 2010. I have already captured half the world, but closer to 2010, my ammunition began to decrease by 1 billion every day.
Garavel Usta 10 Aug, 2024 @ 11:53am 
Is there a any console command for single player? :P when i was in f***dap situation and need ammo cheat i try several words in cm but none of them worked. :lunar2019piginablanket:
Yuri 31 Jul, 2024 @ 9:39am 
Nice, thank you!!!
ebcott  [author] 29 Jul, 2024 @ 9:59pm 
Updated
ebcott  [author] 29 Jul, 2024 @ 5:27pm 
Modifier "ammunition_capacity_k = 100" was missing from 00_buildings.txt. It's fixed and will be in the next update. This fix also WON'T break game saves and in fact fixes them so yay! Update should be live in a few hours.
A-94L542 Abyssal Admiral Lavelle 29 Jul, 2024 @ 6:20am 
This appears to currently be bugged on my end, far as I can determine from my side. But I am using construction slot mods(the one that removes them). Could be an incompat, I'm not sure. Not trying to fix it, just answering for the prior poster in case.
Yuri 29 Jul, 2024 @ 5:22am 
@ebcott
Update: (using console command to add factories) 41 military factories:
Each one produces 500 ammo/day right now, but still having only 80K capacity
I also try whit russia, 255 factories, the production glow up aprox 500/day whit each one, but the capacity didn´t
(Sorry if my grammar is bad in some word, english isn´t native for me) :steamsalty:

PD: Im only using MD and this submod
Any idea if this happens only to me or i can fix this someway?
Yuri 28 Jul, 2024 @ 10:08am 
Im using Argentina and have 13 Military Industry building and only have 80K ammunition capacity, also my Daily Gain is in 7.5K (when 13x250 is 3250)

Any idea why i have this problem? Good mod BTW :steamthumbsup:
Deathwing 14 Jul, 2024 @ 2:00pm 
Too bad, I had a 2006 save with 112 slots on and yours and due to the missing things from the update, I remade a campaign without both mods :( (as I wanted to use the new agriculture building -I only thought later I might disable mods without breaking the save but too late)

As for your mod, it is great but as Russia, the only time I almost had a shortage of ammo (1 month of ammo left), it was a full offensive on China, it didn't happen when I did that too for Ukraine. (several years left so fine)
ebcott  [author] 14 Jul, 2024 @ 10:38am 
Update: Fixed issues with 00_buildings.txt, specifically file was missing Agriculture District.

Also of note, if you use MD submod "Millennium Dawn: Construction Slots 112+". That mod breaks the energy screen and removes the Agricultural District.

I've had built in compatibility with that mod and now improved it a bit so you should still have 112 slots even if you disable that mod.
ebcott  [author] 14 Jul, 2024 @ 9:39am 
@miguelmonte2005 - I'll look into that
miguelmonte2005 14 Jul, 2024 @ 4:58am 
this mod blocks the agricultural icon from appearing. a pity since this is a must play mod. really love this!
BlitzMike91 5 Jul, 2024 @ 4:02am 
@ebcott awesome keep it up !
Deathwing 4 Jul, 2024 @ 6:34am 
Great to see your mod is working with the 112 building slots mod :) (just that I can't build 112civ (mil, shipyard etc) on 1 tile, only 42 (and the x2 insfrastructure etc is gone too) but still great ! (there isn't the ammo tooltip on milfact but it works, I tried with IC and the ammo production did change)
ebcott  [author] 30 Jun, 2024 @ 5:32pm 
@BlitzMike91 - I haven't been around so no. But that stuff is on my to do list when I get time.
ebcott  [author] 30 Jun, 2024 @ 5:32pm 
Updated for: v1.10.1 MD // v1.14.X HOI4
BlitzMike91 21 Apr, 2024 @ 8:25am 
Really nice mod !

Hows the work going on and when do we get update and added those sweet stuff ?

Lend lease ammo
Sell ammo decisions
Decisions to increase stockpile capacity
Volunteers expending ammo
Air and Navy expending ammo
CzarGopnik 3 Apr, 2024 @ 11:04pm 
I think milita should use 20 because they are untrained idiots that hipfire and that with experience units use less ammunition to a point