• 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.

MattyG

Attention is love.
15 Badges
Mar 23, 2003
3.690
1
  • Crusader Kings II: The Old Gods
  • Deus Vult
  • Diplomacy
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings III
  • Europa Universalis 4: Emperor
Merchants Harassed is one of the old Random Event staples which has taken the longest for me to get around to reviewing.

I felt it needed to be related more to what's actually going on and it always annoyed me when my ally with relations 400 would Harass my merchants. Too random, no connection with the real world.

So, instead, here is a new version. There would be one such event for each nation. It effectively punishes players/countries for having poor relations, as it makes the event more and more likely.

I have revised the event to be a combination of Merchants Harassed and Boundary Dispute.

Code:
event = {
	id = 801001
	trigger = {
                atwar = no
		neighbour = ADE
		NOT = { relation = { country = ADE value = -49 } }
	}
	random = yes
	name = "Strained Relations with Yemen"
	desc = "With reports of merchants being harassed, our goods being destroyed at the docks and the enforcement of additional levies, our worsening relations with Yemen is beginning to impact on our economy. What stands between us are unresolved issues over borders, sovreignty and excises."
	
	action_a = {
		name = "Resolve these tensions"
		command = { type = cash value = -50 } 
		command = { type = relation which = ADE value = 25 }
		command = { type = trade value = 100 }
		command = { type = diplomats value = -1 }
		command = { type = MIL which = -2 value = 6 }
	}
	action_b = {
		name = "Make concession for peace"
		command = { type = relation which = ADE value = 50 }
		command = { type = DIP which = -1 value = 6 }
		command = { type = DIP which = -1 value = 18 }
		command = { type = MIL which = -1 value = 6 }
		command = { type = badboy value = -1 }
		command = { type = stability value = 1 }
	}
	action_c = {
		name = "Make this a cause for war"
		command = { type = casusbelli which = ADE value = 60 }
		command = { type = relation which = ADE value = -50 }
		command = { type = DIP which = -1 value = 6 }
		command = { type = MIL which = 1 value = 6 }
		command = { type = badboy value = 1 }
		command = { type = trade value = -300 }
	}
}
 
Last edited:
Don_Quigleone said:
good event but would it not be a lot of work to make one for every nation


I am always happy to do the work when it is of value. And this involves a lot of cut and paste, so that reduces the time a bit.

I have updated the event parameters.

Matty
 
well go for it, though it might start coming up too often if it makes up say half random event files, it mightn't happen but if it does why not do it in groups with an or gate (i.e say oman or yemen or aden)
 
Don_Quigleone said:
well go for it, though it might start coming up too often if it makes up say half random event files, it mightn't happen but if it does why not do it in groups with an or gate (i.e say oman or yemen or aden)


Remember, that you have to be a neighbour of (in this case) Aden. Not just know them, meaning you share a border.

The idea is that countries who are bad will get more of this (as they should) and countries that are good will get fewer.

One consideration might be to make it that you have to share a religion, as the Christians didn't care much what the pagans or muslim countries thought of them. Then again, they did if it affect their trade and their merchants were being harassed.
 
The event generator in my sig might be of some help if you're making one for each country. :)
 
Know I'm quite sure neighbour means you know them, in aceep they have the event for the aztec plague triggered by the neighbour command, you sure? if it is true what you say then go ahead but I'm not sure, oh yeah you should also consider that guys event generator
 
Neighbour is only meant to be if you are a neighbour, not that you know them. Hence the smallpox type events (such as those in the AGCEEP and Interregnum) occur if you are adjacent to the Aztec, representing more sustained physical contacts.

But lets run it and see!
 
Here's how the event(s) looked when they went into 6.34 ...

Note that there are now more complex triggers that take into account higher badboy and there are now four options:

1. Do nothing

2. Negotiate on an even basis

3. Grovel, reducing badboy at the expense of national prestige

4. The aggressive option

Code:
event = {
	id = 801001
	trigger = {
                atwar = no
		neighbour = ABB
		OR = {
			AND = {
				NOT = { relation = { country = ABB value = -49 } }
				NOT = { badboy = 3 }
			}
			AND = {
				NOT = { relation = { country = ABB value = -24 } }
				badboy = 3
				NOT = { badboy = 7 }
			}
			AND = {
				NOT = { relation = { country = ABB value = -9 } }
				badboy = 8
				NOT = { badboy = 11 }
			}
			AND = {
				NOT = { relation = { country = ABB value = 20 } }
				badboy = 11
				NOT = { badboy = 16 }
			}
			AND = {
				NOT = { relation = { country = ABB value = 50 } }
				badboy = 16
			}
		}
		ai = no
	}
	random = yes
	name = "Strained Relations with the Blue Horde"
	desc = "With reports of merchants being harassed, our goods being destroyed at the docks and the enforcement of additional levies, our worsening relations with Yemen is beginning to impact on our economy. What stands between us are unresolved issues over borders, sovreignty and excises."
	
	action_a = {
		name = "Do nothing"
		command = { type = trade value = -300 }
		command = { type = merchants value = -3 }
	}
	action_b = {
		name = "Negotiate to resolve tensions"
		command = { type = cash value = -50 } 
		command = { type = relation which = ABB value = 40 }
		command = { type = diplomats value = -1 }
		command = { type = DIP which = 1 value = 6 }
		command = { type = MIL which = -1 value = 6 }
		command = { type = trade value = -100 }
		command = { type = stability value = 1 }
	}
	action_c = {
		name = "Make concessions"
		command = { type = diplomats value = -1 }
		command = { type = relation which = AMI value = 60 }
		command = { type = DIP which = -1 value = 6 }
		command = { type = DIP which = -1 value = 12 }
		command = { type = MIL which = -1 value = 6 }
		command = { type = trade value = -300 }
		command = { type = stability value = 1 }
		command = { type = badboy value = -2 }
		command = { type = vp value = -25 }
	}
	action_d = {
		name = "Make this a cause for war"
		command = { type = casusbelli which = ABB value = 60 }
		command = { type = relation which = ABB value = -50 }
		command = { type = DIP which = -1 value = 6 }
		command = { type = MIL which = 1 value = 6 }
		command = { type = badboy value = 2 }
		command = { type = trade value = -300 }
		command = { type = merchants value = -3 }
	}
}
 
See, if you used my generator, you wouldn't make mistakes like
Code:
	action_c = {
		name = "Make concessions"
		command = { type = diplomats value = -1 }
		command = { type = relation which = [B]AMI[/B] value = 60 }
:p
 
MichaelM said:
See, if you used my generator, you wouldn't make mistakes like
Code:
	action_c = {
		name = "Make concessions"
		command = { type = diplomats value = -1 }
		command = { type = relation which = [B]AMI[/B] value = 60 }
:p


What's the mistake? The EU2 Event Parser can't find one and the tag AMI that you have highlighted is a legitimate tag, so maybe there's something wrong with your program ... ;)
 
Last edited:
I didn't mean that there was a syntax error. I just thought that since all the rest of the event is about ABB, that line should be also. :)

The generator doesn't check syntax (at least, that's not its main function). What it could do is help you avoid missing a tag when you're copying and pasting. You could just use the ${tag} and ${country} macros in the appropriate places, and they would be automatically entered at generation.

I didn't include data files for Interregnum with the generator, but if you would like to use it, I'll post some files I just made. (If you don't want to use it, it won't hurt my feelings. :))
 
I actually did open your program before I made the events and couldn't work out how to use it. It seemed that I had to enter a lot of text myself anyway and that it would only generate one event at a time and it seemed that it would take longer than cutting and pasting. And when I have only a few hours in which to get a lot of work done, it's easier to do what you know than to spend over half of it in learning something new. :rolleyes:

I guess I could read the read me file, but I didn't have the time.

Why does something have to be 'prepared' for Interregnum. Surely it is all generic?
 
I just realized that since the events aren't for a specific country, ${tag} and ${country} wouldn't work anyway. It sounds like something to add to the next version. Sorry for leading you on a wild-goose chase. :eek:o

I actually did open your program before I made the events and couldn't work out how to use it. It seemed that I had to enter a lot of text myself anyway and that it would only generate one event at a time and it seemed that it would take longer than cutting and pasting. And when I have only a few hours in which to get a lot of work done, it's easier to do what you know than to spend over half of it in learning something new. :rolleyes:
Hmm... I guess it's not as intuitive as I'd hoped. I'll work on that, too.
If you had already done one event, you could have loaded it and then done whatever you wanted. Of course, that's a moot point...

Why does something have to be 'prepared' for Interregnum. Surely it is all generic?
The data files contain country names also, not just tags.
 
MichaelM said:
I just realized that since the events aren't for a specific country, ${tag} and ${country} wouldn't work anyway. It sounds like something to add to the next version. Sorry for leading you on a wild-goose chase. :eek:o


Hmm... I guess it's not as intuitive as I'd hoped. I'll work on that, too.
If you had already done one event, you could have loaded it and then done whatever you wanted. Of course, that's a moot point...


The data files contain country names also, not just tags.


If the generator only works on country tags then it certainly needs updating to work not only for provinces, but also for neither, as most random events don't use country = ; or province = .

It would be great to have such a tool available for others, at least. I write events very quickly these days, so I doubt I would use it for individual events.
 
MattyG said:
If the generator only works on country tags then it certainly needs updating to work not only for provinces, but also for neither, as most random events don't use country = ; or province = .
It can generate without country tags (for random events only); it just can't combine country-less events with iterating through a group of countries and using each one in some event(s). I see now that it would be useful if it could. :)

It would be great to have such a tool available for others, at least. I write events very quickly these days, so I doubt I would use it for individual events.
It's not really made for making individual events, anyway. I started writing it to help with the After the Flood mod, which used lots of revolters with lots of independence events. It got to be kind of a pain, and errors were somewhat common.
 
So, has anyone had this event come up for them?

Does it have the right feel? Has it been too frequent? Not frequent enough?
 
I've had the events come up, It doesn't seem to come too often either, so you seem to have been right about the neighboure thing, one thing though, according to option 3 you lose 2 bb (which is nice, possibly to good a choice) on the other hand you lose diplo rating for a while, how much would this loss in diplo rating affect BB, as if this loss doesn't go over .5 I'd probably tone down the bad boy points lost for option c to just 1, likewise option d I think is severe on badboy too, so it could probably be toned down to 1 as well, other than that thumbs up!(though I can't think how long it took for you to make one up for each country!)
 
I played as the Hanseatic League for a couple years in my free time and it came up and said yemen or aden though it was targetted at the Teutonic Order.
 
Well that's weird... anyway after seeing that in game there isn't the hit to diplo rating(at least for the one with hungary) I think option C's badboy reduction should be reduced to 1, there is no reason NOT to choose it