Hearts of Iron IV

Hearts of Iron IV

397 ratings
Aigle2's Stats Generator (Updated 1.15.1)
5
9
3
2
4
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.145 MB
Nov 19, 2021 @ 7:04pm
Nov 21, 2024 @ 1:54pm
6 Change Notes ( view )

Subscribe to download
Aigle2's Stats Generator (Updated 1.15.1)

Description
Built using the wonderful "Flaxbeard's hoi4-scripted-graphs" framework : https://github.com/Flaxbeard/hoi4-scripted-graphs

This mods adds the ability to see stats as a graph for every nations. There has been no noticeable performance impact in my tests.

There are currently 4 graphs :
- Civilian production (takes into account CIVS number and construction speed)
- Military production (takes into account MILS number and factory output)
- Deployed manpower
- Casualties

FULLY MP COMPATIBLE : the mod will record data you will be able to consult when loading the savegame in SP.

You can access the graph through decisions, ONLY when in debug mode. If playing MP, the mod registers the data, and you will be able to see the graphs when you open the save in SP.

More graphs are planned, I would be glad to accept help for a gfx improvement.

You can use my mod in your own and/or edit and improve it, you just have to give me credits.

Scaling :
- Every graph has now custom zoom in and out levels, which are limited to prevent variable overflow.

How to display other nations ?
- Click in a core state of the nation you want to plot, then choose one of the existing countries labeled at the bottom of a graph window to replace its curve by the new one. A pop-up will appear, asking you to close it to update the graphs.

Compatibility :
- Should work with any historical mod. If a mod changes price of ressources, or majors tags, this mod would require an edit (very simple) to make it compatible. Thanks to the 2.0 rewriting, the mod is now much more modular for editing
- Not Ironman compatible

Known issues :
- Mod stops working if GER TAG disappears. (Done for performance reasons, can be changed in the code in on_actions file)
- The equipment graph got lost in the launch, may reappear in the near future alongside a naval production graph.

Frequently Asked Questions :
- How to turn on the graphs ? A : type -debug in the launch properties (right click on HOI4 in steam library => properties) or type debug in the game console (open it using the ² key (might be different depending on your keyboard)
126 Comments
linasse Mar 26 @ 5:48am 
@Aigle2 Hello. In the ASG_line_graph_sample.gfx file, your mod often specifies effectFile = ‘gfx/FX/ASG_line_graph.lua’ but there is no ASG_line_graph.lua file in the mod.
linasse Mar 13 @ 3:42pm 
I have already succeeded in adding military score lines of alliances to the chart.
linasse Mar 13 @ 8:02am 
@Aigle2 Yeah, that was the problem. Recently I wanted to add the Axis military score and the Anti-Hitler Coalition to the chart as well. I was able to add text to the chart that would show the total military score of the countries that are part of the alliance. But I am having trouble getting the alliance military score graph to draw. In the code there are a lot of bindings in the country tag, and in my case there is no common tag.
God Gamer Feb 19 @ 11:29am 
does this work with kaiserreich and if not how would you make a compatch for it?
Aigle2  [author] Jan 14 @ 10:33am 
@linasse I think it was linked to scripted localisation changing for 1.15

@V o i d it's already the case ?
linasse Jan 8 @ 4:31pm 
Moreover, the graph itself is drawn, but the military score is not written.
linasse Jan 8 @ 3:58pm 
I would like to ask you what exactly did you do to make the military score displayed? Even before the new dls, I integrated your mod into my own, everything worked fine, but after the update, the military score stopped being displayed. Since I've made various changes to the schedule, it would be much easier for me to fix the mot myself than to migrate a new version of yours and add my own changes.
V o i d Jan 4 @ 11:55pm 
Could you please add a chart of the number of troops in each country?
Freddy Fartbear Dec 9, 2024 @ 6:38am 
is this go beyond 1948? Also, is this similar to the ledger mod?
んなああ Dec 8, 2024 @ 1:48am 
ディシジョンをクリックしても反応がありません、なぜでしょうか?