Institutions modding
Jump to navigation
Jump to search
Institution file[edit | edit source]
# # remember to add graphics for relevant ones when you add to this # # if a modifier is scaled, its multiplied with development in the province. # any_friendly_coast_border_province is a special scope made for institution spread. # It checks for adjacent provinces or provinces one seazone away. # Friendly is defined as at positive relations or owned by the same country that owns the province. <institution> = { bonus = { <effects> } historical_start_date = <year.month.day> #Not needed if the institution exists before 1444.11.1 historical_start_province = <province id> #Not needed if the institution exists before 1444.11.1 history = { #Determines which countries have the institution at start <triggers> } can_start = { <triggers> } start_chance = <float> #In 100 for when a province can_start on_start = <event id> #This activates an event when the institution begins can_embrace = { #Base institutions only use 'always = yes' trigger <triggers> } embracement_speed = { modifier = { factor = <float> scale = <bool> #yes/no potential = { <triggers> } custom_trigger_tooltip = { tooltip = <key> any_friendly_coast_border_province = { feudalism = <float> } } custom_trigger_tooltip = { tooltip = <key> is_owned_by_trade_company = <bool> <trigger> } } } ai_will_do = { #Cost of embracing institution must be < (factor * last month's regular income) & higher if loans are needed. factor = <float> modifier = { factor = <float> <triggers> } } }
Note: The embracement speed modifiers are the yearly amount, but the game displays the monthly amount which is 1/12 of the amount specified in this file.
GFX[edit | edit source]
The icons for each institution can be found here: /Europa Universalis IV/gfx/interface/*.dds. '*' represents the name of institution
- Each icon is 48 x 48
The tab icon shown in the institutions page begin with /Europa Universalis IV/gfx/interface/institution_tab_*.dds and contain a normal and selected icon in the .dds
- The normal icon is 74 x 67
- The selected icon is 74 x 82
Documentation | Effects • Triggers • Modifiers • Scopes • Variables • Localisation • Customizable localization • Run files • List of event pictures |
Scripting | Scripted function • Advisors • Ages • Bookmarks • Buildings • Casus belli • Colonial regions • Countries • Culture • Decisions • Defines • Diplomatic actions • Disasters • Empire of China • Estates • Events • Factions • Government • Great projects • History • Holy Roman Empire • Idea groups • Institutions • Mercenaries • Missions • Modifiers • Nation designer • On Actions • Parliament • Peace treaties • Policies • Rebel types • Religion • Subject types • Technology • Trade companies • Trade goods • Units |
Map | Map • Nation designer • Random New World • Trade nodes |
Graphics | 3D Models • Interface • Graphical Assets • Fonts • Particles • Shaders • Unit models |
Audio | Music • Sound |
Other | Console commands • Checksum • JoroDox mod making tool • Mod structure • Troubleshooting • The Validator • Run files |
Guides | Adding a province • Save-game editing • Scripting Tutorial |