User avatar
Christophe.Barot
Posts: 1138
Joined: Fri Jan 26, 2007 10:55 pm
Location: Paris (France)

PON2-subforum improve Events - ending Balkan wars

Sat Nov 16, 2013 9:47 pm

You probably noticed wars without result tend to drag uselessly some (very long time) time
here is a first step to end balkan wars - short of it, first balkan war never ends by the time the Great war erupts, and second Balkan war never happens, so we need to set events ending it

I based myself on the San Stefano and Congress of berlin written by PhilippeS - in an other field, having a global peace (with allies and not individually) order would be handy, and so would be possibility (like exists in some Paradox games) - bot those require I guess a heavy programming work from Pocus, who is, ... as usual, ... VERY busy, and I don't know how heavy the task can be, so ...

SelectFaction = $CMN
SelectRegion = $Constantinople
StartEvent = evt_nam_RUS_EndofFirstBalkanWar1912|1|2|NULL|NULL|$Constantinople|NULL

Conditions
EvalEvent = evt_nam_RUS_FirstBalkanWar1912;=;1

SelectFaction = $SER
EvalIsAtPeaceWith = AUS
EvalIsAtWarWith = TUR

SelectFaction = $MON
EvalIsAtWarWith = TUR

SelectFaction = $BUL
EvalIsAtWarWith = TUR

SelectFaction = $GRE
EvalIsAtWarWith = TUR

SelectFaction = $RUM
EvalIsAtWarWith = TUR

MinDate = 1913/06/16
MaxDate = 1919/01/01
Probability = 15

SelectFaction = $TUR
RegInit = 1
SelectSubUnits = Theater $Balkans;FactionTags TUR;Domains $Land

SelectFaction = $AUS
RegInit = 2
SelectSubUnits = Theater $Balkans;FactionTags AUS;Domains $Land

SelectFaction = $RUS
RegInit = 3
SelectSubUnits = Theater $Balkans;FactionTags RUS;Domains $Land

SelectFaction = $ROU
RegInit = 4
SelectSubUnits = Theater $Balkans;FactionTags ROU;Domains $Land

SelectFaction = $SER
RegInit = 5
SelectSubUnits = Theater $Balkans;FactionTags SER;Domains $Land

SelectFaction = $MON
RegInit = 6
SelectSubUnits = Theater $Balkans;FactionTags MON;Domains $Land

SelectFaction = $BUL
RegInit = 7
SelectSubUnits = Theater $Balkans;FactionTags BUL;Domains $Land

SelectFaction = $GRE
RegInit = 8
SelectSubUnits = Theater $Balkans;FactionTags GRE;Domains $Land

RegInit = 9
RegSum = Registry 1 2
RegInit = 10
RegSum = Registry 3 4 5 6 7 8
[color="#40E0D0"][color="#40E0D0"]// happens if BALKAN forces of Balkanic states + Russia > those of Ottoman + Austria
// debatable but I considered possible intervention of big powers (Austria hostile to most Balkan states, Rumania, and utmost Serbia and Montenegro, and Russia, backing them)with an implication in Balkans[/color]
RegEval = 9;<;10[/color]
RegDeactivate = NULL

Actions
[color="#40E0D0"]// DescEvent = evt_desc_RUS_RUS_EndofFirstBalkanWar1912[/color]
[color="#FF0000"]// I'll describe it when I'll be explained how to add excel to sct strings[/color]
[color="#40E0D0"]// in case of victory, I set historical territorial gains and likely psychological changes[/color]

SelectFaction = $TUR
SettleWhitePeace = ALL

SelectFaction = $ALB
SelectRegion = $Albania
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 100
SetControl = 100

SelectFaction = $SER

SelectRegion = $Nish
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 100
SetControl = 100

SelectRegion = $Kos[color="#FF0000"]s[/color]ovo
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 20
SetControl = 100

SelectRegion = $[color="#FF0000"]Sandjak[/color]
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 20[color="#40E0D0"]
SetControl = 100

// edited, after Philippe infirmation, we can use only initial names, not flavour names - so replace Zvornik and Kosovo by Sandjak and Kossovo
[/color]
SelectRegion = $Makedonia
ChangeRgnOwner = TUR
SetControl = 100 [color="#40E0D0"]// no loyalty change[/color]

SelectFaction = $GRE

SelectRegion = $Halkidiki
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 20
SetControl = 100

SelectRegion = $Krita
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 100
SetControl = 100

SelectFaction = $BUL

SelectRegion = $Rhodopos
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 100
SetControl = 100

SelectRegion = $Thrakia
ChangeRgnOwner = TUR
ChangeLoyaltyFac = 20
SetControl = 100

SelectFaction = $TUR
SettleWhitePeace = ALL
ChgFacRelationships = RUS;-10
ChgFacRelationships = AUS;20
ChgFacRelationships = GER;30

SelectFaction = $RUS
ChangeFacMorale = 10
ChgVPCount = 500

SelectFaction = $BUL
ChangeFacMorale = 5
ChgVPCount = 50
ChgFacRelationships = RUS;10

SelectFaction = $ROU
ChangeFacMorale = 5
ChgVPCount = 50
ChgFacRelationships = RUS;5

SelectFaction = $SER
ChangeFacMorale = 5
ChgVPCount = 50
ChgFacRelationships = RUS;10

SelectFaction = $MON
ChangeFacMorale = 5
ChgVPCount = 50
ChgFacRelationships = RUS;10

SelectFaction = $GRE
ChangeFacMorale = 5
ChgVPCount = 50
ChgFacRelationships = RUS;5

EndEvent
[color="#FF0000"]- (ordnance) Your Lordship, sorry to awake you, but The french are at our door !

- Alarm, alarm, how did you let this happen and not awake me ! repel them, counterattack at once !

- err, your Lordship, ahem... French are our allies, Marshal de St Arnaud is expected to attend to a conference with you !

- ahem, well, .... very well ..let them in !

(charge of the light brigade movie)
[/color]

User avatar
Christophe.Barot
Posts: 1138
Joined: Fri Jan 26, 2007 10:55 pm
Location: Paris (France)

Sat Nov 16, 2013 9:56 pm

And now the end of second Balkan war

[color="#FF0000"]// I saw AdddDiploItem = TargetFac; DIDefUID [; StartDate yyyy/mm/dd][;Warscore]
// is there rather a way to test the warscore and THEN implement ALL the numerous consequences ? [/color]



SelectFaction = $CMN
SelectRegion = $Bulgaria
StartEvent = evt_nam_RUS_EndofSecondBalkanWar1913|1|2|NULL|NULL|$Bulgaria|NULL

Conditions
EvalEvent = evt_nam_RUS_SecondBalkanWar1913;=;1

SelectFaction = $SER
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

SelectFaction = $MON
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

SelectFaction = $GRE
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

SelectFaction = $RUM
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

MinDate = 1913/06/16
MaxDate = 1919/01/01
Probability = 15

SelectFaction = $BUL
RegInit = 1
SelectSubUnits = Theater $Balkans;FactionTags BUL;Domains $Land

SelectFaction = $AUS
RegInit = 2
SelectSubUnits = Theater $Balkans;FactionTags AUS;Domains $Land

SelectFaction = $SER
RegInit = 3
SelectSubUnits = Theater $Balkans;FactionTags RUS;Domains $Land

SelectFaction = $MON
RegInit = 4
SelectSubUnits = Theater $Balkans;FactionTags ROU;Domains $Land

SelectFaction = $ROU
RegInit = 5
SelectSubUnits = Theater $Balkans;FactionTags SER;Domains $Land

SelectFaction = $GRE
RegInit = 6
SelectSubUnits = Theater $Balkans;FactionTags MON;Domains $Land

RegInit = 7
RegSum = Registry 1 2
RegInit = 8
RegSum = Registry 3 4 5 6
[color="#40E0D0"]// happens if BALKAN forces of (other) Balkanic states > those of Bulgaria + Austria (in the area) which is considered hostile[/color]
[color="#FF0000"]// I could also test warscore, if there is a way to test it easily[/color]
RegEval = 7;<;8
RegDeactivate = NULL

Actions
[color="#40E0D0"]// DescEvent = evt_desc_RUS_RUS_EndofSecondBalkanWar1912[/color]
[color="#FF0000"]// ditto, can't open localstrings.csv in a whole, so I need be explained how to work and insert text in it
[/color]
SelectFaction = $BUL
SettleWhitePeace = ALL
[color="#40E0D0"]// no massive territorial changes - basically, Bulgarian attempt to reshuffle cards and move borders failed[/color]

SelectFaction = $BUL
ChangeFacMorale = -5
ChgVPCount = -50
ChgFacRelationships = AUS;20
ChgFacRelationships = GER;20
ChgFacRelationships = TUR;20
ChgFacRelationships = ROU;-20
ChgFacRelationships = SER;-20
ChgFacRelationships = MON;-20
ChgFacRelationships = GRE;-20

SelectFaction = $GRE
ChangeFacMorale = 5
ChgVPCount = 50

SelectFaction = $ROU
ChangeFacMorale = 5
ChgVPCount = 50

SelectFaction = $SER
ChangeFacMorale = 5
ChgVPCount = 50

SelectFaction = $MON
ChangeFacMorale = 5
ChgVPCount = 50

EndEvent
[color="#FF0000"]- (ordnance) Your Lordship, sorry to awake you, but The french are at our door !

- Alarm, alarm, how did you let this happen and not awake me ! repel them, counterattack at once !

- err, your Lordship, ahem... French are our allies, Marshal de St Arnaud is expected to attend to a conference with you !

- ahem, well, .... very well ..let them in !

(charge of the light brigade movie)
[/color]

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Sat Nov 16, 2013 11:22 pm

this, and the other scripts are fantastic additions - I'll test them out in the very near future.

I've been going over the AI wars every now and then and ending a batch of them with some sort of imposed resolution but this is far more elegant.
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

User avatar
Christophe.Barot
Posts: 1138
Joined: Fri Jan 26, 2007 10:55 pm
Location: Paris (France)

Sun Nov 17, 2013 11:08 am

thanks a lot
plese feel free to submit any improvements - or give the poor novice I am any technical hints you have

I hope those, once totally completed (text, images, I really am waiting for a few technical hints) will be added to the official patches - even (I understand they will slow processing time even further) as optional scripts - I have seen there is some room planned for that sort of things in the menu
[color="#FF0000"]- (ordnance) Your Lordship, sorry to awake you, but The french are at our door !

- Alarm, alarm, how did you let this happen and not awake me ! repel them, counterattack at once !

- err, your Lordship, ahem... French are our allies, Marshal de St Arnaud is expected to attend to a conference with you !

- ahem, well, .... very well ..let them in !

(charge of the light brigade movie)
[/color]

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Thu Jan 02, 2014 11:28 am

Superb work. Indeed the conditions are a little bit too many and strict, in my opinion. Are you sure they can realistically be reached? On top of that, there is a only 15% chance they will fire, even if all is met, including date constrains. When we decide conditions we have to be quite flexible to allow players alternate reality approaches that might not lead to the historical conditions.

The first Balkan War ended when the Ottoman Empire lost and the second when Bulgaria lost. Simple. How can this be abstracted in conditions without making it too convoluted?
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Thu Jan 02, 2014 1:05 pm

Kensai wrote:Superb work. Indeed the conditions are a little bit too many and strict, in my opinion. Are you sure they can realistically be reached? On top of that, there is a only 15% chance they will fire, even if all is met, including date constrains. When we decide conditions we have to be quite flexible to allow players alternate reality approaches that might not lead to the historical conditions.

The first Balkan War ended when the Ottoman Empire lost and the second when Bulgaria lost. Simple. How can this be abstracted in conditions without making it too convoluted?


I've got to the stage in my game where these wars are taking place. It maybe my game, but Bulgaria is big and nasty compared to the others (of course this is the current major fear of the British right). So the first war ended with the merry Bulgars holding Istanbul. In that the peace treaty as per script was great, it gave a real rationale for round #2. Now in round #2, as things stand, greater Bulgaria spans from Athens to Belgrade. I think I'll amend Christophe's script to reflect this in the peace treaty.

I think we have to decide if these wars matter in their own right or as stepping stones to WW1. I realise that sounds dismissive but I'm thinking in game terms not in real human misery and aspirations. If they matter, I still think its good to give the AIs a helping hand to end it all and the question is whether or not its worth coming up with something that allows some identification of the victor (relative power at the end?) and thus the attribution of the spoils. I'm tempted to give Bulgaria the southern provinces (Kosovo and Nis) but since this war won't involve a player does it really matter? Equally, if Serbia has just had an utter thumping it might be more or less likely to tweak Austria's nose.

If this peace is key to the WW1 chain (and one reason that was breaking was due to the First war not ending), then I'd go with imposition and close to history. In any standard game of PoN this is a war with no major powers.

A second issue is to rethink the conditions in the WW1 chain. A human played Ottoman empire may well win the 1879 war (so no Bulgaria) and/or the First Balkan War. There is a lot that intersects and I come back to my view that the Balkans were likely to upset the balance of Europe, not least by opening up opportunities for Russia and problems for Austria. Consequentially that part of the Congress of Vienna that had seen an operating alliance between Europe's main reactionary powers started to fragment.
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

User avatar
Christophe.Barot
Posts: 1138
Joined: Fri Jan 26, 2007 10:55 pm
Location: Paris (France)

Fri Jan 03, 2014 5:59 pm

OK, seen, will try to improve events

- more simple co,nditions : will check and discuss the point
- alternative outcome, a Turkish win and a Bulgarian win

- Bulgaria win, normally Bulgarian gains are, besides the obvious Thrakia Rumelia and Rhodopos normally won at first Balkan war : Makedonia (Nish too perhaps, but ethnic serbian, Kosovo not imho, more western, but of course is a design choice of extreme or more moderate peace) Salonika (Thrakia) and Dobrudja (actually a slice of land between varna and Dobrudja but is too small to be represented, so we have to be excessive or let Rumanian/Bulgarian border set in concrete), perhaps Adrianople too (but would have stirred Austrian and perhaps British reaction)

- 1st Balkan war Turkish win, imho just status quo as other powers would not have liked Balkan states (backward European Christian states, but still Europan and Christians giving back population to Turks, Russia obviously, Austria unwilling to give back Bosnia, and even Germany and Britain would not have supported the idea, but balance and status quo was ok - here too, a design choice to make, based on history and play balance
[color="#FF0000"]- (ordnance) Your Lordship, sorry to awake you, but The french are at our door !

- Alarm, alarm, how did you let this happen and not awake me ! repel them, counterattack at once !

- err, your Lordship, ahem... French are our allies, Marshal de St Arnaud is expected to attend to a conference with you !

- ahem, well, .... very well ..let them in !

(charge of the light brigade movie)
[/color]

Asher413
Corporal
Posts: 50
Joined: Thu May 05, 2011 7:59 pm

Sat Jan 04, 2014 8:26 pm

Errors from the running my my game:

I can't find it, but it had some issue with counting ROU

Line 20458: => SelectRegion, First parameter must be a region UID (check if the alias was translated correctly): KOSOVO
Line 20459: ChangeRgnOwner: Structures were present and could have been transfered (depending of faction owner)
Line 20460: ChangeLoyaltyFac, one region: Nish Loyalty now at 100
Line 20461: SetControl Nish set to 100
Line 20463: => SelectRegion, First parameter must be a region UID (check if the alias was translated correctly): ZVORNIK

User avatar
Christophe.Barot
Posts: 1138
Joined: Fri Jan 26, 2007 10:55 pm
Location: Paris (France)

Sun Jan 05, 2014 12:44 am

Asher413, you right, I have corrected my Italian scripts and Balkan ones as well as some areas had an ancient name and a new one, [color="#40E0D0"]only the initial one must be taken for script [/color](Philippe Thibaut clarification)

those can be found in regions excel file downloadable for modders
here is the extract for Balkans, some Austrian and Italian names are changed too, likely others

UID Name §NEWName Transport_level Development_level Area Theater CityName §NEWCityName
203 [color="#FF0000"]Bosna [/color] [color="#00FFFF"]Bosna [/color] $Roads 50 Area_Bosnia Theater_Balkans Bihac Bihac
204 [color="#FF0000"]Herzegovina[/color] [color="#00FFFF"]Herzegovina[/color] Roads 50 Area_Bosnia Theater_Balkans Sarajevo Sarajevo
205 [color="#FF0000"]Sava [/color] [color="#00FFFF"] Sava[/color] $Roads 50 Area_Serbia Theater_Balkans Tuzla Tuzla
206 [color="#00FFFF"]Sandjak[/color] [color="#FF0000"]Zvornik[/color] $Roads 50 Area_Serbia Theater_Balkans Novi Pazar Novi Pazar
207 [color="#0000FF"]Montenegro[/color] Montenegro $Roads 50 Area_Serbia Theater_Balkans Cetinje Cetinje
208 [color="#00FFFF"]Serbia[/color] Serbia $Roads 75 Area_Serbia Theater_Balkans Beograd Beograd
209 [color="#00FFFF"]Nish[/color] Nish $Roads 50 Area_Serbia Theater_Balkans Nish Nish
210 [color="#00FFFF"]Kossovo[/color] [color="#FF0000"]Kosovo[/color] $Roads 50 Area_Serbia Theater_Balkans Pristina Pristina
211 [color="#FFA500"]Albania[/color] Albania $Roads 50 Area_Northern_Greece Theater_Balkans Tirana Tirana
212 [color="#00FFFF"]Makedonia[/color] Makedonia $Roads 50 Area_Northern_Greece Theater_Balkans Skopje Skopje
213 [color="#40E0D0"]Thessalia[/color] Thessalia $Roads 50 Area_Northern_Greece Theater_Balkans Larissa Larissa
214 [color="#40E0D0"]Epiros[/color] Epiros $Roads 50 Area_Northern_Greece Theater_Balkans Janina Janina
215 [color="#40E0D0"]Halkidiki[/color] [color="#008000"]Halkidiki[/color] $MajorRoad 75 Area_Northern_Greece Theater_Balkans Thessaloniki Thessaloniki
216 [color="#40E0D0"]Attica[/color] Attica $MajorRoad 50 Area_Southern_Greece Theater_Balkans Athina Athina
217 [color="#40E0D0"]Peloponesos[/color] Peloponesos $Roads 50 Area_Southern_Greece Theater_Balkans Patras Patras
218 [color="#008000"]Bulgaria[/color] Bulgaria $Roads 50 Area_Bulgaria Theater_Balkans Sofia Sofia
219 [color="#008000"]Struma[/color] Struma $Roads 50 Area_Bulgaria Theater_Balkans Petric Petric
220 [color="#008000"]Rumelia[/color] Rumelia $Roads 50 Area_Bulgaria Theater_Balkans Burgas Burgas
221 [color="#008000"]Ogosta[/color] Ogosta $Roads 50 Area_Bulgaria Theater_Balkans Sliven Sliven
222 [color="#008000"]Ludogoria[/color] Ludogoria $Roads 50 Area_Bulgaria Theater_Balkans Plevna Plevna
223 [color="#008000"]Varna [/color] Varna $Roads 50 Area_Bulgaria Theater_Balkans Varna Varna
224 [color="#FFFF00"]Dobrudja[/color] [color="#008000"]Dobrudja[/color] $Roads 50 Area_Rumania Theater_Balkans Constanza Constanza
225 [color="#FFFF00"]Drobeta[/color] Drobeta $Roads 50 Area_Rumania Theater_Balkans Craiova Craiova
226 [color="#FFFF00"]Wallachia[/color] Wallachia $MajorRoad 75 Area_Rumania Theater_Balkans Bucharest Bucharest
227 [color="#FFFF00"]Moldavia[/color] Moldavia $Roads 50 Area_Rumania Theater_Balkans Iassy Iassy
228 [color="#008000"]Thrakia[/color] Thrakia $Roads 50 Area_Thracia Theater_Balkans Kavala Kavala
229 [color="#006400"]Rhodopos[/color] Rhodopos $Roads 50 Area_Thracia Theater_Balkans Plovdiv Plovdiv
230 [color="#FF8C00"]Andrianople[/color] [color="#008000"]Andrianople[/color] $MajorRoad 75 Area_Thracia Theater_Balkans Adrianople Adrianople
231 [color="#FF8C00"]Gelibolu[/color] Gelibolu $Roads 50 Area_Thracia Theater_Balkans Galipoli Galipoli
232 [color="#FF8C00"]Constantinople[/color] Constantinople $MajorRoad 75 Area_Thracia Theater_Balkans Constantinople Constantinople

here are natural claimers of the provinces : [color="#00FFFF"]Serbs[/color] [color="#40E0D0"]Greeks[/color] [color="#FFFF00"]Rumanians[/color] and [color="#008000"]Bulgarians[/color] [color="#0000FF"]Montenegrines [/color], I set Albanians or [color="#FF8C00"]Turkish [/color]provinces in Orange, [color="#FF0000"]Bosnia-Herzegovina[/color], annexed by Austrians, is claimed by [color="#00FFFF"]Serbs[/color], and [color="#008000"]Bulgarians [/color]claim many of their neighbour lands, notably, but far from only, makedonia (for Dobrudja this is an oversimplification, as the slice of land north of Varna couldn't be represented

the Kossovo area and Sandjak of Novi Pazar are now correctly referenced

for Kensai
: agree, let's discuss conditions,
to enlighten my choice , I tried to simplify but still keep consistant :

first Balkan war, I consider that

a) event follow first balkan war, so all Turkish enemies did not make peace (you know like me AI offering peace terms, whatever the situation, is rare and long, plus Ottoman have nothing to annex (Great powers would not allow - Balkanic states are Europeans and christians, best ottoman can achieve is a status quo) - so still at war

b) I consider possible intervention of great powers, or possible neutrality, or intervention of only one of them, great powers able to intervene (I discarded italy to simplify, Italy will most likely use diversionary war to go for Lybia anyhow) are only two, Russia, and Austria, as they have clients (Britain or Germany could intervent if Constantinople was threatened but no risk, before Constantinople falls, peace will fire), obviously Russia to weaken Ottoman and support cliant states, Austria if Germany is allied with Ottoman, to weaken Serbs and possibly Rumanians, and counter Russia :

therefore condition B is rather simple, victorious peace happens as soon as Russian+Balkanic states have more troops in Balkans than Ottoman + Austria - if Austria and Russia are neutrals, they won't have troops in Balkans (except if they garrison their allies while remaining neutral, so I won't enter these complexities)

c) as those conditions are easy to meet and straightforward (as Russian player be sure I'll have 2 or 3 armies positionned in Rumania and serbia even before a single shot is fired (and 2-3 others in caucasus, be sure too) I just add a % just to avoid a Russian player snaps ant it automatically fall in Balkan states turn one without even a fight (the Austrian player is able to delay forever just by moving to Bosnia-Herzegovina "en masse") - if they are not met, either we have a status quo, or chain reaction provoked an Austro Russian war (not necessarily the big war, in my current games, Russia and Germany are allied, and AI is not autonomous enough - or strong enough to play a balance - in my Russian game, Germany did not form, and my forces match the German+Austrian ones with better generals, trained in China and Turkey, in my present German game, Russia was bled white by French in Crimean war and never recovered, 2d military power, now third as the British just mobilized in ahuge military effort is the British, and as he occupies Khiva I suspect the weak Russian have other business than attacking another of my allies)

2 d balkan war, ditto but with Bulgaria, I expect :
a) war happened and is too short to get a peace
b) I didn't count the turks, who historically attacked back Bulgaria (would complexify alliances as likely common allies of germany or Austria)
c) I expect Russia not meddling there (odds are such that I wouldn't bet a cent on Bulgaria (but Loki had a different outcome); all Balkanic states are potential enemies; AUS and TUR normally not involved) but AUS potentially willing to save Bulgaria (countering Serb Rumanian irredentism too), so I just count divisions, when it is over it is over.

Loki, I thought/think unlikely event Bulgaria would win (so no interference of Russia I guess, as Russia is more likely to be allied with Serbia and Rumania), without Austria (and against Turks) I can write a "Bulgarian Triumph" outcome, giving Bulgaria Makedonia, Salonika and Dobrudja (just have Bulgarian forces superior to Serb+Montenegrine+Rumanian+Greek),
I won't count Austrian then, as if territorial changes occur due tio Austrian army, my bet is that Russian will jump in, and we're back to Austro/Russian war, or perhaps even great war

but if you already did, please feel free to post here (I'll make suggestions if see fit)

cheers and happy new year to all

[ATTACH]26103[/ATTACH]
Attachments
Balkan_Wars_Boundaries.jpg
[color="#FF0000"]- (ordnance) Your Lordship, sorry to awake you, but The french are at our door !

- Alarm, alarm, how did you let this happen and not awake me ! repel them, counterattack at once !

- err, your Lordship, ahem... French are our allies, Marshal de St Arnaud is expected to attend to a conference with you !

- ahem, well, .... very well ..let them in !

(charge of the light brigade movie)
[/color]

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Sun Jan 05, 2014 10:05 pm

Hi Christophe, here's a Bulgarian win version. I've kept very close to yours but simply flipped the NM and morale gains. I've removed the pro-German tilt in Bulgaria's relations. My view is that Bulgaria as a nation was incredibly pro-Russian and it took a Germanophile king working on nationalist/revanchist sentiments to get Bulgaria into the 'wrong' side of WW1.

As it stands yours won't end a second Balkan war that the Bulgarians are winning. I think the 1879 script gives them a very powerful army and that allows them to overwhelm the others that have to build up an army from very little - something to add to the to do list for the Balkans (script in some armed forces for Serbia et al on the eve of the First Balkan War?). Anyway:

SelectFaction = $CMN
SelectRegion = $Bulgaria
StartEvent = evt_nam_RUS_EndofSecondBalkanWar1913_bulgaria wins|1|2|NULL|NULL |$Bulgaria|NULL

Conditions
EvalEvent = evt_nam_RUS_SecondBalkanWar1913;=;1

SelectFaction = $SER
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

SelectFaction = $MON
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

SelectFaction = $GRE
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

SelectFaction = $RUM
EvalIsAtPeaceWith = AUS
EvalIsAtPeaceWith = TUR
EvalIsAtWarWith = BUL

MinDate = 1913/09/16
MaxDate = 1919/01/01
Probability = 15

SelectFaction = $BUL
RegInit = 1
SelectSubUnits = Theater $Balkans;FactionTags BUL;Domains $Land

SelectFaction = $AUS
RegInit = 2
SelectSubUnits = Theater $Balkans;FactionTags AUS;Domains $Land

SelectFaction = $SER
RegInit = 3
SelectSubUnits = Theater $Balkans;FactionTags RUS;Domains $Land

SelectFaction = $MON
RegInit = 4
SelectSubUnits = Theater $Balkans;FactionTags ROU;Domains $Land

SelectFaction = $ROU
RegInit = 5
SelectSubUnits = Theater $Balkans;FactionTags SER;Domains $Land

SelectFaction = $GRE
RegInit = 6
SelectSubUnits = Theater $Balkans;FactionTags MON;Domains $Land

RegInit = 7
RegSum = Registry 1 2
RegInit = 8
RegSum = Registry 3 4 5 6
RegEval = 8;<;7
RegDeactivate = NULL

Actions

SelectFaction = $BUL
SettleWhitePeace = ALL

SelectFaction = $BUL
ChangeFacMorale = 5
ChgVPCount = 50
ChgFacRelationships = ROU;-20
ChgFacRelationships = SER;-20
ChgFacRelationships = MON;-20
ChgFacRelationships = GRE;-20

SelectFaction = $GRE
ChangeFacMorale = -5
ChgVPCount = -50

SelectFaction = $ROU
ChangeFacMorale = -5
ChgVPCount = -50

SelectFaction = $SER
ChangeFacMorale = -5
ChgVPCount = -50

SelectFaction = $MON
ChangeFacMorale = -5
ChgVPCount = -50

EndEvent
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Sun Jan 05, 2014 11:34 pm

Just to add, have checked over the event files. Basically Bulgaria gets a decent size scripted army as part of the 1878/9 events but none of the others do. So as things stand Bulgaria is going to win any Second Balkan War easily. I'd suggest that the event chain for the First Balkan War be revised to give Serbia and Greece a decent (historic) army (again I am assuming an AI led countries). This improvement may also make even a human Ottoman player be prepared to settle for a status quo as in combination they will be quite formidable opponents.
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Mon Jan 06, 2014 9:01 pm

Few more bits having just run through the end of the Second Balkan War files.

Need to replace all references to ROU with RUM

For some reason the registry operation doesn't work, both return scores return as 0, so there is no effective evaluation. Would it be easier to find a date (say 3 months in) and do an evaluation based on who owns certain provinces?

Watch out as there are some sub-events in the Turkey file, this is relevant in terms of making sure everyone ends up at peace in the end - it may also be something to think about in terms of force evaluation?
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

User avatar
Christophe.Barot
Posts: 1138
Joined: Fri Jan 26, 2007 10:55 pm
Location: Paris (France)

Tue Jan 07, 2014 11:01 pm

yes, thanks, happened to me already, a common mistake from me, absent mindedness, ROUmanie in French, RUMania in English, my mistake, will correct this

for evaluation, did I wrote the test uncorrectly, I had copied it from events I tested in debug mode and scriptreports were normal - this should work

will test them again - there must have been a copy mistake, took them from missions
[color="#FF0000"]- (ordnance) Your Lordship, sorry to awake you, but The french are at our door !

- Alarm, alarm, how did you let this happen and not awake me ! repel them, counterattack at once !

- err, your Lordship, ahem... French are our allies, Marshal de St Arnaud is expected to attend to a conference with you !

- ahem, well, .... very well ..let them in !

(charge of the light brigade movie)
[/color]

User avatar
loki100
AGEod Guard of Honor
Posts: 2401
Joined: Sun Aug 14, 2011 4:15 pm
Location: Caithness
Contact: Website Twitter

Tue Jan 07, 2014 11:22 pm

aye, I know its so damn easy - I had an event that wouldn't fire and it took me a day to spot I'd written 'conditions' where I should have had 'actions'. Looking over these things vastly increases my (already very substantial) respect for the Phils and their professionalism in getting these games into a playable state
AJE The Hero, The Traitor and The Barbarian
PoN Manufacturing Italy; A clear bright sun
RoP The Mightiest Empires Fall
WIA Burning down the Houses; Wars in America; The Tea Wars

User avatar
Christophe.Barot
Posts: 1138
Joined: Fri Jan 26, 2007 10:55 pm
Location: Paris (France)

Wed Jan 08, 2014 1:49 am

they indeed are great ;)
[color="#FF0000"]- (ordnance) Your Lordship, sorry to awake you, but The french are at our door !

- Alarm, alarm, how did you let this happen and not awake me ! repel them, counterattack at once !

- err, your Lordship, ahem... French are our allies, Marshal de St Arnaud is expected to attend to a conference with you !

- ahem, well, .... very well ..let them in !

(charge of the light brigade movie)
[/color]

Return to “Help improve PON”

Who is online

Users browsing this forum: No registered users and 1 guest