Modifiers

From Hearts of Iron 4 Wiki
Jump to: navigation, search

What is a Modifier?[edit]

A Modifier is something that can effect your nation in many different ways. Everything from research speed to army organisation can be changed.

Modifiers is NOT a one time use command, and needs something to apply it.

Modifiers can be gained through every static or dynamic token that persists over time:

  • National focus - If the Focus gives a idea with modifiers in it, or unlocks a hidden research (such as with Jungle Training from TfV India).
  • State types
  • Research - Ex. Doctrines.
  • Terrain - All terrain gives different bonuses that can be changed.
  • Events - If the Event gives a idea with modifiers in it, or unlocks a hidden research.
  • Ideas - National Spirits
  • Advisors - Works the same as Ideas, and can have the same modifiers.
  • Laws - Works the same as Ideas, and can have the same modifiers.

Country Modifiers[edit]

Name Effect Example
unity_factor Bonus to total national unity unity_factor = 0.10
unity_weekly Modifies weekly unity gained unity_weekly = 0.001
IDEOLOGY_drift Modifies the drift towards the specified ideology fascism_drift = 0.10
drift_defence_factor Modifies the ideology drift defence drift_defence_factor = 0.25
political_power_gain Bonus to the daily political power gain political_power_gain = 0.5
political_power_factor Modifies the political power gained daily political_power_factor = 0.25
political_advisor_cost_factor Modifies the cost of employing a new political advisor political_advisor_cost_factor = 0.25
trade_laws_cost_factor Modifies the cost of modifying the trade law of the country trade_laws_cost_factor = 0.25
mobilization_laws_cost_factor Modifies the cost of modifying the conscription law of the country mobilization_laws_cost_factor = 0.25
economy_cost_factor Modifies the cost of modifying the economy of the country economy_cost_factor = 0.25
foreign_subversive_activites Modifies efficiency of subversive activities of OTHER countries on OWN country foreign_subversive_activites = -0.50
subversive_activites_upkeep Modifies the cost of OWN subversive activities in foreign countries subversive_activites_upkeep = -0.1
lend_lease_tension Modifies the world tension level required for sending lend lease lend_lease_tension = -0.20
send_volunteers_tension Modifies the world tension required for sending volunteers send_volunteers_tension = -0.20
send_volunteer_divisions_required Modifies the amount of divisions required for sending volunteers send_volunteer_divisions_required = -0.25
send_volunteer_size Bonus to the maximum number of divisions that can be sent as volunteers send_volunteer_size = 1
trade_opinion_factor Modifies the likeliness of other countries accepting trade deals trade_opinion_factor = 0.25
join_faction_tension Modifies the world tension level required to join factions join_faction_tension = -0.20
justify_war_goal_time Modifies the time required for justifying a war goal justify_war_goal_time = -0.25
generate_wargoal_tension Modifies the world tension level required to generate wargoals generate_wargoal_tension = -0.4
IDEOLOGY_acceptance Changes an ideology's acceptance by the specified value democratic_acceptance = 85
guarantee_tension Modifies the world tension level required to guarantee a foreign country guarantee_tension = -0.5
guarantee_cost Modifies the cost of guaranteeing a foreign country guarantee_cost = -0.5
license_EQUIPMENT_purchase_cost Changes purchase costs for licenses license_armor_purchase_cost = -0.5
improve_relations_maintain_cost_factor Modifies the cost of maintaining "Improve relations" diplomatic actions improve_relations_maintain_cost_factor = -0.75
enemy_justify_war_goal_time Modifies the time required for OTHER countries to justify war goal against OWN country enemy_justify_war_goal_time = 0.1
autonomy_gain Bonus to autonomy gained per day autonomy_gain = 1
subjects_autonomy_gain Bonus to autonomy gained by subjects per day subjects_autonomy_gain = 1
opinion_gain_monthly_factor Modifies the opinion gain from improving relations opinion_gain_monthly_factor = 0.15
opinion_gain_monthly_same_ideology_factor Modifies the monthly opinion gain for being of the same ideology opinion_gain_monthly_same_ideology_factor = 0.5
military_leader_cost_factor Modifies the cost of recruiting new generals military_leader_cost_factor = -0.50
army_leader_start_level Bonus to the starting level of new generals army_leader_start_level = 1

AI Modifiers[edit]

Name Effect Example
ai_focus_aggressive_factor Modifies the AI aggressivity focus ai_focus_aggressive_factor = 0.5
ai_get_ally_desire_factor Bonus to likeliness of AI to get allies ai_get_ally_desire_factor = 100
ai_call_ally_desire_factor Modifies the AI's desire to call allies into wars ai_call_ally_desire_factor = -40
ai_join_ally_desire_factor Modifies the AI's desire to join allies in wars ai_join_ally_desire_factor = -30

Generic Army Modifiers[edit]

Name Effect Example
conscription_factor Conscription % bonus (applied AFTER available population is calculated) conscription_factor = 0.1
conscription Conscription bonus (added to % of available population) Multiplies the conscription_factor by a given percentage. conscription = 0.01
non_core_manpower A multiplier on the percentage of manpower in non-cores. Base in non-cores is 2%, 0.02. non_core_manpower = 0.02
army_core_attack_factor Bonus to division attack on core territory army_core_attack_factor = 0.1
army_core_defence_factor Bonus to division defence on core territory army_core_defence_factor = 0.1
training_time_army_factor Changes the time it takes to train new divisions by the specified percentage (compare to: training_time_factor) training_time_army_factor = -0.1
training_time_factor Changes the time it takes to train new divisions by the specified percentage (compare to: training_time_army_factor) training_time_factor = -0.1
planning_speed Bonus to planning speed of armies in % planning_speed = 0.10
max_planning Bonus to maximum planning level of armies in % max_planning = 0.25
army_org_Factor Modifies the maximum organization level of all troops (percentage) army_org_Factor = 0.05
army_org Bonus to maximum organization level of all troops (flat number) army_org = 5
recon_factor Bonus to reconnaissance of all troops recon_factor = 0.05
army_morale_factor Bonus to division recovery rate army_morale_factor = 0.1
enemy_partisan_effect Modifies the effect of enemy partisans on own country enemy_partisan_effect = -0.1
decryption_factor Bonus to decryption decryption_factor = 0.2
encryption_factor Bonus to encryption encryption_factor = 0.2
amphibious_invasion Bonus to speed of amphibious invasions amphibious_invasion = 0.10
invasion_preparation Modifies the preparation time for amphibious invasions invasion_preparation = -0.3
land_reinforce_rate Modifies the rate at which divisions are reinforced land_reinforce_rate = 0.3
defence Bonus % to defense defence = 0.1
offence Bonus % to offence offence = 0.1
army_defence_factor Bonus to division defence factor army_defence_factor = 0.1
army_attack_factor Bonus to division offence factor army_attack_factor = 0.1
army_speed_factor Bonus to division speed factor army_speed_factor = 0.05
attrition Modifier to overall army attrition attrition = -0.1
heat_attrition_factor Modifies the heat attrition of armies heat_attrition_factor = -0.5
winter_attrition_factor Modifies the winter attrition of armies winter_attrition_factor = -0.5
max_dig_in Bonus to max entrenchment max_dig_in = 1
supply_consumption_factor Modifies amount of supplies consumed supply_consumption_factor = -0.20
out_of_supply_factor Modifies the penalty for being out of supply out_of_supply_factor = -0.5
experience_gain_army Bonus to daily army experience gain (flat number) experience_gain_army = 0.05
experience_gain_army_factor Modifies the amount of army experience gained (percentage) experience_gain_army_factor = -0.1

Specific Army Modifiers[edit]

Name Effect Example
army_armor_speed_factor Modifies the speed of all armor units in the army army_armor_speed_factor = 0.05
army_armor_attack_factor Modifies the attack of all armor units in the army army_armor_attack_factor = 0.1
army_armor_defence_factor Modifies the defence of all armor units in the army army_armor_defence_factor = 0.05
army_artillery_attack_factor Modifies the attack of all artillery units in the army army_artillery_attack_factor = 0.15
army_artillery_defence_factor Modifies the defence of all artillery units in the army army_artillery_defence_factor = 0.05
army_infantry_attack_factor Modifies the attack of all infantry units in the army army_infantry_attack_factor = 0.05
army_infantry_defence_factor Modifies the defence of all infantry units in the army army_infantry_defence_factor = 0.1
special_forces_attack_factor Modifies the attack of all special forces units in the army special_forces_attack_factor = 0.1
special_forces_defence_factor Modifies the defence of all special forces units in the army special_forces_defence_factor = 0.1
cavalry_attack_factor Modifies the attack of all cavalry units in the army cavalry_attack_factor = 0.05
cavalry_defence_factor Modifies the defence of all cavalry units in the army cavalry_defence_factor = 0.05
motorized_attack_factor Modifies the attack of all motorized units in the army motorized_attack_factor = 0.05
motorized_defence_factor Modifies the defence of all motorized units in the army motorized_defence_factor = 0.05
air_paradrop_attack_factor Modifies the attack of paradropped troops air_paradrop_attack_factor = 0.01
air_paradrop_defence_factor Modifies the defence of paradropped troops air_paradrop_defence_factor = 0.03
air_paradrop_agility_factor Modifies the agility of paradropped troops (Exists and localizes but does not seem to do anything at all.) air_paradrop_agility_factor = 0.03

Generic Air Modifiers[edit]

Name Effect Example
air_ace_generation_chance_factor Modifies the chance of generating aces air_ace_generation_chance_factor = 0.10
enemy_army_bonus_air_superiority_factor Modifies the bonus for enemies from air superiority enemy_army_bonus_air_superiority_factor = -0.05
army_bonus_air_superiority_factor Modifies the bonus to land combat from having air superiority army_bonus_air_superiority_factor = 0.05
air_accidents_factor Modifies the chance of air accidents air_accidents_factor = -0.05
air_night_penalty Modifies the penalty for nighttime air operations air_night_penalty = -0.1
air_weather_penalty Modifies the penalty for bad weather for air operations air_weather_penalty = -0.1
experience_gain_air Bonus to daily air experience gain (flat number) experience_gain_air = 0.05
experience_gain_air_factor Modifies the amount of air experience gained (percentage) experience_gain_air_factor = 0.1

Specific Air Modifiers[edit]

Name Effect Example
naval_strike_attack_factor Modifies the attack factor for naval strikes of air wings naval_strike_attack_factor = 0.02
naval_strike_targetting_factor Modifies the targetting efficiency for naval strikes of air wings naval_strike_targetting_factor = 0.02
naval_strike_agility_factor Modifies the agility factor for naval strikes of air wings naval_strike_agility_factor = 0.02
air_interception_attack_factor Modifies the attack factor for interception missions of air wings air_interception_attack_factor = 0.02
air_interception_defence_factor Modifies the defence factor for interception missions of air wings air_interception_defence_factor = 0.02
air_interception_agility_factor Modifies the agility factor for interception missions of air wings air_interception_agility_factor = 0.02
air_air_superiority_attack_factor Modifies the attack factor for air superiority missions of air wings air_air_superiority_attack_factor = 0.02
air_air_superiority_defence_factor Modifies the defence factor for air superiority missions of air wings air_air_superiority_defence_factor = 0.02
air_air_superiority_agility_factor Modifies the agility factor for air superiority missions of air wings air_air_superiority_agility_factor = 0.02
air_close_air_support_attack_factor Modifies the attack factor for close air support missions of air wings air_close_air_support_attack_factor = 0.02
air_close_air_support_defence_factor Modifies the defence factor for close air support missions of air wings air_close_air_support_defence_factor = 0.02
air_close_air_support_agility_factor Modifies the agility factor for close air support missions of air wings air_close_air_support_agility_factor = 0.02
air_strategic_bomber_attack_factor Modifies the attack factor for strategic bombing missions of air wings air_strategic_bomber_attack_factor = 0.01
air_strategic_bomber_defence_factor Modifies the defence factor for strategic bombing missions of air wings air_strategic_bomber_defence_factor = 0.01
air_strategic_bomber_agility_factor Modifies the agility factor for strategic bombing missions of air wings air_strategic_bomber_agility_factor = 0.01
air_strategic_bomber_bombing_factor Modifies the bombing factor for strategic bombing missions of air wings air_strategic_bomber_bombing_factor = 0.03
air_cas_present_factor Modifies the efficiency of tactical bombing missions air_cas_present_factor = 0.1

Generic Naval Modifiers[edit]

Name Effect Example
convoy_escort_efficiency Modifies the efficiency of convoy escorting convoy_escort_efficiency = 0.25
naval_retreat_chance Modifies the chance of a successful naval retreat naval_retreat_chance = 0.2
naval_retreat_speed Modifies the speed of naval retreats naval_retreat_speed = 0.25
ships_at_battle_start Modifies the number of ships in the first contact ships_at_battle_start = 0.25
spotting_chance Modifies the chance to spot enemy ships spotting_chance = 0.1
navy_anti_air_attack_factor Modifies the anti air attack of naval units navy_anti_air_attack_factor = 0.1
navy_capital_ship_defence_factor Modifies the defence of capital ships in the navy navy_capital_ship_defence_factor = 0.1
navy_carrier_air_targetting_factor Modifies the targeting efficiency of air units on by carriers navy_carrier_air_targetting_factor = 0.1
sortie_efficiency Modifies sortie efficiency of carriers sortie_efficiency = 0.1
naval_hit_chance Modifies the overall naval hit chance naval_hit_chance = 0.05
naval_coordination Modifies the overall naval coordination naval_coordination = 0.01
convoy_raiding_efficiency_factor Modifies the efficience of commerce raiding convoy_raiding_efficiency_factor = 0.1
naval_speed_factor Modifies the speed of naval units naval_speed_factor = 0.1
navy_submarine_detection_factor Modifies the chance of detecting enemy submarines navy_submarine_detection_factor = 0.1
navy_max_range_factor Modifies the maximum range of navies navy_max_range_factor = 0.05
experience_gain_navy Bonus to daily navy experience gain (flat number) experience_gain_navy = 0.05
experience_gain_navy_factor Modifies the amount of navy experience gained (percentage) experience_gain_navy_factor = 0.1

Specific Naval Modifiers[edit]

Name Effect Example
navy_carrier_air_attack_factor Modifies the attack of planes of carriers navy_carrier_air_attack_factor = 0.03
navy_carrier_air_targetting_factor Modifies the defence of planes of carriers navy_carrier_air_targetting_factor 0.03
navy_carrier_air_agility_factor Modifies the agility of planes of carriers navy_carrier_air_agility_factor = 0.04
navy_capital_ship_attack_factor Modifies the attack of capital ships navy_capital_ship_attack_factor = 0.05
navy_capital_ship_defence_factor Modifies the defence of capital ships navy_capital_ship_defence_factor = 0.05
navy_submarine_attack_factor Modifies the attack of all submarine units in the navy navy_submarine_attack_factor = 0.2
navy_submarine_defence_factor Modifies the defence of all submarine units in the navy navy_submarine_defence_factor = 0.2
navy_screen_attack_factor Modifies the attack of screen ships navy_screen_attack_factor = 0.05
navy_screen_defence_factor Modifies the defence of screen ships navy_screen_defence_factor = 0.05
naval_torpedo_range_factor Modifies the range of torpedoes naval_torpedo_range_factor = 1

Generic Industry Modifiers[edit]

Name Effect Example
production_factory_max_efficiency_factor Bonus to max factory efficiency production_factory_max_efficiency_factor = 0.1
line_change_production_efficiency_factor Bonus to production efficiency retention line_change_production_efficiency_factor = 0.2
production_speed_buildings_factor Bonus to speed of overall construction production_speed_buildings_factor = 0.1
conversion_cost_civ_to_mil_factor Modifies the cost of converting civilian factories to military conversion_cost_civ_to_mil_factor = -0.2
industrial_capacity_factory Overall production boost for military factories industrial_capacity_factory = 0.1
industrial_capacity_dockyard Overall production boost for dockyards industrial_capacity_dockyard = 0.2
consumer_goods_factor Modifies the factor of factories occupied with producing consumer goods consumer_goods_factor = 0.05
production_factory_efficiency_gain_factor Modifies the production efficiency gain factor production_factory_efficiency_gain_factor = 0.05
production_factory_start_efficiency_factor Modifies the starting production efficiency of factories production_factory_start_efficiency_factor = 0.05
local_resources_factor Modifies the resource gain efficiency local_resources_factor = 0.10
production_oil_factor Changes oil production by the specified percentage. Stacks and adds up with local_resources_factor. There are no factors such as this available for the other resources. production_oil_factor = 0.1
equipment_conversion_speed Modifies the speed of converting equipment equipment_conversion_speed = 0.05
min_export Modifies the % of goods that need to be exported min_export = -0.05
global_building_slots_factor Modifies the amount of factories that can be built in a state global_building_slots_factor = 0.10
industry_air_damage_factor Modifies the vulnerability of factories to bombs industry_air_damage_factor = -0.1
industry_free_repair_factor Changes free repair speed by the specified percentage industry_free_repair_factor = 1
industry_repair_factor Changes repair speed by the specified percentage industry_repair_factor = 0.5

Specific Industry Modifiers[edit]

Name Effect Example
production_speed_arms_factory_factor Bonus to speed of constructing military factories production_speed_arms_factory_factor = 0.1
production_speed_industrial_complex_factor Bonus to speed of constructing civilian factories production_speed_industrial_complex_factor = 0.1
production_speed_bunker_factor Bonus to speed of constructing land forts production_speed_bunker_factor = 0.3
production_speed_coastal_bunker_factor Bonus to speed of constructing coastal forts production_speed_coastal_bunker_factor = 0.3
production_speed_anti_air_building_factor Bonus to speed of constructing anti air guns production_speed_anti_air_building_factor = 0.3
production_speed_dockyard_factor Bonus to speed of constructing dockyards production_speed_dockyard_factor = 0.2
production_speed_naval_base_factor Bonus to speed of constructing naval bases production_speed_naval_base_factor = 0.2
production_speed_air_base_factor Bonus to speed of constructing air bases production_speed_air_base_factor = 0.15
production_speed_rocket_site_factor Bonus to speed of constructing rocket sites production_speed_rocket_site_factor = 0.15
production_speed_radar_station_factor Bonus to speed of constructing radar stations production_speed_radar_station_factor = 0.15
production_speed_infrastructure_factor Bonus to speed of constructing infrastructure production_speed_infrastructure_factor = 0.2
production_speed_nuclear_reactor_factor Bonus to speed of constructing nuclear reactors production_speed_nuclear_reactor_factor = 0.25
production_speed_synthetic_refinery_factor Bonus to speed of constructing synthetic refineries production_speed_synthetic_refinery_factor = 0.1

Research Modifiers[edit]

Name Effect Example
research_time_factor Overall research speed bonus research_time_factor = -0.05
Research time reductions When researching specific technologies or technology categories, research_bonus is used along with the category you want to have a % reduced research time in. research_bonus = { air_doctrine = 0.08 }

Other Modifiers[edit]

Name Effect Example
MONTHLY_POPULATION Changes monthly population growth by the specified percentage MONTHLY_POPULATION = 0.5
Modding
Documentation EffectsTriggersModifiersScopesLocalisation
Scripting AIBookmarksBuildingsCosmetic tagsCountriesDivisionsDecisionsEquipmentEventsIdeasIdeologiesNational FocusesResourcesTechnologyUnits
Map MapTerrainStatesSupply areasStrategic regions
Graphical InterfaceGraphical Assets
Cosmetic PortraitsNamelistsMusicSound
Other Console commandsTroubleshootingMod structure