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

   new ScriptObject(MissionInfo) {
         goldTime = "20000";
         artist = "Alex Swanson";
         music = "Beach Party.ogg";
         name = "Pitfalls";
         level = "21";
         startHelpText = "Practice your rolling skills by avoiding the gaps in the floor!";
         type = "Beginner";
         desc = "Be careful crossing these bridges.";
   };
   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 = "1000";
      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 -1.73483e+09 -1.73483e+09";
      fogVolume2 = "-1 -1.73483e+09 -1.73483e+09";
      fogVolume3 = "-1 -1.73483e+09 -1.73483e+09";
      materialList = "~/data/skies/sky_day.dml";
      windVelocity = "1 0 0";
      windEffectPrecipitation = "0";
      noRenderBans = "1";
      fogVolumeColor1 = "128.000000 128.000000 128.000000 -1734829824.000000";
      fogVolumeColor2 = "128.000000 128.000000 128.000000 -1734829824.000000";
      fogVolumeColor3 = "128.000000 128.000000 128.000000 -1734829824.000000";
   };
   new Sun() {
      direction = "0.280868 0.579493 -0.76505";
      color = "1.400000 1.200000 0.400000 1.000000";
      ambient = "0.400000 0.400000 0.400000 1.000000";
   };
   new InteriorInstance() {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors_mbg/beginner/pitfall.dif";
      showTerrainInside = "0";
   };
   new StaticShape(StartPoint) {
      position = "-10 -18 0";
      rotation = "0 0 1 180.091";
      scale = "1 1 1";
      dataBlock = "StartPad_MBG";
   };
   new StaticShape(EndPoint) {
      position = "14 -54.5 28";
      rotation = "0 0 1 180.091";
      scale = "1 1 1";
      dataBlock = "EndPad_MBG";
   };
   new Trigger(Bounds) {
      position = "-67 67 -4";
      rotation = "1 0 0 0";
      scale = "134 134 71.7759";
      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 = "7.58758 15.8187 29.2478";
      rotation = "-0.00541011 0.0199983 0.999785 149.731";
      scale = "1 1 1";
      dataBlock = "SignCautionCaution";
   };
   new StaticShape() {
      position = "14.431 -54.3611 36.2223";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SignFinish";
   };
   new StaticShape() {
      position = "7.79179 -24.2121 13.074";
      rotation = "0.0397809 0.466883 -0.883424 11.0182";
      scale = "1 1 1";
      dataBlock = "SignCautionCaution";
   };
   new SimGroup(PathNodeGroup) {

      new StaticShape(CameraPath1) {
         position = "0.9805287 -40.34054 18.09758";
         rotation = "0.4578837 -0.1257211 0.8800777 34.65417";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            reverseRotation = "0";
            useScale = "0";
            placed = "1";
            nextNode = "CameraPath2";
            useRotation = "1";
            timeToNext = "5000";
      };
      new StaticShape(CameraPath2) {
         position = "0.9805287 1.659458 18.09758";
         rotation = "0.4578837 -0.1257211 0.8800777 34.65417";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            reverseRotation = "0";
            useScale = "0";
            placed = "1";
            nextNode = "CameraPath3";
            useRotation = "1";
            timeToNext = "0";
      };
      new StaticShape(CameraPath3) {
         position = "2.320932 24.73303 43.46537";
         rotation = "0.1134612 -0.3603677 0.9258843 147.4958";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            reverseRotation = "0";
            useScale = "0";
            placed = "1";
            nextNode = "CameraPath4";
            useRotation = "1";
            timeToNext = "5000";
      };
      new StaticShape(CameraPath4) {
         position = "2.320932 -17.01697 43.46537";
         rotation = "0.1134612 -0.3603677 0.9258843 147.4958";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            reverseRotation = "0";
            useScale = "0";
            placed = "1";
            nextNode = "CameraPath1";
            useRotation = "1";
            timeToNext = "0";
      };
   };
   new AudioProfile(MusicProfile) {
      fileName = "~/data/sound/music/Pianoforte (Guitar Remix).ogg";
      description = "AudioMusic";
      preload = "0";
   };
};
//--- OBJECT WRITE END ---
