• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Kaede11

First Lieutenant
80 Badges
Oct 18, 2010
222
60
  • Semper Fi
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Crusader Kings II: Charlemagne
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris - Path to Destruction bundle
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Dungeonland
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Way of Life
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Call to arms event
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • War of the Roses
  • Warlock: Master of the Arcane
Hi all,
I don't know anything about modding this game or other paradox games, but I would like to learn a little in the future. Thing is, I was playing EU:R the other day and a stupid mission came up and stalled the game. Something like, let's say, annex X nation because it's weaker than you while they are paying you tribute. This does not make sense at all because I probably never wanted to annex them anyway since they were not in my way, we had good relation and they would have been more useful paying me 2 gold / month than becoming part of my own empire.

So I thought: Yeah, it would be nice if you could add an option to simply say "I don't wanna do this" like you can in EU:III. Obviously, the only way would be modding the game. I came up with an idea: Maybe it would be possible through national decisions to just cancel a mission and get another one, losing something in the process, like ruler popularity (since there is not prestige in EU:R) or whatever, just to avoid using that decision to cycle through diferent missions until getting one that suits your interests.

Is that possible?

Also, In my opinion CBs are way too hard to get. I mean, why 10.5 civilization nation needs a reason to attack they neighbors if they have goods to sack? Is there a way to rise the frequency of some random events that create CBs for uncivilized tribes? And I also find it really stupid when you get a mission forcing you to annex someone or conquer a region and you don't get a CB against them. In fact, in EU:III you DO get a CB when this type of mission fires. If you read the description it is pretty obvious that your people think you should conquer X nation and give you a reason like "They are weak" or whatever. Why do I have to take a stablity hit if the game is forcing me to do that? Really not game-breaking, but I think it's all about logic.

Thank you.
 
I don't think there is a command that can directly cancel a mission, but there would be a pretty easy workaround:

1. Create a new entry in event_modifiers.txt (such as "cancel_mission" with no actual modifiers and just some random icon). Just copy and paste any existing entry, remove any modifiers and change the name.
2. In each mission entry, add NOT = { has_country_modifier = cancel_mission } to the abort section. This might be a bit tedious, but if you have a good text editor and know some Regular Expressions it can be done in a couple of minutes.
3. Create a new decision file (such as "cancel_mission.txt") and fill it with the following code:
Code:
country_decisions = {

	cancel_mission_decision = {
		potential = {
			ai = no
			NOT = { has_country_modifier = cancel_mission }
		}
		allow = {
			stability = 1
		}
		effect = {
			add_country_modifier = {
				name = "cancel_mission"
				duration = 1
			}
		}
	}
}
4. Create a localisations file (such as "cancel_mission.csv") and add the following code using a normal text editor:
Code:
cancel_mission;Cancel Mission;;;;;;;;;;;x
cancel_mission_decision;Cancel Mission;;;;;;;;;;;x
desc_cancel_mission_decision;Cancel our current mission. This will not be popular with the nobility!;;;;;;;;;;;x

What this will do is trigger a country modifier that will force you to abort the current mission. You'll suffer whatever bad stuff would normally happen after the mission is failed. If you want to go further, you can create another event_modifier and call it "cancel_mission_cooldown" (or something) and change the decision code to this:

Code:
country_decisions = {

	cancel_mission_decision = {
		potential = {
			ai = no
			NOT = { has_country_modifier = cancel_mission }
		}
		allow = {
			stability = 1
			NOT = { has_country_modifier = cancel_mission_cooldown }
		}
		effect = {
			add_country_modifier = {
				name = "cancel_mission"
				duration = 1
			}
			add_country_modifier = {
				name = "cancel_mission_cooldown"
				duration = 1825
			}
		}
	}
}
And add localisation as normal. This will mean you can only cancel a mission once every 5 years.

This should work, unless I've missed something :)