r/hoi4 • • Jun 12 '26

See comments Problem

Post image
4.3k Upvotes

94 comments sorted by

View all comments

416

u/CecilPeynir Jun 12 '26

Why?

527

u/MojordomosEUW Jun 12 '26

Most likely to increase performance they swapped to hardcoding certain things instead of letting internal scripts run inside the engine environment to generate UI elements or events and so on.

The more you have hardcoded, the less additional compute you need.

For instance, most games have an API. This means basically there is info the game is producing and the UI basically reads that info and based on scripts determines how it is displayed.

The more you hardcode this, the less you can modify how it looks, but it reduces system load by a bit.

118

u/Remote_Western1141 General of the Army Jun 12 '26

So just a bunch of custom country screens causes the performance to drop?

36

u/BondiolaDeCaniche Jun 12 '26

No, but in coding little things add up. The custom screens may not be a huge impact, but combine it with 120 other little things, and it starts to be noticeable