Sometimes it makes a lot of sense when people get excommunicated. It makes sense whenever the AI does it to the human player, for example.
However sometimes people get excommunicated for no reason that I can see. And if I'm understanding what I've read of the papal_events file, and based on my experiments, the excommunication lifting events only fire for rulers, so anyone who is a vassal is SOL for life, the events can't even be made to fire manually for non-rulers. Which can sometimes lead to silly or frustrating situations you'd like to be able to rectify.
Well, I've figured out a relatively simple way to do this, thanks to the good folks at Paradox making their game eminently easy to tinker with. If there's another, easier, way to do this, let me know. I didn't find one in a half-hour's worth of searching.
First, backup your papal_events file. Then add the following event to it:
character_event = { # the Pope has reinstated you in the Catholic Church
id = 9148
picture = "event_religion"
trigger = {
condition = { type = trait value = excommunicated }
condition = { type = exists value = PAPA }
}
mean_time_to_happen = {
months = 60
modifier = {
condition = { type = not value = { type = piety value = 0 } }
factor = 2.0
}
modifier = {
condition = { type = piety value = 200 }
factor = 0.8
}
modifier = {
condition = { type = piety value = 500 }
factor = 0.8
}
modifier = {
condition = { type = piety value = 1000 }
factor = 0.8
}
modifier = {
condition = { type = not value = { type = prestige value = 0 } }
factor = 1.25
}
modifier = {
condition = { type = prestige value = 200 }
factor = 0.9
}
modifier = {
condition = { type = prestige value = 500 }
factor = 0.9
}
modifier = {
condition = { type = prestige value = 1000 }
factor = 0.9
}
modifier = {
condition = { type = trait value = heretic }
factor = 2.0
}
modifier = {
condition = { type = trait value = sceptical }
factor = 1.25
}
modifier = {
condition = { type = trait value = zealous }
factor = 0.8
}
modifier = {
condition = { type = trait value = crusader }
factor = 0.66
}
}
action_a = { # Thanks!
effect = { type = remove_trait value = excommunicated }
}
}
Save the file, start up CK, select the character you want un-excommunicated, fire it (f12, type charevent 9148, f12 and then any key to close the box), save your game, exit, restore the original papal_events file (otherwise this event will fire off randomly), and re-start the game.
However sometimes people get excommunicated for no reason that I can see. And if I'm understanding what I've read of the papal_events file, and based on my experiments, the excommunication lifting events only fire for rulers, so anyone who is a vassal is SOL for life, the events can't even be made to fire manually for non-rulers. Which can sometimes lead to silly or frustrating situations you'd like to be able to rectify.
Well, I've figured out a relatively simple way to do this, thanks to the good folks at Paradox making their game eminently easy to tinker with. If there's another, easier, way to do this, let me know. I didn't find one in a half-hour's worth of searching.
First, backup your papal_events file. Then add the following event to it:
character_event = { # the Pope has reinstated you in the Catholic Church
id = 9148
picture = "event_religion"
trigger = {
condition = { type = trait value = excommunicated }
condition = { type = exists value = PAPA }
}
mean_time_to_happen = {
months = 60
modifier = {
condition = { type = not value = { type = piety value = 0 } }
factor = 2.0
}
modifier = {
condition = { type = piety value = 200 }
factor = 0.8
}
modifier = {
condition = { type = piety value = 500 }
factor = 0.8
}
modifier = {
condition = { type = piety value = 1000 }
factor = 0.8
}
modifier = {
condition = { type = not value = { type = prestige value = 0 } }
factor = 1.25
}
modifier = {
condition = { type = prestige value = 200 }
factor = 0.9
}
modifier = {
condition = { type = prestige value = 500 }
factor = 0.9
}
modifier = {
condition = { type = prestige value = 1000 }
factor = 0.9
}
modifier = {
condition = { type = trait value = heretic }
factor = 2.0
}
modifier = {
condition = { type = trait value = sceptical }
factor = 1.25
}
modifier = {
condition = { type = trait value = zealous }
factor = 0.8
}
modifier = {
condition = { type = trait value = crusader }
factor = 0.66
}
}
action_a = { # Thanks!
effect = { type = remove_trait value = excommunicated }
}
}
Save the file, start up CK, select the character you want un-excommunicated, fire it (f12, type charevent 9148, f12 and then any key to close the box), save your game, exit, restore the original papal_events file (otherwise this event will fire off randomly), and re-start the game.