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

unmerged(53584)

Recruit
Feb 3, 2006
2
0
3 Questions eh?
1.Is it possible to create custom events for countries that have none?
2.What event command{s} etc might I have to use to cause a country to leave the game forever.
3.unrelated but still a question, how can I get custom leaders to appear for my land/sea/air units? What dates do I have to put in order for them to appear?

My Senario.
I am playing as Estonia in the 1936 Grand Campaign, my event is the founding of the Last Alliance which would amalgamate all the baltic countries into an enlarged Estonia. This shall be triggered by Lithuania's accepting Germany's claim on Memel, yet the whole episode should run exatly the same as what happens to austria in it's Anshluss {sp?} Thus I would have to create the events for Estonia,Latvia and Lithuania et all.
Yet I am still not sure how to make the countries give me there territories and then dissapear for the rest of the game.

Any help/pointers to other mods that might help me would be appreciated.
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
look at the events and triggers in the event_commands.txt in the docs folder. Also have a look at the HoI2 wiki on modding http://hoi2.nsen.ch/wiki/index.php/Main_Page

answers to your questions

1) yes. create an event text file (call it what you like, e.g. estonia.txt) that will hold your events. For the game to run it, you also have to add its entry in the events.txt file (open it and you will see a list of event names, add your estonia.txt to it).

2) command = { type = inherit which = x } (where x is the country three letter tag) will annex that country. If you only want to secede provinces from the country to your country you can use; command = { type = secedeprovince which = x value = y } (where x is the country you will be giving the province TO (so the event command is for the country giving away the province) and y is the province id number (can be found by going into the console by pressing F12 and typing in 'showid', when you hover your cursor over a province it will show the id number in the bottom right of the screen)

3) leaders will go into the countries leader file found in the db/leaders folder. Open it up using a text editor...

Brede;4900;EST;1930;1930;1990;1990;2;5;4;0;0;5;0;L4900;1930;1940;x

this is the leaders start date. The other entries are described on the first line of the file.

Ayeshteni
 

HMS Enterprize

On loan to the C.S Navy
26 Badges
Jun 21, 2004
4.903
57
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • 500k Club
  • Victoria 2
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Darkest Hour
Another new recruit, diving into the exciting world of modding... welcome to the forums MightyMoron.
 

unmerged(53584)

Recruit
Feb 3, 2006
2
0
Thanks!

Thanks for the help there<and over here to!>
The events work like a charm, though it will take sometime before I see if my
event trigger will work like it should since I only did a test fire of it just now, it's nice to be here and all I can say is

You haven't seen the last of this Moron!
:wacko: