• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
Another way to solve wakeleader bug without creating new leaders (new leader ID = new leader in game mechanics) for other country is to remove dormant german leaders from ...\Doomsday\scenarios\1936\germany.inc and give them to another country through new event fired at the begining of the game. After the Anschluss we can take them back to Germany.

Just tested this succesfuly. :)

1. Edit ...\Doomsday\scenarios\1936\germany.inc in dormant_leader section and remove all austrian leaders:
From:
Code:
  dormant_leaders        = { 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 }
To:
Code:
  dormant_leaders        = { 579 }

2. Add new event in ...\Doomsday\db\events\germany.txt that gives all leaders above to another country (in my case - Haiti):
Code:
event = {
	id = 611120
	random = no
	country = HAI
	name = "Austrian leaders go to Haiti"
	desc = "Austrian leaders go to Haiti"
	style = 0
	picture = "events_empty"
	date = { day = 1 month = january year = 1936 }
        action_a = {
		name = "OK"
		command = { type = add_corps which = "Barger" value = land when = 544 where = 892 }
		command = { type = add_corps which = "Beyer E." value = land when = 545 where = 892 }
		command = { type = add_corps which = "Bornemann" value = land when = 546 where = 892 }	
		command = { type = add_corps which = "Britzelmayr" value = land when = 547 where = 892 }
		command = { type = add_corps which = "Eglseer" value = land when = 548 where = 892 }
		command = { type = add_corps which = "Eppich" value = land when = 549 where = 892 }
		command = { type = add_corps which = "Ernst" value = land when = 550 where = 892 }
		command = { type = add_corps which = "Feketehalmy-Czeydner" value = land when = 551 where = 892 }
		command = { type = add_corps which = "Feurstein" value = land when = 552 where = 892 }
		command = { type = add_corps which = "Glaise-Horstenau" value = land when = 553 where = 892 }
		command = { type = add_corps which = "Grassy" value = land when = 554 where = 892 }
		command = { type = add_corps which = "Gräser C." value = land when = 555 where = 892 }
		command = { type = add_corps which = "Hammer" value = land when = 556 where = 892 }
		command = { type = add_corps which = "Haselmayr" value = land when = 557 where = 892 }
		command = { type = add_corps which = "Hickmann" value = naval when = 558 where = 892 }
		command = { type = add_corps which = "Kienbauer" value = land when = 559 where = 892 }
		command = { type = add_corps which = "Kotik" value = land when = 560 where = 892 }
		command = { type = add_corps which = "Kubena" value = land when = 561 where = 892 }
		command = { type = add_corps which = "Longin" value = air when = 562 where = 892 }
		command = { type = add_corps which = "Löhr" value = air when = 563 where = 892 }
		command = { type = add_corps which = "Materna" value = land when = 564 where = 892 }
		command = { type = add_corps which = "Martinek" value = land when = 565 where = 892 }
		command = { type = add_corps which = "Mickl" value = land when = 566 where = 892 }
		command = { type = add_corps which = "Phleps" value = land when = 567 where = 892 }
		command = { type = add_corps which = "Rendulic" value = land when = 568 where = 892 }
		command = { type = add_corps which = "Schaffarz" value = land when = 569 where = 892 }
		command = { type = add_corps which = "Schöbel" value = air when = 570 where = 892 }
		command = { type = add_corps which = "Schubert" value = land when = 571 where = 892 }
		command = { type = add_corps which = "Stümpfl" value = land when = 572 where = 892 }
		command = { type = add_corps which = "Vesely" value = land when = 573 where = 892 }
		command = { type = add_corps which = "Vodepp" value = air when = 574 where = 892 }
		command = { type = add_corps which = "von Eimannsberger" value = land when = 575 where = 892 }
		command = { type = add_corps which = "von Hubicki" value = land when = 576 where = 892 }
		command = { type = add_corps which = "Zaiser" value = land when = 577 where = 892 }
		command = { type = add_corps which = "Zborzil" value = land when = 578 where = 892 }
	}
}
This event will fire at 2nd of January 1936 and will move all "austrian" leaders to Haiti. At 3rd of January all empty land and air divisions will disappear, but the leaders will stay in Haiti. Vacantion may be? :rofl:

3. Edit event 2001 in ...\Doomsday\db\events\germany.txt to:
Code:
event = {
	id = 2001
	random = no
	country = GER
	# Triggered by AUS 2100
	name = "EVT_2001_NAME"
	desc = "EVT_2001_DESC"
	style = 0
	picture = "anchsluss"

	action_a = {
		name = "OK"
		command = { type = inherit which = AUS }
		command = { type = manpowerpool value = 300 }
		command = { type = dissent value = -10 }
		command = { type = domestic which = defense_lobby value = 1 }
		command = { type = add_corps which = "Barger" value = land when = 544 where = 300 }
		command = { type = add_corps which = "Beyer E." value = land when = 545 where = 300 }
		command = { type = add_corps which = "Bornemann" value = land when = 546 where = 300 }	
		command = { type = add_corps which = "Britzelmayr" value = land when = 547 where = 300 }
		command = { type = add_corps which = "Eglseer" value = land when = 548 where = 300 }
		command = { type = add_corps which = "Eppich" value = land when = 549 where = 300 }
		command = { type = add_corps which = "Ernst" value = land when = 550 where = 300 }
		command = { type = add_corps which = "Feketehalmy-Czeydner" value = land when = 551 where = 300 }
		command = { type = add_corps which = "Feurstein" value = land when = 552 where = 300 }
		command = { type = add_corps which = "Glaise-Horstenau" value = land when = 553 where = 300 }
		command = { type = add_corps which = "Grassy" value = land when = 554 where = 300 }
		command = { type = add_corps which = "Gräser C." value = land when = 555 where = 300 }
		command = { type = add_corps which = "Hammer" value = land when = 556 where = 300 }
		command = { type = add_corps which = "Haselmayr" value = land when = 557 where = 300 }
		command = { type = add_corps which = "Hickmann" value = naval when = 558 where = 296 }
		command = { type = add_corps which = "Kienbauer" value = land when = 559 where = 300 }
		command = { type = add_corps which = "Kotik" value = land when = 560 where = 300 }
		command = { type = add_corps which = "Kubena" value = land when = 561 where = 300 }
		command = { type = add_corps which = "Longin" value = air when = 562 where = 300 }
		command = { type = add_corps which = "Löhr" value = air when = 563 where = 300 }
		command = { type = add_corps which = "Materna" value = land when = 564 where = 300 }
		command = { type = add_corps which = "Martinek" value = land when = 565 where = 300 }
		command = { type = add_corps which = "Mickl" value = land when = 566 where = 300 }
		command = { type = add_corps which = "Phleps" value = land when = 567 where = 300 }
		command = { type = add_corps which = "Rendulic" value = land when = 568 where = 300 }
		command = { type = add_corps which = "Schaffarz" value = land when = 569 where = 300 }
		command = { type = add_corps which = "Schöbel" value = air when = 570 where = 300 }
		command = { type = add_corps which = "Schubert" value = land when = 571 where = 300 }
		command = { type = add_corps which = "Stümpfl" value = land when = 572 where = 300 }
		command = { type = add_corps which = "Vesely" value = land when = 573 where = 300 }
		command = { type = add_corps which = "Vodepp" value = air when = 574 where = 300 }
		command = { type = add_corps which = "von Eimannsberger" value = land when = 575 where = 300 }
		command = { type = add_corps which = "von Hubicki" value = land when = 576 where = 300 }
		command = { type = add_corps which = "Zaiser" value = land when = 577 where = 300 }
		command = { type = add_corps which = "Zborzil" value = land when = 578 where = 300 }
	}
}
This event will bring them all back to Germany (checked it in save-game file). Again all empty corps will dissapear in a few hours/days.

4. Add sleepleader commands in events 2020 (...\Doomsday\db\events\germany.txt) and 2100 (...\Doomsday\db\events\austria.txt) for action_b and action_c like I described in my previous post:
Code:
		command = { type = sleepleader which = 544 } # Barger
		command = { type = sleepleader which = 545 } # Beyer E.
		command = { type = sleepleader which = 546 } # Bornemann
		command = { type = sleepleader which = 547 } # Britzelmayr
		command = { type = sleepleader which = 548 } # Eglseer
		command = { type = sleepleader which = 549 } # Eppich
		command = { type = sleepleader which = 550 } # Ernst
		command = { type = sleepleader which = 551 } # Feketehalmy-Czeydner
		command = { type = sleepleader which = 552 } # Feurstein
		command = { type = sleepleader which = 553 } # Glaise-Horstenau
		command = { type = sleepleader which = 554 } # Grassy
		command = { type = sleepleader which = 555 } # Gräser C.
		command = { type = sleepleader which = 556 } # Hammer
		command = { type = sleepleader which = 557 } # Haselmayr
		command = { type = sleepleader which = 558 } # Hickmann
		command = { type = sleepleader which = 559 } # Kienbauer
		command = { type = sleepleader which = 560 } # Kotik
		command = { type = sleepleader which = 561 } # Kubena
		command = { type = sleepleader which = 562 } # Longin
		command = { type = sleepleader which = 563 } # Löhr
		command = { type = sleepleader which = 564 } # Materna
		command = { type = sleepleader which = 565 } # Martinek
		command = { type = sleepleader which = 566 } # Mickl
		command = { type = sleepleader which = 567 } # Phleps
		command = { type = sleepleader which = 568 } # Rendulic
		command = { type = sleepleader which = 569 } # Schaffarz
		command = { type = sleepleader which = 570 } # Schöbel
		command = { type = sleepleader which = 571 } # Schubert
		command = { type = sleepleader which = 572 } # Stümpfl
		command = { type = sleepleader which = 573 } # Vesely
		command = { type = sleepleader which = 574 } # Vodepp
		command = { type = sleepleader which = 575 } # von Eimannsberger
		command = { type = sleepleader which = 576 } # von Hubicki
		command = { type = sleepleader which = 577 } # Zaiser
		command = { type = sleepleader which = 578 } # Zborzil
 
Last edited:
May 6, 2004
553
1
Why dont you just leave them dormant leaders be dormant, perform the regular Anschluss and save, take a savegame from a date before Anschluss, copy all Austrian leaders from the country definition there, open the savegame where you have the Anschluss complete, and add them Austrian leaders to the German leader column in GER country definition (simply paste them in between the last regular leader and the first minister) - voila, all Austrian guys present
 

unmerged(44611)

General
May 23, 2005
2.493
0
I modded the game to gain all of Austria's leaders and teams. Of course I did this in 1936. The only use of teams gained from Austria was that I used one of their tech teams on an air doctrine. Udet was busy and Sperrle was not available yet, so Lohr was my best bet with one of my air doctrines. They also have one decent air commander. If you know hot to edit savegame, it is easy. If not, you are not missing much.