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

Killemall

Corporal
May 5, 2014
28
0
Would like to make this event for Moldavia, I gather it's as simple as changing the province number and culture, but what about the id number?

Thanks for any help!

#Ottoman Bulgaria#
event = {

id = 78793732
trigger = {
control = { province = 356 data = TUR }
owned = { province = 356 data = TUR }
NOT = { exists = BUL }
}
random = no
country = TUR
name = "Ottoman Bulgaria"
desc = "After the conquer of Bulgaria the Ottoman rulers invited Bulgars into their court."
style = 2

date = { day = 1 month = january year = 1337 }
offset = 720
deathdate = { day = 1 month = january year = 1800 }

action ={
name = "Invite them to our court"
command = { type = add_countryculture which = bulgarian }
command = { type = treasury value = 200 }
command = { type = stability value = -1 }
command = { type = CAV which = 356 value = 5000 }
command = { type = DIP which = 2 value = 24 }
command = { type = domestic which = CENTRALIZATION value = -1 }
}
action ={
name = "Only Turks have something to say here!"
command = { type = stability value = 1 }
command = { type = ADM which = 1 value = 12 }
command = { type = domestic which = ARISTOCRACY value = 1 }
command = { type = domestic which = CENTRALIZATION value = 1 }
command = { type = revolt which = 356 }
}
 
Each event must have its own id number. If this number '78793732' is already used, you must change for another.
 
That depends on what game you play. Some mods use far more event ID’s than the vanilla game.

In AGCEEP for example each major country had a specific range for events and in the event file of that country at the bottom of the file the next free ID was mentioned.

Or you could simply use the Windows search function to search for the ID you want to use in the FtG game folder and all it’s subdirectories and if you find an event that already uses it, you simply add +1 until you hit one that is not used.

Edit: After the conquest, not after the "conquer" for your text. If you need more aid for your own event please post in the modding subforum:
https://forum.paradoxplaza.com/forum/index.php?forums/ftg-user-modifications.479/
 
Last edited:
Trying to get this to work again, but now I'm getting this message...?
 

Attachments

  • fail.jpg
    fail.jpg
    150,4 KB · Views: 17
  • fail2.jpg
    fail2.jpg
    153,2 KB · Views: 16
Trying to get this to work again, but now I'm getting this message...?
Usually that means there's a missing } just above line 703.