Code: Select all
SelectFaction = $CMN
SelectRegion = $Smyrna
StartEvent = Fixing Colonial Penetration in Turkey and Smyrna Relief (1867)|1|1|NULL|NULL|$Smyrna|NULL
Actions
SelectFaction = $GBR
SetColStatusArea = $Colony_Asia_Minor;$colUnclaimed
SelectFaction = $GER
SetColStatusArea = $Colony_Asia_Minor;$colUnclaimed
SelectFaction = $GBR
SetColStatusArea = $Colony_Cilicia;$colUnclaimed
EndEvent
Code: Select all
//[I] Header as always[/I]
SelectFaction = $TUR
SelectRegion = $Syria
StartEvent = evt_nam_syria|1|1|NULL|NULL|$Syria|NULL
//[I]Starting to do stuff[/I]
Actions
//[I]For Great Britain do: ...[/I]
SelectFaction = $GBR
//[I]... select the region with the alias $XY...[/I]
SelectRegion = $Mugla
//[I]...and set its colonial penetration to zero.[/I]
//[I]ChgColonialPen = -101 can be used also and someone had indeed posted such a solution...[/I]
//[I]...but for me the other way seemed more straightforward.[/I]
SetColonialPen = 0
//[I]Rinse and repeat[/I]
SelectRegion = $Burdur
SetColonialPen = 0
SelectRegion = $Ankara
SetColonialPen = 0
SelectRegion = $Kilikya
SetColonialPen = 0
SelectRegion = $Urfa
SetColonialPen = 0
SelectRegion = $Syria
SetColonialPen = 0
SelectRegion = $Rutbah
SetColonialPen = 0
//[I]Set the Colonial status of Damascus (and thus for entire Lebanon & Syria) to unclaimed[/I]
SetColStatus = 800;-1
//[I]For Russia do:...[/I]
SelectFaction = $RUS
SelectRegion = $Ankara
SetColonialPen = 0
//[I]For Prussia do:..[/I]
//[I]Repeated four times with both the alias of Prussia and Germany and...[/I]
//[I]... their respective UID because at first it didn't work. However now when I run it it does work. ...[/I]
// [I]... No clue why this happened.[/I]
//[I]Havent checked though which one of those actually triggers.[/I]
SelectFaction = $PRU
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = 177
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = 81
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = GER
SelectRegion = $Urfa
SetColonialPen = 0
//[I]For the Ottomans do:...[/I]
SelectFaction = $TUR
//[I]... set the CP of the following regions to their original values of 1850 [/I]
SelectRegion = $Aleppo
SetColonialPen = 75
SelectRegion = $Dayr
SetColonialPen = 75
SelectRegion = $Rutbah
SetColonialPen = 75
SelectRegion = $Hims
SetColonialPen = 75
SelectRegion = $Liban
SetColonialPen = 75
SelectRegion = $Palmyra
SetColonialPen = 75
//[I]Colonial status for all other regions in the area Ebanon & Syria is set to colony.[/I]
//[I]...here I didnt target the capital of the colonial area because it didn't work well with the above.[/I]
//[I]...in fact I did neither touch Latakia nor Damascus for the Ottomans at all. There were to many mix ups.[/I]
SetColStatus = 802;2
SetColStatus = 803;2
SetColStatus = 804;2
SetColStatus = 805;2
SetColStatus = 801;2
SetColStatus = 798;2
//[I]Select any Unit in Constantinople with any Turcish guard model in it...[/I]
SelectSubUnits = Region 232;Models 3341 332 3343 3344 3345 3346
//[I]... and lock the entire list for 0 rounds[/I]
//([I]Quite proud of this two-liner for I couldn't find such a solution anywhere and had to figure out myself[/I] :) [I])[/I]
AlterCuSubUnit = ApplyToList;SetParentGroupFixing 0
EndEvent
Kensai wrote:Never seen such a message in the past. There is a small unknown fleet in the Inner Sea. Probably pirates or something like that. Curious cause it is blocking without the possibility to target it. Will send the big fleet to see what's wrong...
Citizen X wrote:Hey Kensai,
thx for looking into the problem.
The script I posted works fine. Indeed I copied large parts of it from other posts, including another one of yours. I tested it several times and I think it can be run. I repost it here with some comments to your convinience and for the interested public (comments are behind "//").
Lindi wrote:I can't sorry. This area is blocked for me same if I am not war with Germany
PS. See, Sir Garnet? Smaller nations might not have fortress units, but the actions (which were designed for larger nations) are overpowered when played. The conscripts Greece got was a greater surge than you would get for Russia, proportionally.
Sir Garnet wrote:I think I'll offer a prize of some kind for a Latin American garrison forces script developed along the lines explained by Pocus, if that is OK with management.
bjfagan wrote:So, it looks like Egypt is still controlled by Lindi. I thought it was going AI. If I had known that I would have demanded a peace settlement when I occupied the entire country.
Code: Select all
// Header as always
SelectFaction = $CMN
SelectRegion = $Syria
StartEvent = Fixing Turkish colonial issues and unlocking of Guard unit (1877)|1|1|NULL|NULL|$Syria|NULL
//Starting to do stuff
Actions
//For Great Britain do: ...
SelectFaction = $GBR
//... select the region with the alias $XY...
SelectRegion = $Mugla
//...and set its colonial penetration to zero.
//ChgColonialPen = -101 can be used also and someone had indeed posted such a solution...
//...but for me the other way seemed more straightforward.
SetColonialPen = 0
//Rinse and repeat
SelectRegion = $Burdur
SetColonialPen = 0
SelectRegion = $Ankara
SetColonialPen = 0
SelectRegion = $Kilikya
SetColonialPen = 0
SelectRegion = $Urfa
SetColonialPen = 0
SelectRegion = $Syria
SetColonialPen = 0
SelectRegion = $Rutbah
SetColonialPen = 0
//Set the Colonial status of Damascus (and thus for entire Lebanon & Syria) to unclaimed
SetColStatus = 800;-1
//For Russia do:...
SelectFaction = $RUS
SelectRegion = $Ankara
SetColonialPen = 0
//For Prussia do:..
//Repeated four times with both the alias of Prussia and Germany and...
//... their respective UID because at first it didn't work. However now when I run it it does work. ...
// ... No clue why this happened.
//Havent checked though which one of those actually triggers.
SelectFaction = $PRU
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = 177
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = 81
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = GER
SelectRegion = $Urfa
SetColonialPen = 0
//For the Ottomans do:...
SelectFaction = $TUR
//... set the CP of the following regions to their original values of 1850
SelectRegion = $Aleppo
SetColonialPen = 75
SelectRegion = $Dayr
SetColonialPen = 75
SelectRegion = $Rutbah
SetColonialPen = 75
SelectRegion = $Hims
SetColonialPen = 75
SelectRegion = $Liban
SetColonialPen = 75
SelectRegion = $Palmyra
SetColonialPen = 75
//Colonial status for all other regions in the area Ebanon & Syria is set to colony.
//...here I didnt target the capital of the colonial area because it didn't work well with the above.
//...in fact I did neither touch Latakia nor Damascus for the Ottomans at all. There were to many mix ups.
SetColStatus = 802;2
SetColStatus = 803;2
SetColStatus = 804;2
SetColStatus = 805;2
SetColStatus = 801;2
SetColStatus = 798;2
//Select any Unit in Constantinople with any Turcish guard model in it...
SelectSubUnits = Region 232;Models 3341 332 3343 3344 3345 3346
//... and lock the entire list for 0 rounds
//(Quite proud of this two-liner for I couldn't find such a solution anywhere and had to figure out myself :) )
AlterCuSubUnit = ApplyToList;SetParentGroupFixing 0
EndEvent
Code: Select all
// Header as always
SelectFaction = $CMN
SelectRegion = $Syria
StartEvent = Fixing Turkish colonial issues and unlocking of Guard unit (1877)|1|1|NULL|NULL|$Syria|NULL
Actions
SelectFaction = $GBR
SelectRegion = $Mugla
SetColonialPen = 0
SelectRegion = $Burdur
SetColonialPen = 0
SelectRegion = $Ankara
SetColonialPen = 0
SelectRegion = $Kilikya
SetColonialPen = 0
SelectRegion = $Urfa
SetColonialPen = 0
SelectRegion = $Syria
SetColonialPen = 0
SelectRegion = $Rutbah
SetColonialPen = 0
SetColStatus = 800;-1
SelectFaction = $TUR
SelectRegion = $Syria
SetColonialPen = 0
SelectRegion = $Latakia
SetColonialPen = 0
SetColStatus = 800;-1
SelectFaction = $RUS
SelectRegion = $Ankara
SetColonialPen = 0
SelectFaction = $PRU
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = GER
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = $TUR
SelectRegion = $Aleppo
SetColonialPen = 75
SelectRegion = $Dayr
SetColonialPen = 75
SelectRegion = $Rutbah
SetColonialPen = 75
SelectRegion = $Hims
SetColonialPen = 75
SelectRegion = $Liban
SetColonialPen = 75
SelectRegion = $Palmyra
SetColonialPen = 75
SelectRegion = $Syria
SetColonialPen = 75
SelectRegion = $Latakia
SetColonialPen = 75
SetColStatus = 799;2
SetColStatus = 800;2
SetColStatus = 802;2
SetColStatus = 803;2
SetColStatus = 804;2
SetColStatus = 805;2
SetColStatus = 801;2
SetColStatus = 798;2
SelectSubUnits = Region 232;Models 3341 332 3343 3344 3345 3346
AlterCuSubUnit = ApplyToList;SetParentGroupFixing 0
EndEvent
Kensai wrote:Anyway, it was not so hard, so I did it myself. God, I would do miracles with scripting if the process times were a little bit shorter.oke:
Code: Select all
// Header as always
SelectFaction = $CMN
SelectRegion = $Syria
StartEvent = Fixing Turkish colonial issues and unlocking of Guard unit (1877)|1|1|NULL|NULL|$Syria|NULL
Actions
SelectFaction = $GBR
SelectRegion = $Mugla
SetColonialPen = 0
SelectRegion = $Burdur
SetColonialPen = 0
SelectRegion = $Ankara
SetColonialPen = 0
SelectRegion = $Kilikya
SetColonialPen = 0
SelectRegion = $Urfa
SetColonialPen = 0
SelectRegion = $Syria
SetColonialPen = 0
SelectRegion = $Rutbah
SetColonialPen = 0
SetColStatus = 800;-1
SelectFaction = $TUR
SelectRegion = $Syria
SetColonialPen = 0
SelectRegion = $Latakia
SetColonialPen = 0
SetColStatus = 800;-1
SelectFaction = $RUS
SelectRegion = $Ankara
SetColonialPen = 0
SelectFaction = $PRU
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = GER
SelectRegion = $Urfa
SetColonialPen = 0
SelectFaction = $TUR
SetColStatus = 800;2
SelectRegion = $Aleppo
SetColonialPen = 75
SelectRegion = $Dayr
SetColonialPen = 75
SelectRegion = $Rutbah
SetColonialPen = 75
SelectRegion = $Hims
SetColonialPen = 75
SelectRegion = $Liban
SetColonialPen = 75
SelectRegion = $Palmyra
SetColonialPen = 75
SelectRegion = $Latakia
SetColonialPen = 75
SelectRegion = $Syria
SetColonialPen = 85
SelectSubUnits = Region 232;Models 3341 332 3343 3344 3345 3346
AlterCuSubUnit = ApplyToList;SetParentGroupFixing 0
EndEvent
Lindi wrote:and I not accept that also =)
I said not peace for you and me in this place not with your proposition, the fight continue!
Return to “PBEM and multiplayer matchups (all games)”
Users browsing this forum: No registered users and 10 guests