# 钢铁雄心4

## 开局变量修改

使用方法
1. 打开游戏根目录
`G:\Steam\steamapps\common\Hearts of Iron IV\common\modifiers`

2. 找到需要修改文件`00_static_modifiers`

3. 搜索关键词`# Difficulty modifiers`

内容参考
### 工厂与资源
``` shell=
local_resources = 1.00  # 当地资源 +100%
local_resources_factor = 100.00  # 战略资源获取率 10000%
local_factories = 2.00  # 当地工厂数 200%
nuclear_production_factor = 1.00  # 核弹生产速度 +100%
global_building_slots_factor = 2.00  # 地区最大工厂数 +200%
local_building_slots_factor = 2.0  # 当地最大工厂数 +200%
line_change_production_efficiency_factor = 100.00  # 生产效率保持 +10000.00%
production_factory_max_efficiency_factor = 100.00  # 生产效率上限 +10000.00%
production_factory_efficiency_gain_factor = 100.00  # 生产效率增长 +10000.00%
production_factory_start_efficiency_factor = 100.00  # 基础生产效率 +10000.00%
industrial_capacity_factory = 100.00  # 工厂产出 +100000.00%
industrial_capacity_dockyard = 100.00  # 海军船坞产出 +100000.00%
industry_air_damage_factor = -0.80  # 工厂受轰炸易损性 -80%
equipment_conversion_speed = 10.00  # 装备改装速度 +1000.00%
production_lack_of_resource_penalty_factor = -0.8  # 缺乏战略资源惩罚-80%
lacking_consumer_goods = -1  # 消费品缺乏 -100%
consumer_goods_factor = -10  # 生活消费品工厂系数 -1000%
```
### 科研
``` shell=
research_speed_factor = 50.00  # 科研速度 +5000%
# 军队
army_fuel_consumption_factor = -0.8  # 陆军燃料消耗 -80%
air_fuel_consumption_factor = -0.8  # 空军燃料消耗 -80%
 	navy_fuel_consumption_factor = -0.8  # 海军燃料消耗 -80%
supply_consumption_factor = -0.8  # 补给消耗 -70.0%
no_supply_grace = 720  # 携行补给 +720.0 小时
winter_attrition_factor = -0.80  # 冬季损耗 -80.0%
heat_attrition_factor = -0.80  # 炎热损耗 -80.0%
out_of_supply_factor = -0.60  # 非战斗补给耗尽惩罚 -60.0%
supply_factor = 1  # 补给效率 +100%
local_org_regain = 1.0  # 组织度恢复 +100%
max_organisation = 100  # 组织度上限 +100
offence = 1.00  # 进攻 +100.0%
defence = 1.00  # 防御 +100.0%
additional_brigade_column_size = 100.00  # 旅规模 +100
attack_bonus_against = 1.00  # 我国对其进攻加成 +100%
defense_bonus_against = 1.00  # 我国对其防御加成 +100%
breakthrough_bonus_against = 1.00  # 我国对其突破修正 +100%
# 特种部队
extra_marine_supply_grace = 720  # 海军陆战队携行补给 +720 小时
special_forces_cap = 1.00  # 特种部队容量上限乘数 +100%
special_forces_training_time_factor = -0.90  # 特种部队训练时间 -90%
special_forces_attack_factor = 1.00  # 特种攻击 +100%
special_forces_defence_factor = 1.00  # 特种防御 +100%
shore_bombardment_bonus = 1.00  # 对岸炮击加成 100.00%
paratrooper_weight_factor = -0.80  # 空降兵运输空间系数 -80.00%
special_forces_no_supply_grace = 720  # 特种部队携行补给 +720 小时
naval_invasion_planning_bonus_speed = 10.00  # 登陆作战计划 +1000%
paratroopers_special_forces_contribution_factor = -1  # 空降兵特种部队占总数上限 -100%
marines_special_forces_contribution_factor = -1  # 海军陆战队特种部队占总数上限 -100%
mountaineers_special_forces_contribution_factor = -1  # 山地步兵特种部队占总数上限 -100%
# 陆军
land_night_attack = 1  # 陆战夜战攻击 +100%
army_attack_speed_factor = 1  # 陆军进攻速度 +100%
ground_attack_factor = 1  # 对地攻击系数 +100%
invasion_preparation = -0.80  # 登陆准备时间 -80%
amphibious_invasion_defence = 1.00  # 登陆防护 +100%
transport_capacity = -0.80  # 部队运输船需求 -80%
army_speed_factor = 1.00  # 陆军师速度 +100%
local_supplies = 5.00  # 当地补给能力 +500%
supply_node_range = 1  # 补给范围 +100%
army_org_factor = 5.00  # 陆军师组织度 +500%
org_loss_when_moving = -0.80  # 移动中组织度损失 -80%
attrition = -0.80  # 陆军师损耗 -80%
army_morale_factor = 5.00  # 陆军师组织度恢复速率 +500%
dig_in_speed_factor = 1.00  # 堑壕速度 +100%
enemy_army_bonus_air_superiority_factor = -0.80  # 敌方空中支援 -80%
amphibious_invasion = 1.00  # 两栖登陆速度 +100%
army_attack_factor = 1.00  # 陆军师攻击 +100%
army_defence_factor = 1.00  # 陆军师防御 +100%
army_core_attack_factor = 1.00  # 陆军师核心领土攻击 +100%
army_core_defence_factor = 1.00  # 陆军师核心领土防御 +100%
army_infantry_attack_factor = 1.00  # 步兵攻击 +100%
army_infantry_defence_factor = 1.00  # 步兵防御 +100%
army_armor_attack_factor = 1.00  # 装甲单位攻击 +100%
army_armor_defence_factor = 1.00  # 装甲单位防御 +100%
army_artillery_attack_factor = 1.00  # 炮兵攻击 +100%
army_artillery_defence_factor = 1.00  # 炮兵防御 +100%
motorized_attack_factor = 1.00  # 摩托化步兵攻击 +100%
motorized_defence_factor = 1.00  # 摩托化步兵防御 +100%
cavalry_attack_factor = 1.00  # 骑兵攻击 +100%
cavalry_defence_factor = 1.00  # 骑兵防御 +100%
training_time_factor = -0.80  # 陆军师训练时间 -80%
experience_loss_factor = -0.90  # 有经验的士兵损失 -90%
equipment_capture = 1.00  # 装备缴获比例增长 +100%
land_reinforce_rate = 1.00  # 增援率 +100%
planning_speed = 1.00  # 计划速度 +100%
max_planning_factor = 100  # 计划加成上限数值 +100
max_planning = 1.00  # 计划加成上限 +100%
max_dig_in = 500.00  # 堑壕上限 +500
combat_width_factor = -0.80  # 己方战场宽度 -80%
minimum_training_level = -0.80  # 最小训练程度 -80%
acclimatization_hot_climate_gain_factor = 10.00  # 炎热适应度增长率 +1000%
acclimatization_cold_climate_gain_factor = 10.00  # 寒冷适应度增长率 +1000%
mechanized_attack_factor = 1.00  # 机械化攻击 +100%
mechanized_defence_factor = 1.00  # 机械化防御 +100%
breakthrough_factor = 1.00  # 突破 +100%
coordination_bonus = 1.00  # 协同性 +100%
truck_attrition_factor = -1  # 卡车损耗 -100%
# 海军
navy_submarine_attack_factor = 1.00  # 潜艇攻击 +100%
navy_capital_ship_attack_factor = 1.00  # 主力舰攻击 +100.00%
navy_capital_ship_defence_factor = 1.00  # 主力舰装甲 +100%
navy_carrier_air_agility_factor = 1.00  # 航空母舰舰载机机动 +100%
carrier_capacity_penalty_reduction = -0.80  # 航母超载 -80%
convoy_escort_efficiency = 1.00  # 运输护航效率 +100%
naval_torpedo_reveal_chance_factor = -0.80  # 鱼雷暴露几率 -80.00%
naval_enemy_fleet_size_ratio_penalty_factor = 1.00  # 敌人舰队规模惩罚 +100.00%
strike_force_movement_org_loss = -0.80  # 打击舰队组织度损失 -80.00%
naval_invasion_capacity = 1000.00  # 登陆作战上限 +1000
naval_hit_chance = 1.0  # 海军命中率 +100%
naval_speed_factor = 1  # 海军速度 +100%
naval_retreat_speed = 1  # 海军撤退速度 +100%
naval_attrition = -1  # 海军损耗 -100%
navy_casualty_on_sink = -1  # 舰艇沉没造成的伤亡 -100%
naval_detection = 1.0  # 海军探测 +100%
naval_strike = 1.00  # 袭击舰艇 +100%
naval_coordination = 1.00  # 舰队协同性 +100%
sortie_efficiency = 1.00  # 出击效率 +100%
experience_gain_navy_unit_factor = 10.00  # 舰艇经验增长 +1000%
fighter_sortie_efficiency = 1.0  # 舰载机出击效率 +100%
convoy_retreat_speed = 1.0  # 撤退时运输船速度 +100%
spotting_chance = 1.00  # 索敌速度 +100%
navy_anti_air_attack_factor = 1.00  # 海军对空攻击 +100%
navy_max_range_factor = 1.00  # 海军最大航程系数 +100%
navy_submarine_detection_factor = 1.00  # 对潜探测 +100%
mines_planting_by_fleets_factor = 1.00  # 海军布雷效率 +100%
mines_sweeping_by_fleets_factor = 1.00  # 海军扫雷效率 +100%
naval_mines_effect_reduction = 1.00  # 规避水雷 +100%
naval_mines_damage_factor = 1.00  # 水雷伤害 +100%
naval_accidents_chance = -0.80  # 事故几率 -80%
naval_mine_hit_chance = -0.80  # 水雷触发率 -80%
screening_efficiency = 1.00  # 屏卫效率 +100%
positioning = 1.00  # 阵位 +100%
refit_speed = 10.00  # 改装速度 +1000%
refit_ic_cost = -0.80  # 改装花费 -80%
repair_speed_factor = 10.00  # 船只修理速度 1000%
naval_invasion_penalty = -1.0  # 海军入侵惩罚 -100%
critical_receive_chance = -1.0  # 遭受致命一击的几率 -100%
naval_damage_factor = 1.0  # 海军伤害 +100%
naval_defense_factor = 1.0  # 海军防御 +100%
naval_invasion_prep_speed = 0.5  # 入侵准备速度 +50%
naval_invasion_penalty = -0.15  # 登陆惩罚 -15%
# 空军
air_accidents = -0.80  # 空军事故几率 -80%
air_accidents_factor = -1.0  # 空难几率 -100%
air_agility_factor = 1.00  # 空军机动(闪避) +100%
air_detection = 1.0  # 对空探测 +100%
air_maximum_speed_factor = 1.00  # 空军最大速度 +100%
air_range_factor = 1.00  # 空军航程 +100%
air_ace_generation_chance_factor = 1  # 王牌飞行员产生机率 +100%
air_mission_efficiency = 1.00  # 空军任务效率 +100%
carrier_traffic = 1.0  # 航母起降能力 +100%
air_bombing_targetting = 1.00  # 对地轰炸瞄准 +100%
strategic_bomb_visibility = -0.80  # 战略轰炸可见度 -80%
air_superiority_detect_factor = 1.00  # 战斗机探测 +100%
air_superiority_efficiency = 1.00  # 夺取制空权任务效率 +100%
air_cas_present_factor = 1.00  # 地面支援 +100%
# air_defence_factor = 1.00  # 对空防御 +100%
air_intercept_efficiency = 1.00  # 拦截任务效率 +100%
naval_strike_targetting_factor = 1.00  # 对海瞄准 +100%
air_attack_factor = 1.00  # 对空攻击 +100%
army_bonus_air_superiority_factor = 1.00  # 制空权 +100%
air_night_penalty = -0.80  # 夜间行动惩罚 -80%
air_weather_penalty = -0.80  # 恶劣天气惩罚 -80%
mines_planting_by_air_factor = 1.00  # 空中布雷效率 +100%
mines_sweeping_by_air_factor = 1.00  # 空中扫雷效率 +100%
# 海陆空 将领
experience_gain_factor = 10.00  # 指挥官经验增长 +1000%
experience_gain_army = 500  # 陆军经验获取值 +500 每日
experience_gain_navy = 500  # 海军经验获取值 +500 每日
experience_gain_air = 500  # 空军经验获取值 +500 每日
military_leader_cost_factor = -0.80  # 指挥官花费 -80%
army_leader_cost_factor = -0.80  # 陆军指挥官花费 -80%
navy_leader_cost_factor = -0.80  # 海军指挥官花费 -80%
army_leader_start_level = 10.00  # 新陆军将领初始等级 +10
navy_leader_start_level = 10.00  # 新海军将领初始等级 +10
army_leader_start_attack_level = 10.00  # 新陆军将领初始攻击能力 +10
army_leader_start_defense_level = 10.00  # 新陆军将领初始防御能力 +10
army_leader_start_planning_level = 10.00  # 新陆军将领初始规划能力 +10
army_leader_start_logistics_level = 10.00  # 新陆军将领初始后勤能力 +10
navy_leader_start_attack_level = 10.00  # 新海军将领初始攻击能力 +10
navy_leader_start_defense_level = 10.00  # 新海军将领初始防御能力 +10
navy_leader_start_maneuvering_level = 10.00  # 新海军将领初始机动能力 +10
navy_leader_start_coordination_level = 10.00  # 新海军将领初始协同能力 +10
# 海陆空 军事经验
experience_gain_army_factor = 10.00  # 陆军经验增长 +1000%
experience_gain_navy_factor = 10.00  # 海军经验增长 +1000%
experience_gain_air_factor = 10.00  # 空军经验增长 +1000%
air_training_xp_gain_factor = 10.00  # 空军联队训练经验增长 +1000%
max_command_power = 1800.00  # 最大指挥点数提高 +1800
command_power_gain_mult = 10.00  # 每日指挥点数增长乘数 +1000%
command_power_gain = 120 指挥点数每日增长 +120
air_mission_xp_gain_factor = 10.00  # 空军联队任务经验增长 +1000%
# 建造
conversion_cost_mil_to_civ_factor = -0.80  # 军用工厂转民用工厂花费 -80.00%
conversion_cost_civ_to_mil_factor = -0.80  # 民用工厂转军用工厂花费 -80.00%
production_speed_buildings_factor = 100.00  # 建造速度 +10000.00%
industry_repair_factor = 1.00  # 工厂修复速度 +100.00%
industry_free_repair_factor = 1.00  # 免费维修 +100.00%
license_purchase_cost = -0.80  # 生产许可购买花费 -80%
ai_license_acceptance = 100  # AI接受生产许可度 +100‌
license_air_purchase_cost = -0.80  # 空军装备生产许可购买花费 -80%
license_armor_purchase_cost = -0.80  # 装甲车辆生产许可购买花费 -80%
license_production_speed = 1.00  # 许可装备生产速度 +100%
fuel_gain_factor = 1.00  # 从石油获得的燃油 +100.00%
fuel_gain_factor_from_states = 1.00  # 从炼油厂获得的燃油 +100%
max_fuel_factor = 1.00  # 燃油容量 +100.00%
license_tech_difference_speed = 1.00  # 科技差导致的生产速度差距 +100%
# 内阁
mobilization_laws_cost_factor = -0.80  # 征兵法案花费 -80%
trade_laws_cost_factor = -0.80  # 贸易法案花费 -80%
economy_cost_factor = -0.80  # 经济法案花费 -80%
political_advisor_cost_factor = -0.80  # 政治顾问花费 -80%
tank_manufacturer_cost_factor = -0.80  # 坦克军工机构花费 -80%
naval_manufacturer_cost_factor = -0.80  # 海军军工机构花费 -80%
aircraft_manufacturer_cost_factor = -0.80  # 飞行器军工机构花费 -80%
materiel_manufacturer_cost_factor = -0.80  # 军需品军工机构花费 -80%
industrial_concern_cost_factor = -0.80  # 工业企业花费 -80%
theorist_cost_factor = -0.80  # 理论家花费 -80%
air_chief_cost_factor = -0.80  # 空军部长花费 -80%
navy_chief_cost_factor = -0.80  # 海军部长花费 -80%
army_chief_cost_factor = -0.80  # 陆军部长花费 -80%
high_command_cost_factor = -0.80  # 总司令花费 -80%
# 情报部门
local_intel_to_enemies = -0.80  # 敌人获取的情报 -80%
local_factory_sabotage = -0.80  # 破坏建设几率 -80%
resistance_garrison_penetration_chance = -0.80  # 驻军渗透机会 -80%
intelligence_agency_defense = 100.00  # 反间谍 +100.00
boost_resistance_factor = 1.00  # 加强抵抗组织效率 +100%
propaganda_mission_factor = 1.00  # 政治宣传任务成果 +100%
boost_ideology_mission_factor = 1.00  # 加强意识形态任务成果 +100%
decryption_power = 100.00  # 破译能力 +100.00
crypto_strength = 10.00  # 加密能力 +10.00
decryption_power_factor = 1.00  # 破译能力修正 +100%
intel_network_gain = 100.00  # 情报网强度增长 +100
intel_network_gain_factor = 1.00  # 情报网强度增长率 +100%
own_operative_detection_chance_factor = -0.80  # 我方特工被发现几率系数 -80%
enemy_operative_detection_chance_factor = 1.00  # 敌方特工被发现几率系数 +100%
own_operative_capture_chance_factor = -0.80  # 我方特工被捕几率 -80%
enemy_operative_capture_chance_factor = 1.00  # 敌方特工被捕几率 +100%
own_operative_forced_into_hiding_time_factor = -0.80  # 被迫躲藏时间 -80%
enemy_operative_forced_into_hiding_time_factor = 1.00  # 敌方被迫躲藏时间 +100%
enemy_operative_recruitment_chance = 1.00  # 敌国国籍特工招募几率 +100%
own_operative_harmed_time_factor = -0.80  # 破坏时间 -80%
enemy_operative_harmed_time_factor = 1.00  # 敌方破坏时间 +100%
own_operative_intel_extraction_rate = -0.80  # 情报获取率 -80%
enemy_operative_intel_extraction_rate = 1.00  # 敌方特工情报获取率 +100%
civilian_intel_to_others = -80.00  # 泄露给他国的民政情报 -80%
army_intel_to_others = -80.00  # 泄露给他国的陆军情报 -80%
navy_intel_to_others = -80.00  # 泄露给他国的海军情报 -80%
airforce_intel_to_others = -80.00  # 泄露给他国的空军情报 -80%
army_intel_decryption_bonus = 100.00  # 破译陆军密码加成 +100%
navy_intel_decryption_bonus = 100.00  # 破译海军密码加成 +100%
airforce_intel_decryption_bonus = 100.00  # 破译空军密码加成 +100%
civilian_intel_decryption_bonus = 100.00  # 破译民政密码加成 +100%
new_operative_slot_bonus = 20.00  # 特工招募选项 +20
operative_slot = 10.00  # 特工位 +10
agency_upgrade_time = -0.8  # 情报机构升级时间 -80%
operation_outcome = 1.00  # 行动效率 +100%
operation_cost = -0.8  # 行动花费 -80%
operation_infiltrate_outcome = 1.00  # 渗透效率 +100%
encryption = 100.00  # 加密 +100
decryption = 100.00  # 解密 +100
female_random_operative_chance = 5.00  # 增加女性特工的机会 +500.00%
commando_trait_chance_factor = 5.00  # 招募具有特战专家特质的特工的几率 +500.00%
# 占领和抵抗
autonomy_gain = 100.00  # 每日自治度进度增长 +100.0
resistance_target = -0.80  # 抵抗目标 -80%
resistance_growth = -0.80  # 抵抗增长速度 -80%
resistance_decay_on_our_occupied_states = -0.80  # 我们被敌人占领地区的抵抗下降速度 -80%
resistance_growth_on_our_occupied_states = 1.00  # 我们被敌人占领地区的抵抗增长速度 +100%
compliance_growth_on_our_occupied_states = -0.80  # 我们被敌人占领地区的顺从度增长速度 -80%
resistance_damage_to_garrison = -0.80  # 驻军所受伤害 -80%
resistance_damage_to_garrison_on_our_occupied_states = 1.00  # 我们被敌占领地区驻军所受伤害 +100%
required_garrison_factor = -0.80  # 驻军需求 -80%
compliance_gain = 100.00  # 每日顺从度增长 +100.00%
# 政府
political_power_gain = 500.00  # 每日获得的政治点数 +500
political_power_cost = -500.00  # 每日消耗的政治点数 -500
political_power_factor = 10.00  # 政治点数 +1000%
local_manpower = 1.00  # 当地人力 +100%
local_non_core_manpower = 1.00  # 非核心领土人力 +100%
weekly_manpower = 100000.00  # 每周人力 +100000
monthly_population = 1  # 每月人口 +100%
non_core_manpower = 1.00  # 非核心人力 +100
mobilization_speed = 1.00  # 动员速度 +100.00%
conscription_factor = 1.00  # 适役人口系数 100%
foreign_subversive_activites = -0.80  # 外国颠覆活动效率 -80%
stability_factor = 1.00  # 稳定度 +100.00%
stability_weekly = 1.00  # 每周稳定度 +100.00%
surrender_limit = 1.00  # 投降界限 +100.00%
max_surrender_limit_offset = 1.00  # 最低投降界限 +100.00%
war_support_factor = 1.00  # 战争支持度 +100.00%
war_support_weekly = 1.00  # 每周战争支持度 +100.00%
drift_defence_factor = 1.00  # 意识形态变化抵制力度 +100.0%
defensive_war_stability_factor = 1.00  # 防御战争对稳定度修正 +100.00%
# Player
opinion_gain_monthly_factor = 1.00  # 改善关系评价 +100%
improve_relations_maintain_cost_factor = -0.80  # 改善关系持续花费 -80%
join_faction_tension = -0.80  # 加入阵营紧张度限制  -80%
lend_lease_tension = -0.80  # 租借法案紧张度限制 -80%
guarantee_tension = -0.80  # 保障独立紧张度限制 -80%
guarantee_cost = -0.80  # 保障独立花费 -80%
send_volunteer_size = 100.00  # 志愿军数量上限 +100
send_volunteer_divisions_required = -0.80  # 派遣志愿军需要的陆军师数量 -80%
justify_war_goal_time =  -0.80  # 正当化战争目标所需时间 -80%
enemy_justify_war_goal_time = 1.00  # 敌国对我国正当化战争目标所需时间 +100%
# 政党
neutrality_acceptance = 100.00  # 中立主义外交接纳度 +100
democratic_acceptance = 100.00  # 民主主义外交接纳度 +100
fascism_acceptance = 100.00  # 法西斯主义外交接纳度 +100
communism_acceptance = 100.00  # 共产主义外交接纳度 +100
neutrality_drift = 100.00  # 每日中立主义支持率 +100
democratic_drift = 100.00  # 每日民主主义支持率 +100
fascism_drift = 100.00  # 每日法西斯主义支持率 +100
communism_drift = 100.00  # 每日共产主义支持率 +100
# AI
opinion_gain_monthly_factor = -0.80  # 改善关系评价 -80.00%
improve_relations_maintain_cost_factor = 1.00  # 改善关系持续花费 +100%
generate_wargoal_tension = 1  # 制造战争目标紧张度限制 +100%
join_faction_tension = 1.00  # 加入阵营紧张度限制 +100%
lend_lease_tension = 1.00  # 租借法案紧张度限制 +100%
guarantee_tension = 1.00  # 保障独立紧张度限制 +100%
guarantee_cost = 1.00  # 保障独立花费 +100%
send_volunteer_size = -50.00  # 志愿军数量上限 -50
send_volunteer_divisions_required = 1.00  # 派遣志愿军需要的陆军师数量 +100.0%
enemy_justify_war_goal_time = -0.80  # 敌国对我国正当化战争目标所需时间 -80%
ai_call_ally_desire_factor = -100.00  # AI修正:请求盟友加入战争意愿 -100
ai_join_ally_desire_factor = -100.00  # AI修正:参加战争意愿 -100
ai_get_ally_desire_factor = -100.00  # AI修正:加入或扩大一个阵营的意愿 -100
ai_focus_aggressive_factor = -0.80  # AI修正:专注攻击 -80.0%
ai_focus_defense_factor = -0.80  # AI修正:专注防御 -80.0%
ai_badass_factor = 0.20  # AI修正:威胁度敏感度 20.0%
peace_score_ratio_transferred_to_players = 0.25  # AI转交给玩家的谈和分数 +25%
ai_license_acceptance = 100  # AI接受生产许可度 +100‌
license_tech_difference_speed = -1.00  # 科技差导致的生产速度差距 -100% 
```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9