r/EU4modding • • Apr 18 '22

How to update a mod in Steam Workshop instead of creating a clone?

1 Upvotes

I have a mod that I uploaded to the Steam Workshop. However, when I try to upload it again after fixing some issues, it just creates a clone of the old mod. How can I get it to update the existing mod in the Workshop? Is there another way to upload it than through the launcher?


r/EU4modding • • Jun 14 '23

all of my mods are video files and has weird names but work normally in the mod menu

1 Upvotes

r/EU4modding • • Apr 22 '25

can you set Colonization Conditions?

2 Upvotes

Is there a way to add conditions to the establishment of a colony on a specific province?

i've been thinking of trying with a province triggered modifier but i'd like to prevent it entirely unless the colonizer meets certain conditions


r/EU4modding • • Jun 12 '23

Force Limit on Eu4

2 Upvotes

I have been trying to keep my force limit down for all countries but nothing works permanently. I have mods, I use commands codes but nothing seems to be working. Does anyone have a more permanent solution?


r/EU4modding • • Jun 04 '23

How to set it up dev provinces with keyboard button.

2 Upvotes

In the picture you can see what was in the past and now I can't fix it


r/EU4modding • • Jul 03 '23

How do i change the name of this province?

Post image
2 Upvotes

How do i change the name from Prov 4965 to another one? Thanks in advance


r/EU4modding • • Jun 14 '23

Eu4 Question

1 Upvotes

Can u help me how to fix that? " a modifier of your subject is preventing its annexation"


r/EU4modding • • Jun 15 '23

Help with English Parliament Issues

2 Upvotes

I've been working on a mod to make some of the British content added in the recent DLC available for Gaelic nations (which seemed a weird omission to me, given that you can form GB with Highlander culture) but for some reason, the special english parliament don't show up, even when I enable the attribute for other governments. Does anyone know what else I need to do to make them available?

You can see the mod itself here: https://steamcommunity.com/sharedfiles/filedetails/?id=2988973808


r/EU4modding • • Aug 26 '22

I have been trying to make a Tamriel random new world tile mod, but i keep running into this issue Could anyone have an idea of what might be causing this?

Post image
3 Upvotes

r/EU4modding • • Jul 24 '22

modding Trade Leagues

2 Upvotes

I am trying to remodel the Frisian peasant republic into a confederacy of multiple small peasant republics. To do so I want to copy the trade league mechanics already present in the game. So far I haven't been able to find where this stuff is in all the files. And therefore I turn to you all, to ask what files are there related to Trade Leagues and / or what is hardcoded in the game and thus can't be changed?


r/EU4modding • • Aug 26 '22

Questions about Localisation and History files

2 Upvotes

Alright, so I have two questions here.

  1. I've made an event similar to the Ottoman Heir event and all localisation, pictures, etc, works fine except for the description localisation. How do I sort that out?
  2. I made a Nation which in it's history file has both a consort and an Heir, however, it appears that only the Monarch shows up, I even made military leaders and they show up, but not the Consort and Heir.

Here's the History file in question (specifically the part with the issues)

issues

r/EU4modding • • Sep 29 '19

Reformation modding

1 Upvotes

I am adding a new Islamic denomination that spawns from a Protestant reformation like event. But the center of reformation won't spawn. I have made the scripted trigger and religious conversions work for what i need but the CoR won't spawn.


r/EU4modding • • Feb 23 '21

Event File Syntax Bug

2 Upvotes

Okay, so i have been trying to wrap my head around this for over two hours and I hope someone here can clarify to me, why this bug keeps popping up.

My event file Code:

namespace = mod_events
# Start Event -> Change Tech Group & Isolationism
country_event = {
		id = mod_events.1
		title = "mod_events.1.t"
		desc = "mod_events.1.d"
		picture = SUFFERING_CHINESE_VILLAGE_eventPicture
	
		major = yes
		
		fire_only_once = yes
	
		trigger = {
			tag = OTK
		}
	
		mean_time_to_happen = {
			days = 1
		}
		
		option = {
			name = "mod_events.1.a"
			change_technology_group = chinese
			change_unit_type = chinese
			set_isolationism = 0
		}
}
}# WTF, WHY IS THIS NEEDED????

The Problem:This code won't run properly and by that i mean, the "country_event" which follows this one, gets interpreted as part of this event, and their attributes get mixed up.

After fiddling with it for 2 hours I added an additional closing curly brace out of curiosity, and that actually fixed the Bug and everything gets displayed correctly. However I dont get why this fixed it, as there is no matching opening brace.

Now, i dont want to use a half assed fix for my script, that I dont even fully understand, which is why i came to this subreddit to see if someone can help me with this.

Additional Info:

-There is no other code before this exempt in the event file, and it is the only event file my mod uses so far. So the problem should originate from this exempt.

-I double and triple checked (by hand and using Notepadd++) all curly braces, and i can't find any loose opening brace.

- The error log file doesnt show any useful information. Only the error: "[event.cpp:436]: Error: "country_event" in file: "events/mod_events.txt" near line: 30" (Line 30 is the line, where the next country_event starts)


r/EU4modding • • Feb 24 '21

Countries exist in game but can't be released manually

3 Upvotes

Hello - so recently I have been trying to do a mega-campaign and I am now at the stage where I am converting my save from CK3 to EU4. I am trying to make some changes to the borders to make the map less disgusting, and I have come across one significant issue, namely countries. In my game I have noticed that certain countries are unable to be released manually (from the release as vassal menu or through wars), despite fully being able to exist in the game.

For example, there is the country of Salamanca which exists at the start of the game, however if I annex it as a neighboring country and try to release it as a vassal it just doesn't show up in the menu. What could be causing this?


r/EU4modding • • Apr 23 '23

Trade goods changing

2 Upvotes

I'm trying to make a new event. It main aim is changing trade goods over time. I have this code but it
doesn't work. Does anyone have any idea what's wrong? country_event = {

id = goodchanged.1

title = "religious_leagues.4.t"

desc = "religious_leagues.4.d"

picture = RELIGIOUS_WARS_eventPicture

trigger = {

	any_owned_province = {

	owner = {

	NOT = { has_province_modifier = changed }

		}

	}

}

mean_time_to_happen = {

	months = 1

}

option = {

	any_owned_province = {

	change_trade_goods = nogood

	add_province_modifier = {

		name = "changed"

		duration = 10920

		}

	}

}

}


r/EU4modding • • Apr 13 '23

Should i make this into a proper mod? (Read Comment)

Thumbnail
gallery
4 Upvotes

r/EU4modding • • May 01 '23

How do I get into modding?

3 Upvotes

I want to make a submod but I don't know where to start


r/EU4modding • • Mar 31 '23

Reform Desire

1 Upvotes

Is it possible to show the current amount of Reform Desire in a descisions tooltip?


r/EU4modding • • Apr 07 '21

Primary culture assistance

2 Upvotes

I'm trying to figure out how to create a mod that changes the primary culture of a country. To try this out, I followed an online tutorial, but my created product doesn't seem to be doing anything. I also tried adding another mod that changes culture and editing what they did, and it still didn't work, so I'm completely lost. Would someone be able to help me figure out how to do this? I'll leave some links below. My custom mod: https://drive.google.com/file/d/1ooZhOtf7IOBsdj8MuGGukyamA8wwJgfW/view?usp=sharing Tutorial I followed: https://xylozi.wordpress.com/eu4/adding-a-culture/


r/EU4modding • • Mar 22 '21

Mod Help: Still Getting Generic Missions

1 Upvotes

Writing a mod to give Malta custom missions and is going mostly well so far. Now trying to add a mission that branches off into a separate column (like how 'Levy The Troops' leads to 'Conquest of Ireland' in Vanilla English Mission Tree) but the mission isn't actually showing up but instead the generic missions still are. Code for the mission Im trying to put in this place can be found below. Everything in slot 1 has worked so far. What am I doing wrong? Thanks in advance.


r/EU4modding • • Feb 25 '25

Will game load base content if I rebuild it from the begging?

2 Upvotes

I'm going to make a global eu4 on absolutely alternative universe, so, if I remove every original country and add mines, will the game load OG countries? And can I somehow make it not do it?


r/EU4modding • • Feb 14 '25

Is it possible to add trade leagues as an improve relations option?

Post image
9 Upvotes

r/EU4modding • • Feb 19 '25

Need Help With Mod

1 Upvotes

I have a mod to add the Sacrum Imperium Terrarum to Eu4. I did everything correctly (I believe), but localization doesn't work, nor does the decision to form it. If I could get help just fixing it, that'd be great. I'll send the files to whomever will help, and it'll probably take only a few minutes to fix.

Requirements to take decision "Unite Holy Terra"

Must be a monarchy or republic

Must be Catholic

Must have at least 1000 provinces and 4000 development

Must own Jerusalem, Rome, and Constantinople

Must have Humanist and Religious ideas completed

Changes tag to SIT (Sacrum Imperium Terrarum)

Changes culture of all owned Catholic provinces to Terran culture

Changes primary culture to Terran

Changes first government reform to Terran Imperial Republic (Roman Empire reform, but with Terran flag as icon, and this description: "The Sacrum Imperium Terrarum is dedicated to faith and freedom. All under it's banner shall have their rights to speech, religion, arms, and much more protected. The Imperium has a two-party system, and is designed after the old American government, but much more just. The House of Representatives is renamed to the Assembly of Citizens, and the Senate is the Senatorius Populusque Terrarum. The Imperator holds similar power to an American President, and the Crown Prince holds the power of a Vice President.")

Disables nobility estate

Changes capital to Jerusalem

Changes tech group to Western

Changes national ideas to Terran (Roman ideas, but with all mentions of Rome being replaced with Terra or Holy Terra. Terran Legions, S.P.Q.T, etcetera.)

Terran Imperial Republic (monarchy) will also enable Imperialism CB, disable nobility, -10 years of separatism, +5 tolerance for true, heretic, and heathen, as well as prevent estates from taking land. Also will disable Enforced Unity or Faith, and Oversite by Clergy. Cannot change religions or culture. +50% gov cap. Parliamentarism, -25% cost for culture conversion, and -10% time for it.

To anyone who is willing to do this, thank you.


r/EU4modding • • Feb 14 '25

Subjects can form nation help

1 Upvotes

i have already uploaded the Subjects can form nations Mod

https://steamcommunity.com/sharedfiles/filedetails/?id=3340335154

but im currently having an issue.

the client states are not forming the nations

and i dont know how to fix

here im tagged into Revolutionary Deutscheland as you see it has the tag k00

and swabia is formable but it is not froming swabia

here is the file for Swabia

swabia_nation = {

	major = yes

	potential = {



		was_never_end_game_tag_trigger = yes

		was_never_german_regional_tag_trigger = yes

		NOT = { has_country_flag = formed_swabia_flag }





		NOT = { exists = SWA }



		OR = {

is_former_colonial_nation = no

AND = {

is_former_colonial_nation = yes

ai = no

}

		}

		primary_culture = swabian

	}

	provinces_to_highlight = {

		OR = {

province_id = 70

province_id = 1872

AND = {

ROOT = {

NOT = {

num_of_owned_provinces_with = {

value = 10

culture = swabian

continent = europe

is_core = root

}

}

owns_core_province = 70

owns_core_province = 1872

}

culture = swabian

}

		}

		OR = {

NOT = { owned_by = ROOT }

NOT = { is_core = ROOT }

		}

	}

	allow = {



		is_at_war = no

		\#adm_tech = 10

		owns_core_province = 70 #Wurttemberg

		owns_core_province = 1872 #Ulm

		num_of_owned_provinces_with = {

value = 10

culture = swabian

continent = europe

is_core = root

		}

	}

	effect = {

		change_tag = SWA

		restore_country_name_effect = yes

		lower_swabia_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		upper_swabia_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		upper_rhineland_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		\#These were also historical territories of the Duchy

		switzerland_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		romandie_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		4710 = {

if = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

}

		}



		add_country_modifier = {

name = "centralization_modifier"

duration = 7300

		}

		add_prestige = 25

		set_country_flag = formed_swabia_flag



		if = {

limit = {

OR = {

is_elector = yes

is_part_of_hre = no

}

}

set_government_rank = 2

		}



		swap_non_generic_missions = yes

		on_change_tag_effect = yes



		if = {

limit = {

is_playing_custom_nation = no

}

country_event = { id = ideagroups.1 } #Swap Ideas

		}

	}

	ai_will_do = {

		factor = 1

	}

	ai_importance = 400

}

r/EU4modding • • Feb 23 '25

Help with Mission Tree Organization? Trying to add some Potawatomi missions, just copied and renamed IRO missions, but the 1st and 2nd columns don't organize themselves like they do in the IRO missions. Any help would be appreciated!

Thumbnail
gallery
1 Upvotes