Hearts of Iron IV

Hearts of Iron IV

Not enough ratings
No Dock and Factory Limits
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
915.432 KB
14 Jan @ 6:06am
14 Jan @ 8:00am
2 Change Notes ( view )

Subscribe to download
No Dock and Factory Limits

Description
Removes the limit for assigning Factories and Docks to production lines so you don't have to manage multiple production lines for a single item.

This is largely a quality of life change, especially when you get outdated equipment so you only have to change a single line rather than say 5, but it does allow you to produce items earlier than the base game intends as shown in the graph. However this only really makes a difference if your super try harding and doing timing pushes not regular gameplay.

This mod should be game version independent unless major game functions change.

It just edits these lines:
NDefines.NProduction.MAX_MIL_FACTORIES_PER_LINE = 150 -> 999
NDefines.NProduction.RAILWAY_GUN_MAX_MIL_FACTORIES_PER_LINE = 5 -> 999

NDefines.NProduction.DEFAULT_MAX_NAV_FACTORIES_PER_LINE = 10 -> 999
NDefines.NProduction.FLOATING_HARBOR_MAX_NAV_FACTORIES_PER_LINE = 5 -> 999
NDefines.NProduction.CONVOY_MAX_NAV_FACTORIES_PER_LINE = 15 -> 999
NDefines.NProduction.CAPITAL_SHIP_MAX_NAV_FACTORIES_PER_LINE = 5 ->999

Additional items whose defines I have been unable adjust so far are still limited to 5 per line are:
Super Heavy Howitzer
Self-Propelled Super Heavy Howitzer
Land Cruiser
5 Comments
Vodkavsky 14 Mar @ 1:58pm 
You could also plan a large mod, but release each of its pieces as seperate mods that are more compatible with other things, then create your own bigger mod as one package with all the smaller mods if people want your entire cinematic universe. You would likely get a lot more support through that route, as it would create more audiences that enjoy your content, and it may make it easier to create a larger mod, as each smaller mod will like a little checkpoint in development of it.

You might be overwriting all tanks/artillery in the game, maybe even the tech tree, but are you changing the number of states in the country, max factories per state, shapes of territories, or even adding new countries with focuses? There's a lot of potential compatibility. I guess different mod authors ignore the compatibility and aim for the larger scoped mods.
StandingInFire  [author] 14 Mar @ 9:10am 
I think it's partially because of the games data structure, the same reason I haven't been able to remove the limit for Super Heavy Howitzer, Self-Propelled Super Heavy Howitzer, Land Cruiser.

To fix them I need to overwrite the whole data for every tanks/artillery in the game and if you have to overwrite all that stuff anyway even for a minor change, people think I might as well make a bigger mod.
Vodkavsky 13 Mar @ 3:17pm 
Why are there not like 50 of these on the workshop and instead a bunch of completely incompatible entire game overhauls? I am excited to try this. I love mods like this that remove the arbitrary limitations added in the game.
StandingInFire  [author] 15 Jan @ 6:15pm 
I tried that but I haven't been able to get it to work without overwriting the entire file which would make this mod not future version invariant, as I would have to have all the information from that file. Just adding "equipments = { land_cruiser_chassis = { max_military_factories = 999 } }" appears to do nothing with custom file names, and using base file names is above problem.
lshos132022 15 Jan @ 12:39pm 
You can change the defines of the Super Heavy Howitzer, Self-Propelled Super Heavy Howitzer, and Land Cruiser you just need to change it in their unit/equipment files.