Victoria 2 Mod - Unite The Roman Empire

I'm in the process of creating a mod for Victoria 2 that will allow you to form the Roman Empire, giving you cores on all territories once occupied by Roman forces.

I'm following a basic mod on how to create the country within the game, but there seems to be no tutorial on how to make a new option to unite under a new banner. I've been scouring all the unite nations .txt files and I can't make heads or tails of it. Too complex.

Also, I'm not sure if I understand adding cores, but I'm pretty sure I have that part.

Do any of y'all know how to do this/would anybody be interested in helping out with such a project?

So far my work consists only of this flag, which will be the only flag for Rome (I'm thinking about making Fascism the only government type for the country anyway):

image

You need to create the event, make it available to a country under certain conditions.
It requires editing a shitload of files a probably creating a file.

and I thought I was the only one playing this game. I still have no idea how to create the Byzantine Empire .

Okay, I casually mod EU3 but own Victoria 2 so I'll see if I can help you.

We're looking at the decision for uniting Scandinavia. Right here is the potential, which means what it takes to get the decision to appear. is_culture_group = scandinavian means the nation has to be of scandinavian culture, and Not = { exists = SCA } (that's a simpler way to write it, by the way) means that Scandinavia cannot already exist. This part doesn't matter all too much.

This is very important, as this is what you need to actually enact the decision. is_greater_power means the nation has to be a greater power, prestige = 45 means you need more than 45 prestige, war = no is again fairly obvious.

It says SCA = { which means after that it operates under the Scandinavian country scope, which means anything there applies to scandinavia rather than the nation trying to form it. All_core is new to me, but I gather that it means "all of Scandinavia's cores". OR = { means any of the things there work, and THIS refers to the non-scandinavia nation. Owner = { is new to me as well but it means that everything within that applies to the owner of the section of Scandinavia's cores, if you get what I mean. in_sphere meaning that the owner of the cores in question needs to be in the forming nation's sphere. Moving on...

This is what the decision actually does. change_tag = SCA turns the forming nation into Scandinavia, and the prestige and add_accepted_culture ones are fairly obvious, adding prestige and accepted cultures respectively.

any_country = { means all countries with this applying to them have this happen to them, and limit = { is new to me but I gather you can set individual limits with it, I don't really know. Anyway NOT = { means it can't be that, in this context saying the any_country cannot refer to a greater power. Then after that (you see the bracket there) it says it must be in the forming nation's sphere and be in the scandinavian culture group. I don't know the event, but it fires the event for the any_country nation.

ai_will_do is 1 or 0, and 1 means the AI will do it and 0 means it won't.

Now in EU3 you could add cores by saying add_core = provincenumber or you could do it by region, and I think doing it by region is as simple as add_core regionname. However as Victoria handles provinces differently and there are more of them I'm not really sure. If you have any questions, just ask. I doubt I've been very clear at all.

Edit:

2012 Wont Happen:
I'm following a basic mod on how to create the country within the game, but there seems to be no tutorial on how to make a new option to unite under a new banner. I've been scouring all the unite nations .txt files and I can't make heads or tails of it. Too complex.

For this specifically what you're looking for is change_tag. Another piece of advice: I believe forming a nation while at war actually breaks the game, which is why all these nation decisions have war = no. So watch out for that.

Happy Yay:
Okay, I casually mod EU3 but own Victoria 2 so I'll see if I can help you.

We're looking at the decision for uniting Scandinavia. Right here is the potential, which means what it takes to get the decision to appear. is_culture_group = scandinavian means the nation has to be of scandinavian culture, and Not = { exists = SCA } (that's a simpler way to write it, by the way) means that Scandinavia cannot already exist. This part doesn't matter all too much.

This is very important, as this is what you need to actually enact the decision. is_greater_power means the nation has to be a greater power, prestige = 45 means you need more than 45 prestige, war = no is again fairly obvious.

It says SCA = { which means after that it operates under the Scandinavian country scope, which means anything there applies to scandinavia rather than the nation trying to form it. All_core is new to me, but I gather that it means "all of Scandinavia's cores". OR = { means any of the things there work, and THIS refers to the non-scandinavia nation. Owner = { is new to me as well but it means that everything within that applies to the owner of the section of Scandinavia's cores, if you get what I mean. in_sphere meaning that the owner of the cores in question needs to be in the forming nation's sphere. Moving on...

This is what the decision actually does. change_tag = SCA turns the forming nation into Scandinavia, and the prestige and add_accepted_culture ones are fairly obvious, adding prestige and accepted cultures respectively.

any_country = { means all countries with this applying to them have this happen to them, and limit = { is new to me but I gather you can set individual limits with it, I don't really know. Anyway NOT = { means it can't be that, in this context saying the any_country cannot refer to a greater power. Then after that (you see the bracket there) it says it must be in the forming nation's sphere and be in the scandinavian culture group. I don't know the event, but it fires the event for the any_country nation.

ai_will_do is 1 or 0, and 1 means the AI will do it and 0 means it won't.

Now in EU3 you could add cores by saying add_core = provincenumber or you could do it by region, and I think doing it by region is as simple as add_core regionname. However as Victoria handles provinces differently and there are more of them I'm not really sure. If you have any questions, just ask. I doubt I've been very clear at all.

Edit:

2012 Wont Happen:
I'm following a basic mod on how to create the country within the game, but there seems to be no tutorial on how to make a new option to unite under a new banner. I've been scouring all the unite nations .txt files and I can't make heads or tails of it. Too complex.

For this specifically what you're looking for is change_tag. Another piece of advice: I believe forming a nation while at war actually breaks the game, which is why all these nation decisions have war = no. So watch out for that.

Thanks. This is exactly what I was looking for.

 

Reply to Thread

This thread is locked