Hearts of Iron IV

Paradox Development Studio · Strategy

Hearts of Iron IV patch notes · Feb 21, 2020

Experiment

Dev Diary: 1.9 Patchnotes and Modding Updates

What's new in Dev Diary: 1.9 Patchnotes and Modding Updates: 15 changes to Hearts of Iron IV, released Feb 21, 2020.

Content · 9

  • A scoring system for countries was added to the scripting language, used by operation and decryption AI.

    country scoring system
  • The -hands_off launch option automatically starts observing the country defined by the start tag.

    hands-off launch option
  • The operations system is now extensively scriptable, allowing new operations built from infiltration, execution and exfiltration phases.

    modding operations system
  • Custom modifiers can now be defined in scripting under common/modifier_definitions and used in effects and triggers.

    custom modifier definition
  • Scripting now supports storing tokens such as infantry_equipment in a variable, usable in effects and triggers.

    token storage as variable
  • Quite a few new effects, triggers and game variables were added with a free patch.

    new effects, triggers and game variable
  • Many new AI strategies were added to alter AI behavior, such as requesting units, forcing plans and changing aggressiveness.

    ai strategy
  • New generated HTML documentation for effects, triggers, modifiers and dynamic variables is provided.

    script documentation html file
  • A History Logger tool for observing AI gameplay is now publicly available, dumping data monthly for use in the history viewer.

    history logger tool

System · 4

  • Game speed can now be modded by changing the NGame::GAME_SPEED_SECONDS values.

    moddable game speed
  • With the -crash_data_log option, the game records the last executed script or loaded line when a crash occurs, written to meta.yml.

    crash logging
  • Country tag aliases can map to different countries during play, to a variable, event target or scoring system.

    country tag aliase
  • Existing effects and triggers now accept variables for ideology/ideology groups, equipment types and operation.

    variable support in existing effects and trigger

UI · 1

  • In debug mode, control+alt+click opens script files for focuses, ideas, decisions, events, researches and spirits.

    control+alt+click script file opening

Fix · 1

  • Reloading no longer scrolls the focus tree back to the default position when a focus is changed.

    focus tree reload scroll position