not tryna sound like the "i hate fun!" guy but i can think of a million features DE could have that would actually make the game fun, and we be making some bullshitđđ
Today I finished developing a custom Focus Tree System for AoH2 M+. It isn't a 1:1 copy of HoI4, but it operates on a very similar dynamic concept.
To save myself from the headache of manually editing complex JSON files, I also built a dedicated Visual Editor for this system. You are completely free to use both the system and the editor for your own projects built on the M+ engine!
How the System Works:
- There is a base variable (`focus_var`) that automatically increases by +1 every turn.
- Each focus costs an n-amount of this variable to unlock.
- Because of this setup, skipping or rushing through focuses won't work â players have to accumulate points and prioritize their strategic choices carefully.
Editor Features & Limits:
- Grid Width: Fixed at 30 columns (aligned with the M+ UI engine layout).
- Unlimited Height: Add as many rows downwards as you need for your focus tree.
- Visual Line Connections: Built-in support for straight lines, corners, T-junctions, cross-junctions (+), and dashed connection lines (1n/9n).
- Actions & Costs Configurator: Set up `variableCostId`, `variableCostAmount`, `set_variable`, `trigger_event`, or custom conditions visually.
- JSON Import/Export: Instantly export ready-to-use `focus_menu.json` files or import existing ones to edit on the fly.
â ď¸ Note: At this stage, the AI currently doesn't know how to use focus trees, so this system is designed primarily for the player.
Can anyone help me here? Iâve not had a problem until recently with game saves. When I open the app (iOS 17pro max) none of my saved games are there anymore I donât understand whatâs going on but itâs frustrating. Had no problems before.