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

unmerged(51332)

Colonel
Dec 4, 2005
915
0
I cant find it in a guide or on the wikipedia, so is it possible [and how] to modify victoria to create different states? And I mean states as an organizational entity, not a country. I would like to break a few states up, and want to know how?
 
I cant find it in a guide or on the wikipedia, so is it possible [and how] to modify victoria to create different states? And I mean states as an organizational entity, not a country. I would like to break a few states up, and want to know how?

The states in the game are usually called area in the config files of Europa Engine games. The names of all areas (AREA_ABYSSINIA ... AREA_ZULIA, AREA_EXTRA_0 ... AREA_EXTRA_99) are listed in the worldgames.csv file which can be found in the config sub-directory. If you want to remove provinces from an area/state you'll have to use the cheat 'showid' to see the ids of the provinces. Knowing the ids of the provinces you'd like to change you can open the province.csv file, which can be found in the db sub-directory. The first line of this file gives you a hint what you'll have to change to see your changes in the game. It's the column right next to the province id. You can also search directly for the name of the area you'd like to change. Go to the line of the province you'd like to add to another area and change the name of its area according to the entry in the worldnames.csv file. (I'm not fully convinced that you'll have to change the scenario files of the affected countries, too.)

Both files can be edited by using a text editor, but make a copy of the original files before you start modding. It's also useful to use JSGME for easier adding and removing modded files to your installed game; in case something goes wrong you won't have to reinstall the game. ;)
 
Before you start modding the vanilla game, you might also look at VIP:R, which might have already solved the issues you have with the game.
 
The states in the game are usually called area in the config files of Europa Engine games. The names of all areas (AREA_ABYSSINIA ... AREA_ZULIA, AREA_EXTRA_0 ... AREA_EXTRA_99) are listed in the worldgames.csv file which can be found in the config sub-directory. If you want to remove provinces from an area/state you'll have to use the cheat 'showid' to see the ids of the provinces. Knowing the ids of the provinces you'd like to change you can open the province.csv file, which can be found in the db sub-directory. The first line of this file gives you a hint what you'll have to change to see your changes in the game. It's the column right next to the province id. You can also search directly for the name of the area you'd like to change. Go to the line of the province you'd like to add to another area and change the name of its area according to the entry in the worldnames.csv file. (I'm not fully convinced that you'll have to change the scenario files of the affected countries, too.)

Both files can be edited by using a text editor, but make a copy of the original files before you start modding. It's also useful to use JSGME for easier adding and removing modded files to your installed game; in case something goes wrong you won't have to reinstall the game. ;)
To be clear, just taking this as a random example from the province file : 0;PROV0;;;;No Province;;;;;0;35;0;21369;11520;14976;5760;14976;5760;-100;-100;0;-100;-100;0;-100;-100;0;-100;-100;0;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;0;x

What I want to change, if I wanted to change this province into a new state, would be the bolded text? Whereas right now the province is part of a, I think, catch-all state to represent all the sea lanes or some such?
 
To be clear, just taking this as a random example from the province file : 0;PROV0;;;;No Province;;;;;0;35;0;21369;11520;14976;5760;14976;5760;-100;-100;0;-100;-100;0;-100;-100;0;-100;-100;0;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;0;x

What I want to change, if I wanted to change this province into a new state, would be the bolded text? Whereas right now the province is part of a, I think, catch-all state to represent all the sea lanes or some such?

No, province0 is actually a bad example since that 'province' is just the place where all sea-transported units are stored, it's not even on the map. A better example would be

16;PROV16;AREA_EXTRA_35;Arctic America;America;Whitehorse;Mountain;Forest;Timber;100;0;30;0;4629;670;4684;714;4629;670;-100;-100;0;-100;-100;0;-100;-100;0;-100;-100;0;4610;664;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;0;x

province16 is located in Artic America and part of "AREA_EXTRA_35" which according to my VIP:R worldnames.csv is
AREA_EXTRA_35;Yukon

We'd also look at
17;PROV17;Alaska;Arctic America;Asia;Skagway;Mountain;Forest;Timber;30;0;25;0;4209;669;4289;644;4334;691;-100;-100;0;-100;-100;0;-100;-100;0;-100;-100;0;4264;586;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;-1;0;x
which is also located in Arctic America and a direct neighbour of province16.

It's part of the area 'Alaska' which in my VIP:R worldnames.csv is listed as
AREA_ALASKA;Alaska;

(if you look more closely at the vanilla province.csv and the worldnames.csv file you'll see that all pre-named areas are actually abbreviated in the province.csv file (the "AREA_" is missing - just in case you're wondering ;) )

It you want to move province17 to the area 'Yukon' you'd replace 'Alaska' in its entry in the province.csv file by 'AREA_EXTRA_35' or vice versa if you want to do the opposite. ;)
 
Last edited: