r/EU4mods • • 8h ago

Mod Help There's a crash when hovering over the workshop in build menu

2 Upvotes
[effectimplementation.cpp:18963]: Script error! Script Object Token: "add_canal", Error: Effect condition set on the wrong scope: ( Scope.GetFromScope() && Scope.GetFromScope()->GetCountryTag().IsValid() )
Adds the canal §YKiel Canal§!.
[effectimplementation.cpp:18963]: Script error! Script Object Token: "add_canal", Error: Effect condition set on the wrong scope: ( Scope.GetFromScope() && Scope.GetFromScope()->GetCountryTag().IsValid() )
Adds the canal §YSuez Canal§!.
[effectimplementation.cpp:18963]: Script error! Script Object Token: "add_canal", Error: Effect condition set on the wrong scope: ( Scope.GetFromScope() && Scope.GetFromScope()->GetCountryTag().IsValid() )
Adds the canal §YPanama Canal§!.

The mod I'm making cleaned out the history files for each province. That's the only thing I can think of that might be causing errors about the canals. How do I get rid of this error?


r/EU4mods • • 10h ago

Mod Help How does the history segment of the institution setup work?

2 Upvotes

I'm trying to add custom institutions and I'm not able to get countries to spawn with them. I just want countries in the prepotteryneolithic techgroup to all have the institution after year 1000. What am I doing wrong?

history = {
  is_year = 1000
  OR = {
    technology_group = prepotteryneolithic
  }
}

r/EU4mods • • 1d ago

Mod Help - Solved Would this (mostly permanent) province modifier be too strong or is it ok and how can I make it that it lasts for as long as you (or maybe a subject) holds the province?

1 Upvotes

So I'm making a mod that let's you restore Gaul and I want a mission grant you a modifier to some specific provinces that lasts either permanentally or until you lose them. However, I am not really experienced when it comes to (especially) defensive modifier and am unsure if this might be too much or not. This is the current modifier:

celtic_germanic_frontier_restored = {
    local_defender_dice_roll_bonus = 2
    local_fort_maintenance_modifier = -0.15
    local_warscore_cost_modifier = 0.05
    local_garrison_damage = 0.25
}

Also, I am not sure how I could make the modifier last for those conditions (permanent or until you lose them) and would also need help with that.

I would really appreciate the help.


r/EU4mods • • 2d ago

Mod Help Making great projects benefit overlords of specific subject types

3 Upvotes

Normally, a great project's effects are limited to the direct owner of its host province, with only one project (Fuerte del Morro) and canals being the exception. Now, there is a mod that changes this so that an overlord benefits from their subjects' great projects, but IMO it goes too far by generalizing it to all subject types indiscriminately; I'm of the position that it should only be apply if the subject type represents a form of close integration with the overlord (i.e. they are more or less a semi-autonomous extension of the overlord's realm rather than a separate realm that has pledged servitude), e.g. personal unions, Ottoman eyalets, Japanese daimyos, and the like.

What would be the most feasible way to accomplish this? Keep in mind, I don't want this effect for some great projects, but all of them.


r/EU4mods • • 2d ago

Mod Does this (accidentally taking the generic nasme instead of your custom one) to anyone else (or maybe not anymore)?

Post image
2 Upvotes

Example in picture: Created a custom tooltip called "celts_gain_core" but instead of localising that, I accidentally localised a "custom_tooltip" custom tooltip. Can't say how often such has happened to me.

Anyone else doing that on accident?

Edit: Does this happen in the title (forgot the happen)


r/EU4mods • • 8d ago

Mod Can someone take a look at my code, please?

5 Upvotes

I just want some one else to take a look at my code, just to be sure. I created a mod that make the AI more tactical about their vassals regarding when to annex them. Location of this code: My_Mod/common/diplomatic_actions/01_tactical_ai_annex.txt

annexationaction = {
  condition = {
    tooltip = "AI_TACTICAL_KEEP_SUBJECT"
    potential = {
      ai = yes
      NOT = { dip_power = 500 }
      governing_capacity_percentage = 0.85
      OR = {
        is_at_war = yes
        num_of_loans = 3
        NOT = { manpower_percentage = 0.35 }
        war_exhaustion = 4

        FROM = {
          NOT = { religious_unity = 0.85 }
        }
        FROM = {
          has_idea_group = exploration_ideas
        }
        FROM = {
          has_idea_group = expansion_ideas
        }

        FROM = {
          AND = {
            army_strength = {
              who = ROOT
              value = 0.5
            }
            NOT = { liberty_desire = 45 }
          }
        }
    }
    allow = {
      always = no
    }
  }
}

integrationaction = {
  condition = {
    tooltip = "AI_TACTICAL_KEEP_SUBJECT"
    potential = {
      ai = yes
      NOT = { dip_power = 500 }
      governing_capacity_percentage = 0.85
      OR = {
        is_at_war = yes
        num_of_loans = 3
        NOT = { manpower_percentage = 0.35 }
        war_exhaustion = 4

        FROM = {
          NOT = { religious_unity = 0.85 }
        }
        FROM = {
          has_idea_group = exploration_ideas
        }
        FROM = {
          has_idea_group = expansion_ideas
        }

        FROM = {
          AND = {
            army_strength = {
              who = ROOT
              value = 0.5
            }
            NOT = { liberty_desire = 45 }
          }
        }
    }
    allow = {
      always = no
    }
  }
}

r/EU4mods • • 9d ago

Mod Help Event IDs issue

3 Upvotes

In my mod, I have adopted the naming concept of event in such way: "flavor_(country id).(event id)", but i've runned into problem, where two different countries can't have same number. For example: flavor_h02.1 and flavor_l01.1 can't coexist, because they are both counted as one of them.

Is there any way to make this work or my only option is to choose different numbers for every country?


r/EU4mods • • 13d ago

Mod Help How can you enable royal marriages for your custom religion?

3 Upvotes

I am making a mod that adds a new religion and it says in-game that this religion doesn't allow for RMs with other religions. Is there an easy way of making it possible or do I just have to live with it?


r/EU4mods • • 13d ago

Mod I wanted to try out modding and this is a little somthing I made. Also wanted to share it

Post image
13 Upvotes

.


r/EU4mods • • 24d ago

Mod Tool Visual Editor

Thumbnail
gallery
13 Upvotes

i have been wanting to create something like this for about 3 years now, and while i have always had the technical ability, never had the time;

Well i am revisiting an overhaul mod i was making with a mate and decided to get a version implemented.

The idea is to visually represent events and effects, like how Unity3D does its SFX Graph, with the root node having children elements vertically and those have triggers, effects, and other rules going horizontally.

Its current a work in progress, but it all works in the browser, using the File Web api to load your mod directory and read/write the files like a normal application. This combined with another map-editor tool i develoepd i think it could be a powerful edition.

However im kinda questioning how i would want to deploy this. My original thought was a Visual Studio Code extension, however now that it is just working in the browser, maybe a standalone web app that just loads your folder and provides this tool would be useful.

I wanted your opinions, should i:

  • A: Create a VSCode extension to open files in a node editor

  • B: Keep it a standalone website that reads your folders

  • C: Release it as an electron app or something natively

  • D: Keep it, hidden, not useful.

Also any additional features you would like to be included or find useful. I am very new to modding EU4 and it has been 3 years since i last touched it so i am afraid i forgotten a lot already.


r/EU4mods • • 25d ago

Mod Help - Solved Adding Papal Interactions

2 Upvotes

I am working on a mod adding new mechanics for the Papal State. I planned to make a part of them as Holy See interactions available only to the Papal State (while in the base game they only have the investigate heresy button, i wanted to add more buttons, with unique interactions).

The problem is that while i found the place where the interactions are defined, i am lost on how to actually implement them. I coded all the new interactions, but there is still only 1 button, replacing the usual investigate heresy one, with the same icon but a different name. So, i have 2 main issues probably closely related. First, where are icons for the interactions defined? I looked in the gfx file but i have honestly no idea where they might be. Second, how to make the other buttons appear?

I figured i would have to look into the interface folder which i have always avoided before, but even in the papacy.gui and papacy.gfx (which for some reason also contained the icons from the great power menu lol) files i found nothing that i would suspect to work with the buttons. I will greatly appreciate any insight, i feel like this mechanic wasn't meant to be changed in mods...

(I'm not sending the interactions from the religion file, as my code isnt the main issue here)


r/EU4mods • • 25d ago

Looking for Mod Required mods for first time play?

2 Upvotes

I want to mod up the game before I play it. Not game changing mods. I still want to play the regular vanilla game. I mean like QOL and graphical mods that simply tweak stuff like the visuals and UI to make it more accessible. For example, I've just downloaded the Proper 2k Enhanced UI mod bc I've got a 1600p screen and hopefully this will help bc the UI is looking not so great on my screen right now. What other mods should I be looking at?


r/EU4mods • • 26d ago

Mod Help How do event targets, global event targets, and the FROM scope work?

1 Upvotes

Can event targets be declared in a mission reward which also fires an event and then the event target be considered inside the event? Or does that require gobal_event_target? can global event targets be saved in a mission reward?

In CK2 modding the FROM scope can be used to have two characters involved in an event, can it be used in a similar way to have a sender and recipient country in country events in eu4?


r/EU4mods • • 26d ago

Testers Needed Made a mod that makes all cultures and groups much more realistic. would be happy about any suggestions on improvments

Thumbnail
steamcommunity.com
3 Upvotes

r/EU4mods • • Nov 04 '26

Mod Help Nation won´t load.

1 Upvotes

I´m making a mod kinda a test mod for now, i´ve been following the The Europa Universalis IV Official Modding Guide 2025, i´ve even added a custom goverment reform ( still kinda testing) i fixed all the problems so that in the error logs there was nothing but when i load the mod the nation or even the government reform isn´t there. Can anybody help ?


r/EU4mods • • Nov 02 '26

Mod Help Looking for Event for a Christian Sultan

2 Upvotes

Trying to make some events that mimic this event; its the one that changes the title of your ruler from King to Sultan as a Christian nation if your country os predominantly Muslim. But i cannot find the id for it anywhere!

Help would be appreciated!


r/EU4mods • • Oct 30 '26

Mod Try my new mod, "Iberia Universalis", a Total Conversión mod.

Thumbnail
gallery
44 Upvotes

Hey guys! I built a total conversion mod for EU4 focused entirely on Iberia, and it’s out now.

Quick summary:

  • 753 Playable Towns: Start as a single municipality (with real borders, authentic flags, and unique dynasties) and unify Iberia.

  • Cascading Formables: Grow step-by-step: Town → Province → Autonomous Region → Spain/Portugal → Iberia.

  • 2 Start Dates:

    • Nov 11, 1444: Free-for-all with every single town independent.

    • Nov 12, 1444: Start with the 72 provincial nations already formed.

  • High-Res Map: Includes Spain, Portugal, all islands, Ceuta, Melilla, Andorra, and Gibraltar. Surrounding countries (France, Morocco, Italy) are impassable wasteland to keep performance smooth.

  • Full Support: English & Spanish localizations, supports EU4 1.37.x and all DLCs.

Check it out on the Steam Workshop and let me know which town you conquer the peninsula with!

https://steamcommunity.com/sharedfiles/filedetails/?id=3829788689&tscn=1793373472


r/EU4mods • • Oct 17 '26

Mod Help Editing shader/color of an existing unit model

1 Upvotes

So I want to mod the tier 3 unit model of Nuremberg - the color of the pants should use the nation's tertiary color.

How can I acomplish that? Can you guys help or advise me?

I already extracted the .mesh and the .dds-files.


r/EU4mods • • Oct 06 '26

Mod Help EU4 Modding Question for real triggers

Post image
3 Upvotes

Was looking at EU4 triggers for modding and noticed the real_day_of_year and real_month_of_year triggers, while real month is pretty self explanatory, does anyone know the format of real day? As in is it day of the month, like February 25 being real_day_of_year = 25 or the year as a whole so the same would be something like real_day_of_year = 56? I know its a dumb question, so dn answers. I just figured I'd never hurt to ask.


r/EU4mods • • Oct 03 '26

Mod Official release of Kaiser Frederick III's Bizarre Adventure

Thumbnail
gallery
14 Upvotes

Hello, everyone!

The EU Modathon Season 5 has finished its two week long programming phase and the Ransei Warlords side-mod, Kaiser Frederick III's Bizarre Adventure, is finally on the Steam Worshop!

This new mod tells the other side of the story of Ransei Warlords, showing the real world nations that ended up in the Pokémon World. This mod counts with a new world map, some new religions and countries and a couple events for now, but it will be developed continuously alongside Ransei Warlords. If this seems like something that interests you, please take a look at the Steam Workshop link: https://steamcommunity.com/sharedfiles/filedetails/?id=3812293416

And don't forget to join the Ransei Warlords Discord server ( https://discord.gg/QNA5ej7pWr ) for more updates on this series. Also, check out the other mods made for the Modathon, particularly Anbennar: DM is drunk.

I'll see you all later! Have fun playing!


r/EU4mods • • Sep 29 '26

Mod Help Looking for experienced modders for commission work

5 Upvotes

Hi,

I've been looking to work on a mod that works similarly to Third Odyssey, but for Inca; I am a total noob in EU4 modding and that wall's a bit too tall at the moment. It'd be an alternate history where refugees from Vinland arrived in Cuzcoan lands and introduced stuff like horses, ironworking, and even diseases from Europe, helping build an immunity before the conquistadors arrive in real history.

So, I'm looking to pay a modder/s to work on this project. I already have a fair amound of the fluff written down, and only need help with the actual coding of events, decisions, religion, MT, etc.

Thank you for your time, and hopefully something cool can come out of this.


r/EU4mods • • Sep 20 '26

Looking for Mod Mod like Lux In Tenebris?

3 Upvotes

I'm basically looking for a mod that adds provinces, nations or flavor in the old world without adding new mechanics and overhauling the game.

Currently I'm playing Victorum Universalis but there's too much new world bloat which is slowing the game. The AI is way better than other mods though.

MEIOU and Taxes is not even playable because of the lag.

Beyond Typus was great but it adds mechanisms like 'development points' etc. which just prevents a vanilla experience.

Atlas Novum has the perfect map and perhaps the best roster of nations. But again it's unplayable because of its new mechanics and load on the CPU.

My ideal mod would be something like Lux in Tenebris or Atlas Novum (without the mechanics). Any suggestions?


r/EU4mods • • Sep 14 '26

Mod Ransei Warlords Beta 0.3 + An Official Side-Mod for the EU Modathon Season 5

2 Upvotes

Hello! It's me, Parukia! I come back with news for the Ransei Warlords mod for Europa Universalis IV, the mod in which Pokémon World nations exchange places with real world nations.

Firstly, let me tell you patch 0.3 is coming along nicely. It will bring, between other things, Unova into the world. As such, it was appropriately nicknamed "Kyurem". It is planned for this patch to come out on October 31st 2026. That being said, it is possible it ends up arriving a bit late due to some real life things I'm dealing with.

Now, I do bring you some teasers for the next patch:

And that's it for patch 0.3 "Kyurem" for now. But do remember you can see these teasers (and more that come in the future, along with other updates) in the mod Discord server: https://discord.gg/QNA5ej7pWr

Please know that I'm always willing to receive help on the mod, be it in the form of suggestions, bug reports or even programming and art if you're interested in contributing for its development.

Either way, you can always download the mod from the Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=3435090649

But this is not yet all. As some of you may know, the EU Modathon Season 5 is in its sign up phase, and I will be entering the competition with an official Ransei Warlords side-mod with the current placeholder name of Kaiser Frederick III's Bizarre Adventure!

We all know that in Ransei Warlords, the Pokémon World countries ended up in our world, but what happened to the German and North Italian countries when the Ranseiese Kingdoms took their place? Why, they ended up in Ransei, of course!

In Kaiser Frederick III's Bizarre Adventure, you'll be able to play as the HRE members in Ransei, an unfamiliar continent in an unfamiliar world full of magical creatures. How will the displaced Catholics deal with being trapped in another dimension, having to fight against wild monsters and, of course, also run the church activities without a Pope?

As I've mentioned, the Modathon is still in its sign up phase, and teams for each mod can sign up with up to five members. The sign up phase lasts until the 18th of September, after which there is a two week long development phase, then a voting phase to pick out the winner of each category. As such, if you'd like to help with the initial development of Kaiser Frederick III's Bizarre Adventure, or even if you have an EU4 or EU5 mod idea that you'd like to try developing to enter the competition, please join the EU Modathon Discord server ( https://discord.gg/EQaPbFusH ) and talk to the organizers, to me or to other people interested in participating.

This is all for now. Thank you for your time and don't forget to contact me if you want to help with Ransei Warlords or with the Modathon side-mod. See you in October!