Skip to content

Getting started

Chaofan Yang edited this page May 12, 2023 · 7 revisions
  1. Install and enable this extension in VSCode (View Extension in VSCode Marketplace).
  2. Set Heart of Iron IV install path. You can:
    • (Since v0.7.0, or on vscode web) Open command palette using Ctrl+Shift+P. Use command Select HOI4 install path to browse the folder that installed Heart of Iron IV.
    • Update setting hoi4ModUtilities.installPath (you can open settings page of VSCode using Ctrl+,) to the folder that installed Heart of Iron IV.
  3. Open your mod develop folder. A mod folder should have same structure as game directory. Details about mod structure can be found here.
  4. (Optional) Open command palette using Ctrl+Shift+P. Use command Select mod file to set working mod descriptor (the .mod file).
  5. Use these entries:
    • Command palette (Ctrl+Shift+P) commands: Preview World Map and Preview HOI4 file*.
    • Preview HOI4 file (Preview HOI4 file button)* button on right-top tool bar of text editor.
    • Open a .dds or .tga file.

* Preview HOI4 file (Preview HOI4 file button) button/command is invisible, except on .gfx, map/default.map, technology tree or national focus tree files.

Clone this wiki locally