Victoria II

Victoria II

Assimilation modifier.
Need help to find the file that has to assimilation code. Need the actual name of the folder or file that holds it, please. I'm doing this for creating Super Germany.
Legutóbb szerkesztette: Your Ever Faithful Medic; 2015. ápr. 18., 14:17
< >
115/18 megjegyzés mutatása
If there is a file witch influences the assimilation I would also like to have an answer.
Besides:
According to the wiki: http://www.victoria2wiki.com/Assimilation assimilation will handle itself if native pops move into provinces with not native culture pops and if in these provinces other cultures have no core.
Bad example: Prussia and later Germany will always have to handle Lithuania pops, due to one core province for Lithuania in eastern prussia.

I recommend 2 possibilitys:
1. get rid of foreign cores (with an self made decision).
make a new document under Victoria2/decisions with content:

political_decisions = {my_decision = {potential = {NOT = {has_country_flag = b1}} allow = {ai = no} effect = { set_country_flag = b1 any_owned = {remove_core = PLC remove_core = LIT remove_core = POL}}}}
add as many "remove_core = tag" as you need

2. raise assimilation rate due to an country modifier.
go to "Victoria2/common/event_modifiers.txt" and add:

my_country_modifier = {global_assimilation_rate = 2 icon = 7}

The modifier may then be activated with an decision (under effect, like above) and the line:
"add_country_modifier = {name = my_country_modifier duration = -1}"
This is an increase of assimilation for the whole country at 200%.

Have fun with a native population everytime everywhere.
hopefully I did this correctly since i need this for creating supergermany due to Austria's large minorities.

I say your modified desicion did work poland lost all its cores on Germany but i need greater assimilation.
Thank You
does anyone else have desicions for gettig rid of cores on nonexistent nations aka: hungary, Austria, etc.
Legutóbb szerkesztette: Your Ever Faithful Medic; 2015. ápr. 18., 14:35
You may also rise the % of the assimilation in the country modifier to 9 (900%) but you have to wait (I suppose 2 years) to get rid of most minor pops.

The decision above eliminates cores just in your country. For elimination a country from everywhere go to the effect section with:
any_country = {
any_owned = {
remove_core = PLC
}
}
This will erase PLC from everywhere BUT provinces you owne. You have to combine this with the code from above.

You may also need the tags from all the nations you are planning to get rid off:
go to Victoria2/common/history/countries to get the tags you need.
what about combine north german, south german, swiss, danish, and dutch into a single culture since they are a germanic?
I suppose you could edit the file under Victoria2/common/cultures.txt.
You could there drag and drop "dutch", "danish", etc. under "germanic". BUT this will not help your country to accept these. If you are okay with a 'foreign' culture try one of the following:
1. Go to Victoria2/history/countries/ and pick your Nation file.
In line 3 the is "culture = ", add as many cultures here as you wish always with the word "culture = " in front.
2. Make yourself an event for that (my favorite methode, because you can create your own file and will not alter any game files). Like above: create an .txt file under decisions with:
political_decisions = {my_decision = {potential = {NOT = {has_country_flag = b2}} allow = {ai = no} effect = { set_country_flag = b2
add_accepted_culture = (culture)
add_accepted_culture = (culture)
add_accepted_culture = (culture)
}}}

For both ways: The specific cultures may be found under Victoria2/common/cultures.txt.
"If there is a file witch influences the assimilation I would also like to have an answer."

Go to victoria 2/ common/ pop_types.

Keep scrolling until you find genaral assimilation mtth
Tobi eredeti hozzászólása:
If there is a file witch influences the assimilation I would also like to have an answer.
Besides:
According to the wiki: http://www.victoria2wiki.com/Assimilation assimilation will handle itself if native pops move into provinces with not native culture pops and if in these provinces other cultures have no core.
Bad example: Prussia and later Germany will always have to handle Lithuania pops, due to one core province for Lithuania in eastern prussia.

I recommend 2 possibilitys:
1. get rid of foreign cores (with an self made decision).
make a new document under Victoria2/decisions with content:

political_decisions = {my_decision = {potential = {NOT = {has_country_flag = b1}} allow = {ai = no} effect = { set_country_flag = b1 any_owned = {remove_core = PLC remove_core = LIT remove_core = POL}}}}
add as many "remove_core = tag" as you need

Could you explain this clearer? I put a file in the decisions area with the above, but it did not do anything. Should I add the remove_core = tag thing, if so, where? Thanks!
Legutóbb szerkesztette: Vega; 2015. nov. 14., 20:17
Vega eredeti hozzászólása:
Tobi eredeti hozzászólása:
If there is a file witch influences the assimilation I would also like to have an answer.
Besides:
According to the wiki: http://www.victoria2wiki.com/Assimilation assimilation will handle itself if native pops move into provinces with not native culture pops and if in these provinces other cultures have no core.
Bad example: Prussia and later Germany will always have to handle Lithuania pops, due to one core province for Lithuania in eastern prussia.

I recommend 2 possibilitys:
1. get rid of foreign cores (with an self made decision).
make a new document under Victoria2/decisions with content:

political_decisions = {my_decision = {potential = {NOT = {has_country_flag = b1}} allow = {ai = no} effect = { set_country_flag = b1 any_owned = {remove_core = PLC remove_core = LIT remove_core = POL}}}}
add as many "remove_core = tag" as you need

Could you explain this clearer? I put a file in the decisions area with the above, but it did not do anything. Should I add the remove_core = tag thing, if so, where? Thanks!
I just went into germany.txt and added it at the very bottom. Just copy and past it and add whichever cores you want to get rid of.
The ♥♥♥♥♥♥♥♥♥♥♥ eredeti hozzászólása:
Vega eredeti hozzászólása:

Could you explain this clearer? I put a file in the decisions area with the above, but it did not do anything. Should I add the remove_core = tag thing, if so, where? Thanks!
I just went into germany.txt and added it at the very bottom. Just copy and past it and add whichever cores you want to get rid of.


Thanks a lot. :D

How long did the assimilation code take to happen, and how did you activate it? I added it to the game as Tobi instructed, and I got a decision that said "mydecision_" or something, but it hasn't had much of an effect.
The "mydescison title is normal. If you highlight it, it will say <country tag > loses core. Could you show me how your descision was constructed? Example: copy and paste.

P.S. Yes. the effects happen immediatley, the specific provinces will lose the countrys cores.
The ♥♥♥♥♥♥♥♥♥♥♥ eredeti hozzászólása:
The "mydescison title is normal. If you highlight it, it will say <country tag > loses core. Could you show me how your descision was constructed? Example: copy and paste.

P.S. Yes. the effects happen immediatley, the specific provinces will lose the countrys cores.

I was actually talking about the assimilation code, which I have in as...

http://s24.postimg.org/94ha8ieb9/assim.png
http://s10.postimg.org/f0epf3sig/image.jpg
http://s14.postimg.org/54blztob5/image.png
This is what I did: Go to even_modifiers.txt in The Vicky 2 common files, then ctr+f. Search Statue_of_liberty then, modify it as shown below:(Event 19300 triggers statue of liberty event)


the_statue_of_liberty = {
prestige = 0.4
global_immigrant_attract = 2 #999%
global_assimilation_rate = 99999999.0009
icon = 15





Also, you can go to pop_types.txt in the common section of Victory 2, and look for


#general assimilation mtth, same for all pops
assimilation_chance


now you can increase the number of the modifiers. Do that to each one.

But be aware, this will happen to each country. Meaning if you play prussia, you'll assimilate all of your polish provinces and any other country that you arent playing as will assimilate their provinces that don't have their primary and accepted cultures.
Alright, done, thanks again. I wish there was a way to allow the statue of liberty event to happen more than once (if the event is entered in the console more than once it just increases relations with the US/France). Very good though.
The ♥♥♥♥♥♥♥♥♥♥♥ eredeti hozzászólása:
Glad to have helped. Were you able to rig the assimilation modifiers in the pop_types.txt?

Yep, which helped.

I really quite wish I could find an assimilation event, and hijack it, creating a massive assimilation boost event I could trigger by typing it in the console code box in the game. But oh well, I'll look for it and report on my findings here for others.
< >
115/18 megjegyzés mutatása
Laponként: 1530 50