Garbon said:Now this is a very different post from the original.![]()
Sometimes one speaks in haste ...
Garbon said:Now this is a very different post from the original.![]()
MattyG said:3. Other Triggers
Include province revoltrisk as a trigger.
Garbon said:Can you explain this one? Do you mean actual province revoltrisk (as in caused by that command) or whether a province has any sort of revoltrisk (nationalism, war exhaustion, countrywide revoltrisk via event)?
event = {
id = xxxxxx
random = yes
trigger = {
revoltrisk = { province = -1 value = 8 }
}
name = "Bailiffs Hounded"
desc = "The ongoing political and religious strife has seen our tax collectors hounded out of the towns!"
action_a = {
name = "Oh, that's disappointing"
command = { type = lose_building which = -3 value = bailiff }
}
}
event = {
id = xxxxxx
random = no
trigger = {
event = 450921 #Mariachi civil war event
OR = {
revoltrisk = { province = 223 value = 8 }
revoltrisk = { province = 224 value = 8 }
revoltrisk = { province = 225 value = 8 }
revoltrisk = { province = 228 value = 8 }
}
}
name = "Bailiffs Hounded"
desc = "The ongoing political and religious strife has seen our tax collectors hounded out of the towns!"
date = { year = 1451 }
offset = 100
deathdate = { year = 1460 }
action_a = {
name = "Oh, that's disappointing"
command = { type = lose_building which = 223 value = bailiff }
command = { type = lose_building which = 224 value = bailiff }
command = { type = lose_building which = 225 value = bailiff }
command = { type = lose_building which = 228 value = bailiff }
}
}
event = {
id = xxxxxx
random = no
trigger = {
OR = {
revoltrisk = { province = 223 value = 8 }
revoltrisk = { province = 224 value = 8 }
revoltrisk = { province = 225 value = 8 }
revoltrisk = { province = 228 value = 8 }
revoltrisk = { province = 229 value = 8 }
revoltrisk = { province = 243 value = 8 }
revoltrisk = { province = 281 value = 8 }
}
atwar = no
stability = 2
}
name = "Calm Restored"
desc = "Despite the religious tensions that have wracked our realm in recent years, a period of political stability has discouraged revolt and dissent.""
date = { year = 1451 }
offset = 100
deathdate = { year = 1460 }
action_a = {
name = "Sweet"
command = { type = revoltrisk which = 12 value = -4 }
}
}
event = {
id = 45095
random = no
trigger = {
event = 450921 #Mariachi civil war event
NOT = {
revoltrisk = { province = 223 value = 8 }
revoltrisk = { province = 224 value = 8 }
revoltrisk = { province = 225 value = 8 }
revoltrisk = { province = 228 value = 8 }
revoltrisk = { province = 229 value = 8 }
revoltrisk = { province = 243 value = 8 }
revoltrisk = { province = 281 value = 8 }
}
atwar = no
stability = 2
}
name = "The Civil War Ends"
desc = "It would seem that the civil unrest caused by the mariachi bands has abated."
date = { year = 1451 }
offset = 100
deathdate = { year = 1460 }
action_a = {
name = "At last!"
command = { type = stability value = 1 }
command = { type = domestic which = centralization value = 1 }
}
}
MattyG said:Yes.
How would you write such condition? It is not clear for me.Toio said:the neighbor trigger should be changed to work without actually naming the neighbor.
so if neighbor relations where "strained", then the trigger would fire, an example
YodaMaster said:How would you write such condition? It is not clear for me.
No comment...MattyG said:1. Trigger structure
It would be useful to me, as a modder, to have as much information as possible available in the triggers about countries other than the one the event is occuring for. Some of these ideas have been captured already by YodaMaster and others. However, it would be best if it was EVERYTHING for this greedy little mod writer. And perhaps this comes down to how triggers are structured. Currently many of the triggers assume the host country and so are written like this:
religion = X
flag = X
emperor = X
..... and so forth. Instead, it would be very very helpful if all country-related triggers were built around tags. So:
religion = { country = NAV data = X }
tag = { country = X value = X }
emperor = { country = X data = X }
.... and so forth. This would cut down enourmously on all the extra events I need to write, as so often have to make an event as a 'marker' that something has occured so that the trigger event = X can be used as a trigger to indicate that, say, a certain country is size 10+ or is protestant or annexed so-and-so.
Why not...MattyG said:2. More of those minus values.![]()
If we are able to have 16000 or so of them, then I have a request for a couple more. If it can't be done or is not important enough, I understand.
a. A value for a random neighbouring country which is larger than the event-host country.
b. A value for a random neighbouring country which is smaller than the event-host country.
c. A value for a random province with greater than X level of RR. As an example, <type = revolt which = -42 value = 8 > where 8 is that random provinces current RR.
We had to find a real name. It was part of the License Agreement but we aren't allowed to say it. And no, it isn't BORG...MattyG said:Thanks once again for your time. The SCT rocks.
Garbon said:My question was an OR question.![]()
Excepting revolt risk from random events and war exhaustion/nationalism...you should generally have a read on what events have occurred.
I think many of your suggestions (and perhaps that's a function of you coming from Interregnum) seem more in line with something like eu3/CK. You seem to want a lot of triggers that can capture what could happen as the result of random occurrences. I'm not really sure that such a model fits well with eu2, unless the idea is to graft on a very different event system.
Garbon said:Like I said, I think it would probably be the trigger "has_neighbor = yes/no" and then command would be negative relations with random neighbor.
Toio said:also
another trigger which is
cot = yes/no
for an example, europe plague on wheat, so all cot will suffer some monetary loss
Toio said:for clarity
I would like a trigger as in neighbor = yes/no if the relations are + or -
that is
neighbor = yes if relations are positive
MattyG said:Currently AGCEEP has random revolt events, as does Interregnum. They are not very specific and the player has to fill in the gaps. The more triggers and commands I have, the more specific (jn flavour and function) I can make such events. Better for the game and the experience, I think.
Garbon said:That said, unlike what you've stated about Interregnum, random events are not a primary focus in the AGCEEP. If anything they often become more of a nuisance.
beregic said:say WHAT?![]()