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

   new ScriptObject(MissionInfo) {
         name = "Mystic Spring";
         desc0 = "A simple new mission template.";
         descLines = "2";
         sortIndex = "5";
         size = "Intermediate";
         image = "fps/client/ui/orbz/courses/mysticSprings.jpg";
         demo = "0";
   };
   new MissionArea(MissionArea) {
      area = "-544 -544 1040 1056";
      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 = "1200";
      useSkyTextures = "1";
      renderBottomTexture = "0";
      SkySolidColor = "0.000000 0.800000 0.900000 1.000000";
      fogDistance = "800";
      fogColor = "0.000000 0.800000 0.900000 1.000000";
      fogVolume1 = "0 0 0";
      fogVolume2 = "0 0 0";
      fogVolume3 = "0 0 0";
      materialList = "~/data/skies/sky_dayr.dml";
      windVelocity = "1 1 0";
      windEffectPrecipitation = "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";
         locked = "true";
   };
   new Sun() {
      direction = "0.610098 0.610098 -0.50553";
      color = "1.000000 1.000000 1.000000 1.000000";
      ambient = "0.400000 0.400000 0.400000 1.000000";
         scale = "1 1 1";
         position = "0 0 0";
         locked = "true";
         rotation = "1 0 0 0";
   };
   new TerrainBlock(Terrain) {
      rotation = "1 0 0 0";
      scale = "1 1 1";
      detailTexture = "~/data/terrains/details/blank";
      terrainFile = "./w1_z3.ter";
      squareSize = "8";
         position = "-1024 -1024 0";
         locked = "true";
   };
   new SimGroup(startingPlatforms) {

      new InteriorInstance(ZonePad1) {
         position = "-313.225 -256.268 281.158";
         rotation = "0 0 1 45.6546";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad2) {
         position = "-232.177 269.48 274.958";
         rotation = "0 0 1 149.542";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad9) {
         position = "-304.762 -272.023 291.158";
         rotation = "-0.0266143 -0.0539327 0.99819 38.8442";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad10) {
         position = "-250.789 263.334 284.958";
         rotation = "0 0 1 149.542";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad3) {
         position = "-286.956 -273.406 281.358";
         rotation = "0 0 1 41.8257";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad4) {
         position = "-258.098 249.48 274.558";
         rotation = "0 0 1 141.13";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "1";
      };
      new InteriorInstance(ZonePad5) {
         position = "-309.611 -264.856 286.158";
         rotation = "0 0 1 45.6546";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad6) {
         position = "-240.946 267.334 280.958";
         rotation = "0 0 1 149.542";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad7) {
         position = "-296.468 -273.303 286.358";
         rotation = "0 0 1 41.8257";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
      new InteriorInstance(ZonePad8) {
         position = "-256.792 254.289 280.558";
         rotation = "0 0 1 141.13";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            startingPlatform = "1";
            used = "0";
      };
   };
   new SimGroup(powerups) {

      new CourseTarget() {
         position = "-245.972 -2.41116 328.294";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "7";
            powerup0 = "MoneyBallPowerup";
            powerup1 = "TeleporterPowerup";
            powerup2 = "GooberPowerup";
            powerup3 = "SuperShotPowerup";
            powerup4 = "FloaterPowerup";
            powerup5 = "StickyBallPowerup";
            powerup6 = "FreezeFramePowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
            chance4 = "1";
            chance5 = "1";
            chance6 = "1";
      };
      new CourseTarget() {
         position = "-99.403 0.941122 273.234";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "7";
            powerup0 = "MoneyBallPowerup";
            powerup1 = "TeleporterPowerup";
            powerup2 = "GooberPowerup";
            powerup3 = "SuperShotPowerup";
            powerup4 = "FloaterPowerup";
            powerup5 = "StickyBallPowerup";
            powerup6 = "FreezeFramePowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
            chance4 = "1";
            chance5 = "1";
            chance6 = "1";
      };
      new CourseTarget() {
         position = "-173.772 -195.735 231.321";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "3";
            powerup0 = "MoneyBallPowerup";
            powerup1 = "FloaterPowerup";
            powerup2 = "StickyBallPowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
      };
      new CourseTarget() {
         position = "-157.319 148.546 216.736";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "3";
            powerup0 = "MoneyBallPowerup";
            powerup1 = "FloaterPowerup";
            powerup2 = "StickyBallPowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
      };
      new CourseTarget() {
         position = "30.1181 130.547 388.437";
         rotation = "0 0 1 44.1178";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "4";
            powerup0 = "MoneyBallPowerup";
            powerup1 = "SuperShotPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "FloaterPowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
      };
      new CourseTarget() {
         position = "32.847 -131.681 387.837";
         rotation = "0 0 -1 25.2102";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "4";
            powerup0 = "MoneyBallPowerup";
            powerup1 = "SuperShotPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "FloaterPowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
      };
   };
   new SimGroup(teleportals) {

      new CourseTarget(teleportal1) {
         position = "-220.982 -1.45974 280.264";
         rotation = "-0.174663 0.176278 0.96872 92.3475";
         scale = "1 1 1";
         dataBlock = "TeleportalTarget";
         magnetForce = "0";
            link = "teleportal2";
      };
      new CourseTarget(teleportal2) {
         position = "204.894 7.42367 382.668";
         rotation = "0.440108 -0.438356 0.783676 103.608";
         scale = "1 1 1";
         dataBlock = "TeleportalTarget";
         magnetForce = "0";
            link = "teleportal1";
      };
   };
   new SimGroup(accelerators) {

      new CourseTarget() {
         position = "-442.898 -0.417609 213.769";
         rotation = "-0.386518 0.37263 0.843653 98.93";
         scale = "1 1 1";
         dataBlock = "AcceleratorTarget";
         magnetForce = "0";
            power = "153";
      };
      new CourseTarget() {
         position = "-385.398 207.761 222.894";
         rotation = "-0.408485 0.243786 0.879607 123.984";
         scale = "1 1 1";
         dataBlock = "AcceleratorTarget";
         magnetForce = "0";
            power = "154";
      };
      new CourseTarget() {
         position = "-374.416 -201.498 225.57";
         rotation = "-0.349879 0.559693 0.751218 76.3683";
         scale = "1 1 1";
         dataBlock = "AcceleratorTarget";
         magnetForce = "0";
            power = "154";
      };
   };
   new SimGroup(bonusTargets) {

      new CourseTarget() {
         position = "-153.465 0.476701 244.6";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "30.679 132.302 432.737";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "31.7278 -131.96 433.337";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "125.85 6.90201 390.744";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-232.87 -1.38199 380.8";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "215.927 5.27702 335.6";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-50.173 -2.388 340.445";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-153.772 1.25864 350.8";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-492.931 -7.44045 204.628";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-357.621 -4.16815 265.186";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
   };
   new SimGroup(Targets) {

      new CourseTarget() {
         position = "53.6537 107.701 342.606";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-322.507 -140.002 201.136";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetC4) {
         position = "-277.726 -2.33155 371.394";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget(courseTargetD6) {
         position = "-124.045 30.7012 271.799";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "65.4498 -97.8552 343.681";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetC3) {
         position = "-245.597 -2.06567 342.877";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "202.517 -95.9504 342.797";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-197.364 -133.376 208.846";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetD1) {
         position = "-124.222 -28.1876 270.328";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-43.5771 272.025 266.614";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-468.349 60.2964 204.684";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetD3) {
         position = "-182.695 -28.4923 272.304";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-109.122 -256.708 256.381";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-140.356 76.8466 208.05";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-59.5566 -223.283 261.092";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-309.821 -4.16815 227.586";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "203.549 115.344 338.425";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetD4) {
         position = "-153.695 1.40549 278.346";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "-481.104 -74.4138 209.856";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetB1) {
         position = "98.3236 151.789 380.025";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetB3) {
         position = "9.24864 63.9022 380.025";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetA1) {
         position = "10.888 -64.9291 380.025";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetA2) {
         position = "100.001 -151.138 380.225";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetB2) {
         position = "30.9948 131.714 420.737";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetA3) {
         position = "32.2655 -131.724 420.537";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetD8) {
         position = "-195.923 0.42444 272.143";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-257.466 127.637 205.343";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-265.33 -137.305 211.343";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetD9) {
         position = "-154.125 1.67539 367.743";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "125.046 7.62066 368.132";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetD7) {
         position = "-183.441 30.5392 271.78";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-382.266 108.593 205.318";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-59.973 -288.799 274.648";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-136.622 -105.824 212.445";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-135.426 164.13 250.825";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-187.209 125.35 204.93";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-45.2377 215.398 268.677";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "125.546 8.35871 410.78";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget(courseTargetC1) {
         position = "-225.42 -52.8499 325.252";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetD5) {
         position = "-41.9666 -2.82918 353.036";
         rotation = "0 0 1 0.573347";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "-496.434 -2.9731 248.381";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetD2) {
         position = "-81.1173 -1.07105 296.78";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetC2) {
         position = "-226.211 48.2754 325.025";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-102.559 241.327 256.76";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-312.564 123.455 204.743";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-393.338 -111.359 206.822";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-108.317 -174.263 253.43";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
   };
   new SimGroup(wayPoints) {
      //new CourseTarget(wayPointA1) {
      //   position = "17.3282 -94.4945 376.037";
      //   rotation = "1 0 0 0";
      //   scale = "1 1 1";
      //   dataBlock = "TargetWayPoint";
      //   magnetForce = "0";
      //   nbrLinks = 3;
      //   link0 = "courseTargetA1";
      //   link1 = "courseTargetA2";
      //   link2 = "courseTargetA3";
      //};
      //new CourseTarget(wayPointA2) {
      //   position = "67.8539 -147.615 376.037";
      //   rotation = "1 0 0 0";
      //   scale = "1 1 1";
      //   dataBlock = "TargetWayPoint";
      //   magnetForce = "0";
      //   nbrLinks = 3;
      //   link0 = "courseTargetA1";
      //   link1 = "courseTargetA2";
      //   link2 = "courseTargetA3";
      //};
      
      new CourseTarget(wayPointB1) {
         position = "65.0843 149.249 373.437";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 3;
         link0 = "courseTargetB1";
         link1 = "courseTargetB2";
         link2 = "courseTargetB3";
      };
      new CourseTarget(wayPointB2) {
         position = "16.9843 104.919 373.437";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 3;
         link0 = "courseTargetB1";
         link1 = "courseTargetB2";
         link2 = "courseTargetB3";
      };
      
      new CourseTarget(wayPointC1) {
         position = "-233.569 -35.0833 319.494";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 4;
         link0 = "courseTargetC1";
         link1 = "courseTargetC2";
         link2 = "courseTargetC3";
         link3 = "courseTargetC4";
      };
      new CourseTarget(wayPointC2) {
         position = "-236.698 34.7739 319.894";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 4;
         link0 = "courseTargetC1";
         link1 = "courseTargetC2";
         link2 = "courseTargetC3";
         link3 = "courseTargetC4";
      };

      new CourseTarget(wayPointD1) {
         position = "-141.062 -44.4011 266.434";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 5;
         link0 = "courseTargetD1";
         link1 = "courseTargetD2";
         link2 = "courseTargetD3";
         link3 = "courseTargetD4";
         link4 = "wayPointC1";
      };
      new CourseTarget(wayPointD2) {
         position = "-108.445 -1.37829 266.434";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 4;
         link0 = "courseTargetD1";
         link1 = "courseTargetD5";
         link2 = "courseTargetD2";
         link3 = "courseTargetD6";
      };
      new CourseTarget(wayPointD3) {
         position = "-173.405 40.3228 265.834";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 7;
         link0 = "courseTargetD6";
         link1 = "courseTargetD4";
         link2 = "courseTargetD7";
         link3 = "courseTargetD8";
         link4 = "courseTargetD9";
         link5 = "courseTargetD3";
         link6 = "wayPointC1";
      };
   };
   new fxSunLight(fxSunLight1) {
      position = "-600 500 500";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      Enable = "1";
      SunAzimuth = "239";
      SunElevation = "39";
      FlareTP = "1";
      FlareBitmap = "common/lighting/corona";
      FlareColour = "1.000000 1.000000 0.000000 1.000000";
      Brightness = "0.2";
      FlareSize = "2";
      FadeTime = "0.1";
      BlendMode = "0";
      AnimColour = "0";
      AnimBrightness = "0";
      AnimRotation = "0";
      LinkFlareSize = "0";
      MinColour = "0.000000 0.000000 0.000000 1.000000";
      MaxColour = "1.000000 1.000000 1.000000 1.000000";
      MinBrightness = "0";
      MaxBrightness = "1";
      MinRotation = "0";
      MaxRotation = "359";
      SingleColourKeys = "1";
      RedKeys = "AZA";
      GreenKeys = "AZA";
      BlueKeys = "AZA";
      BrightnessKeys = "AZA";
      RotationKeys = "AZA";
      ColourTime = "5";
      BrightnessTime = "5";
      RotationTime = "5";
      LerpColour = "1";
      LerpBrightness = "1";
      LerpRotation = "1";
   };
   new WaterBlock(Water) {
      position = "-8 -120 228.6";
      rotation = "1 0 0 0";
      scale = "256 256 100";
      UseDepthMask = "1";
      surfaceTexture = "~/data/water/wash2";
      ShoreTexture = "~/data/water/wash";
      envMapOverTexture = "~/data/skies/dusk_0007";
      envMapUnderTexture = "~/data/water/water";
      liquidType = "RiverWater";
      density = "100";
      viscosity = "100";
      waveMagnitude = "2";
      surfaceOpacity = "0.9";
      envMapIntensity = "0.6";
      TessSurface = "50";
      TessShore = "70";
      SurfaceParallax = "0.75";
      FlowAngle = "0";
      FlowRate = "0.1";
      DistortGridScale = "0.1";
      DistortMag = "0.05";
      DistortTime = "2";
      ShoreDepth = "25";
      DepthGradient = "1";
      MinAlpha = "0.1";
      MaxAlpha = "0.9";
      removeWetEdges = "1";
   };
   new WaterBlock(Water) {
      position = "-528 -128 91";
      rotation = "1 0 0 0";
      scale = "512 256 100";
      UseDepthMask = "1";
      surfaceTexture = "~/data/water/wash2";
      ShoreTexture = "~/data/water/wash";
      envMapOverTexture = "~/data/skies/dusk_0007";
      envMapUnderTexture = "~/data/water/water";
      liquidType = "RiverWater";
      density = "100";
      viscosity = "100";
      waveMagnitude = "2";
      surfaceOpacity = "0.9";
      envMapIntensity = "0.6";
      TessSurface = "50";
      TessShore = "70";
      SurfaceParallax = "0.75";
      FlowAngle = "0";
      FlowRate = "0.1";
      DistortGridScale = "0.1";
      DistortMag = "0.05";
      DistortTime = "2";
      ShoreDepth = "25";
      DepthGradient = "1";
      MinAlpha = "0.1";
      MaxAlpha = "0.9";
      removeWetEdges = "1";
   };
   new ParticleEmitterNode() {
      position = "5.59096 13.8294 328.922";
      rotation = "0 1 0 71.0468";
      scale = "1 1 1";
      dataBlock = "Waterfall1EmitterNode";
      emitter = "Waterfall1Emitter";
      velocity = "1";
   };
   new ParticleEmitterNode() {
      position = "5.99333 -2.5706 333.236";
      rotation = "0 1 0 71.0468";
      scale = "1 1 1";
      dataBlock = "Waterfall1EmitterNode";
      emitter = "Waterfall1Emitter";
      velocity = "1";
   };
   new ParticleEmitterNode() {
      position = "6.05783 -17.5706 327.601";
      rotation = "0 1 0 71.0468";
      scale = "1 1 1";
      dataBlock = "Waterfall1EmitterNode";
      emitter = "Waterfall1Emitter";
      velocity = "1";
   };
   new ParticleEmitterNode() {
      position = "-61.0823 -19.9706 181.565";
      rotation = "0 1 0 2.29172";
      scale = "1 1 1";
      dataBlock = "Waterfall2EmitterNode";
      emitter = "Waterfall2Emitter";
      velocity = "1";
   };
   new ParticleEmitterNode() {
      position = "-59.6754 13.0294 181.221";
      rotation = "0 1 0 2.29172";
      scale = "1 1 1";
      dataBlock = "Waterfall2EmitterNode";
      emitter = "Waterfall2Emitter";
      velocity = "1";
   };
   new TSStatic() {
      position = "-13.8646 -3.88101 253.691";
      rotation = "1 0 0 0";
      scale = "0.286407 0.834501 1";
      shapeName = "~/data/shapes/objects/waterfall1.dts";
   };
   new InteriorInstance() {
      position = "-153.772 1.25864 266.2";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-234.114 -1.39289 321.737";
      rotation = "0 0 1 88.8085";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform2.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "40.0418 122.543 375.8";
      rotation = "0 0 1 134.736";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform2.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "41.1794 -123.2 375.8";
      rotation = "0 0 1 44.6906";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform2.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new AudioEmitter() {
      position = "-33.744 -0.7102 186.721";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/waterfall.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "50";
      maxDistance = "500";
      coneInsideAngle = "360";
      coneOutsideAngle = "360";
      coneOutsideVolume = "1";
      coneVector = "0 0 1";
      loopCount = "-1";
      minLoopGap = "0";
      maxLoopGap = "0";
      type = "2";
   };
   new AudioEmitter() {
      position = "237.456 -161.51 414.321";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/birds01.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "50";
      maxDistance = "500";
      coneInsideAngle = "360";
      coneOutsideAngle = "360";
      coneOutsideVolume = "1";
      coneVector = "0 0 1";
      loopCount = "-1";
      minLoopGap = "5000";
      maxLoopGap = "20000";
      type = "2";
   };
   new AudioEmitter() {
      position = "-221.544 354.49 341.121";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/birds01.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "50";
      maxDistance = "500";
      coneInsideAngle = "360";
      coneOutsideAngle = "360";
      coneOutsideVolume = "1";
      coneVector = "0 0 1";
      loopCount = "-1";
      minLoopGap = "5000";
      maxLoopGap = "20000";
      type = "2";
   };
};
//--- OBJECT WRITE END ---

//cleanPathMission();
//%obj1 = addPathDynamicObject( "Test", "fps/data/shapes/moving/goober.dts", "Path1" );
//%obj2 = addPathDynamicObject( "Test", "fps/data/shapes/moving/goober.dts", "Path2" );
//%obj3 = addPathDynamicObject( "Test", "fps/data/shapes/moving/goober.dts", "Path3" );
//attachPathTrigger(%obj2, "Trigger1");
//attachPathTrigger(%obj2, "Trigger3");
//attachChangePathTrigger( %obj1, "Trigger2", "Path2", 10 );
//attachAnimateTrigger( %obj1, "Trigger4", "run" );
//activateAllDyn(false);
