[mission]
name = 0
mapwidth = 20
mapheight = 15
info = 3
skirmish = 1
campaign = 0
campaignname = -1
campaigninfo = -1
players = 2
tileset = default
unitset = default

[map-raw]
30,30,30,30,30,360,360,30,30,30,77,81,81,82,180,177,81,82,81,82
30,30,30,30,30,360,360,30,30,30,79,30,82,81,81,178,198,177,81,81
223,20,30,30,360,360,30,38,30,30,30,184,82,178,178,83,82,81,181,82
30,30,177,177,360,360,30,30,30,178,178,30,183,30,84,86,85,79,176,81
30,30,30,30,212,203,37,178,178,36,30,30,30,30,78,30,81,77,176,81
30,30,30,360,360,33,183,32,31,30,30,30,38,77,30,78,30,30,176,82
360,360,360,360,360,38,30,223,30,54,30,30,30,30,30,30,30,30,176,77
360,360,360,30,30,30,35,30,223,223,30,144,30,30,30,30,30,145,176,30
360,360,360,30,30,30,30,30,30,30,223,223,134,134,30,135,135,197,179,30
30,365,360,360,30,360,360,360,30,30,30,30,228,30,140,178,178,1,177,181
79,80,360,360,360,360,360,360,360,360,30,34,222,178,178,30,22,24,23,176
81,80,78,80,360,30,30,30,360,360,360,210,193,30,30,30,30,30,38,180
82,77,77,30,30,18,30,30,30,192,210,360,363,360,30,31,66,30,30,58
81,78,30,224,224,176,223,229,224,180,75,360,360,360,30,30,30,71,57,59
30,227,224,30,30,176,56,30,38,30,181,360,360,360,360,360,70,73,72,30

[player]
name = 1
briefing = 23
fcolor = 254,166,4
bcolor = 86,54,12

[player]
name = 2
briefing = 7
fcolor = 0,170,255
bcolor = 2,38,92

[unit]
type = Heavy Tanks
player = 2
id = 12
pos = 3/1
size = 2
xp = 3
face = 2

[unit]
type = Heavy Tanks
player = 2
id = 13
pos = 3/3
size = 2
xp = 3
face = 2

[unit]
type = Heavy Tanks
player = 2
id = 14
pos = 1/4
size = 2
xp = 3
face = 2

[unit]
type = Medium Tanks
player = 1
id = 0
pos = 5/12

[unit]
type = Medium Tanks
player = 1
id = 1
pos = 5/12

[unit]
type = Heavy Tanks
player = 1
id = 2
pos = 5/12

[unit]
type = Medium Tanks
player = 2
id = 5
pos = 17/9

[unit]
type = Medium Tanks
player = 2
id = 6
pos = 17/9

[unit]
type = Medium Tanks
player = 2
id = 7
pos = 17/9

[unit]
type = Infantry
player = 1
id = 3
pos = 5/12

[building]
name = 4
player = 1
id = 1
pos = 5/12
type = workshop
crystals = 25
capacity = 1000
minweight = 0
maxweight = 99

[building]
name = 5
player = 2
id = 2
pos = 17/9
type = workshop
type = factory
crystals = 10
capacity = 1000
minweight = 0
maxweight = 99

[building]
name = 6
player = 0
id = 0
pos = 1/2
mining = 5
crystals = 100
capacity = 1000
minweight = 0
maxweight = 99

[event]
id = 0
type = createunit
player = 2
trigger = timer
ttime = 6
unit = Heavy Tanks
pos = 17/9
face = 0

[event]
id = 1
type = createunit
player = 2
trigger = timer
ttime = 8
unit = Heavy Tanks
pos = 17/9
face = 0

[event]
id = 2
type = createunit
player = 2
trigger = timer
ttime = 10
unit = Infantry
pos = 17/9
face = 0

[event]
id = 3
type = createunit
player = 1
message = 11
trigger = unitposition
tunit = Infantry
towner = 1
tpos = 17/9
unit = Personnel Carriers
pos = 17/9
face = 0
size = 1

[event]
id = 4
type = research
player = 1
trigger = unitposition
tunit = Infantry
towner = 1
tpos = 17/9
building = 2
unit = Hovercraft

[event]
id = 5
type = mining
player = 1
trigger = unitposition
tunit = Infantry
towner = 1
tpos = 17/9
building = 1
crystals = 30
action = 0

[event]
id = 6
type = createunit
player = 1
trigger = unitposition
tunit = Infantry
towner = 1
tpos = 17/9
unit = Artillery
pos = 17/9
face = 0
xp = 3

[event]
id = 7
type = research
player = 1
trigger = havebuilding
tbuilding = 0
towner = 1
ttime = -1
building = 2
unit = Transport Planes

[event]
id = 8
type = score
player = 1
message = 17
trigger = unitposition
tunit = Transport Planes
towner = 1
tpos = 17/9
success = 100
othermsg = -1
othertitle = -1

[event]
id = 9
type = settimer
player = 1
discard = 10
message = 14
trigger = unitdestroyed
tunit = 12
towner = 2
event = 12
time = 2
offset = 1

[event]
id = 10
type = settimer
player = 1
discard = 11
message = 14
trigger = unitdestroyed
tunit = 13
towner = 2
event = 12
time = 2
offset = 1

[event]
id = 11
type = settimer
player = 1
discard = 9
message = 14
trigger = unitdestroyed
tunit = 14
towner = 2
event = 12
time = 2
offset = 1

[event]
id = 12
type = createunit
player = 2
flags = 1
trigger = timer
ttime = 0
unit = Infantry
pos = 19/4
face = 3

[event]
id = 13
type = settimer
player = 1
depend = 12
trigger = timer
ttime = 0
event = 14
time = 4
offset = 1

[event]
id = 14
type = createunit
player = 2
flags = 1
trigger = timer
ttime = 0
unit = Infantry
pos = 19/14
face = 0
xp = 2

[event]
id = 15
type = settimer
player = 2
depend = 14
trigger = timer
ttime = 0
event = 16
time = 6
offset = 1

[event]
id = 16
type = createunit
player = 2
flags = 1
trigger = timer
ttime = 0
unit = Infantry
pos = 14/0
face = 2
xp = 2

[event]
id = 17
type = message
player = 1
message = 9
trigger = timer
ttime = 2

[event]
id = 18
type = message
player = 1
depend = 2
message = 10
trigger = unitdestroyed
tunit = Infantry
towner = 2

[event]
id = 19
type = message
player = 1
message = 12
trigger = unitposition
tunit = Personnel Carriers
towner = 1
tpos = 5/12

[event]
id = 20
type = message
player = 1
message = 13
trigger = unitposition
tunit = Hovercraft
towner = 1
tpos = 17/9

[event]
id = 21
type = message
player = 1
message = 15
trigger = havebuilding
tbuilding = 0
towner = 1
ttime = -1

[event]
id = 22
type = message
player = 1
message = 8
trigger = timer
ttime = 0

[event]
id = 23
type = message
player = 1
depend = 14
message = 16
trigger = timer
ttime = 0

[event]
id = 24
type = score
player = 2
depend = 3
trigger = havebuilding
tbuilding = 2
towner = 2
ttime = -1
success = 100
othermsg = 18
othertitle = -1

[event]
id = 25
type = score
player = 2
trigger = havebuilding
tbuilding = 1
towner = 2
ttime = -1
success = 100
othermsg = 18
othertitle = -1

[event]
id = 26
type = score
player = 2
trigger = unitdestroyed
tunit = 3
towner = 1
success = 100
othermsg = 19
othertitle = -1

[event]
id = 27
type = score
player = 2
depend = 3
trigger = unitdestroyed
tunit = Personnel Carriers
towner = 1
success = 100
othermsg = 20
othertitle = -1

[event]
id = 28
type = score
player = 2
depend = 20
trigger = unitdestroyed
tunit = Hovercraft
towner = 1
success = 100
othermsg = 21
othertitle = -1

[event]
id = 29
type = manipulateevent
player = 1
trigger = unitposition
tunit = Hovercraft
towner = 1
tpos = 17/9
event = 30
eflags = 1
action = 0

[event]
id = 30
type = score
player = 2
depend = 3
trigger = havecrystals
tcrystals = -20
towner = 1
tbuilding = -2
success = 100
othermsg = 22
othertitle = -1

[event]
id = 31
type = configure
player = 1
depend = 18
trigger = timer
ttime = 0
setting = briefing1
value = 24

[event]
id = 32
type = configure
player = 1
depend = 3
trigger = timer
ttime = 0
setting = briefing1
value = 25

[event]
id = 33
type = configure
player = 1
depend = 19
trigger = timer
ttime = 0
setting = briefing1
value = 26

[event]
id = 34
type = configure
player = 1
depend = 20
trigger = timer
ttime = 0
setting = briefing1
value = 27

[event]
id = 35
type = configure
player = 1
depend = 9
trigger = timer
ttime = 0
setting = briefing1
value = 27

[event]
id = 36
type = configure
player = 1
depend = 21
trigger = timer
ttime = 0
setting = briefing1
value = 28

[messages(en)]
Tutorial #3:
%
Rookie
%
Simulator
%
The Art of War, Lesson 3:

by Andrej Krivulčík <krivulcik@gmail.com>
%
Depot
%
Factory
%
Crystal Mine
%
This is a tutorial mission designed for a single player.
%
Welcome, Commander!

This training mission will concern exploiting terrain features to your advantage and transporting both crystals and troops. You will also get a chance to use long-range artillery units to destroy enemy units.

You have control of some tanks and an infantry squad. Move your tanks out of your depot and position them at the near end of the bridge. This way you will be able to attack one approaching enemy unit with multiple units at a time.
%
By positioning your units in such manner you are advantageous in several ways. Not only that you are able to attack with more units on single enemy, but your attacking units help each other and generally perform better when they are grouped together.

Friendly units can help increase the combat strength of an attacking unit. This is called "Wedging". Each unit adjacent to the attacked unit slightly increases the attacker's strength. If this unit is unable to attack the defender, this bonus is reduced. If the wedging unit is in the back of the defending unit, the performance boost is doubled.

Defending units may likewise improve their position in combat. For each friendly unit adjacent to the attacker and the defender, the defending unit receives a performance bonus. Both these bonuses don't apply for long-range attacks.
%
Very well! Now you know that exploiting terrain can help you defeat enemies even if you are outnumbered. Controlling narrow passage with just few experienced units can hold off very large enemy attacks.

Now conquer enemy factory with your infantrymen.
%
Good work! In this factory you are able to build the hovercrafts needed to cross the river in the northwestern part of the map as the bridge was damaged to unusability in recent skirmishes. However, it is out of crystals. You will need to transport some crystals from your Depot. Personnel carriers are able to transport not only personnel but also crystals. Move your unit to the southwestern depot in order to transfer some crystals.

Notice that the mine to the northwest is guarded. Your enemy dispatched some heavy tanks to prevent you from conquering this mine. You will need to destroy these tanks. With artillery you can do so without risk.

Move your artillery near the river so that it will have enemy tanks in its firing range and destroy enemy tanks. The artillery is a "slow" unit not just in terms of movement points. It can't attack enemy if it has already moved in a turn so you will have to wait when it will get in position.
%
Now you can transport crystals to your factory. Load crystals in the transporting unit by just ordering it to move out of the depot. You will be able to load crystals in the displayed window.
%
Good. Now you can cross the river and seize the crystal mine. You can load troops when the transporting unit is leaving the shop or in the field by just moving into the transporter. When you want to exit the transporting unit, right-click the carrying unit and select "Content". You will be able to move the carried units out.

Cross the river and conquer the crystal mine after destroying enemy tanks!
%
Artillery and other long-range units are very valuable in combat because of their ability to attack enemy units at range. You should protect them well and never engage them in close-range combat. The artillery unit is unable to retaliate a close-range attack so you should always accompany your artillery with supporting units.

Warning! Your enemy is sending in guerilla soldiers to seize your factory. Don't let them take it and suppress any offense.
%
Great! You have seized a crystal mine. These mines are rare and very valuable because they provide unlimited amount of crystals (if you have enough time). You should always try to take control of mines as soon as possible in order to get more crystals. Most of the mines are not factories, however, so transporting crystals is often necessary.

In this case you need to build some transport planes in your factory which is again short of crystals. Move some crystals from the mine to the factory by your hovercraft.
%
Warning! Another guerilla soldiers have come from the south. Don't allow them or any other soldiers to threaten your plans in this area!
%
Mission accomplished!

Now you know how to transport units and crystals between bases and across obstacles such as rivers. You can also take advantage of the terrain and use artillery to destroy enemies at long-range. These two combat tactics combined can often win you a battle. Well done! Proceed to the next mission.
%
You have lost a base! This mission must be terminated.
%
You have lost your infantry. You won't be able to conquer any buildings now! We regret to inform you that we must abort this mission.
%
You have lost the personnel carrier. It is essential that you protect this unit. Mission aborted.
%
You have lost the hovercraft. You won't be able to cross the river now. Mission aborted.
%
You have spent too many crystals and you won't be able to produce hovercraft unit. Mission aborted.
%
Position your units near the bridge so that they can outnumber the approaching enemy units when attacking. Fend off enemy assault using this tactic.
%
Conquer enemy factory.
%
Move the APC back to your base.
Attack the guarding enemy tanks with your artillery.
%
Transport enough crystals to the factory and build a hovercraft.
%
Destroy enemy tanks guarding the mine and conquer it afterwards.
%
Transport enough crystals from the mine to your factory and build some transport planes.
[/messages]

[messages(sk)]
Sem a tam
%
Nováčik
%
Simulátor
%
Umenie vojny, Lekcia 3: Sem a tam

by Andrej Krivulčík <krivulcik@gmail.com>
%
Sklad
%
Továreň
%
Baňa na kryštály
%
Toto je výcviková misia určená pre jedného hráča.
%
Vitaj, veliteľ!

V tejto výcvikovej misii sa naučíš, ako využívať výhodný terén a ako prevážať kryštály a jednotky. Budeš mať aj možnosť využiť delostrelectvo na útok z diaľky.

Pod kontrolou máš niekoľko tankov a jednotku pešiakov. Tanky zo skladu presuň ku mostu tak, aby mohli pri boji prečísliť prichádzajúce nepriateľské jednotky.
%
Takýmto rozostavením jednotiek získaš niekoľko výhod. Okrem toho, že môžeš naraz zaútočiť viacerými jednotkami na jedného nepriateľa, jednotky sa navzájom podporujú, keď bojujú vedľa seba.

Jednotky zvyšujú účinnosť priateľských útočiacich jednotiek. Táto pomoc sa volá "wedging". Každá jednotka stojaca pri útočníkovi mierne zvyšuje jeho bojovú silu. Ak podporná jednotka nemôže napadnutú jednotku ohroziť, je tento bonus znížený. V prípade, že je jednotka na opačnej strane protivníka ako útočník (útočí zozadu), je tento bonus dvojnásobný.

Podobne sa môžu navzájom podporovať brániace sa jednotky. Každá priateľská jednotka susediaca s útočníkom aj brániacou sa jednotkou poskytuje napadnutej jednotke bojový bonus. Táto technika sa volá blokovanie.

Oba tieto bonusy sa uplatňujú len pri boji zblízka, na diaľku nie.
%
Výborne! Teraz vieš, ako môžeš využiť terén na porazenie nepriateľa v presile. Ak budeš ovládať úzke priechody, aj málo skúsenejších jednotiek dokáže odraziť nepriateľskú presilu.

Teraz pechotou obsaď nepriateľskú továreň.
%
Dobre! V tejto továrni sa dajú vybudovať vznášadlá, ktoré potrebuješ na prechod cez rieku na severozápade, pretože most sa po nedávnych potýčkach zrútil. Továreň však nemá zásoby kryštálov. Musíš ich priviezť zo skladu. Všetky transportné jednotky vrátane osobných transportérov môžu okrem bojových jednotiek prevážať aj kryštály. Presuň transportéry do skladu na juhozápade, aby si mohol priviezť kryštály do továrne.

Všimni si, že baňa na severozápade je strážená. Nepriateľ tam umiestnil niekoľko ťažkých tankov, aby si ju nemohol dobyť. Budeš ich musieť zničiť. Použitím jednotiek s dlhým dostrelom (ako je delostrelectvo) to môžeš spraviť bez ohrozenia.

Presuň delostrelectvo do blízkosti rieky, aby boli nepriateľské tanky na dostrel, a potom ich znič. Delostrelectvo je "pomalá" jednotka nielen tým, že má málo pohybových bodov. Jednotky sa môžu v priebehu jedného ťahu presunúť a zaútočiť na nepriateľa. Delostrelectvo však môže urobiť iba jednu z týchto akcií. Je preto veľmi dôležité tieto jednotky správne umiestňovať, aby zbytočne nepremeškali ťah.
%
Teraz môžeš previezť kryštály do továrne. Nariaď transportéru vyjsť zo skladu. Objaví sa okno, kde môžeš do transportéra naložiť kryštály a jednotky (ak v budove nejaké sú).
%
Dobre. Teraz môžeš prejsť cez rieku a obsadiť baňu na kryštály. Jednotky môžu nastúpiť do transportéra pri opúšťaní budovy, prípadne mimo budovy presunom "na" transportér. Jednotky sa dajú vyložiť z transportéra kliknutím pravým tlačidlom myši na transportér a zvolením položky "Obsah". Potom postupuj rovnako ako pri vychádzaní z budovy.

Po zničení nepriateľských tankov prekroč rieku a obsaď baňu na kryštály.
%
Delostrelectvo a ostatné jednotky s ďalekým dosahom sú kvôli schopnosti útočiť z diaľky bez ohrozenia odvetnou paľbou v boji veľmi hodnotné. Dobre ich chráň a nenasadzuj ich v boji zblízka. Delostrelectvo sa nedokáže brániť, keď je napadnuté zblízka. Preto ho vždy podporuj sprievodnými jednotkami.

Pozor! Nepriateľ posiela do oblasti partizánskych vojakov, ktorými chce obsadiť továreň. Nedovoľ im dobyť ju a odvráť tento útok!
%
Výborne! Obsadil si baňu na kryštály. Tieto bane sú vzácne a veľmi cenné, pretože sú zdrojom veľkého množstva kryštálov. Vždy sa snaž obsadiť bane čo najskôr, aby si získal čo najviac kryštálov. Väčšina baní však nie je vybavená na budovanie jednotiek, a preto je často potrebné kryštály prevážať.

V tejto misii potrebuješ v továrni vyrobiť transportné lietadlá, no v továrni zase nie je dostatok kryštálov. Pomocou vznášadiel tam presuň potrebné kryštály z bane.
%
Pozor! Z juhu prichádzajú ďalší partizáni. Nenechaj ich ohroziť svoje plány v oblasti!
%
Misia splnená!

Teraz dokážeš prevážať jednotky a kryštály medzi základňami a cez prekážky (ako napríklad rieky). Naučil si sa aj využívať výhodný terén a útočiť na diaľku delostrelectvom. Tieto taktiky spolu dokážu často zvrátiť boj v tvoj prospech. Výborne! Pokračuj ďalšou misiou.
%
Stratil si základňu! Túto simuláciu musíme zrušiť.
%
Stratil si pešiakov. Už nebudeš môcť obsadzovať budovy! Ľutujeme, ale túto misiu musíme zrušiť.
%
Stratil si obrnené transportéry. Túto jednotku musíš bezpodmienečne chrániť. Misia zrušená.
%
Prišiel si o vznášadlá. Už sa cez rieku nedostaneš. Misia zrušená.
%
Minul si príliš veľa kryštálov a nebudeš môcť vyrobiť vznášadlá. Misia zrušená.
%
Umiestni svoje jednotky pri moste tak, aby si nimi mohol pri útoku prečísliť blížiace sa nepriateľské jednotky. Odvráť útok.
%
Obsaď nepriateľskú továreň.
%
Presuň obrnené osobné transportéry späť do základne.

Delostrelectvom zaútoč na nepriateľské tanky strážiace baňu.
%
Presuň do továrne dostatok kryštálov na vybudovanie vznášadiel.
%
Znič nepriateľské tanky strážiace baňu, a potom ju obsaď.
%
Presuň z bane do továrne dostatok kryštálov na výrobu transportných lietadiel.
[/messages]

