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

hilal

Captain
20 Badges
Jul 31, 2001
349
0
www.poderdapalavra.com.br
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Hearts of Iron III Collection
  • Europa Universalis IV
  • Cities in Motion
  • East India Company
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
I make a file with random events that allow the player to get alliance, royal marriage ou vassalize any country in the game (all 232, but of course not present countries will be ignored by the event engine).
There are 232 events (I use the 100000-100232 slots to prevent conflicts with others events, but this can be easyly changed), each one with one number for the comand and 4 option (none, alliance, marrige, vassalize). (the country codes table are at the beggining of the file).
I no that this may be considered as cheating, but I suppose may be a useful tool for scenario creation or just for fun.
The commands are very basic, but I think this will be useful for some of you. Please, help me betatesting the events. I do some tests and, aparentily all work properly except the no war condition between the trigger country and the choosen one.

The generic event is:
Event = {
id = eventnumber
random = yes
#not working trigger = {NOT war = { country = -1 country = «Tag») #
name = "Aliance with «Name»"
desc = "This event will generate a aliance, if possible, with the nation: «Name» («Tag»). Beware of dummy effects, save your game before use it"
style = 1
action_a = { #No, I do not #
name = "No, I do not want this alliance"
command = { type = treasury value = 0 }
}
action_b = { #Make the alliance#
name = "Make the alliance with «Name» («Tag»). Be careful, please"
command = { type = alliance which = «Tag»}
}
action_c ={ #Make a Royal Marriage#
name = " Make the wedding with «Name» («Tag»). Be careful, please "
command = { type = dynastic which = «Tag»}
}
action_d ={ #Make it a vassal#
name = " Make «Name» («Tag») a vassal. Be careful, please "
command = { type = vassal which = «Tag»}
}
}