Hearts of Iron IV

Hearts of Iron IV

Blackice HOI IV TEST
gmsh1964 24 Aug, 2022 @ 9:35pm
Cheats beyond those listed in the Difficulty level
I cannot find a thread from a while back that I thought identified a boatload of cheats that are not identified. I feel like I saw things like they have free research and endless supply.. not sure, but it seemed to be a lot. Does anyone know anything about this? Thank you.
< >
Showing 1-11 of 11 comments
Sol Inherent  [developer] 25 Aug, 2022 @ 1:23am 
Ai modifiers are in common/ideas/BI_ai_modifiers.txt
gmsh1964 25 Aug, 2022 @ 2:50pm 
Hi Bob, I have 4 categories below that I was hoping you could shed some light on from that file. (i) AI CIV FUEL, (ii) AI Front Defence, (iii) AI Supply, and (iv) AI Supply Build.

1. What determines which ‘number applies (ex, 1 thru 80 or 1 thru 5, etc.,)?
2. Why do they all say “always no”?
3. When we see a .5, does that mean 50% bonus?
4. What does each of the 4 really do?

(i) goes from 1 to 80 with fuel cost increasing at each level

### AI CIV FUEL
ai_civ_fuel_1 = {
name = "AI | Civilian Fuel"
allowed = { always = no }
modifier = {
fuel_cost = 4

(ii) goes from 1 to 5 increasing at each level. There is also a AI front attack from 1 to 5

ai_front_defense_1 = name = "AI | Front Defence 1"
allowed = { always = no }
modifier = {
ai_focus_defense_factor = 0.05}


(iii) goes from 1 to 5 increasing at each level.

ai_supply_1 = { name = "AI | Supply Bonus 1"
allowed = { always = no }
modifier = {
supply_consumption_factor = -0.2
out_of_supply_factor = -0.2


(iv) goes from 1 to 3. Increases in level 3 are 1.5

ai_supply_build_1 = { name = "AI | Supply Build Bonus 1"
allowed = { always = no }
modifier = {
production_speed_rail_way_factor = 0.5
production_speed_naval_base_factor = 0.5
production_speed_infrastructure_factor = 0.5


E:\Steam\steamapps\workshop\content\394360\1851181613\common\ideas
gmsh1964 25 Aug, 2022 @ 2:51pm 
Can I change these to maybe a zero? Will these changes cause a crash. Thank you very much.
Sol Inherent  [developer] 25 Aug, 2022 @ 2:53pm 
Yes, 0.5 is 50%

Ai civ fuel is the civilian fuel mechanic, in a performance friendly way coded for the AI.

AI Front Defence and Offence are not bonuses / cheats, they just affect how aggressive the AI is.

Ai Supply and AI Supply Build literally do what theyre called

They all have allowed = { always = no } for coding reasons
Sol Inherent  [developer] 25 Aug, 2022 @ 2:54pm 
Originally posted by gmsh1964:
Can I change these to maybe a zero? Will these changes cause a crash. Thank you very much.

You can change whatever you want, if its gonna benefit your game if detrimental AI bonuses are gone is the other question
gmsh1964 25 Aug, 2022 @ 3:11pm 
You sir, are the greatest. Thank you. PS - I also see the old BICE modifier file. Interesting differences.
Sol Inherent  [developer] 25 Aug, 2022 @ 3:31pm 
Hm? You mean pre NSB?
gmsh1964 25 Aug, 2022 @ 5:50pm 
yes. It is dated 11-23-21. It does not contain the Supply or Infrastructure stuff. It also does not give the big boosts to AI for Coastal Bunker repair, Air Accidents, Military leader cost, ship, tank, and air factories, and something about 'switch speed factor for economy, mobilization, cadet training, and officer training.
Last edited by gmsh1964; 25 Aug, 2022 @ 5:51pm
Saber 18 Jan, 2023 @ 10:28pm 
Am i mistaken in thinking this BI_ai_modifiers.text no longer exists. I have found all the other locations but their seems to be no file named this in my current location. I am in Hearts of Iron IV/common/ideas
gmsh1964 19 Jan, 2023 @ 6:03pm 
No. E:\Steam\steamapps\workshop\content\394360\1851181613\common\ideas
Saber 20 Jan, 2023 @ 5:09pm 
Found it. Thankyou for your help. Means a lot :)
< >
Showing 1-11 of 11 comments
Per page: 1530 50