Dynamic Diplomacy
Posted: Wed Jan 22, 2014 1:58 pm
In a way this is the holy grail of PoN and of course a huge challenge to code and set up. We don't want endless wars breaking out but we do want both a more opportunistic AI (ie if a chance comes to grab something it really wants, then it will do so) and one that plans more for its goals.
The latter I fear is a matter for the code, but the first is possible to script.
Here's an idea for Italy (I'll start with this as I have some feel for what it should be trying to do).
Until the Po provinces (Lombardia and the Veneto) it has a key enemy - Austria. In reality, Piedmont made an alliance with a powerful backer to gain the military power to challenge Austria and then happily signed up with a different power to attack Austria when it was distracted. My view is if those two had failed, it would simply have carried on with the same strategy till it worked.
So, for Italy, I suggest we add an event that works on this logic:
if Wien is not Austrian controlled and Lombardia and Veneto are not Italian controlled, it will declare war. After 1900 I'd add Udine, Trieste and the Tirol to that test. We can do a force pool judgement if needed (I'll try to produce a formal event later today), but this is a very simple yes/no test that captures a key part of Italian opportunism.
It could be expanded to say Austria war with Russia or Germany (ie something seriously distracting) will trigger an intervention - with probabilities and maybe only a fixed number of instances, so an Austrian player has to be cautious but another player can't operate with certainty?
At worst this could tip Italy into a war it can't win, but given the rules for war ending the worst it would suffer is reparations for a short period.
The latter I fear is a matter for the code, but the first is possible to script.
Here's an idea for Italy (I'll start with this as I have some feel for what it should be trying to do).
Until the Po provinces (Lombardia and the Veneto) it has a key enemy - Austria. In reality, Piedmont made an alliance with a powerful backer to gain the military power to challenge Austria and then happily signed up with a different power to attack Austria when it was distracted. My view is if those two had failed, it would simply have carried on with the same strategy till it worked.
So, for Italy, I suggest we add an event that works on this logic:
if Wien is not Austrian controlled and Lombardia and Veneto are not Italian controlled, it will declare war. After 1900 I'd add Udine, Trieste and the Tirol to that test. We can do a force pool judgement if needed (I'll try to produce a formal event later today), but this is a very simple yes/no test that captures a key part of Italian opportunism.
It could be expanded to say Austria war with Russia or Germany (ie something seriously distracting) will trigger an intervention - with probabilities and maybe only a fixed number of instances, so an Austrian player has to be cautious but another player can't operate with certainty?
At worst this could tip Italy into a war it can't win, but given the rules for war ending the worst it would suffer is reparations for a short period.