Hearts of Iron IV

Hearts of Iron IV

55 ratings
Lag Reduction - Millenium Dawn
By EA Kaizer
Lag reduction with only using in-game commands or settings.
2
   
Award
Favorite
Favorited
Unfavorite
How To Do It
We will use two different commands to reduce lag. [ai] which disables the ai of selected country, and [delall] which deletes all armies of selected country. With the help of those commands we can delete the countries without actually deleting them. (They dont do anything so they cant lag the game).

I wrote the commands ready to use. I deleted all the african nations but north africa.

How to do it:
1. Open the commands panel
2. Enter the codes below

----> ai mau sha mal ngr sen gam gub gui sie afr lur lib cdi gah tog ben cam car egu gab cng mlc ssu eth eri dji sml pun sud drc rcd uga rwa bur tnz ken jub som sws sna agl uni zam mlw moz zim bot nam saf les swa mad com sey

---->delall mau sha mal ngr sen gam gub gui sie afr lur lib cdi gah tog ben cam car egu gab cng mlc ssu eth eri dji sml pun sud drc rcd uga rwa bur tnz ken jub som sws sna agl uni zam mlw moz zim bot nam saf les swa mad com sey

3. You are all done


How to use it on multiplayer?
-> Start the game as singleplayer, execute commands without starting the game, save the game, and load multiplayer game from that save. (Edit: Multiplayer AI cant be turned off but deleting armies can help a bit since AI wont rebuild an army that size again.)

Can I delete more countries?
-> Yes you can, just enter [tdebug] command (which shows tags of the countries) and execute commands for them. ( Like--> ai USA, delall USA)

Have fun playing mod without its ♥♥♥♥♥♥ lag.
I found this solution, all credit goes to me and my magnificent mind.
IMPORTANT: I made this for 2000 start date, it can be less usefull in 2017 starting date.
An Alternate Way
Deleting armies (delall) also deletes their equipments, so you can delete all armies of all countries. This way all countries start their army from zero, no more 40 division uganda as an example. Major countries have an industry to rebuild their armies.

Command:
"delall all"

More Tips
  • Before starting the game disable EU in starting options if you are not playing in europe.
  • In starting options there is a setting that disables small countries to reduce lag, set that on.
  • You can use the state transfer tool mod to merge up ocenia, africa and south america, then turn the ai off for that big boys.
  • Hoi maybe cant love you but neither girls do, keep playing until pain passes.
13 Comments
alexmarkel0v 22 Apr, 2023 @ 7:13am 
General advices from Discord

How to increase performance in MD?

1: Go to Custom Game Rules and
- a. Set Enable AI Division Limiter to Yes/Potato Edition
- b. Set Remove Microstates to Yes
- c. Set Disable Alert AI to Yes
- d. Set Disable the EU to Yes
2: Use submods (see ⁠submods pinned message) which have names like "Optimization" or "Remove Africa"
3: Zoom your screen to maximum to see only some provinces, when your screen showing whole world its also can reduce performance.
4: Reduce your graphic game settings.
5: Get better CPU.

Your solution seems much smarter though. Feel free guys to use this guide and text above from Discord.

Also in 1.8 release for MD you will get game faster than current Steam version.
EA Kaizer  [author] 17 Mar, 2023 @ 7:18am 
@Dommer Simpson update here, i got to play from 2000-2017, and game works well with this solution. only problem is when some countries gets bugged and spams out units (in my game it was russia they had like 3100division) when i delete their army game speed up like 2x.
Michinomiya Hirohito 23 Dec, 2022 @ 1:38am 
thanks I can now open up the focus tree tab without having to call the firefighters
Dommer Simpson 11 Jul, 2022 @ 3:33pm 
ty for replying @EA Kaizer, i guess its the engine cuz its allways around 2020, anyways ty for your input!
EA Kaizer  [author] 11 Jul, 2022 @ 11:15am 
@fritadelik Performance is determined by power of the processor, i have a powerful laptop but its vents are in bottom, so when i lift up my pc more air can pass though it and cool it, it improves performance too, or you can close background applications but the real problem is in the games engine; you can see even the youtubers are lagging in that circumstances.. I dont play this mod, we wanted to play with my friend and we cannot so we found some solutions and i wanted to share them. but i remember i played maximum between 2000-2007 and got bored
Dommer Simpson 11 Jul, 2022 @ 8:27am 
@EA Kaizer How far can you go into a save without experiencing major lag? i have a decent setup and after 2020 its just pain
EA Kaizer  [author] 29 Aug, 2021 @ 2:48am 
@Agresino Have fun bro
Agresino 28 Aug, 2021 @ 9:10pm 
thank you :)
DarkSabre88 10 Jul, 2021 @ 10:55am 
wow alittle full of your-self huh!
Maestro 10 Mar, 2021 @ 12:14pm 
BIG BRAINNN