//This is my second Mission, hope you like it!
//Kevin van Rensburg, March 20, 2004.
//Please report any bugs to me on the Colobot forum - "Create Levels"

Title.E      text="Mars"
Resume.E     text="Kill everything and get the Key"
Instructions name="%user%\mhelp02.txt"
Satellite    name="%user%\minfo02.txt"
Loading      name="%user%\mload02.txt"
SoluceFile   name="%user%\msolu02.txt"
HelpFile     name="cbot.txt"
EndingFile   win=-1 lost=0

Audio         track=6
AmbiantColor  air=102;102;102;102 water=20;20;20;20  // grey
FogColor      air=0;0;0;0     water=67;80;100;0  // magenta
VehicleColor  color=158;120;82;0
DeepView      air=125.00 water=15.00
FogStart      air=0.8    water=0.1
SecondTexture rank=1
Background    image="back01.tga" up=0;0;0;0 down=0;0;0;0
FrontsizeName image="lens1.tga"
Planet        pos=0.0;0.7 dim=0.5 speed=0.002 dir=0.3 image="planet02.tga" uv1=0.0;0.0 uv2=0.5;0.5

TerrainGenerate     vision=250.00 depth=1 hard=0.3
TerrainWind         speed=0.0;-8.0
TerrainRelief       image="textures\relief05.bmp" factor=1.0
TerrainResource     image="textures\res16.bmp"
TerrainCloud        image="cloud03.tga" level=80.0
TerrainInitTextures image="mars" dx=1 dy=1 table=103
TerrainWater image="water16.tga" level=30.0 moveX=1.0 moveY=0.0
color=0;240;100;0 brightness=0.2

TerrainCreate

MaxFlyingHeight max=50.5

BeginObject
CreateObject pos=0:0 dir=0 type=SpaceShip run=11
CreateObject pos=1.5;-1.5 dir=1.5 type=Me
CreateObject pos=-2.0;2.5 dir=1.5 type=ApolloJeep
CreateObject pos=1.5;1.5 dir=1.5 type=KeyA

CreateObject pos= 8.75;-70.50 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7
CreateObject pos=10.00;-80.50 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7
CreateObject pos= 8.75;-90.25 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7
CreateObject pos=10.00;-100.25 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7
CreateObject pos= 8.75;-110.00 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7
CreateObject pos=10.00;-120.00 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7
CreateObject pos= 8.75;-130.75 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7
CreateObject pos=10.00;-150.75 dir=0.0 type=PowerCell proxyActivate=1 proxyDistance=7

CreateObject pos=-136.4;-59.3 dir=0.2 type=TitaniumOre proxyActivate=1 proxyDistance=7
CreateObject pos=-137.5;-69.7 dir=0.9 type=TitaniumOre proxyActivate=1 proxyDistance=7
CreateObject pos=-138.2;-79.2 dir=1.5 type=TitaniumOre proxyActivate=1 proxyDistance=7

//MapGen Stuff Begin
CreateObject pos=305;160 dir=1.0 type=WingedShooter proxyActivate=1 proxyDistance=20 camera=BACK
CreateObject pos=290;165 dir=1.0 type=TrackedGrabber proxyActivate=1 proxyDistance=20 camera=BACK
CreateObject pos=-302;-260 dir=0 type=Home
CreateObject pos=-302;-286 dir=0 type=Home
CreateObject pos=-304;-306 dir=0 type=Home
CreateObject pos=-262;-252 dir=0 type=Home
CreateObject pos=-264;-274 dir=0 type=Home
CreateObject pos=-205;240 dir=0 type=RepairCenter proxyActivate=1 proxyDistance=20
CreateObject pos=-200;238 dir=1.0 type=TrackedSniffer proxyActivate=1 proxyDistance=20 camera=BACK
CreateObject pos=290;150 dir=0 type=RuinBaseCamp proxyActivate=1 proxyDistance=20
CreateObject pos=280;140 dir=0 type=RuinBotFactory proxyActivate=1 proxyDistance=20
CreateObject pos=280;141 dir=1.0 type=Titanium
CreateObject pos=246;-142 dir=0 type=Mushroom2
CreateObject pos=210;-146 dir=0 type=Mushroom2
CreateObject pos=184;-150 dir=0 type=Mushroom2
CreateObject pos=174;-155 dir=0.5 type=Mushroom2
CreateObject pos=174;-160 dir=0 type=Mushroom2
CreateObject pos=194;-165 dir=0 type=Mushroom2
CreateObject pos=234;-160 dir=0 type=Mushroom2
CreateObject pos=268;-155 dir=0 type=Mushroom2
CreateObject pos=286;-150 dir=0 type=Mushroom2
CreateObject pos=236;-145 dir=0 type=Mushroom2
CreateObject pos=232;-330 dir=0 type=Quartz3
CreateObject pos=270;-336 dir=0 type=Quartz3
CreateObject pos=324;-316 dir=0 type=Quartz3
CreateObject pos=348;-278 dir=0 type=Quartz3
CreateObject pos=354;-234 dir=0 type=Quartz3
CreateObject pos=354;-188 dir=0 type=Quartz3
CreateObject pos=-264;-178 dir=0 type=Tree1
CreateObject pos=-314;-198 dir=0 type=Tree1
CreateObject pos=-198;-316 dir=0 type=Greenery3
CreateObject pos=-182;-252 dir=0 type=Greenery3
CreateObject pos=-338;-262 dir=0.5 type=Greenery3
CreateObject pos=-336;-296 dir=1 type=Greenery3
CreateObject pos=-330;-328 dir=0.25 type=Greenery3
CreateObject pos=-288;-328 dir=0 type=Greenery3
CreateObject pos=-238;-314 dir=0 type=Greenery3
CreateObject pos=-320;185 dir=1 type=AlienWorm script1="Worm02.txt" run=1
CreateObject pos=-310;190 dir=1 type=AlienWorm script1="Worm02.txt" run=1
CreateObject pos=-300;200 dir=1 type=AlienWorm script1="Worm02.txt" run=1
CreateObject pos=-290;190 dir=1 type=AlienWorm script1="Worm02.txt" run=1
CreateObject pos=-280;180 dir=1 type=AlienWorm script1="Worm02.txt" run=1
CreateObject pos=254;-104 dir=0 type=AlienAnt script1="ant03.txt" run=1
CreateObject pos=204;-110 dir=1 type=AlienAnt script1="ant03.txt" run=1
CreateObject pos=156;-102 dir=1 type=AlienAnt script1="ant03.txt" run=1
CreateObject pos=100;-98 dir=0 type=AlienAnt script1="ant03.txt" run=1
CreateObject pos=96;-136 dir=0 type=AlienAnt script1="ant03.txt" run=1
CreateObject pos=95;-168 dir=0 type=AlienAnt script1="ant03.txt" run=1
CreateObject pos=230;-316 dir=0 type=AlienEgg autoValue1=120 autoType=AlienAnt autoString="ant10.txt" run=1
CreateObject pos=236;-328 dir=0 type=AlienEgg autoValue1=520 autoType=AlienAnt autoString="ant10.txt" run=1
CreateObject pos=-310;148 dir=0 type=AlienEgg autoValue1=120 autoType=AlienWorm autoString="Worm02.txt" run=1
CreateObject pos=-325;178 dir=0 type=AlienEgg autoValue1=520 autoType=AlienWorm autoString="Worm02.txt" run=1
CreateObject pos=-304;-307 dir=0 type=AlienEgg autoValue1=120 autoType=AlienWorm autoString="Worm02.txt" run=1
CreateObject pos=-264;-274 dir=0 type=AlienEgg autoValue1=520 autoType=AlienWorm autoString="Worm02.txt" run=1
CreateObject pos=-315;180 dir=1.0 type=KeyB
CreateObject pos=-315;181 dir=0 type=TNT
CreateObject pos=-314;179 dir=1 type=TNT
CreateObject pos=-316;181 dir=0 type=TNT

//End of MapGen Stuff

CreateLight dir= 0.0;-1.0; 0.0 color= 0.63; 0.63; 0.63 type=Terrain
CreateLight dir= 1.0; 0.0;-1.0 color=-0.50;-0.50;-0.50 type=Terrain
CreateLight dir=-1.0; 0.0; 1.0 color= 2.00; 2.00; 2.00 type=Terrain
CreateLight dir=-1.0;-1.0; 1.0 color= 0.84; 0.84; 0.84 type=Object
CreateLight dir= 1.0;-1.0; 1.0 color= 0.48; 0.48; 0.48 type=Object
CreateLight dir=-1.0;-1.0;-1.0 color= 0.48; 0.48; 0.48 type=Object
CreateLight dir= 1.0;-1.0;-1.0 color= 0.24; 0.24; 0.24 type=Object

MapColor floor=165;142;107 water=154;235;255
MapZoom  factor=2

NewScript name="exchg1.txt" type=WheeledGrabber
NewScript name="exchg1.txt" type=TrackedGrabber
NewScript name="exchg1.txt" type=WingedGrabber

EnableBuild type=ResearchCenter
EnableBuild type=BotFactory
EnableBuild type=Converter
EnableBuild type=PowerStation
EnableBuild type=RadarStation
EnableBuild type=RepairCenter
EnableBuild type=DefenseTower
EnableBuild type=PowerPlant
EnableBuild type=Derrick
EnableBuild type=PowerCaptor
EnableBuild type=FlatGround
EnableBuild type=Flag

EnableResearch type=TRACKER
EnableResearch type=WINGER
EnableResearch type=THUMPER
EnableResearch type=SHOOTER
EnableResearch type=TOWER
EnableResearch type=SHIELDER
EnableResearch type=SNIFFER

DoneResearch type=TRACKER
DoneResearch type=WINGER
DoneResearch type=THUMPER
DoneResearch type=SHOOTER
DoneResearch type=TOWER
DoneResearch type=SNIFFER

EndMissionTake pos=0;0 dist=1000 type=Me lost=0
EndMissionTake pos=0;0 dist=130 type=KeyB min=1
EndMissionTake pos=0;0 dist=1000 type=AlienAnt min=0 max=0
EndMissionTake pos=0;0 dist=1000 type=AlienWorm min=0 max=0
EndMissionTake pos=0;0 dist=130 type=UraniumOre min=1

Camera eye=12.50;5.00;-100.00 lookat=12.50;1.00;-78.25 delay=0
