Europa Universalis IV

Europa Universalis IV

Westernization Reworked
This topic has been locked
user12343  [developer] 3 Jun, 2016 @ 11:11am
Mod Details
Details that won't fit on the main page. Also probably more information than most people are really looking for.
< >
Showing 1-8 of 8 comments
user12343  [developer] 3 Jun, 2016 @ 11:21am 
Westernization Reworked (WR) consists of an event, and a series of decisions.

The event happens once a year and calculates the cost of enacting reforms. It triggers for all nations who are technology group Muslim and below and have not migrated up to the Reformed Muslim etc technology groups.

The event sets a base cost for the reform at 600 via a variable. It then sets the base bonus that will modify that base cost at 1 via a seperate variable.
Then it makes changes to the base bonus variable as indicated:

Bonuses related to relations:
Know a Reformed technology group nation (-0.0125)
Know an Eastern or Ottoman technology group nation (-0.025)
Know a Western technology group nation (-0.05)
Neighbor with a Reformed technology group nation (-0.07)
Neighbor with an Eastern or Ottoman technology group nation (-0.085)
Neighbor with a Western technology group nation (-0.12)
Allied to a Reformed technology group nation (-0.2)
Allied to an Eastern or Ottoman technology group nation (-0.25)
Allied to a Western technology group nation (-0.3)
Overlord of a Reformed technology group nation (-0.325)
Overlord of an Eastern or Ottoman technology group nation (-0.35)
Overlord or Protectorate of a Western technology group nation (-0.4)
(These do not stack, only one will count)

Bonuses related to Total Development:
Total Development 50-100 (-.02)
Total Development 100-150 (-.04)
etc up to
Total Development 1000 (-.4)

The event then determines the cost of reform by multiplying the base cost (600) by the base bonus (adjusted by the modifiers described above).

Once calculated, the cost of the reforms are set for the country until the event fires again and the cost is recalculated.
Last edited by user12343; 12 Jul, 2016 @ 5:53am
user12343  [developer] 3 Jun, 2016 @ 11:26am 
The event also assigns a reform level to each nation based on their starting technology group.

WR provides for a total of 30 reforms. 1 is the first and 30 is the last.

The below table indicates the tech cost for different technology groups, the number of reforms needed to modernize the tech group and the final tech cost for the Reformed Tech Group.

Tech Group
Cost
Reforms Needed to Modernize
Reformed Tech Group Cost
Western
0%
0
N/A
High American
0%
0
N/A
Eastern
20%
0
N/A
Anatolian
25%
0
N/A
Muslim
40%
4
20%
Indian
50%
5
25%
East African
55%
5
27%
Chinese
60%
6
30%
West African
75%
7
37%
Central African
80%
8
40%
Nomadic
75%
7
37%
Mesoamerican
150%
15
75%
Andean
150%
15
75%
North American
250%
30
99%
South American
250%
30
99%
Last edited by user12343; 8 Jun, 2016 @ 11:26am
user12343  [developer] 3 Jun, 2016 @ 11:32am 
Unfortunatly, because a variable cannot take a scope as an argument, the calculated cost of the reforms are not directly applied.
Instead a scripted_effect reads the calculated cost and assigns it to one of twenty cost groups during the reform decision.

The groups increase in increments of 30 so that:
calculated cost of 30-59 reads as 30 monarch points per category
calculated cost of 60-89 reads as 60 monarch points per category
etc up to
calculated cost of 600 reads as 600 monarch points per category
Last edited by user12343; 12 Jul, 2016 @ 5:55am
user12343  [developer] 5 Jun, 2016 @ 2:46pm 
For countries that have the Nahutal, Inca or Maya religion this process is slightly different.

This is because if you change your technology group to Andean Reformed etc while your religion is still not yet fully reformed then you will loose the religious reform modifiers and be unable to further reform the religion.

So, if you have passed all the required reforms for the mod to reform your technology group but have not reformed your religion, you will get a special event when you click on the Reform the Government decision. The event will explain the situation and give you the option to either delay reforming your technology group until after you have reformed your religion or to reform your technology group anyway with the understanding that you will be unable to reform your religion.
user12343  [developer] 5 Jun, 2016 @ 2:50pm 
For North and South American countries that have the government type Native Council this process is slightly different.

This is because the Native Reform mechanics built into the game are hard coded and cannot be removed via modding.

Essentially you ignore the vanilla Native Policy reforms and just focus on the mod reforms. Passing the first 15 mod reforms will grant bonuses similar to what you would get from the Native Policies. When you pass all reforms you can reform your technology into a Reformed North or South American group. This will remove the bonuses. After you do this you can reform your government into a despotic monarchy. Once you have done this then you can westernize as normal if desired.
Last edited by user12343; 7 Jun, 2016 @ 9:34am
user12343  [developer] 8 Jun, 2016 @ 9:22am 
The below table shows the reforms and corresponding bonuses:

Reform
Name
Bonus
30
Growth of Civil Society
-5% adm, dip and mil tech cost
29
Development of Rule of Law
-5% adm, dip and mil tech cost
28
Centralization of Authority
-5% adm, dip and mil tech cost
27
Growth of Middle Class
-5% adm, dip and mil tech cost
26
Development of Transportation Infrastructure
-5% adm, dip and mil tech cost
25
Development of Common Markets
-5% adm, dip and mil tech cost
24
Growth of Civil Society
-5% adm, dip and mil tech cost
23
Development of Rule of Law
-5% adm, dip and mil tech cost
22
Advanced Education Institutions
-5% adm, dip and mil tech cost
21
Civil Service
-5% adm, dip and mil tech cost
20
Expansion of Merchant Networks
-5% adm, dip and mil tech cost
19
Development of Rule of Law
-5% adm, dip and mil tech cost
18
Development of Merchant Class
-5% adm, dip and mil tech cost
17
Centralization of Authority
-5% adm, dip and mil tech cost
16
Advanced Metal Working
-5% adm, dip and mil tech cost
15
Regulation of Commerce
-100% mil tech cost
14
Guilds
-100% dip tech cost
13
Development of Merchant Class
-100% adm tech cost
12
Currency Standards
-20% land attrition
11
Development of Rule of Law
+1 colonist
10
Development of Government Institutions
-2 global unrest
9
Basic Education Institutions
+33% forcelimit modifier
8
Construction
+50% relations decay slower
7
Mathematics
-20% stability cost modifier
6
Metal Working
+1 land leader shock
5
Centralization of Authority
+1 diplomatic reputation
4
Codification of Laws
+25% tax modifier
3
Writing System
+10% land morale
2
Develop Cross-Tribal Relations
-25% migration cooldown, autoexplore adjacent provinces
1
Advanced Professional Specialization
-20% build cost

Required reforms should be counted back from 30 to 1. (Muslims require 4 reforms so they will need reforms 27-30)

Once a state completes all required reforms and reforms their technology group these bonuses are removed.

The bonuses for reforms 1-15 correspond to bonuses that a state would receive if it passed the vanilla Native Reforms.
Bonuses for reforms 16-30 are proportional increases that reflect a state's progress towards their eventual Reformed Technology Group level of tech cost. (Muslim vanilla tech cost is +40%. Muslim Reformed tech cost is 20%. Muslim starting reform level is 26. At reform level 30 Muslim has passed 4 reforms for a total of -20% tech cost.)
Last edited by user12343; 8 Jun, 2016 @ 6:52pm
user12343  [developer] 11 Jun, 2016 @ 10:01am 
Not all AI countries are eligible for reform and Westernization. The mod controls this using a series of events.

The events fire when a nation meets certain conditions and providing increasingly likely chances for eligibility to reform.

The eligibility chance per event and conditions are below:

Event 1 - 10% chance of eligibility
Potential for Event 1: (1 of these needs to be true for event to fire)
Development 100
Western, Eastern, Ottoman or Reformed Neighbor
Western, Eastern, Ottoman or Reformed Ally
Overlord of Western, Eastern, Ottoman or Reformed subject
Is a protectorate

Event 2 - 20% chance of eligibility
Potential for Event 2: (1 of these needs to be true for event to fire)
Development 250
Development 100 and Western, Eastern, Ottoman or Reformed Neighbor
Development 100 and Western, Eastern, Ottoman or Reformed Ally
Overlord of Western, Eastern, Ottoman or Reformed subject
Is a protectorate

Event 3 - 30% chance of eligibility
Potential for Event 3: (1 of these needs to be true for event to fire)
Development 500
Development 250 and Western, Eastern, Ottoman or Reformed Neighbor
Development 250 and Western, Eastern, Ottoman or Reformed Ally
Overlord of Western, Eastern, Ottoman or Reformed subject

Event 4 - 40% chance of eligibility
Potential for Event 4: (1 of these needs to be true for event to fire)
Development 750
Development 500 and Western, Eastern, Ottoman or Reformed Neighbor
Development 500 and Western, Eastern, Ottoman or Reformed Ally
Overlord of Western, Eastern, Ottoman or Reformed subject

Event 5 - 50% chance of eligibility
Potential for Event 5: (1 of these needs to be true for event to fire)
Development 1000
Development 750 and Western, Eastern, Ottoman or Reformed Neighbor
Development 750 and Western, Eastern, Ottoman or Reformed Ally
Overlord of Western, Eastern, Ottoman or Reformed subject

Human players are automatically eligible do not experience the event.
Last edited by user12343; 12 Jul, 2016 @ 7:32am
user12343  [developer] 30 Jun, 2016 @ 10:40am 
There is a check every time a state seeks to pass a reform.
The state must known of another state with a tech group level equal to or higher than the reform they seek to pass.
For example if a Meso American tech group nation (150%) wants to pass reform 16 there must be a Central African (80%) or higher nation that they are aware of. This can included Reformed Technology Group nations.

Calculating what a nation is aware of is done based on territory located in a given geographic Region. If a state owns territory in the Japan region there is a check to see if any nation is a higher tech group within the Regions: North China, South China, Japan, Manchuria, IndoChina, Indonesia, Malaya. Each territory has a seperate check and only one needs to pass. This advantages large nations because they will have a greater chance of having a higher tech group nation within their purview.
This check is bypassed completely for nations at 500 development or higher. Such nations merely need to know of a sufficiently high tech group nation, not actually have one in a given area.

This check acts to make sure that nations are only able to pass reforms that they can be resonably expected to have encountered. Very large nations have many more resources and are assumed to devote some of these to this research.
< >
Showing 1-8 of 8 comments
Per page: 1530 50