Hearts of Iron IV

Hearts of Iron IV

View Stats:
Riggex Jun 9, 2016 @ 10:20am
Cheats using Static modifers.
So, As i did back on Hoi3, If you locate the ''Static Modifiers'' folder found within Common in your game directory, And navigate down to the desired ''difficulty'' at the bottom, You can edit and change things to affect ONLY YOU ingame.

Back in Hoi3, I used this to make research and construction instant only for me (I know.. Its just cheating, but.. its fun haha).

And, On this Hoi, I discovered that you can put ''research_time_factor = -150.05'' in there (Make that number whatever you want but.. honestly there aint much point going higher then 150 you wont notice it). And, This basically makes research instantaneous.

I am struggling to find in the code what i use to make construction/production isntantaneous though?, I tried just ''Production_time_factor = etc'' but it didnt work. Any ideas?.
< >
Showing 1-15 of 28 comments
frederick248 Jun 9, 2016 @ 1:08pm 
you can increase your production efficency
production_factory_max_efficiency_factor = XXX
and the rate at which you gain it
production_factory_efficiency_gain_factor = XXX

It won't affect ship building though....

production_speed_buildings_factor will increase your factory building time
Last edited by frederick248; Jun 9, 2016 @ 1:09pm
Riggex Jun 9, 2016 @ 1:10pm 
Originally posted by frederick248:
you can increase your production efficency
production_factory_max_efficiency_factor = XXX
and the rate at which you gain it
production_factory_efficiency_gain_factor = XXX

It won't affect ship building though....

Aye, Thats my problem, I want to make a grand old navy, Haha.

The only thing i can do is turn on that instant construction using the console commands, But that enables it for all nations so not much good :/.

I already have the efficiency factor on like 1500 (Not the gain factor though, thank you for that).

Damn, I wonder if there truly is anything we can use to help ship building? :/.
Riggex Jun 9, 2016 @ 1:21pm 
I dont suppose anyone knows a way to increase naval dockyard effifiency do they?.
JonnyQe Jun 9, 2016 @ 1:31pm 
Look for an mod in Workshop- cheatmod.
frederick248 Jun 10, 2016 @ 11:21am 
Ok, found it !
into common/country_leader, "coastal_defence_naval_manufacturer" has a ship IC cost boost, so you could create a cheat advisor
Last edited by frederick248; Jun 10, 2016 @ 11:22am
Sophie M Bones Jun 10, 2016 @ 2:56pm 
This line dictates how long it takes to construct new factories,etc:
"production_speed_buildings_factor = xxx"

These lines dictate the speed at which military factories produce material:
"production_speed_industrial_complex_factor = xxx"
"production_speed_arms_factory_factor = xxx"

These lines dictate cost to convert civilian factories to military factories, and vice versa (positive values increase cost, negative values decrease cost):
"conversion_cost_civ_to_mil_factor = xxx"
"conversion_cost_mil_to_civ_factor = xxx"

Hopes this helps a bit. Have fun! ^_^
Last edited by Sophie M Bones; Jun 10, 2016 @ 3:07pm
Trainwreck Jun 13, 2016 @ 4:52am 
Oh man, if you want to know anything about cheating I am your man, seriously I am currently playing a game where I made every country start with a civil war at the start just for pure chaos.

Anyway, this is the modifer that will increase dockyard production rate

industrial_capacity_factory = 1.0

(This will double both your dockyards and your millitary factories equipment production)

industrial_capacity_factory = 1000

(With this you can produce full tank divisions that literally shred through anything)



I'm suprised no one has this for you yet, it's the same modifier that the concentrated and dispersed industry technologies use in the in common/technologies/industry folder.


EDIT: I think I might go play a game where producing nukes is as easy as growing potatoes and watch the whole world burn
Last edited by Trainwreck; Jun 13, 2016 @ 4:59am
[NL]Ibahalii Jun 13, 2016 @ 8:28am 
diff_easy_player = {
production_factory_efficiency_gain_factor = 5
production_factory_max_efficiency_factor = 1
line_change_production_efficiency_factor = -0.2
industry_repair_factor = 10
industry_air_damage_factor = -10
industrial_capacity_factory = 5
research_time_factor = -10
political_power_factor = 10
global_building_slots_factor = 10
production_speed_buildings_factor = 500
local_resources_factor = 20
army_speed_factor = 5
supply_consumption_factor = -0.99

}


Chuck that in and enjoy imortality basicly...
you might want to use the console to get the 10mil manpower to support this massive boost.
Egro Goodies Jun 13, 2016 @ 8:57am 
you can also add this: conscription = 0.25 This makes 25% of your population recruitable.
or: global_building_slots_factor = 100.0 This will make your provinces have maximum build slots (beware it is a multiplier so since wasteland has 0 it cant be multiplied)
Trainwreck Jun 14, 2016 @ 5:20am 
conscription = 1000

Also works, there is nothing in the code to stop you from enlisting more than 100% of your population.
Trainwreck Jun 14, 2016 @ 5:21am 
"production_speed_industrial_complex_factor = xxx"
"production_speed_arms_factory_factor = xxx"

be careful with these, they don't work in static modifiers, they do work in ideas though

production_speed_buildings_factor = 500

this one will work in static modifiers
Mattroyal363 Jun 14, 2016 @ 9:51am 
Originally posted by Ibahalii:
diff_easy_player = {
production_factory_efficiency_gain_factor = 5
production_factory_max_efficiency_factor = 1
line_change_production_efficiency_factor = -0.2
industry_repair_factor = 10
industry_air_damage_factor = -10
industrial_capacity_factory = 5
research_time_factor = -10
political_power_factor = 10
global_building_slots_factor = 10
production_speed_buildings_factor = 500
local_resources_factor = 20
army_speed_factor = 5
supply_consumption_factor = -0.99

}


Chuck that in and enjoy imortality basicly...
you might want to use the console to get the 10mil manpower to support this massive boost.

So i put this in the diff normal part and somehow when i start a new game, it crashes. I cannot identify the problem so i really need help.
Mattroyal363 Jun 14, 2016 @ 10:00am 
Originally posted by Mattroyal363:
Originally posted by Ibahalii:
diff_easy_player = {
production_factory_efficiency_gain_factor = 5
production_factory_max_efficiency_factor = 1
line_change_production_efficiency_factor = -0.2
industry_repair_factor = 10
industry_air_damage_factor = -10
industrial_capacity_factory = 5
research_time_factor = -10
political_power_factor = 10
global_building_slots_factor = 10
production_speed_buildings_factor = 500
local_resources_factor = 20
army_speed_factor = 5
supply_consumption_factor = -0.99

}


Chuck that in and enjoy imortality basicly...
you might want to use the console to get the 10mil manpower to support this massive boost.

So i put this in the diff normal part and somehow when i start a new game, it crashes. I cannot identify the problem so i really need help.

Found the problem. Looks like one of the values I put in was incorrect. Does anyone know the value limit for these factors?
Last edited by Mattroyal363; Jun 14, 2016 @ 10:05am
[NL]Ibahalii Jun 14, 2016 @ 10:06am 
nah works for me

diff_easy_player = { production_factory_efficiency_gain_factor = 5 production_factory_max_efficiency_factor = 1 line_change_production_efficiency_factor = -0.2 industry_repair_factor = 10 industry_air_damage_factor = -10 industrial_capacity_factory = 5 research_time_factor = -10 political_power_factor = 10 global_building_slots_factor = 10 production_speed_buildings_factor = 500 local_resources_factor = 20 army_speed_factor = 5 supply_consumption_factor = -0.99 }
(as in i am running with this piece of code for testing mods).
i only found that the
supply_consumption_factor = -0.99
cannot be that much.
so i changed it locally to
supply_consumption_factor = -0.75
Mattroyal363 Jun 14, 2016 @ 10:10am 
diff_normal_player = {
production_factory_efficiency_gain_factor = 1500
production_factory_max_efficiency_factor = 1500
line_change_production_efficiency_factor = -0.2
industry_repair_factor = 10
industry_air_damage_factor = -10
industrial_capacity_factory = 500
research_time_factor = -150
political_power_factor = 10
global_building_slots_factor = 10
production_speed_buildings_factor = 500
local_resources_factor = 20
army_speed_factor = 5
supply_consumption_factor = -0.01

}

This was the last set of values i put in. It still crashes my game.
< >
Showing 1-15 of 28 comments
Per page: 1530 50

Date Posted: Jun 9, 2016 @ 10:20am
Posts: 28