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

   new ScriptObject(MissionInfo) {
         desc = "Ride the platform between the towers.";
         name = "Platform Training";
         goldTime = "7000";
         artist = "Alex Swanson";
         type = "Beginner";
         music = "Groove Police.ogg";
         level = "5";
         startHelpText = "Ride the moving platform to reach the goal.";
   };
   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 -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.430715 0.505317 -0.747756";
      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/beginner/training_platform.dif";
      showTerrainInside = "0";
   };
   new StaticShape(StartPoint) {
      position = "34 -1.49333e-07 32";
      rotation = "0 0 -1 89.9544";
      scale = "1 1 1";
      dataBlock = "StartPad_MBG";
   };
   new StaticShape(EndPoint) {
      position = "-34 1.75394e-07 32";
      rotation = "0 0 -1 89.9544";
      scale = "1 1 1";
      dataBlock = "EndPad_MBG";
   };
   new SimGroup(MustChange_g) {

      new Path() {

         new Marker() {
            position = "-9 6.5 31.5";
            rotation = "1 0 0 0";
            scale = "1 1 1";
            seqNum = "0";
            msToNext = "4000";
            smoothingType = "Accelerate";
         };
         new Marker() {
            position = "22 6.5 31.5";
            rotation = "1 0 0 0";
            scale = "1 1 1";
            seqNum = "1";
            msToNext = "2000";
            smoothingType = "Accelerate";
         };
         new Marker() {
            position = "22 6.5 31.5";
            rotation = "1 0 0 0";
            scale = "1 1 1";
            seqNum = "2";
            msToNext = "6000";
            smoothingType = "Accelerate";
         };
         new Marker() {
            position = "-9 6.5 31.5";
            rotation = "1 0 0 0";
            scale = "1 1 1";
            seqNum = "3";
            msToNext = "2000";
            smoothingType = "Accelerate";
         };
         new Marker() {
            position = "-9 6.5 31.5";
            rotation = "1 0 0 0";
            scale = "1 1 1";
            seqNum = "4";
            msToNext = "0";
            smoothingType = "Accelerate";
         };
      };
      new PathedInterior(MustChange) {
         position = "0 0 0";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PathedDefault";
         interiorResource = "platinum/data/interiors_mbg/beginner/training_platform.dif";
         interiorIndex = "0";
         basePosition = "0 0 0";
         baseRotation = "1 0 0 0";
         baseScale = "1 1 1";
            initialTargetPosition = "-1";
      };
   };
   new Trigger(Bounds) {
      position = "-41 11 27.9105";
      rotation = "1 0 0 0";
      scale = "82 22 27.5192";
      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 = "-33.0539 0.927056 40.4222";
      rotation = "0 0 -1 108.862";
      scale = "1 1 1";
      dataBlock = "SignFinish";
   };
   
   new SimGroup(Fence1) {

      new StaticShape() {
         position = "22.2886 7.72334 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3806";
            connected = "1";
      };
      new StaticShape() {
         position = "37.7368 7.72184 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3807";
            connected = "1";
      };
      new StaticShape() {
         position = "37.6989 -7.61575 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3808";
            connected = "1";
      };
      new StaticShape() {
         position = "22.2552 -7.76821 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3809";
            connected = "1";
      };
      new SimGroup(Fence1_rails) {

         new StaticShape() {
            position = "22.2886 7.72334 32";
            rotation = "1 0 0 0";
            scale = "5.23668 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "37.7368 7.72184 32";
            rotation = "0 0 1 90.1416";
            scale = "5.19919 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "37.6989 -7.61575 32";
            rotation = "0 0 1 179.434";
            scale = "5.23542 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
      };
   };
   new SimGroup(Fence2) {

      new StaticShape() {
         position = "-22.3064 -7.68171 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3811";
            connected = "1";
      };
      new StaticShape() {
         position = "-37.6794 -7.62933 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3812";
            connected = "1";
      };
      new StaticShape() {
         position = "-37.6652 7.66605 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3813";
            connected = "1";
      };
      new StaticShape() {
         position = "-22.3573 7.71537 32";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         realDataBlock = "ForceFieldPost";
         dataBlock = "Empty";
            rail = "3814";
            connected = "1";
      };
      new SimGroup(Fence2_rails) {

         new StaticShape() {
            position = "-22.3064 -7.68171 32";
            rotation = "0 0 1 180.195";
            scale = "5.21122 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "-37.6794 -7.62933 32";
            rotation = "-0 0 -1 89.9468";
            scale = "5.18488 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
         new StaticShape() {
            position = "-37.6652 7.66605 32";
            rotation = "-0 0 -1 0.185575";
            scale = "5.18915 1 1";
            realDataBlock = "ForceFieldBumper";
            dataBlock = "Empty";
         };
      };
   };

   new SimGroup(PathNodeGroup) {

      new StaticShape(CameraPath1) {
         position = "-15.27045 -18.12552 37.14952";
         rotation = "0.9999899 -0.0009120001 0.004406902 23.38462";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath2";
            useRotation = "1";
            timeToNext = "4000";
      };
      new StaticShape(CameraPath2) {
         position = "15.33949 -18.18136 37.14952";
         rotation = "0.9999899 -0.0009120001 0.004406902 23.38462";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath3";
            useRotation = "1";
            timeToNext = "2000";
      };
      new StaticShape(CameraPath3) {
         position = "15.33949 -18.18136 37.14952";
         rotation = "0.9999899 -0.0009120001 0.004406902 23.38462";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath4";
            useRotation = "1";
            timeToNext = "6000";
      };
      new StaticShape(CameraPath4) {
         position = "-15.27045 -18.12552 37.14952";
         rotation = "0.9999899 -0.0009120001 0.004406902 23.38462";
         scale = "1 1 1";
         dataBlock = "PathNode";
            usePosition = "1";
            placed = "1";
            reverseRotation = "0";
            useScale = "0";
            nextNode = "CameraPath1";
            useRotation = "1";
            timeToNext = "2000";
      };
   };
   new AudioProfile(MusicProfile) {
      fileName = "~/data/sound/music/Pianoforte (Guitar Remix).ogg";
      description = "AudioMusic";
      preload = "0";
   };
};
//--- OBJECT WRITE END ---
