-
Notifications
You must be signed in to change notification settings - Fork 13
Getting started
Chaofan Yang edited this page May 12, 2023
·
7 revisions
- Install and enable this extension in VSCode (View Extension in VSCode Marketplace).
- 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 commandSelect HOI4 install pathto browse the folder that installed Heart of Iron IV. - Update setting
hoi4ModUtilities.installPath(you can open settings page of VSCode usingCtrl+,) to the folder that installed Heart of Iron IV.
- (Since v0.7.0, or on vscode web) Open command palette using
- Open your mod develop folder. A mod folder should have same structure as game directory. Details about mod structure can be found here.
- (Optional) Open command palette using
Ctrl+Shift+P. Use commandSelect mod fileto set working mod descriptor (the.modfile). - Use these entries:
- Command palette (
Ctrl+Shift+P) commands:Preview World MapandPreview HOI4 file*. -
Preview HOI4 file(
)* button on right-top tool bar of text editor. - Open a
.ddsor.tgafile.
- Command palette (
* Preview HOI4 file (
) button/command is invisible, except on .gfx, map/default.map, technology tree or national focus tree files.