• 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.

Hallsten

Hairloss Ninja
36 Badges
Mar 17, 2001
5.274
125
  • Crusader Kings II
  • 500k Club
  • Europa Universalis: Rome
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Rome: Vae Victis
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis III: Collection
  • Crusader Kings II: Holy Knight (pre-order)
  • 200k Club
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
Just like the title says I've updated the sleep-event to match the new German generals in the 1.3 patch... :)

EDIT: This event works with both HOI2 and HOI2 Doomsday.

Code:
# sleep old guard GER

event = {
	id = 9000003
	random = no
	country = GER
	name = "Germany's old guard resigns."
	desc = "Facing a new era the old generals resigned to give room for newer ideas."
	style = 0
	date = { day = 1 month = january year = 1936 } 
	offset = 1
	deathdate = { day = 30 month = december year = 1946 }

	action_a = {
		name = "It's time to resign."
		command = { type = sleepleader which = 8 }
		command = { type = sleepleader which = 26 }
		command = { type = sleepleader which = 52 }
		command = { type = sleepleader which = 58 }
		command = { type = sleepleader which = 68 }
		command = { type = sleepleader which = 79 }
		command = { type = sleepleader which = 84 }
		command = { type = sleepleader which = 108 }
		command = { type = sleepleader which = 116 }
		command = { type = sleepleader which = 124 }
		command = { type = sleepleader which = 163 }
		command = { type = sleepleader which = 186 }
		command = { type = sleepleader which = 203 }
		command = { type = sleepleader which = 288 }
		command = { type = sleepleader which = 302 }
		command = { type = sleepleader which = 307 }
		command = { type = sleepleader which = 309 }
		command = { type = sleepleader which = 330 }
		command = { type = sleepleader which = 332 }
		command = { type = sleepleader which = 349 }
		command = { type = sleepleader which = 355 }
		command = { type = sleepleader which = 373 }
		command = { type = sleepleader which = 383 }
		command = { type = sleepleader which = 384 }
		command = { type = sleepleader which = 386 }
		command = { type = sleepleader which = 388 }
		command = { type = sleepleader which = 410 }
		command = { type = sleepleader which = 545 }
		command = { type = sleepleader which = 550 }
		command = { type = sleepleader which = 551 }
		command = { type = sleepleader which = 557 }
		command = { type = sleepleader which = 560 }
		command = { type = sleepleader which = 575 }
		command = { type = sleepleader which = 577 }
		command = { type = sleepleader which = 609 }
		command = { type = sleepleader which = 611 }
		command = { type = sleepleader which = 612 }
		command = { type = sleepleader which = 648 }
		command = { type = sleepleader which = 656 }
		command = { type = sleepleader which = 659 }
		command = { type = sleepleader which = 662 }
		command = { type = sleepleader which = 675 }
		command = { type = sleepleader which = 692 }
		command = { type = sleepleader which = 696 }
		command = { type = sleepleader which = 697 }
		command = { type = sleepleader which = 698 }
		command = { type = sleepleader which = 700 }
		command = { type = sleepleader which = 711 }
		command = { type = sleepleader which = 718 }
		command = { type = sleepleader which = 721 }
		command = { type = sleepleader which = 722 }
		command = { type = sleepleader which = 724 }
		command = { type = sleepleader which = 728 }
		command = { type = sleepleader which = 730 }
		command = { type = sleepleader which = 732 }
		command = { type = sleepleader which = 738 }
		command = { type = sleepleader which = 742 }
		command = { type = sleepleader which = 746 }
		command = { type = sleepleader which = 760 }
		command = { type = sleepleader which = 763 }
		command = { type = sleepleader which = 765 }
		command = { type = sleepleader which = 769 }
		command = { type = sleepleader which = 771 }
		command = { type = sleepleader which = 787 }
		command = { type = sleepleader which = 790 }
		command = { type = sleepleader which = 791 }
		command = { type = sleepleader which = 794 }
		command = { type = sleepleader which = 795 }
		command = { type = sleepleader which = 798 }
		command = { type = sleepleader which = 804 }
		command = { type = sleepleader which = 809 }
		command = { type = sleepleader which = 811 }
		command = { type = sleepleader which = 814 }
		command = { type = sleepleader which = 816 }
		command = { type = sleepleader which = 823 }
		command = { type = sleepleader which = 826 }
		command = { type = sleepleader which = 828 }
		command = { type = sleepleader which = 839 }
		command = { type = sleepleader which = 843 }
		command = { type = sleepleader which = 844 }
		command = { type = sleepleader which = 846 }
		command = { type = sleepleader which = 849 }
		command = { type = sleepleader which = 852 }
		command = { type = sleepleader which = 854 }
		command = { type = sleepleader which = 855 }
		command = { type = sleepleader which = 856 }
		command = { type = sleepleader which = 859 }
		command = { type = sleepleader which = 863 }
		command = { type = sleepleader which = 866 }
		command = { type = sleepleader which = 873 }
		command = { type = sleepleader which = 881 }
		command = { type = sleepleader which = 883 }
		command = { type = sleepleader which = 893 }
		command = { type = sleepleader which = 897 }
		command = { type = sleepleader which = 984 }
		command = { type = sleepleader which = 990 }

	}
}
 
Last edited:
Twotribes said:
Will new generals appear?

New generals will appear as usual. This event makes sure that useless old guard-generals won't clutter your leader-list.

Twotribes said:
How does one copy this to the file? I mean without typing it all again?

Use your mouse and click-and-drag to select all the text, rightclick on the selection and choose "copy". Then it's just to open your event-file of choice (or make a new one) and paste in the event.
 
Twotribes said:
Several of the old guard had other abilities, but I dont think I will figure out which ones )
Yes, but the old guard-trait slows down the accumulation of exp. significantly for both themselves and the units they control.

Twotribes said:
Ok, I am only sort of computer literate, how do I get the copied file from my explore program to my files area?
  • Select the entire event-text by clicking and dragging
  • Rightclick on the selection and click "copy".
  • Open e.g. germany.txt in the db\events-directory, go to the end of the file, press enter a few times and the rightclick and click "paste".
  • Save the file and start a new game, the event should trigger at midnight the first day.
 
I made my son do the transfer, his solution was to save the file to word pad and then open the database and transfer to the right file with copy paste.

By the way, I am using the sleep event. Thanks.

How about a sleep event for Hungary, Romania and Austria ).
 
Twotribes said:
I made my son do the transfer, his solution was to save the file to word pad and then open the database and transfer to the right file with copy paste.

By the way, I am using the sleep event. Thanks.

How about a sleep event for Hungary, Romania and Austria ).

That would work as well, yes... :)

I could make events for them as well if there's a need for them. The problem I can see with it is that there are relatively few replacements for the old guard-generals in those countries.
 
Here is the event for the german HOI2-version.

The original posting at www.heartsofiron.de :

http://www.heartsofiron.de/interaktiv/phpBB2/viewtopic.php?t=5874

#########################################
# killaltegarde
#########################################
event = {
id = 900100
random = no
country = GER
name = "Die Pensionierung der alten Garde"
desc = "Die große Schwäche der Wehrmacht lag Ende 1935 in Qualität und Ausbildung des Offizierskorps und der Unteroffiziere. Die rasche Expansion der Armee seit 1933 hatte zu einer viel zu schnellen Ausweitung des Offizierskorps geführt.
Daher entschied sich der Führer im Januar 1936, die alten Generäle aus dem Ersten Weltkrieg in den Ruhestand zu schicken, um Mittel für die militärische Ausbildung auf eine neue Riege fähiger, aber jüngerer Offiziere zu konzentrieren. Die Fortschritte waren beträchtlich."
picture = "westwind_success"
style = 0
date = { day = 10 month = january year = 1936 }
offset = 1
deathdate = { day = 30 month = january year = 1936 }

action_a = {
name = "Nein, wir brauchen jeden Mann für den Endsieg!"
command = { }
}

action_b = {
name = "Schicken sie sie in den Ruhestand."
command = { type = sleepleader which = 8 }
command = { type = sleepleader which = 26 }
command = { type = sleepleader which = 52 }
command = { type = sleepleader which = 58 }
command = { type = sleepleader which = 68 }
command = { type = sleepleader which = 79 }
command = { type = sleepleader which = 84 }
command = { type = sleepleader which = 108 }
command = { type = sleepleader which = 116 }
command = { type = sleepleader which = 124 }
command = { type = sleepleader which = 163 }
command = { type = sleepleader which = 186 }
command = { type = sleepleader which = 203 }
command = { type = sleepleader which = 288 }
command = { type = sleepleader which = 302 }
command = { type = sleepleader which = 307 }
command = { type = sleepleader which = 309 }
command = { type = sleepleader which = 330 }
command = { type = sleepleader which = 332 }
command = { type = sleepleader which = 349 }
command = { type = sleepleader which = 355 }
command = { type = sleepleader which = 373 }
command = { type = sleepleader which = 383 }
command = { type = sleepleader which = 384 }
command = { type = sleepleader which = 386 }
command = { type = sleepleader which = 388 }
command = { type = sleepleader which = 410 }
command = { type = sleepleader which = 545 }
command = { type = sleepleader which = 550 }
command = { type = sleepleader which = 551 }
command = { type = sleepleader which = 557 }
command = { type = sleepleader which = 560 }
command = { type = sleepleader which = 575 }
command = { type = sleepleader which = 577 }
command = { type = sleepleader which = 579 }
command = { type = sleepleader which = 609 }
command = { type = sleepleader which = 611 }
command = { type = sleepleader which = 612 }
command = { type = sleepleader which = 648 }
command = { type = sleepleader which = 656 }
command = { type = sleepleader which = 659 }
command = { type = sleepleader which = 662 }
command = { type = sleepleader which = 675 }
command = { type = sleepleader which = 692 }
command = { type = sleepleader which = 696 }
command = { type = sleepleader which = 697 }
command = { type = sleepleader which = 698 }
command = { type = sleepleader which = 700 }
command = { type = sleepleader which = 711 }
command = { type = sleepleader which = 718 }
command = { type = sleepleader which = 721 }
command = { type = sleepleader which = 722 }
command = { type = sleepleader which = 724 }
command = { type = sleepleader which = 728 }
command = { type = sleepleader which = 729 }
command = { type = sleepleader which = 730 }
command = { type = sleepleader which = 732 }
command = { type = sleepleader which = 738 }
command = { type = sleepleader which = 742 }
command = { type = sleepleader which = 746 }
command = { type = sleepleader which = 760 }
command = { type = sleepleader which = 763 }
command = { type = sleepleader which = 765 }
command = { type = sleepleader which = 769 }
command = { type = sleepleader which = 771 }
command = { type = sleepleader which = 787 }
command = { type = sleepleader which = 790 }
command = { type = sleepleader which = 791 }
command = { type = sleepleader which = 794 }
command = { type = sleepleader which = 795 }
command = { type = sleepleader which = 798 }
command = { type = sleepleader which = 804 }
command = { type = sleepleader which = 809 }
command = { type = sleepleader which = 811 }
command = { type = sleepleader which = 814 }
command = { type = sleepleader which = 816 }
command = { type = sleepleader which = 823 }
command = { type = sleepleader which = 826 }
command = { type = sleepleader which = 828 }
command = { type = sleepleader which = 839 }
command = { type = sleepleader which = 843 }
command = { type = sleepleader which = 844 }
command = { type = sleepleader which = 846 }
command = { type = sleepleader which = 849 }
command = { type = sleepleader which = 852 }
command = { type = sleepleader which = 854 }
command = { type = sleepleader which = 855 }
command = { type = sleepleader which = 856 }
command = { type = sleepleader which = 859 }
command = { type = sleepleader which = 863 }
command = { type = sleepleader which = 866 }
command = { type = sleepleader which = 873 }
command = { type = sleepleader which = 881 }
command = { type = sleepleader which = 883 }
command = { type = sleepleader which = 893 }
command = { type = sleepleader which = 897 }
}
}


There is no command for action a, so the AI will always take action_a!
And if YOU don´t want to cheat (it´s a little bit of cheating), you are free to take action_a, too.
 
Hallsten said:
Then it's just to open your event-file of choice (or make a new one) and paste in the event.

Thx Hallsten, nice! :cool:

FYI: First I had made a new file, just to keep things clean, and it did not fire. Then I moved it to the Germany event-file and it fired up fine.
 
Knox said:
Thx Hallsten, nice! :cool:

FYI: First I had made a new file, just to keep things clean, and it did not fire. Then I moved it to the Germany event-file and it fired up fine.

You can put it in a file of its own if you add that filename to db\events.txt... :)
 
I shamelessly stole the idea and made a similar event for Japan. :)

Code:
#########################################################################
#  Out with the old, In with the New
#########################################################################
event = {
	id = 23001
	random = no
	country = JAP


trigger = {
		atwar = no
	}

	name = "Changing Of The Old Guard"
	desc = "Generals unable to adopt new warfare doctrines have been honored to commit seppuku in order to make room for modern samurai!"
	style = 0
	picture = "japanese_officers"

	date = { day = 0 month = january year = 1936 }
	deathdate = { day = 29 month = december year = 1947 }

	action_a = {
		name = "OK" #
		command = { type = sleepleader which = 101116 }
		command = { type = sleepleader which = 101124 }
		command = { type = sleepleader which = 101009 }
		command = { type = sleepleader which = 101134 }
		command = { type = sleepleader which = 101029 }
		command = { type = sleepleader which = 101301 }
		command = { type = sleepleader which = 101267 }
		command = { type = sleepleader which = 101260 }
		command = { type = sleepleader which = 101228 }
		command = { type = sleepleader which = 101293 }
		command = { type = sleepleader which = 101292 }
		command = { type = sleepleader which = 101236 }
		command = { type = sleepleader which = 101221 }
		command = { type = sleepleader which = 101245 }
		command = { type = sleepleader which = 101251 }
		command = { type = sleepleader which = 101229 }
		command = { type = sleepleader which = 101253 }
		command = { type = sleepleader which = 101276 }
		command = { type = sleepleader which = 101232 }
		command = { type = sleepleader which = 101257 }
		command = { type = sleepleader which = 101189 }
		command = { type = sleepleader which = 101151 }
		command = { type = sleepleader which = 101082 }
	}
}
 
Hallsten, just want to send you my thanx for your event. No more having to waste my time searching through dead weight old guard generals to get to the ones that I want.
 
MacDunne said:
Hallsten, just want to send you my thanx for your event. No more having to waste my time searching through dead weight old guard generals to get to the ones that I want.

I still think ImpLicht has the right idea with an action_a and an action_b.

The player can get rid of the dead weight as you say, but an AI Germany can keep them or not. Also a player can decide for an AAR or for impulsive reasons to keep them too. :D

Ayeshteni