; Events file for Sobieski scenario ; ; @BEGINEVENTS @INITFLAG @DEBUG @IF ScenarioLoaded @THEN PlayWaveFile victoria_short.wav @ENDIF @IF NOSCHISM DEFENDER=anybody @THEN @ENDIF @IF NEGOTIATION talker=Crimean Tartars talkertype=HumanOrComputer listener=Turks listenertype=HumanOrComputer @THEN @ENDIF @IF NEGOTIATION talker=Turks talkertype=HumanOrComputer listener=Crimean Tartars listenertype=HumanOrComputer @THEN @ENDIF @IF TURN turn=1 @THEN JUSTONCE TEXT ^^ January of 1667. ^^ ^^ In the small village of Andrusovo, not far outside the city of Smolensk, ^^ Russian diplomat Afanasy Ordin-Naschokin and Polish ambassador Jerzy ^^ Chlebowicz sign a peace treaty, ceding to Russia Smolensk and Chzernigov, ^^ giving Moscow two years' control of Kiev, and establishing a codominium ^^ over the "Wild Lands" of the western Ukraine. ^^ ^^ With this treaty, the disasterous Deluge finally comes to an end. ENDTEXT @ENDIF @IF TURN turn=1 @THEN JUSTONCE TEXT ^^ But the Commonwealth's conflicts are far from over. ^^ ^^ Petro Doroshenko, Hetman of the Cossacks in the Right-Bank Ukraine, has made ^^ a bid for power by declaring the Cossack nation a vassal of the Ottoman Empire, ^^ thus declaring himself independant of both Moscow and Poland. ^^ ^^ Allied with him are the Crimean Tatars who, despite their khan's support for ^^ the Polish-Lithuanian republic, cannot resist the opportunity to plunder and loot ^^ the war-torn nation... ENDTEXT @ENDIF @IF TURN turn=1 @THEN JUSTONCE TEXT ^^ But Poland has an ace up her sleeve. ^^ ^^ For commanding much of Poland's army is a Field Hetman by the name of John Sobieski. ^^ A veteran of the Chmielnicki uprising, Lubomirski's rebellion and the Deluge, John ^^ is an experience commander who knows well his Tartar and Turkish foes, both by study ^^ and experience in the field. ^^ ^^ Are Poland's days of glory over, or can Sobieski renew the dual-nation Republic? ^^ Only time will tell... ENDTEXT @ENDIF ;Tartars (and Turks) & negotiation @IF Negotiatior talkermask= 0b00010000000000000000000000100010 listenermask=0b00000000000000000010000000000010 @THEN @ENDIF @IF Negotiatior talkermask= 0b00000000000000000010000000000010 listenermask=0b00010000000000000000000000100010 @THEN @ENDIF @IF ScenarioLoaded @THEN JUSTONCE Negotiator who=Crimean Tartars type=Talker state=Set @ENDIF @IF ScenarioLoaded @THEN JUSTONCE Negotiator who=Crimean Tartars type=Listener state=Set @ENDIF @IF CityTaken city=Chigirin attacker=Anybody defender=Crimean Tartars @THEN JUSTONCE Negotiator who=Crimean Tartars type=Listener state=Clear @ENDIF @IF CityTaken city=Chigirin attacker=Anybody defender=Crimean Tartars @THEN JUSTONCE Negotiator who=Crimean Tartars type=Talker state=Clear @ENDIF ;Ukranine events @IF TURN turn=18 @THEN JUSTONCE TEXT ^^ It is January of 1669. ^^ ^^ According to the Treaty of Androsovo in 1667, Moscow is allowed to hold on to the city ^^ of Kiev for a period two years. ^^ ^^ That time is up. ^^ ^^ The Muscovites are not evacuating... ENDTEXT MakeAggression who=Muscovites whom=Poles and Lithuanians @ENDIF @IF CITYTAKEN CITY=Kiev attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=4 @ENDIF @IF CITYTAKEN CITY=Kiev attacker=Poles and Lithuanians defender=Anybody @THEN JustOnce TEXT ^^ Polish forces enter Kiev, the heart of the Ukraine. ENDTEXT @ENDIF @IF CITYTAKEN CITY=Kiev attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=4 @ENDIF ; Scanian War Events @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce TEXT ^^Defeat of Sweden text. ENDTEXT @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 TEXT ^^Danish invasion text. ENDTEXT CREATEUNIT unit=Infantry [Dan] Count=21 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 CREATEUNIT unit=Curiassers [Dan] Count=14 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 CREATEUNIT unit=Dragoon [Dan] Count=7 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 CREATEUNIT unit=Dragoon [Dan] Count=7 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 CREATEUNIT unit=Cannon Count=3 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF ;Siege of Kamieniec @IF TURN Turn=61 @THEN MAKEAGGRESSION who=Turks whom=Poles and Lithuanians GIVETECHNOLOGY receiver=Turks technology=90 @ENDIF @IF TURN Turn=61 @THEN Negotiator who=Turks type=Listener state=Set @ENDIF @IF TURN Turn=61 @THEN Negotiator who=Turks type=Talker state=Set @ENDIF @IF TURN Turn=61 @THEN TEXT ^^Siege text. ENDTEXT @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Janissaries Count=12 owner=Turks veteran=yes homecity=None locations 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Sipahis Count=6 owner=Turks veteran=yes homecity=None locations 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Wallachian Inf. Count=12 owner=Turks veteran=yes homecity=None locations 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Wallachian Cavalry Count=6 owner=Turks veteran=yes homecity=None locations 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Ottoman Cannon Count=5 owner=Turks veteran=yes homecity=None locations 51,83 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Cannon Count=2 owner=Turks veteran=yes homecity=None locations 51,83 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Raiders [Tar] Count=10 owner=Turks veteran=yes homecity=None locations 47,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Cossacks Count=3 owner=Turks veteran=yes homecity=None locations 47,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Raiders [Tar] Count=10 owner=Turks veteran=yes homecity=None locations 55,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Cossacks Count=3 owner=Turks veteran=yes homecity=None locations 55,87 endlocations @ENDIF @IF TURNINTERVAL interval=1 @AND RecievedTechnology technology=90 receiver=Turks @THEN MAKEAGGRESSION who=Turks whom=Poles and Lithuanians @ENDIF @IF RecievedTechnology technology=90 receiver=Turks @AND TURNINTERVAL interval=1 @THEN MOVEUNIT unit=AnyUnit owner=Turks maprect 50,88,52,88,52,82,50,82 moveto 51,81 numbertomove=ALL @ENDIF @IF RecievedTechnology technology=90 receiver=Turks @AND TURNINTERVAL interval=1 @THEN MOVEUNIT unit=AnyUnit owner=Turks maprect 46,88,48,88,48,86,46,86 moveto 50,80 numbertomove=ALL @ENDIF @IF RecievedTechnology technology=90 receiver=Turks @AND TURNINTERVAL interval=1 @THEN MOVEUNIT unit=AnyUnit owner=Turks maprect 54,88,56,88,56,86,54,86 moveto 52,80 numbertomove=ALL @ENDIF @IF CityTaken City=Kamieniec attacker=Turks defender=Poles and Lithuanians @THEN JustOnce TEXT ^^Turks take Podolski. ENDTEXT TakeTechnology whom=Turks technology=90 @ENDIF @IF CityTaken City=Kamieniec attacker=Turks defender=Poles and Lithuanians @THEN JUSTONCE Negotiator who=Turks type=Listener state=Clear @ENDIF @IF CityTaken City=Kamieniec attacker=Turks defender=Poles and Lithuanians @THEN JUSTONCE Negotiator who=Turks type=Talker state=Clear @ENDIF @ENDEVENTS