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

   new ScriptObject(MissionInfo) {
         name = $Text::LevelName_B_6;
         artist = "Alex Swanson";
         desc = $Text::LevelDesc_B_6;
         goldTime = "3250";
         silverTime = "6000";
         type = "Beginner";
         startHelpText = $Text::LevelStartHelp_B_6;
         level = "6";
   };
   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.600000 0.600000 0.600000 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 = $SkyBox::Beginner;
      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.481726 0.481726 -0.732038";
      color = $Sky::Color;
      ambient = $Sky::Ambient;
         position = "0 0 0";
         rotation = "1 0 0 0";
         locked = "true";
         scale = "1 1 1";
   };
   new SimGroup(CheckPoints) {

      new StaticShape(StartPoint) {
         position = "-19.9542 8.86378 493.831";
         rotation = "0 0 1 89.9544";
         scale = "1 1 1";
         dataBlock = "StartPad";
      };
      new StaticShape(EndPoint) {
         position = "47.7979 7.20358 493.321";
         rotation = "0 0 1 90.5273";
         scale = "1 1 1";
         dataBlock = "EndPad";
      };
   };
   new Trigger(Bounds) {
      position = "-28.5529 24.683 492.744";
      rotation = "1 0 0 0";
      scale = "113.62 30.2439 41.0434";
      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 InteriorInstance() {
      position = "-15.8735 8.78851 492.43";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/beginner/training_speed.dif";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "43.761 7.37446 491.793";
      rotation = "0 0 1 181.237";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/beginner/training_speed.dif";
      showTerrainInside = "0";
   };
   new Item() {
      position = "-8.40422 8.86049 494.105";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SuperSpeedItem";
      collideable = "0";
      static = "1";
      rotate = "1";
         showHelpOnPickup = "1";
   };

   new AudioProfile(MusicProfile) {
      fileName = "~/data/soundTest/marble_blast_4_1.ogg";
      description = "AudioMusic";
      preload = "0";
   };
   new SimGroup(Fence1) {

      new StaticShape() {
         position = "-8.3391 4.35833 493.93";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5338";
            connected = "1";
      };
      new StaticShape() {
         position = "-22.3475 4.49058 493.93";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5339";
            connected = "1";
      };
      new StaticShape() {
         position = "-24.2156 6.411 493.93";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5340";
            connected = "1";
      };
      new StaticShape() {
         position = "-24.2458 11.1605 493.93";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5341";
            connected = "1";
      };
      new StaticShape() {
         position = "-22.3956 13.1054 493.93";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5342";
            connected = "1";
      };
      new StaticShape() {
         position = "-8.42158 13.0015 493.93";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5343";
            connected = "1";
      };
      new SimGroup(Fence1_rails) {

         new StaticShape() {
            position = "-8.3391 4.35833 493.93";
            rotation = "0 0 1 180.541";
            scale = "4.74881 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "-22.3475 4.49058 493.93";
            rotation = "0 0 1 225.791";
            scale = "0.908183 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "-24.2156 6.411 493.93";
            rotation = "0 0 -1 90.3643";
            scale = "1.61003 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "-24.2458 11.1605 493.93";
            rotation = "-0 0 -1 46.4294";
            scale = "0.909959 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "-22.3956 13.1054 493.93";
            rotation = "0 0 1 0.426125";
            scale = "4.73708 1 1";
            dataBlock = "ForceFieldBumper";
         };
      };
   };
   new SimGroup(Fence2) {

      new StaticShape() {
         position = "36.5971 11.8923 493.293";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5345";
            connected = "1";
      };
      new StaticShape() {
         position = "50.3021 11.5228 493.293";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5346";
            connected = "1";
      };
      new StaticShape() {
         position = "52.2202 9.52513 493.293";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5347";
            connected = "1";
      };
      new StaticShape() {
         position = "52.1589 4.85951 493.293";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5348";
            connected = "1";
      };
      new StaticShape() {
         position = "50.1226 2.85649 493.293";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5349";
            connected = "1";
      };
      new StaticShape() {
         position = "36.4696 3.19982 493.293";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "ForceFieldPost";
            rail = "5350";
            connected = "1";
      };
      new SimGroup(Fence2_rails) {

         new StaticShape() {
            position = "36.5971 11.8923 493.293";
            rotation = "0 0 1 1.54456";
            scale = "4.64746 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "50.3021 11.5228 493.293";
            rotation = "0 0 1 46.1641";
            scale = "0.938793 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "52.2202 9.52513 493.293";
            rotation = "0 0 1 90.7527";
            scale = "1.5817 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "52.1589 4.85951 493.293";
            rotation = "0 0 1 135.472";
            scale = "0.968247 1 1";
            dataBlock = "ForceFieldBumper";
         };
         new StaticShape() {
            position = "50.1226 2.85649 493.293";
            rotation = "0 0 1 181.441";
            scale = "4.62959 1 1";
            dataBlock = "ForceFieldBumper";
         };
      };
   };
};
//--- OBJECT WRITE END ---
