Europa Universalis IV

Europa Universalis IV

View Stats:
Barry White Jul 25, 2014 @ 3:05pm
How to make the AI join the HRE
As the title says, I would like to make AI factions join the HRE.

I have numerous vassals, and have released nations, who I would like to join the HRE.

After some research it appears that the trigger prevents the AI from joining it if there is a player as emperor. Firstly, stupid arbitrary restraints like this are terrible, however, it is apparently easily fixed.

My only issue: I cant find the trigger anywhere.

There doesnt even appear to be a HRE file in decisions, ive checked other ones in there which are more general and i cant find it there either and nor can i find it anywhere else. If anyone knows, or suspects, where HRE related decisions are then could they please tell me.
< >
Showing 1-6 of 6 comments
Funsize Jul 25, 2014 @ 8:19pm 
I am not sure what you are looking for. Subject nations cannot do most of the diplomatic actions, so this is an odd question.

The requirements for anyone to join the HRE by adding their capital is having high relations with the Emperor and small base tax country. The Emperor will not allow someone bigger than him into the HRE. I do not believe that any AI would join the HRE on its own.

Alternationaly, the Emperor can add territory that he conquers into the HRE. Most players use this approach. First, they become the HRE Emperor (Christian and 3 elector votes). Second, they annex land and core it. Third they add it to the HRE. Fourth, they create the vassal nation. It gives Imperial Authority and a nation that will vote for the HRE reforms. Eventually, it does not cost a relationship slot once you get the reform Proclaim Erbakaisertum.
Last edited by Funsize; Jul 25, 2014 @ 8:22pm
ArcanisCz Jul 26, 2014 @ 2:07am 
Originally posted by Funsize:
I am not sure what you are looking for. Subject nations cannot do most of the diplomatic actions, so this is an odd question.

But i have never seen small HRE neighbooring nation to even trying to join hre (like to protect from France...). Or nation in HRE with some lands outside to add his nonHRE lands.

Its quite odd, because as a player, i would see joining HRE or adding my other lands to HRE as a very strong move.
Last edited by ArcanisCz; Jul 26, 2014 @ 2:09am
Barry White Jul 26, 2014 @ 5:05am 
http://forum.paradoxplaza.com/forum/showthread.php?477961-How-do-you-make-the-A.I-join-quot-The-Holy-Roman-empire-quot
Source^

Here is what, is claimed, to be the AI decision

province_decisions = {

join_hre = {
potential = {
hre = no
owner = { is_emperor = no }
religion_group = christian
owner = {
religion_group = christian
}
any_neighbor_province = {
hre = yes
}
}
allow = {
OR = {
is_emperor = yes
emperor = { relation = { who = THIS value = 100 } }
}
owner = {
officials = 1
}
is_core = THIS
}
effect = {
owner = {
prestige = 0.02
officials = -1
}
emperor = {
country_event = 9493
# set_province_flag = asked_join_hre
}
}
ai_will_do = {
factor = 1
modifier = {
factor = 0
emperor = { ai = no } # Simply do not want to join player-controlled HRE
# has_province_flag = asked_join_hre
# NOT = {
# had_province_flag = {
# flag = asked_join_hre
# days = 3650
# }
# }
}
modifier = {
factor = 0
owner = {
tag = PAP
}
}
modifier = {
factor = 0
owner = {
NOT = {
emperor = {
religion = this
}
}
}
}
modifier = {
factor = 0
NOT = {
emperor = {
relation = {
who = THIS
value = 150
}
}
}
}
modifier = {
factor = 0
has_global_flag = Privileges_Revoked
}
modifier = {
factor = 0
emperor = {
badboy = 8
}
}
}
}



I presume this is it

ai_will_do = {
factor = 1
modifier = {
factor = 0
emperor = { ai = no }

As a result of this an AI will never join a player HRE but would join an AI hre (which is hillarious because the AI is the worst emperor).

I cant find this file anywhere and i am not sure that it hasnt been removed/changed since the other thread.

The issue isnt with the vassals etc, some are OPMs like east frisia, or with relations, i have 200 with them and they have 200 with me, the issue is with the AI being derpy. You should be able to force your vassals to join the HRE if they are small enough and border it,
caraanonimo Nov 25, 2017 @ 7:03am 
Actually, Ragusa managed to join the hre while I was Austria
Omniconda Nov 25, 2017 @ 8:36am 
ive had 6 nations join the HRE while i was emperor in just 1 gane, I think you might be mis reading the code as ive never seem AI join an AI HRE but have had others join mine many times

they must be small, neighbour teh HRE (seazones count, in europe, good relations with emperor, threatened by neighbours.

East frisa wont join he isnt threatened by neighbours. Ragusa teotons, albania Riga all have a decent chance of joining a strong empire or a destroyed poland depending on how far you extend the empires lands
Last edited by Omniconda; Nov 25, 2017 @ 8:40am
Barry White Nov 25, 2017 @ 9:39am 
Originally posted by caraanonimo:
Actually, Ragusa managed to join the hre while I was Austria
impressive powers of necromancy

Originally posted by Omnious:
I think you might be mis reading the code as ive never seem AI join an AI HRE but have had others join mine many times
modifier = {
factor = 0
emperor = { ai = no }
}

how would you interpret this then?

The original post i made was actually based on a decision from EU3 but, at the time, it seemed to work more or less the same in eu4.

Recently, however, i think the way the ai makes this decision has been changed because ragusa seems to join the empire almost always and east frisia seems more likely to do so as well now. Furthermore, countries who are not the emperor seem to add their land to the empire whereas they otherwise wouldnt.

I have yet to test it (and i doubt i will) but i still think that your vassals will not join the empire simply because theyre your vassal and youre the emperor. Rather, i think AI nations will join the empire if they are heavily threatened and are small (like ragusa is).

Either way, i still feel like you should be able to invite countries into the empire who border it as a way to grow the empire which is otherwise almost impossible. For example, if it were possible to release aquilla from venice and then invite them to the empire this would help with the shadow kingdom. As it stands, aquilla may or may not join the empire and nobody knows exactly determines their decision.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jul 25, 2014 @ 3:05pm
Posts: 6