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

   new ScriptObject(MissionInfo) {
         name = "Pillar Run";
         sortIndex = "12";
         image = "fps/client/ui/orbz/courses/pillarRun.jpg";
         desc0 = "A simple new mission template.";
         descLines = "2";
         size = "Expert";
         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.800000 1.000000 1.000000 1.000000";
      fogDistance = "800";
      fogColor = "0.800000 1.000000 1.000000 1.000000";
      fogVolume1 = "0 0 0";
      fogVolume2 = "0 0 0";
      fogVolume3 = "0 0 0";
      materialList = "~/data/skies/sky_day.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";
         locked = "true";
         scale = "1 1 1";
         position = "0 0 0";
         rotation = "1 0 0 0";
   };
   new TerrainBlock(Terrain) {
      rotation = "1 0 0 0";
      scale = "1 1 1";
      detailTexture = "~/data/terrains/details/blank";
      terrainFile = "./w1_z1.ter";
      squareSize = "8";
         locked = "true";
         position = "-1024 -1024 0";
   };
   new InteriorInstance() {
      position = "488.74 -349.006 323.58";
      rotation = "0 0 -1 55.577";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform3.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-377.241 247.808 416.379";
      rotation = "0 0 1 90.5273";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform3.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-371.818 324.575 326.292";
      rotation = "0 0 1 100.268";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform3.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "201.172 -133.521 405.396";
      rotation = "0 0 1 123.186";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform3.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new SimGroup(startingPlatforms) {

      new InteriorInstance(ZonePad1) {
         position = "-376.369 30.2444 231.558";
         rotation = "0 0 1 102.56";
         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 = "328.671 3.15502 234.158";
         rotation = "0 0 -1 33.2315";
         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 = "-390.447 27.44 241.558";
         rotation = "0 0 1 102.56";
         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 = "339.969 10.9383 244.158";
         rotation = "0 0 -1 81.36";
         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 = "342.005 355.831 240.758";
         rotation = "0 0 1 193.269";
         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 = "-375.145 -375.543 216.558";
         rotation = "0 0 1 46.9825";
         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 = "-383.488 32.4072 235.558";
         rotation = "0 0 1 102.56";
         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 = "336.613 3.23135 240.358";
         rotation = "0 0 -1 33.2315";
         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 = "345.923 361.79 245.958";
         rotation = "0 0 1 193.269";
         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 = "-380.37 -381.152 224.558";
         rotation = "0 0 1 46.9825";
         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 = "-83.8989 -33.3668 290.721";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "5";
            powerup0 = "DemagnetizerPowerup";
            powerup1 = "SuperShotPowerup";
            powerup2 = "MoneyBallPowerup";
            powerup3 = "StickyBallPowerup";
            powerup4 = "TeleporterPowerup";
            chance0 = "3";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
            chance4 = "1";
      };
      new CourseTarget() {
         position = "27.2452 -282.446 277.094";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "8";
            powerup0 = "DemagnetizerPowerup";
            powerup1 = "SuperShotPowerup";
            powerup2 = "MoneyBallPowerup";
            powerup3 = "StickyBallPowerup";
            powerup4 = "FloaterPowerup";
            powerup5 = "FreezeFramePowerup";
            powerup6 = "TeleporterPowerup";
            powerup7 = "GooberPowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
            chance4 = "1";
            chance5 = "1";
            chance6 = "1";
            chance7 = "1";
      };
      new CourseTarget() {
         position = "-197.988 252.045 288.034";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "6";
            powerup0 = "SuperShotPowerup";
            powerup1 = "MoneyBallPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "FreezeFramePowerup";
            powerup4 = "TeleporterPowerup";
            powerup5 = "GooberPowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
            chance4 = "1";
            chance5 = "1";
      };
      new CourseTarget() {
         position = "382.682 -113.332 240.336";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "6";
            powerup0 = "SuperShotPowerup";
            powerup1 = "MoneyBallPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "FreezeFramePowerup";
            powerup4 = "TeleporterPowerup";
            powerup5 = "GooberPowerup";
            chance0 = "1";
            chance1 = "1";
            chance2 = "1";
            chance3 = "1";
            chance4 = "1";
            chance5 = "1";
      };
   };
   new SimGroup(teleportals) {

      new CourseTarget(teleportal1) {
         position = "255.495 246.063 256.645";
         rotation = "0.0100382 0.125061 0.992098 184.567";
         scale = "1 1 1";
         dataBlock = "TeleportalTarget";
         magnetForce = "0";
            link = "teleportal2";
      };
      new CourseTarget(teleportal2) {
         position = "-228.414 -87.6309 302.223";
         rotation = "0 0 1 86.5166";
         scale = "1 1 1";
         dataBlock = "TeleportalTarget";
         magnetForce = "0";
            link = "teleportal1";
      };
   };
   new SimGroup(accelerators) {

      new CourseTarget() {
         position = "152.322 -84.3187 180.923";
         rotation = "-0.996258 -0.0558452 0.0659713 97.5972";
         scale = "1 1 1";
         dataBlock = "AcceleratorTarget";
         magnetForce = "0";
            power = "135";
         nbrLinks = 1;
         link0 = "courseTargetHighOrange";
      };
      new CourseTarget() {
         position = "-253.262 -153.351 263.537";
         rotation = "-0.159536 0.452566 0.877344 118.444";
         scale = "1 1 1";
         dataBlock = "AcceleratorTarget";
         magnetForce = "0";
            power = "157";
         nbrLinks = 1;
         link0 = "courseTarget20";
      };
   };
   new SimGroup(bonusTargets) {

      new CourseTarget() {
         position = "270.971 98.5419 294.92";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "204.526 -47.535 470.596";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-132.637 -23.8912 353.574";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "64.5778 -24.2086 321.992";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "24.5694 10.3563 321.992";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-345.135 400.088 329.371";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-179.613 -126.091 325.924";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-27.2353 -222.333 309.095";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "60.1925 266.632 281.45";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "538.046 -318.113 303.723";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "146.345 104.709 321.992";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "104.474 154.087 321.992";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "179.251 -340.092 309.095";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "326.167 -252.232 351";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
   };
   new SimGroup(Targets) {

      new CourseTarget() {
         position = "-341.056 -138.457 280.406";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "135.673 165.021 254.13";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "60.525 378.298 205.394";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "44.9087 198.738 178.399";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-41.6386 -47.0384 256.281";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "72.0003 121.702 282.077";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "218.326 -191.343 262.197";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-98.7027 -417.438 260.446";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-187.613 -332.211 255.328";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-50.5952 186.376 215.414";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "220.599 250.112 207.084";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-154.991 -239.817 278.504";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-125.211 -191.385 259.381";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "23.2991 -101.624 278.45";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "1.17515 62.7225 274.892";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "43.3854 -3.16806 307.386";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "-133.348 -24.2114 288.025";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTarget10) {
         position = "196.717 -129.092 393.346";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "-245.168 312.24 225.056";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-71.6381 -108.415 300.732";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "-71.8733 -107.963 274.417";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "163.077 15.9734 272.918";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "269.658 98.0923 236.048";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "154.425 -309.502 222.045";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-133.348 65.7886 233.625";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-87.602 -296.714 241.53";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-460.792 358.82 206.877";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTarget2) {
         position = "-378.118 247.714 426.019";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget(courseTarget0) {
         position = "-344.822 398.519 261.852";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTarget1) {
         position = "-372.837 324.359 335.532";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetHighOrange) {
         position = "135.427 -160.953 459.236";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "44.7424 -333.433 237.781";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "534.914 -364.689 243.18";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "-166.657 -79.0634 260.425";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "326.167 -252.232 228.76";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTarget20) {
         position = "489.361 -349.246 338.35";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "108.499 -233.481 232.622";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-169.763 183.362 268.43";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
   };
   new SimGroup(wayPoints) {
      new CourseTarget(wayPoint00) {
         position = "-280.022 371.719 211.852";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 2;
         link0 = "wayPoint0";
         link1 = "courseTarget0";
      };
      new CourseTarget(wayPoint0) {
         position = "-344.822 398.519 252.852";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 2;
         link0 = "wayPoint1";
         link1 = "courseTarget0";
      };
      new CourseTarget(wayPoint1) {
         position = "-372.837 324.359 335.532";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 2;
         link0 = "wayPoint2";
         link1 = "courseTarget1";
      };
      new CourseTarget(wayPoint2) {
         position = "-378.118 247.714 426.019";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 1;
         link0 = "courseTarget2";
      };
      //new CourseTarget(wayPoint10) {
      //   position = "196.717 -129.092 251";
      //   rotation = "1 0 0 0";
      //   scale = "1 1 1";
      //   dataBlock = "TargetWayPoint";
      //   magnetForce = "0";
      //   nbrLinks = 1;
      //   link0 = "courseTarget10";
      //};
      //new CourseTarget(wayPoint20) {
         //position = "489.361 -349.246 338.35";
         //rotation = "1 0 0 0";
         //scale = "1 1 1";
         //dataBlock = "TargetWayPoint";
         //magnetForce = "0";
         //nbrLinks = 1;
         //link0 = "courseTarget20";
      //};
   };
   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 0.750000 0.250000 1.000000";
      Brightness = "0.45";
      FlareSize = "2.5";
      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 InteriorInstance() {
      position = "-52.5348 -40.691 268.295";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new WaterBlock(Water) {
      position = "-1024 -1024 -100.2";
      rotation = "1 0 0 0";
      scale = "2048 2048 297";
      UseDepthMask = "1";
      surfaceTexture = "~/data/water/wash2";
      ShoreTexture = "~/data/water/wash";
      envMapOverTexture = "~/data/skies/day_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 = "0";
   };
   new InteriorInstance() {
      position = "-132.702 -23.9053 265.374";
      rotation = "0 0 1 57.2958";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar3.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "1";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-73.2915 18.4953 265.295";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "270.876 98.2594 235.937";
      rotation = "0 0 -1 79.0682";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar2.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "154.929 159.145 249.702";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "235.443 139.353 243.353";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "72.1106 121.105 261.078";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "46.0192 33.9511 270.303";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-10.7698 4.18027 268.825";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-103.926 20.7713 260.988";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-82.9519 -33.0529 266.188";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-1.41383 -58.467 265.345";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "99.8033 27.8001 269.341";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "118.572 92.6203 265.716";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "146.345 104.709 259.458";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "223.675 89.054 244.896";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "64.6284 -24.4308 268.592";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "24.8029 10.3878 269.435";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-30.3282 -48.9333 266.658";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-38.4644 9.47763 268.977";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "29.0864 -45.1857 266.75";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "86.3875 -0.365285 270.159";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "111.786 67.0287 268.671";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "193.825 95.2309 246.318";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "188.75 145.213 246.875";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "104.474 154.087 252.145";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "58.7569 90.8539 266.5";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "53.0849 62.1753 269.7";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_pillar1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new CourseTarget() {
      position = "42.6804 -1.79065 260.899";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "MagnetAttractTarget";
      magnetForce = "100";
   };
   new AudioEmitter() {
      position = "42.6804 -1.79065 260.899";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/magnet.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "60";
      maxDistance = "230";
      loopCount = "-1";
      minLoopGap = "0";
      maxLoopGap = "0";
      type = "2";
   };
   new InteriorInstance() {
      position = "-345.905 400.191 215.012";
      rotation = "0 0 -1 68.182";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/roman_platform1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new AudioEmitter() {
      position = "-392.944 149.09 335.921";
      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 = "10000";
      type = "2";
   };
   new AudioEmitter() {
      position = "57.6891 -461.13 343.521";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/birds02.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 = "10000";
      type = "2";
   };
   new AudioEmitter() {
      position = "464.744 72.09 302.721";
      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 = "10000";
      type = "2";
   };
   new AudioEmitter() {
      position = "402.185 -615.438 152.921";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/ocean.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "70";
      maxDistance = "700";
      coneInsideAngle = "360";
      coneOutsideAngle = "360";
      coneOutsideVolume = "1";
      coneVector = "0 0 1";
      loopCount = "-1";
      minLoopGap = "0";
      maxLoopGap = "0";
      type = "2";
   };
   new AudioEmitter() {
      position = "-308.584 714.691 158.321";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/ocean.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "70";
      maxDistance = "700";
      coneInsideAngle = "360";
      coneOutsideAngle = "360";
      coneOutsideVolume = "1";
      coneVector = "0 0 1";
      loopCount = "-1";
      minLoopGap = "0";
      maxLoopGap = "0";
      type = "2";
   };
   new AudioEmitter() {
      position = "-583.178 -331.445 158.521";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/ocean.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "70";
      maxDistance = "700";
      coneInsideAngle = "360";
      coneOutsideAngle = "360";
      coneOutsideVolume = "1";
      coneVector = "0 0 1";
      loopCount = "-1";
      minLoopGap = "0";
      maxLoopGap = "0";
      type = "2";
   };
   new AudioEmitter() {
      position = "620.344 149.09 126.721";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/ocean.ogg";
      useProfileDescription = "0";
      outsideAmbient = "1";
      volume = "1";
      isLooping = "1";
      is3D = "1";
      referenceDistance = "70";
      maxDistance = "700";
      coneInsideAngle = "360";
      coneOutsideAngle = "360";
      coneOutsideVolume = "1";
      coneVector = "0 0 1";
      loopCount = "-1";
      minLoopGap = "0";
      maxLoopGap = "0";
      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();
