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

TheLoneTaco

Soft Taco
29 Badges
Nov 7, 2002
1.717
2
Visit site
  • Rome Gold
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • 200k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
I am currently trying some crazy stuff for my NSIS mod, but I'm at a loss for the best way (if there is a way) to do something.

Right now I have things set up so that one religion has its European provinces depleted of people and base tax while simultaneously building up these values in its colonies. A few generations later, the nations of this religion receive an event to either a) stay in Europe but convert or b) leave Europe. I am interested in option b.

I set up the event to give 8,000 people and 2 base tax to a colony (3 other colonies receive 4,000 people and 1 base tax at the same time). The capital of the nation is then moved to the first colony. I am fairly confident that this operation will work.

Here is where I run into a snag. I would like for all nations that picked option b to next get an event to change tags into one of my "colonial rebels" I specified in revolt.txt. Changing to one of these tags would give them cores on their new "home." I assume it would also remove their old cores (is this true?). The big problem is that I have no way of knowing where those nations will end up. I can't just say, "now turn into nation X" because nation X could be across the globe.

Ideally the nations would choose to become the colonial rebel nation which makes up the majority of provinces. Again, this adds more confusion. Do I have any chance in hell? By the way, there are like 100 colonial revolters that make up 6 provinces apiece.

Someone please throw me a bone! Thanks a lot for the help I hope will come

-Matt
 

unmerged(21937)

Your Industrial Friend
Nov 15, 2003
9.557
1
You can make a trigger that their capital is in certain continent. That way Country A that has moved it's capital to North America would apply for the trigger to country change, but Country B that remained in Europe would not.

Changing country tag does not afaik alter cores in any way, you need to do that manually by events too.
 

unmerged(33565)

The one who lurks
Aug 25, 2004
152
0
TheLoneTaco said:
I am currently trying some crazy stuff for my NSIS mod, but I'm at a loss for the best way (if there is a way) to do something.

Right now I have things set up so that one religion has its European provinces depleted of people and base tax while simultaneously building up these values in its colonies. A few generations later, the nations of this religion receive an event to either a) stay in Europe but convert or b) leave Europe. I am interested in option b.

I set up the event to give 8,000 people and 2 base tax to a colony (3 other colonies receive 4,000 people and 1 base tax at the same time). The capital of the nation is then moved to the first colony. I am fairly confident that this operation will work.

I am going to assume you are only going to have this happen if they control most of the 6 provances you are going to add the cores too. Also you are going to sleep any other cap moves with a flag or something. (or look to see if the cap is in Europe)

TheLoneTaco said:
Here is where I run into a snag. I would like for all nations that picked option b to next get an event to change tags into one of my "colonial rebels" I specified in revolt.txt. Changing to one of these tags would give them cores on their new "home." I assume it would also remove their old cores (is this true?). The big problem is that I have no way of knowing where those nations will end up. I can't just say, "now turn into nation X" because nation X could be across the globe.

Ideally the nations would choose to become the colonial rebel nation which makes up the majority of provinces. Again, this adds more confusion. Do I have any chance in hell? By the way, there are like 100 colonial revolters that make up 6 provinces apiece.

Someone please throw me a bone! Thanks a lot for the help I hope will come

-Matt

I guess this is how I do this. When you want to change your cores, write one event for each country that removes all their home cores and add a capital core (command = { type = addcore which = -2 } ).

Then have a set of events, one for each area, that check to see what if there is a core in the area (the cap provance) and that event gives them the other cores around the cap and changes the tag. I guess that the only problem with this is once you start down the road to one nation, you can't turn back, and you can't choose another one. Once the tag changes, you should know where it is.
 

unmerged(21937)

Your Industrial Friend
Nov 15, 2003
9.557
1
TheLoneTaco said:
the problem is still that there are about 100 nations on "continent = america." using that trigger wouldn't be specific enough.

How about using flags then?
 

TheLoneTaco

Soft Taco
29 Badges
Nov 7, 2002
1.717
2
Visit site
  • Rome Gold
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • 200k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
There would only be one capital move as the event requires continent = europe to fire.

I was unaware of the addcore to the capital trick, but I think that will be the way to go. Only the original 100 European nations should get the event. Simple enough to just make 100 events (country = so and so). So some European nation get the event with trigger capital = america. Then the command would be addcore to the capital and remove cores on all their old European stuff (which would be simple as just checking nations base)

For the second event, how would you check to see that the capital is in the area? OR = { core = { province = x data = -1 } } 6 times? The command would be addcore = all six provinces and those specified in revolt.txt. Tag would be changed here to the new nation. The new tag would have only the "correct" cores without any European ones.

Is all this correct? Thanks a lot for your help guys. That addcore to -2 trick is genius :^D

-Matt
 

unmerged(33565)

The one who lurks
Aug 25, 2004
152
0
TheLoneTaco said:
There would only be one capital move as the event requires continent = europe to fire.

I was unaware of the addcore to the capital trick, but I think that will be the way to go. Only the original 100 European nations should get the event. Simple enough to just make 100 events (country = so and so). So some European nation get the event with trigger capital = america. Then the command would be addcore to the capital and remove cores on all their old European stuff (which would be simple as just checking nations base)

For the second event, how would you check to see that the capital is in the area? OR = { core = { province = x data = -1 } } 6 times? The command would be addcore = all six provinces and those specified in revolt.txt. Tag would be changed here to the new nation. The new tag would have only the "correct" cores without any European ones.

Is all this correct? Thanks a lot for your help guys. That addcore to -2 trick is genius :^D

-Matt


Heres how I would do it:

First event- Just moves the cap, pop and tax values. You seem to have this up and running. I would have it only fire if you have 3 or 4 of the 6 provances.

Second event- Looks to see if you have an american cap, only needs one for each country. It removes the European cores and add the cap core.

Third event- Looks to see if you have a core in the area, so it should fire right away. OR = { core = { province = x data = -1 } } 6 times would be about right if you didn't know where the cap would go. Add the cores, change the cultures and the tag. Only need one for each area.

From there, your off and running.