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

Dutchemperor

General
36 Badges
Jul 7, 2009
1.764
3
  • Crusader Kings II: Charlemagne
  • Cities: Skylines Deluxe Edition
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • 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
  • Darkest Hour
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
Hello

i have a event request: can someone create an event (for Wallachia and Moldavia) that if one of the 2 annexed the other one that then the country changes in Romania.

i first tried to make it by my own but i get errors and the event dont triggers, i dont what i exactly have to od as trigger, something like that wallachia exists and moldavia not.

i would be really great if someone can create the event!

thanks!
 
Something like this?


Code:
event = {
    id = X
    random = no
    country = WAL
    trigger = {
        NOT = {
                exists = MOL
                exists = ROM
        }
        OR = {
            owned = { province = 1001 data = WAL  }
            owned = { province = 982 data = WAL  }
            owned = { province = 999 data = WAL  }
        }
    }
    name = "Put your name here"
    desc = "Put your description here"
    picture = default
    date = { day = 1 month = january year = 1836 }
    offset = 30
    deathdate = { day = 30 month = december year = 1935 }
    action_a = {
        Name = "Become Romania!"
        command = { type = country which = ROM }
    }
}

Code:
event = {
    id = X
    random = no
    country = MOL
    trigger = {
        NOT = {
                exists = WAL
                exists = ROM
        }
        OR = {
            owned = { province = 978 data = MOL  }
            owned = { province = 979 data = MOL  }
            owned = { province = 922 data = MOL  }
        }
    }
    name = "Put your name here"
    desc = "Put your description here"
    picture = default
    date = { day = 1 month = january year = 1836 }
    offset = 30
    deathdate = { day = 30 month = december year = 1935 }
    action_a = {
        Name = "Become Romania!"
        command = { type = country which = ROM }
    }
}

Don't forget the IDs.

In this case, it will trigger if Moldavia/Wallachia doesn't exist, nor Romania, and if one of the other owns at least one of the starting provinces of Wallachia/Moldavia.
 
great but i gave the id 929292 and 919191 but the event not happens even not when i put event 929292 in the f12 cheat box, i waited one year in the game, wich looks me enough for offset 30. what can be wrong (i play VIP, do i have to place it then somewhere else?) thanks!
 
Are you sure that you have at least one of the provinces of the other country? Did you make a new file with the two events? If so, did you include them into the events.txt?
 
I didnt start a new save game, do i have to?

and yes of course i control them, i played wallachia and annexed moldavia and in that save game i want that it becomes romania.

i put them in the normal events folder, in the vip events folder and in the vip scenario events folder (with different id's)
 
I didnt start a new save game, do i have to?

and yes of course i control them, i played wallachia and annexed moldavia and in that save game i want that it becomes romania.

i put them in the normal events folder, in the vip events folder and in the vip scenario events folder (with different id's)

No, a new game is not necessary. Did you include them into the db\events.txt file?

There's lines like event = "db\events\exploration.txt" in it. If you named your file dutchemperor, with the two events in it, you'd have to include

event = "db\events\dutchemperor.txt"

into the file.

Do you understand?
 
ahh i get it thanks, and the problem is solved the event works fine! i have only experience in hoi2 events but because every nation has already its own file, but you can also put it in an other country its file, anyway thanks.
 
Last edited:
ahh i get it thanks, and the problem is solved the event works fine! i have only experience in hoi2 events but because every nation has already its own file, but you can also put it in an other country its file, anyway thanks.

Nice, if you get any more problems just write here.