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

   new ScriptObject(MissionInfo) {
         sortIndex = "1";
         size = "Easy";
         image = "fps/client/ui/orbz/courses/terrorTrail.jpg";
         descLines = "2";
         name = "Trail of Terror";
         desc0 = "A simple new mission template.";
         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 = "1000";
      useSkyTextures = "1";
      renderBottomTexture = "1";
      SkySolidColor = "0.000000 0.000000 0.000000 1.000000";
      fogDistance = "400";
      fogColor = "0.600000 0.600000 0.600000 1.000000";
      fogVolume1 = "100 0 215";
      fogVolume2 = "200 215 230";
      fogVolume3 = "400 230 250";
      materialList = "~/data/skies/sky_haunt.dml";
      windVelocity = "1 1 0";
      windEffectPrecipitation = "1";
      fogVolumeColor1 = "0.000000 0.000000 0.000000 -1.000000";
      fogVolumeColor2 = "128.000000 128.000000 128.000000 -1734829824.000000";
      fogVolumeColor3 = "128.000000 128.000000 128.000000 -1734829824.000000";
   };
   new Sun() {
      direction = "0.641145 0.547263 -0.537992";
      color = "0.600000 0.600000 0.600000 1.000000";
      ambient = "0.450000 0.450000 0.450000 1.000000";
         position = "0 0 0";
         locked = "true";
         rotation = "1 0 0 0";
         scale = "1 1 1";
   };
   new TerrainBlock(Terrain) {
      rotation = "1 0 0 0";
      scale = "1 1 1";
      detailTexture = "~/data/terrains/details/blank";
      terrainFile = "./w2_z2.ter";
      squareSize = "8";
         position = "-1024 -1024 0";
         locked = "true";
   };
   new SimGroup(startingPlatforms) {

      new InteriorInstance(ZonePad1) {
         position = "-93.7929 -504.384 225";
         rotation = "0 0 1 0.571981";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad2) {
         position = "35.0399 503.242 222.8";
         rotation = "0 0 1 188.113";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "1";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad9) {
         position = "-90 -500 215";
         rotation = "0 0 1 0.571981";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad10) {
         position = "29.4 500 215";
         rotation = "0 0 1 188.113";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad3) {
         position = "40.2924 -444.551 215";
         rotation = "0 0 -1 2.86462";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad4) {
         position = "-120.285 422.521 215";
         rotation = "0 0 1 163.865";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad5) {
         position = "-97.3996 -499.926 215.6";
         rotation = "0 0 1 0.571981";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad6) {
         position = "39.6959 498.532 215";
         rotation = "0 0 1 188.113";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad7) {
         position = "49.0814 -444.111 215.2";
         rotation = "0 0 -1 2.86462";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
      new InteriorInstance(ZonePad8) {
         position = "-129.315 419.909 215";
         rotation = "0 0 1 163.865";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/sg_startpad1.dif";
         showTerrainInside = "0";
         bounceFriction = "0";
         bounceElasticity = "0";
         rollingFriction = "0";
            used = "0";
            startingPlatform = "1";
      };
   };
   new SimGroup(powerups) {

      new CourseTarget() {
         position = "-27.4688 -32.4955 221.337";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "5";
            powerup0 = "FreezeFramePowerup";
            powerup1 = "MoneyBallPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "TeleporterPowerup";
            powerup4 = "GooberPowerup";
            chance0 = "1";
            chance1 = "4";
            chance2 = "2";
            chance3 = "1";
            chance4 = "1";
      };
      new CourseTarget() {
         position = "25.2481 1.77179 220.903";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "5";
            powerup0 = "FreezeFramePowerup";
            powerup1 = "MoneyBallPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "TeleporterPowerup";
            powerup4 = "GooberPowerup";
            chance0 = "1";
            chance1 = "4";
            chance2 = "2";
            chance3 = "1";
            chance4 = "1";
      };
      new CourseTarget() {
         position = "3.31982 -283.195 239.454";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "6";
            powerup0 = "FreezeFramePowerup";
            powerup1 = "MoneyBallPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "TeleporterPowerup";
            powerup4 = "GooberPowerup";
            powerup5 = "SuperShotPowerup";
            chance0 = "1";
            chance1 = "3";
            chance2 = "3";
            chance3 = "1";
            chance4 = "1";
            chance5 = "3";
      };
      new CourseTarget() {
         position = "-35.8623 267.898 247.082";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "PowerupTarget";
         magnetForce = "0";
            nbrPowerups = "6";
            powerup0 = "FreezeFramePowerup";
            powerup1 = "MoneyBallPowerup";
            powerup2 = "StickyBallPowerup";
            powerup3 = "TeleporterPowerup";
            powerup4 = "GooberPowerup";
            powerup5 = "SuperShotPowerup";
            chance0 = "1";
            chance1 = "3";
            chance2 = "3";
            chance3 = "1";
            chance4 = "1";
            chance5 = "3";
      };
   };
   new SimGroup(teleportals) {

      new CourseTarget(teleportal1) {
         position = "-12.5858 -487.589 243.685";
         rotation = "0.993778 0.0248494 -0.108572 25.9391";
         scale = "1 1 1";
         dataBlock = "TeleportalTarget";
         magnetForce = "0";
            link = "teleportal2";
      };
      new CourseTarget(teleportal2) {
         position = "-53.5778 486.094 243.634";
         rotation = "-0.00306936 -0.333486 0.94275 180.994";
         scale = "1 1 1";
         dataBlock = "TeleportalTarget";
         magnetForce = "0";
            link = "teleportal1";
      };
   };
   new SimGroup(accelerators) {

      new CourseTarget() {
         position = "147.745 323.509 240.935";
         rotation = "0.0168054 0.23783 0.971161 192.674";
         scale = "1 1 1";
         dataBlock = "AcceleratorTarget";
         magnetForce = "0";
            power = "150";
      };
      new CourseTarget() {
         position = "-180.893 -339.397 235.603";
         rotation = "-0.912124 0.10794 0.395448 32.1094";
         scale = "1 1 1";
         dataBlock = "AcceleratorTarget";
         magnetForce = "0";
            power = "150";
      };
   };
   new SimGroup(bonusTargets) {

      new CourseTarget() {
         position = "-110.445 -15.6953 324.6";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-0.35892 -15.6965 362.819";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-32.628 -16.1928 247.963";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "33.1829 -15.5165 247.821";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "85.6394 -41.9915 223.4";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-85.4451 5 222.257";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-18.2358 186.59 266.4";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "-48.2854 -185.485 269.254";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "0.127114 -15.1884 225.009";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
      new CourseTarget() {
         position = "72.1245 -16.2174 321.2";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BonusTarget";
         magnetForce = "0";
            targetPoints = "400";
      };
   };
   new SimGroup(targets) {

      new CourseTarget() {
         position = "11.3363 -111.846 230.459";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-265.372 222.95 227.658";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-188.606 237.773 228.793";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-70.4033 -286.892 232.105";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "59.2301 404.568 239.477";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "177.703 277.969 240.597";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-193.516 320.289 230.646";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "70.1011 -281.894 238.328";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-71.0896 219.716 237.206";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "0.272991 -14.5575 205.437";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "96.9081 187.495 232.084";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "11.0116 146.577 229.504";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "128.994 -234.652 237.458";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-106.606 291.23 239.25";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-158.869 161.031 239.692";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-6.84487 81.7553 234.986";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-5.72057 330.914 244.425";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-209.539 106.287 230.945";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "212.593 -217.019 240.732";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "114.422 -322.324 243.417";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "78.7583 103.854 225.794";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "140.123 -213.218 264.729";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "-98.9274 113.541 237.256";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetB1) {
         position = "150.799 -15.5488 243.142";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "81.8279 142.578 282.851";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "93.1012 328.559 271.648";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "-117.73 -351.972 246.676";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "-191.014 208.105 268.41";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "0.0759792 -14.647 240.059";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget() {
         position = "-147.475 -163.682 258.909";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget(courseTargetA1) {
         position = "-149.295 -15.2093 242.916";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetHigh";
         magnetForce = "0";
            targetPoints = "300";
      };
      new CourseTarget() {
         position = "16.392 -214.576 243.342";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-90.8836 -396.586 242.315";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-6.50823 -340.562 239.235";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-202.708 -298.057 234.91";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-78.333 -162.294 222.703";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "170.579 -125.208 232.541";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-139.576 -235.461 233.531";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "-156.605 -127.225 212.605";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget() {
         position = "81.8977 -137.704 232.747";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetA2) {
         position = "-53.5535 -16.0637 273.6";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetB2) {
         position = "54.2712 -15.9263 273.8";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetMid";
         magnetForce = "0";
            targetPoints = "200";
      };
      new CourseTarget(courseTargetA3) {
         position = "-54.2213 -15.9985 250.436";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
      new CourseTarget(courseTargetB3) {
         position = "54.5086 -15.8439 250.293";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "NormalTargetLow";
         magnetForce = "0";
            targetPoints = "100";
      };
   };
   new SimGroup(wayPoints) {
      new CourseTarget(wayPointA1) {
         position = "-117.085 -16.8789 237.337";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 3;
         link0 = "courseTargetA1";
         link0 = "courseTargetA3";
         link1 = "wayPointA2";
      };
      new CourseTarget(wayPointA2) {
         position = "-54.2883 -16.3059 268.337";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 1;
         link0 = "courseTargetA2";
      };
      
      new CourseTarget(wayPointB1) {
         position = "95.5965 -17.4069 238.894";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 3;
         link0 = "courseTargetB1";
         link0 = "courseTargetB3";
         link1 = "wayPointB2";
      };
      new CourseTarget(wayPointB2) {
         position = "53.8742 -17.3192 268.337";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "TargetWayPoint";
         magnetForce = "0";
         nbrLinks = 1;
         link0 = "courseTargetB2";
      };
   };
   new WaterBlock(Water) {
      position = "-1024 -1024 0";
      rotation = "1 0 0 0";
      scale = "2048 2048 100";
      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 = "30";
      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.6";
      MaxAlpha = "0.9";
      removeWetEdges = "0";
   };
   new InteriorInstance() {
      position = "-233.758 96.7307 216.037";
      rotation = "-0.0037404 0.0337277 -0.999424 77.3901";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree3.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-288.082 211.502 215.3";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree2.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-32.8448 -16.5134 221.563";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/haunt_gate1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "84.4951 201.698 213.42";
      rotation = "0 0 -1 80.2141";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "244.701 -221.209 213.888";
      rotation = "0.107497 -0.306852 0.945667 7.59843";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-26.7267 -361.007 213.1";
      rotation = "0.0291154 0.00499786 0.999564 19.4889";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "186.232 305.45 213.659";
      rotation = "-0.0449846 -0.00334416 0.998982 171.506";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "35.7514 -206.992 214.494";
      rotation = "0.0105541 -0.0276559 0.999562 200.093";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-212.8 -325.737 211.156";
      rotation = "0.1226 0.226258 0.966321 27.028";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-87.7715 -148.206 210.523";
      rotation = "-0.742931 0.668532 -0.0334545 7.70692";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-157.188 -234.205 209.226";
      rotation = "0.446036 0.750586 0.487517 12.6154";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-86.5373 198.967 215.783";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "174.303 -100.875 211.721";
      rotation = "0.00957456 0.0249962 0.999642 221.903";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-11.9654 349.433 212.565";
      rotation = "-0.057368 0.10891 -0.992395 49.5374";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree4.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "33.1008 -15.6329 221.621";
      rotation = "0 0 1 179.909";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/haunt_gate1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-212.913 333.13 214.279";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "36.1017 153.273 215.578";
      rotation = "0 0 -1 80.787";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "106.347 82.849 215.732";
      rotation = "0 1 0 2.8649";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree2.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "122.738 -351.114 214.544";
      rotation = "0.0249844 -0.0321921 -0.999169 75.6765";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree3.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-160.948 -90.5354 212.487";
      rotation = "-0.599934 0.799959 -0.0120003 2.86462";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/sg_htree2.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "-150 0 212";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/haunt_wall1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new InteriorInstance() {
      position = "150 -32 212";
      rotation = "0 0 1 180";
      scale = "1 1 1";
      interiorFile = "~/data/interiors/haunt_wall1.dif";
      showTerrainInside = "0";
      bounceFriction = "0";
      bounceElasticity = "0";
      rollingFriction = "0";
   };
   new AudioEmitter() {
      position = "-202.618 -10.3301 315.321";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/ghostchn.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 = "8000";
      maxLoopGap = "22000";
      type = "2";
   };
   new AudioEmitter() {
      position = "21.256 -261.71 287.321";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/wolfhowl.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 = "6000";
      maxLoopGap = "20000";
      type = "2";
   };
   new AudioEmitter() {
      position = "-115.2 377 309.921";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      fileName = "~/data/sound/environment/roar.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 = "10000";
      maxLoopGap = "24000";
      type = "2";
   };
};
//--- OBJECT WRITE END ---
