Hearts of Iron IV

Hearts of Iron IV

Blackice HOI IV TEST
gmsh1964 2022 年 8 月 24 日 下午 9:35
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.
< >
正在显示第 1 - 11 条,共 11 条留言
Sol Inherent  [开发者] 2022 年 8 月 25 日 上午 1:23 
Ai modifiers are in common/ideas/BI_ai_modifiers.txt
gmsh1964 2022 年 8 月 25 日 下午 2:50 
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 2022 年 8 月 25 日 下午 2:51 
Can I change these to maybe a zero? Will these changes cause a crash. Thank you very much.
Sol Inherent  [开发者] 2022 年 8 月 25 日 下午 2:53 
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  [开发者] 2022 年 8 月 25 日 下午 2:54 
引用自 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 2022 年 8 月 25 日 下午 3:11 
You sir, are the greatest. Thank you. PS - I also see the old BICE modifier file. Interesting differences.
Sol Inherent  [开发者] 2022 年 8 月 25 日 下午 3:31 
Hm? You mean pre NSB?
gmsh1964 2022 年 8 月 25 日 下午 5:50 
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.
最后由 gmsh1964 编辑于; 2022 年 8 月 25 日 下午 5:51
Saber 2023 年 1 月 18 日 下午 10:28 
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 2023 年 1 月 19 日 下午 6:03 
No. E:\Steam\steamapps\workshop\content\394360\1851181613\common\ideas
Saber 2023 年 1 月 20 日 下午 5:09 
Found it. Thankyou for your help. Means a lot :)
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50