Hoi4 Focus Tree Maker Free π π
To get the coordinates (x = 1, y = 1) right, use a free grid tool. A community favorite is FocusTreeBuilder (GitHub) β a free, open-source Python script that gives you a visual grid. You tell it "Place focus at B4," and it tells you the exact X/Y coordinates for your code.
Here is a quick-start guide to using the free Focus Tree Manager.
Step 1: Setup
Download and install Focus Tree Manager. Ensure you have a folder ready for your mod (usually in Documents/Paradox Interactive/Hearts of Iron IV/mod).
Step 2: Create a New Project Open FTM and create a new project. Point the "Output Directory" to your mod folder. hoi4 focus tree maker free
Step 3: Add a Focus
Step 4: Connect Focuses Drag a line from one focus to another to create a prerequisite (the arrow indicating you must finish the first focus to unlock the second).
Step 5: Add Effects In the focus details pane, look for "Completion Rewards." Here you can add effects like: Limitations: Limited custom GFX, no icon upload
Step 6: Export
Click the "Export" or "Save" button. FTM will generate a .txt file in your mod folder.
Step 7: Localization (The Text)
The tool generates the code, but you need to write the name that players see. You must create a localization file (usually in mod/your_mod/localisation/english).
No free tool currently offers a complete WYSIWYG (What You See Is What You Get) editor for all HOI4 focus tree features. Complex elements like: To get the coordinates ( x = 1,
...still require manual coding. The free tools are best understood as code generators for structure, not a replacement for learning the HOI4 scripting language.
focus_tree =
id = my_custom_tree
country =
factor = 0
modifier =
add = 10
tag = ENG
focus =
id = ENG_military_expansion
x = 5
y = 0
cost = 10
icon = GFX_goal_generic_army_doctrine
completion_reward =
add_political_power = 150
army_experience = 50
Tip: If using this method, download a "HOI4 Syntax Highlighter" plugin for your text editor to make the code readable.
Status: Free | Platform: Windows, Mac, Linux
The Focus Tree Manager (FTM) is widely considered the gold standard for HOI4 modding. It is an external application that provides a graphical user interface (GUI) to drag, drop, and connect focuses, eliminating the need to write code manually.
You can download FTM for free from the HOI4 Modding Discord or its dedicated GitHub repository. It is open-source and completely free.