//--- OBJECT WRITE BEGIN ---
new SimGroup(MissionGroup) {

   new ScriptObject(MissionInfo) {
         desc = "A very simple level to help you get used to rolling around. Follow the track around and roll on to the exit pad to finish the level.";
         name = "Learning to Roll";
         goldTime = "4750";
         artist = "Alex Swanson";
         type = "Beginner";
         music = "Classic Vibe.ogg";
         level = "1";
         startHelpText = "Press <func:bind moveforward> to roll the marble forward!";
   };
   new MissionArea(MissionArea) {
      area = "-360 -648 720 1296";
      flightCeiling = "300";
      flightCeilingRange = "20";
         locked = "true";
   };
   new Sky(Sky) {
      position = "336 136 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      cloudHeightPer[0] = "0.349971";
      cloudHeightPer[1] = "0.3";
      cloudHeightPer[2] = "0.199973";
      cloudSpeed1 = "0.0005";
      cloudSpeed2 = "0.001";
      cloudSpeed3 = "0.0003";
      visibleDistance = "500";
      useSkyTextures = "1";
      renderBottomTexture = "1";
      SkySolidColor = "0.900000 0.900000 0.900000 1.000000";
      fogDistance = "300";
      fogColor = "0.600000 0.600000 0.600000 1.000000";
      fogVolume1 = "0 0 0";
      fogVolume2 = "0 0 0";
      fogVolume3 = "0 0 0";
      materialList = "~/data/skies/sky_day.dml";
      windVelocity = "1 1 0";
      windEffectPrecipitation = "1";
      noRenderBans = "1";
      fogVolumeColor1 = "128.000000 128.000000 128.000000 -222768174765569860000000000000000000000.000000";
      fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
      fogVolumeColor3 = "128.000000 128.000000 128.000000 -170698929442160050000000000000000000000.000000";
         locked = "true";
   };
   new Sun() {
      direction = "0.544508 0.439467 -0.714409";
      color = "1.400000 1.200000 0.400000 1.000000";
      ambient = "0.300000 0.300000 0.400000 1.000000";
         scale = "1 1 1";
         locked = "true";
         position = "0 0 0";
         rotation = "1 0 0 0";
   };
   new SimGroup(CheckPoints) {

      new StaticShape(StartPoint) {
         position = "0.0682294 0.50582 499.353";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "StartPad_MBG";
      };
      new StaticShape(EndPoint) {
         position = "24.0431 8.5256 499.43";
         rotation = "0 0 1 179.518";
         scale = "1 1 1";
         dataBlock = "EndPad_MBG";
      };
   };
   new InteriorInstance() {
      position = "12.0128 12.1969 499.11";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/beginner/training1.dif";
      showTerrainInside = "0";
         locked = "true";
   };
   new StaticShape(EndSign) {
      position = "22.4672 8.43532 504.46";
      rotation = "0 0 1 160.519";
      scale = "1 1 1";
      dataBlock = "SignFinish";
   };
   new Trigger(Bounds) {
      position = "-13.4267 36.2154 473.302";
      rotation = "1 0 0 0";
      scale = "50 50 50";
      dataBlock = "InBoundsTrigger";
      polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
   };
   new StaticShape() {
      position = "27.8874 23.868 500.519";
      rotation = "-0.0993088 0.0943882 0.99057 87.6319";
      scale = "1 1 1";
      dataBlock = "SignPlainRight";
   };
   new StaticShape() {
      position = "-0.600503 28.231 500.524";
      rotation = "0 0 -1 8.02137";
      scale = "1 1 1";
      dataBlock = "SignPlainRight";
   };
   new Trigger() {
      position = "10.6099 29.1587 499.001";
      rotation = "1 0 0 0";
      scale = "1.80313 10.9996 1";
      dataBlock = "HelpTrigger";
      polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
         text = "Press <func:bind movebackward> to roll the marble backward!";
   };
   new Trigger() {
      position = "-4.67891 11.1502 499.001";
      rotation = "1 0 0 0";
      scale = "9.45734 1 1";
      dataBlock = "HelpTrigger";
      polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
         text = "Press <func:bind moveleft> to roll the marble to the left!";
   };
   new Trigger() {
      position = "-4.56054 17.8698 498.774";
      rotation = "1 0 0 0";
      scale = "9.45734 1 1";
      dataBlock = "HelpTrigger";
      polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
         text = "Press <func:bind moveright> to roll the marble to the right!";
   };
   
   new SimGroup(Fence1) {

      new StaticShape() {
         position = "-2.42965 -4.00542 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3834";
            connected = "1";
      };
      new StaticShape() {
         position = "-4.21838 -2.17101 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3835";
            connected = "1";
      };
      new StaticShape() {
         position = "-4.18551 26.6738 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3836";
            connected = "1";
      };
      new StaticShape() {
         position = "-2.47514 28.4525 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3837";
            connected = "1";
      };
      new StaticShape() {
         position = "26.4833 28.4095 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3838";
            connected = "1";
      };
      new StaticShape() {
         position = "28.1799 26.6121 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3839";
            connected = "1";
      };
      new StaticShape() {
         position = "28.2882 5.79117 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3840";
            connected = "1";
      };
      new StaticShape() {
         position = "26.4311 3.93287 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3841";
            connected = "1";
      };
      new StaticShape() {
         position = "21.5823 3.99418 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3842";
            connected = "1";
      };
      new StaticShape() {
         position = "19.8151 5.8302 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3843";
            connected = "1";
      };
      new StaticShape() {
         position = "19.7324 17.7123 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3844";
            connected = "1";
      };
      new StaticShape() {
         position = "17.5716 19.9467 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3845";
            connected = "1";
      };
      new StaticShape() {
         position = "6.43209 19.9388 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3846";
            connected = "1";
      };
      new StaticShape() {
         position = "4.23125 17.7461 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3847";
            connected = "1";
      };
      new StaticShape() {
         position = "4.24218 -2.26398 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3848";
            connected = "1";
      };
      new StaticShape() {
         position = "2.44648 -4.06309 499.501";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3849";
            connected = "1";
      };
      new SimGroup(Fence1_rails) {

         new StaticShape() {
            position = "-2.42965 -4.00542 499.501";
            rotation = "0 0 1 225.722";
            scale = "0.868525 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "-4.21838 -2.17101 499.501";
            rotation = "-0 0 -1 89.9347";
            scale = "9.7779 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "-4.18551 26.6738 499.501";
            rotation = "-0 0 -1 46.1219";
            scale = "0.836481 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "-2.47514 28.4525 499.501";
            rotation = "0 0 1 0.0884693";
            scale = "9.81641 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "26.4833 28.4095 499.501";
            rotation = "0 0 1 46.6524";
            scale = "0.837851 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "28.1799 26.6121 499.501";
            rotation = "0 0 1 89.7019";
            scale = "7.05803 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "28.2882 5.79117 499.501";
            rotation = "0 0 1 134.981";
            scale = "0.89057 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "26.4311 3.93287 499.501";
            rotation = "0 0 1 180.724";
            scale = "1.64379 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "21.5823 3.99418 499.501";
            rotation = "0 0 1 226.094";
            scale = "0.863841 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "19.8151 5.8302 499.501";
            rotation = "0 0 -1 90.3988";
            scale = "4.02793 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "19.7324 17.7123 499.501";
            rotation = "0 0 1 225.959";
            scale = "1.05366 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "17.5716 19.9467 499.501";
            rotation = "0 0 1 179.959";
            scale = "3.7761 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "6.43209 19.9388 499.501";
            rotation = "0 0 1 135.106";
            scale = "1.05312 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "4.23125 17.7461 499.501";
            rotation = "0 0 1 89.9687";
            scale = "6.78308 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "4.24218 -2.26398 499.501";
            rotation = "0 0 1 134.946";
            scale = "0.861668 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "2.44648 -4.06309 499.501";
            rotation = "0 0 1 180.678";
            scale = "1.65304 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
      };
   };

   new SimGroup(PathNodeGroup) {

      new StaticShape(CameraPath1) {
         position = "-6.498437 -10.23403 506.665";
         rotation = "0.686082 -0.1710508 0.7071303 38.84261";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath2";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath2) {
         position = "-8.013361 0.8778318 503.2811";
         rotation = "0.3025536 -0.1284086 0.944443 48.39662";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath3";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath3) {
         position = "-6.5737 11.56317 501.564";
         rotation = "0.1195643 -0.0746975 0.9900125 64.50793";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath4";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath4) {
         position = "0.4256047 21.26702 500.6609";
         rotation = "0.03587176 -0.03788413 0.9986381 93.20373";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath5";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath5) {
         position = "10.32638 25.32322 500.1452";
         rotation = "0.03171686 -0.08016723 0.9962768 136.9752";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath6";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath6) {
         position = "21.39704 27.0273 501.0174";
         rotation = "-0.00777592 -0.156912 0.987582 185.6037";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath7";
            useRotation = "1";
            timeToNext = "3000";
      };
      new StaticShape(CameraPath7) {
         position = "31.20964 24.09254 503.182";
         rotation = "-0.03359652 -0.1173463 0.9925226 211.7262";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath8";
            useRotation = "1";
            timeToNext = "5000";
      };
      new StaticShape(CameraPath8) {
         position = "31.20964 24.09254 503.182";
         rotation = "-0.03359652 -0.1173463 0.9925226 211.7262";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath1";
            useRotation = "1";
            timeToNext = "0";
      };
   };
   new AudioProfile(MusicProfile) {
      fileName = "~/data/sound/music/Shell.ogg";
      description = "AudioMusic";
      preload = "0";
   };
};
//--- OBJECT WRITE END ---
