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

I have your materials for you, but I need your email address.

Thanks,

Matty
 
Right got the files and understand the task, one question, is the random version in any way different from the normal version? (besides being random of course) cause if it isn't I can just duplicate the events and do a global replacement replacing the random tag, and replacing the dates with nothing
 
Um, yes, that's right.

Actually, on second thought, it would be better if all the random versions were in a separate file, so yes, please do it that way.

Thanks,

Matty
 
You want to create those events by hand? You people are not nearly lazy enough.
I wrote a script to create events sort of like the example that was posted earlier, see here for the script and its output:
http://files-upload.com/254475/release.zip.html

In case you're interested in using it, you'll probably want to tell me some more details about how you want the events. Currently:
The ids start at 90000, and are incremented by 5 for each event, so all release events end in 0, all AI events in 5
The events are based on revolt.txt. Do you want some more?
The start and end dates are based on the start and end dates in revolt.txt
If there is more than one entry in revolt.txt, there will be more than one set of events, eg the Blue Horde can revolt from 1433 to 1467, from 1513 to 1517 and from 1552 to 1569
There is no support for the idea of not having close countries revolt. You'll have to give me some more details on how this is supposed to work.
The events are province events for the capital, and require you to own all the minimum province for the revolter
The events are missing proper text
There is a problem in the revolt.txt file. The entry for PEU has the line
Code:
minimum = [b]([/b] 164 165 166 167 168 169 170 171 172 173 }
which should be
Code:
minimum = [b]{[/b] 164 165 166 167 168 169 170 171 172 173 }
You'll have to fix this if you want to use the script yourself
 
idont said:
You want to create those events by hand? You people are not nearly lazy enough.

No, I am not nearly smart enough to know how to make a computer program.

I wrote a script to create events sort of like the example that was posted earlier, see here for the script and its output:
http://files-upload.com//release.zip.html

In case you're interested in using it, you'll probably want to tell me some more details about how you want the events. Currently:

The ids start at 90000, and are incremented by 5 for each event, so all release events end in 0, all AI events in 5

The 900000 numbers are set aside for another purpose, it would need to be those numbers posted. And better to have the events in direct number sequence.
The events are based on revolt.txt. Do you want some more?

No, and not even all the revolt.txt nations. I sent a list to Don, but I can snt it to you as well.

The start and end dates are based on the start and end dates in revolt.txt
If there is more than one entry in revolt.txt, there will be more than one set of events, eg the Blue Horde can revolt from 1433 to 1467, from 1513 to 1517 and from 1552 to 1569

Fine.

There is no support for the idea of not having close countries revolt. You'll have to give me some more details on how this is supposed to work.

It simply is a matter of choice. There are some things a computer can decide. The file I will send you includes these excluded nations. Needs to be edited by hand.

The events are province events for the capital, and require you to own all the minimum province for the revolter

No, that's not how it works. You just need to own the capital and have the state not exist. Sometimes, it also requires another state to not exists (successor states).

The events are missing proper text

Don is supposed to write something.

There is a problem in the revolt.txt file. The entry for PEU has the line
Code:
minimum = [b]([/b]   }
which should be
Code:
minimum = [b]{[/b]   }
You'll have to fix this if you want to use the script yourself

Ah ... I can't see the difference. Maybe my eyes are too old. Please explain.
 
I'm not starting on going through these events for at least a few weeks, they're not vital after all, so if yourprogram works fairdues, I'm just as lazy as you, though unfortunately my knowledge of programming is quite lacking, such is life.

When it comes to event text I'm just going to leave it at something generic for all of them, if someone wants something more "dramatic" or "individual" they can do it themselves. In addition reffering to different text for all them in config is just one more thing to do

Something like:

event title: Nobles revolt against your rule

A group of nobles have banded together and declared independence from our glorious empire. (note: if you're big enough to get these events you'll certainly be an empire) We must show them the might of our armies and crush them lest they last long enough to assert themselves and become a banner for other malcontents to take as an example, Emperor we must dispatch the imperial army at once!


It might be appropriate to replace "nobles" with emirs in the case of muslim revolters, but frankly I'm not willing to even go that far.
 
Last edited:
MattyG said:
No, I am not nearly smart enough to know how to make a computer program.
Ah, you shouldn't underestimate yourself, it's not that different to writing events. Still, it's probably not worth learning just to automate some event writing, which is why I also included the output.
The 900000 numbers are set aside for another purpose, it would need to be those numbers posted. And better to have the events in direct number sequence.
So that would be starting at 875001. Should there still be some gap between each set of events?
Ah ... I can't see the difference. Maybe my eyes are too old. Please explain.
It has a normal bracket when it should be a curly one ( vs {
When it comes to event text I'm just going to leave it at something generic for all of them, if someone wants something more "dramatic" or "individual" they can do it themselves. In addition reffering to different text for all them in config is just one more thing to do
I agree, the same text for all events would be easiest. Considering how often the same text will be displayed, it would probably be better to put the text in text.csv
 
Um, yep.

Read the synopsis of additions to Final Beta. ;)
 
Game-breaking. I was playing as Song-turned China, slowly engulfing all of Asia, when I get a stab hit event that brings me down to +1 stability. All of a sudden I get hit with EVERY ONE of the nobles revolt events, meaning I release every revolter possible, leaving me with a fraction of my strength. There's absolutely no way I could recoup those losses, and why the hell would I want to?

I can see maybe having one of these events triggering, but not ALL of them. Put in a trigger that checks to see if a similar event has already occurred or something. That just ruined my game.
 
Hmm that weird I guess we have to put in a bigger offset, that way they'll be sread out and when one occurs it'll stop the rest from occuring for a while what do you think Mattyg? Maybe you should post a save game so it can be investigated?
 
Deeply surprised that they would all trigger, but then we all know that the offset thing is a BIT fake, events always fire early in the offset period.

I will lengthen the offset.
 
I tried the events as well, and they didn't all trigger at the same time for me. However, they still seem completely broken, as the war command didn't work. I just released a vassal, who stayed at +200 relations.

Also, should the random and non random events sleep each other? Currently each country will try to revolt twice.
 
I think it's okay to leave the random events and have them not sleep, After all the random versions won't happen that often, if worst comes to worst we can get rid of the nonrandom version, but you say the war trigger doesn't work? hmmm

It might be a good idea to reinstate the old third event, maybe the war trigger doesn't work right if the country has just declared independence...
 
idont said:
I tried the events as well, and they didn't all trigger at the same time for me. However, they still seem completely broken, as the war command didn't work. I just released a vassal, who stayed at +200 relations.

Also, should the random and non random events sleep each other? Currently each country will try to revolt twice.

Yes, hmmm.

See, the problem is that the war command doesn't work against a happy vassal.

But the command lines includes relation which = xxx value = -400 so I am a little surprised about the relations staying at +200.

But I can't break the vassalage, because the breakvassal command only works for the vassal, not the leige. And in these events, the vassal doesn't know who has released it, as the events are province based. The breakvassal command requires you to state the tag of the leige you are breaking with.

The only way around this is to have one event for each country for each potential revolter, which is a lot of events.

So, I plummed for the province-based approach to simplify things.
Not sure where to go from here unless idont wants to make nation specific events ... :eek:

As for the random and the normal, it was intentional. The idea is to provide a reasonable challenge to a player bent on WC. Only sissies would want to have them sleep each other. :D
 
I think the problem is that EU2 decides which of the commands of an event to apply before the event is fired, so any diplomatic commands that target a non-existent country are ignored. In our case that means the relations, CB and war commands are all ignored.
To fix this, I am now chaining three events:
  • The first one releases the country and triggers:
  • The second one which decreases relations, gives a CB and triggers:
  • The final one which has the DoW

Another problem is that the DoW command fails if the DoWing nation is at -3 stability, so now the first event actually increases stability by one. Don't worry, you're still dowing a vassal at the end, with all the stability hits you would expect.

EDIT: Also, what should the new offset be?