My first post in the CK-forum, yo.
Desirability of provinces? I don't know exactly how it's done in EU2, but I can see how it could be improved. What follows, mainly from an EU2-perspective, is what I consider to be important factors in such an algorithm:
Manpower base
Tax base
Other similar factors
Important factors, the question is whether population should affect since it is dynamic. Ie, in EU2, manpower output doubles when population goes beyond 20 000.
Trade center
Very valuable, modified by "strength" of center (hardcoded bonus in EU2) and other possible factors.
Forifications
Other "improvements"
Dependant on the value of money in the game.
Culture
Religion
CB shields
In EU2, basically the hardcoded attributes of different nations. France is more likely to want a french province rather than a german one, no? AI should also be sligthly more prone to get rid of those provinces than others.
Other nation(s) is claiming the land (CB)
Here's an interesting piece, shouldn't there be situations where the AI should avoid conflicted regions? Giving your powerful neighbor a reason to attack you isn't always desirable.
Proximity to nation's lands
Proximity to capital
Land border
Number of provinces bordering (size of land border)
Sea border
Sea port
Island
Taking above factors into consideration would keep many weird conquests under check. Ottomans shouldn't be offering you Dobrudja if you're beating them up down in the Arabian peninsula, no?
To adequately defend a province without land border you either need military access or both a port at home and at the province. It's tough in either case. If no land border, proximity to closest province or port could play in. I also think it's reasonable that number of provinces bordering would increase it's desirability. Sea border and sea port in general should make the province more desirable, it's an alternative way of transportation.
Islands, think Malta or Gotland. The closer to a port of yours, the better. Undesirable possession if you can't reach it at all.
All in all, depends a lot on how nasty rebels are and how much control you have over your vassals and such.
Anything else?
Desirability of provinces? I don't know exactly how it's done in EU2, but I can see how it could be improved. What follows, mainly from an EU2-perspective, is what I consider to be important factors in such an algorithm:
Manpower base
Tax base
Other similar factors
Important factors, the question is whether population should affect since it is dynamic. Ie, in EU2, manpower output doubles when population goes beyond 20 000.
Trade center
Very valuable, modified by "strength" of center (hardcoded bonus in EU2) and other possible factors.
Forifications
Other "improvements"
Dependant on the value of money in the game.
Culture
Religion
CB shields
In EU2, basically the hardcoded attributes of different nations. France is more likely to want a french province rather than a german one, no? AI should also be sligthly more prone to get rid of those provinces than others.
Other nation(s) is claiming the land (CB)
Here's an interesting piece, shouldn't there be situations where the AI should avoid conflicted regions? Giving your powerful neighbor a reason to attack you isn't always desirable.
Proximity to nation's lands
Proximity to capital
Land border
Number of provinces bordering (size of land border)
Sea border
Sea port
Island
Taking above factors into consideration would keep many weird conquests under check. Ottomans shouldn't be offering you Dobrudja if you're beating them up down in the Arabian peninsula, no?
To adequately defend a province without land border you either need military access or both a port at home and at the province. It's tough in either case. If no land border, proximity to closest province or port could play in. I also think it's reasonable that number of provinces bordering would increase it's desirability. Sea border and sea port in general should make the province more desirable, it's an alternative way of transportation.
Islands, think Malta or Gotland. The closer to a port of yours, the better. Undesirable possession if you can't reach it at all.
All in all, depends a lot on how nasty rebels are and how much control you have over your vassals and such.
Anything else?