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

   new ScriptObject(MissionInfo) {
         name = "Half Pipe Elite";
         goldTime = "25000";
         level = "13";
         type = "advanced";
         startHelpText = "Use the Super Speed PowerUps to grab the floating gems!";
         desc = "Grab the gems between the sections of half-pipe!";
         music = "Beach Party.ogg";
         artist = "Alex Swanson";
   };
   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";
      cloudHeightPer[1] = "0";
      cloudHeightPer[2] = "0";
      cloudSpeed1 = "0.0001";
      cloudSpeed2 = "0.0002";
      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 = "-1 -2.26114e+38 -2.27454e+38";
      fogVolume2 = "-1 -2.40798e+38 -2.42133e+38";
      fogVolume3 = "-1 -2.48815e+38 -2.5015e+38";
      materialList = "~/data/skies/sky_day.dml";
      windVelocity = "1 0 0";
      windEffectPrecipitation = "0";
      noRenderBans = "1";
      fogVolumeColor1 = "128.000000 128.000000 128.000000 -239463741642863750000000000000000000000.000000";
      fogVolumeColor2 = "128.000000 128.000000 128.000000 -248810038247503270000000000000000000000.000000";
      fogVolumeColor3 = "128.000000 128.000000 128.000000 -255503091439841100000000000000000000000.000000";
   };
   new Sun() {
      direction = "0.481726 0.481726 -0.732038";
      color = "1.400000 1.200000 0.400000 1.000000";
      ambient = "0.300000 0.300000 0.400000 1.000000";
   };
   new InteriorInstance() {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/advanced/half-pipe0.dif";
      showTerrainInside = "0";
   };
   new StaticShape(StartPoint) {
      position = "-29 17 5";
      rotation = "0 0 1 89.9544";
      scale = "1 1 1";
      dataBlock = "StartPad_MBG";
   };
   new InteriorInstance() {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/advanced/half-pipe2.dif";
      showTerrainInside = "0";
   };
   new Item() {
      position = "-12.5 16.75 -7.31303";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SuperSpeedItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-12.5 -2.45 -7.31965";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SuperSpeedItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-12.5 -15.5 -2.3152";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SuperSpeedItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-0.5 6 14.7";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GemItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-24.5 -15.5 22.6";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GemItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "12.0581 -21.7637 -2.25";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GemItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Trigger(Bounds) {
      position = "-38.9014 27.5 -11";
      rotation = "1 0 0 0";
      scale = "75.0031 56.969 86.9952";
      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 = "29.1197 -22.4254 18.62";
      rotation = "0 0 1 110.008";
      scale = "1 1 1";
      dataBlock = "SignFinish";
   };
   new InteriorInstance() {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/advanced/half-pipe1.dif";
      showTerrainInside = "0";
   };
   new StaticShape(EndPoint) {
      position = "29.442 -21.8127 9.99731";
      rotation = "0 0 1 89.3814";
      scale = "1 1 1";
      dataBlock = "EndPad_MBG";
   };
   new Item() {
      position = "-0.699322 -10.3462 15.752";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GemItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new Item() {
      position = "-24.3713 -0.34016 18";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GemItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };

   new SimGroup(check1) {

      new Trigger(checkpoint1) {
         position = "-29.8914 -3.67176 5.1";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "CheckpointTrigger";
         unusable = "1";
         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";
            gravity = "0";
            respawnPoint = "CheckPointShape1";
      };
      new StaticShape(CheckPointShape1) {
         position = "-29.3954 -4.12873 5.1";
         rotation = "0 0 1 90.5273";
         scale = "1 1 1";
         dataBlock = "Empty";
         realDataBlock = "Checkpoint_MBXP";
            hidden = "0";
      };
   };

   new SimGroup(PathNodeGroup) {

      new StaticShape(CameraPath1) {
         position = "-5.239489 29.79301 17.61709";
         rotation = "-0.1296647 -0.3622614 0.9230134 216.5646";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath2";
            useRotation = "1";
            timeToNext = "3000";
            usePosition = "1";
      };
      new StaticShape(CameraPath2) {
         position = "5.425094 26.77635 23.39705";
         rotation = "-0.2077947 -0.3686919 0.9060285 234.1011";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath3";
            useRotation = "1";
            timeToNext = "3100";
            usePosition = "1";
      };
      new StaticShape(CameraPath3) {
         position = "14.78469 18.08353 30.35897";
         rotation = "0.3588133 0.3775201 -0.8536577 101.8912";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath4";
            useRotation = "1";
            timeToNext = "3300";
            usePosition = "1";
      };
      new StaticShape(CameraPath4) {
         position = "20.50087 5.766583 38.92874";
         rotation = "0.4985084 0.3683109 -0.7847525 86.54682";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath5";
            useRotation = "1";
            timeToNext = "3300";
            usePosition = "1";
      };
      new StaticShape(CameraPath5) {
         position = "19.70373 -5.887511 46.67796";
         rotation = "0.759818 0.300906 -0.5763091 68.99157";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath6";
            useRotation = "1";
            timeToNext = "3400";
            usePosition = "1";
      };
      new StaticShape(CameraPath6) {
         position = "12.93931 -16.00324 56.01774";
         rotation = "0.9626024 0.1383656 -0.23292 63.35968";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath7";
            useRotation = "1";
            timeToNext = "3000";
            usePosition = "1";
      };
      new StaticShape(CameraPath7) {
         position = "5.076713 -19.36851 63.08213";
         rotation = "0.9948941 -0.05890941 0.08194751 71.70051";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath8";
            useRotation = "1";
            timeToNext = "3000";
            usePosition = "1";
      };
      new StaticShape(CameraPath8) {
         position = "-3.845032 -18.6558 71.41464";
         rotation = "0.9392717 -0.2384205 0.2468284 91.60371";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath9";
            useRotation = "1";
            timeToNext = "5000";
            usePosition = "1";
      };
      new StaticShape(CameraPath9) {
         position = "-3.845032 -18.6558 71.41464";
         rotation = "0.9392717 -0.2384205 0.2468285 91.60368";
         scale = "1 1 1";
         dataBlock = "PathNode";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath1";
            useRotation = "1";
            timeToNext = "0";
            usePosition = "1";
      };
   };
   new Item() {
      position = "-12.5506 -7.08988 -7.25442";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SuperSpeedItem";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new AudioProfile(MusicProfile) {
      fileName = "~/data/sound/music/Pianoforte (Guitar Remix).ogg";
      description = "AudioMusic";
      preload = "0";
   };
};
//--- OBJECT WRITE END ---
