Holy Roman Empire modding

From Europa Universalis 4 Wiki
Jump to navigation Jump to search

The Holy Roman Empire is a unique mechanic which uses a large range of files to implement. There may only be one Holy Roman Empire in a game, though use of localisation files can disguise it as something else.

Adding/Removing provinces in the Empire

Provinces can be set as part of the HRE by navigating to /Europa Universalis IV/history/provinces and opening the respective country file. To add the province to the Empire, it the history file should contain the line:

hre = yes

If you want a province to be added to the HRE only on certain bookmarks, you can start with

hre = no

and then add a date for the province to be added to the empire, for example:

1464.1.1 = { hre = yes }

Setting Electors

To set a country as an elector, navigate to /Europa Universalis IV/history/countries, go to the respective country and add the line:

elector = yes

You can make this status only appear on certain bookmark by setting a date, for example:

1701.1.18 = { elector = yes }

The number of electors is found in the /Europa Universalis IV/common/defines file, and has the initial value:

DESIRED_NUM_OF_ELECTORS = 7
MAX_NUM_OF_ELECTORS = 8

The first number represents a soft limit on the number of electors in the game; if the game already has seven electors, no more will be added. The second number represents a hard limit on the number of electors.

You can increase the soft limit with the command

max_electors = 1

This is used by the imperial reform 'Embrace Rechenschaft Measures'. You cannot increase this soft limit past the hard limit.

Setting the Emperor

The emperor is defined in the /Europa Universalis IV/history/diplomacy/hre file. For example, the code

1437.12.9 = { emperor = HAB }

defines HAB (Austria) as the Emperor after the 9th of September 1437.

Religion

The Holy Roman Empire's default religion is defined in the /Europa Universalis IV/common/religions/00_religion file. The default religion should have the line:

hre_religion = yes

By default this is the Catholic faith. The religion considered the main heresy (which can produce league wars) should have the line:

hre_heretic_religion = yes

By default this is the Protestant faith.

Imperial Reforms

Imperial Incidents

Documentation EffectsTriggersModifiersScopesVariablesLocalisationCustomizable localizationRun files
Scripting Scripted functionAdvisorsAgesBookmarksBuildingsCasus belliColonial regionsCountriesCultureDecisionsDefinesDiplomatic actionsDisastersEstatesEventsFactionsGovernmentGreat projectsHistoryIdea groupsInstitutionsMercenariesMissionsModifiersNation designerHoly Roman EmpirePoliciesReligionRebel typesSubject typesTechnologyTrade companiesTrade goodsUnits
Map MapNation designerRandom New WorldTrade nodes
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumJoroDox mod making toolMod structureTroubleshootingThe ValidatorRun files
Guides Adding a provinceSave-game editing