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

   new ScriptObject(MissionInfo) {
         desc = "Fierce competition is heard from within the meltdown arena...can you handle the pressure?";
         ultimateScore1 = "130";
         name = "Meltdown";
         level = "10";
         radiusFromGem = "15";
         gameMode = "hunt";
         platinumScore1 = "75";
         platinumScore0 = "45";
         artist = "Aayrl";
         time = "180000";
         type = "Custom";
         maxGemsPerSpawn = "6";
         ultimateScore0 = "90";
         score0 = "20";
         startHelpText = "When in doubt, camp the blue.";
         game = "Custom";
         music = "The Race.ogg";
         score1 = "40";
         overviewHeight = "15";
         alarmStartTime = "25";
   };
   new MissionArea(MissionArea) {
      area = "-360 -648 720 1296";
      flightCeiling = "300";
      flightCeilingRange = "20";
         locked = "true";
   };
   new Sky(Sky) {
      position = "336 136 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      cloudHeightPer[0] = "0";
      cloudHeightPer[1] = "0";
      cloudHeightPer[2] = "0";
      cloudSpeed1 = "0.0001";
      cloudSpeed2 = "0.0002";
      cloudSpeed3 = "0.0003";
      visibleDistance = "1000";
      useSkyTextures = "1";
      renderBottomTexture = "1";
      SkySolidColor = "0.600000 0.600000 0.600000 1.000000";
      fogDistance = "300";
      fogColor = "0.600000 0.600000 0.600000 1.000000";
      fogVolume1 = "-1 7.45949e-31 1.3684e-38";
      fogVolume2 = "-1 1.07208e-14 8.756e-14";
      fogVolume3 = "-1 5.1012e-10 2.05098e-08";
      materialList = "~/data/skies/Cloudy/cloudy.dml";
      windVelocity = "1 0 0";
      windEffectPrecipitation = "0";
      noRenderBans = "1";
      fogVolumeColor1 = "128.000000 128.000000 128.000000 0.000000";
      fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000004";
      fogVolumeColor3 = "128.000000 128.000000 128.000000 14435505.000000";
   };
   new Sun(Sun) {
      direction = "0.638261 0.459006 -0.61801";
      color = "1.400000 1.200000 0.400000 1.000000";
      ambient = "0.300000 0.300000 0.400000 1.000000";
   };
   new StaticShape(SkySphere) {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1000 1000 1000";
      dataBlock = "Dusk";
   };
   new Trigger(Bounds) {
      position = "-51 51 -3";
      rotation = "1 0 0 0";
      scale = "102 102 1000";
      dataBlock = "InBoundsTrigger";
      polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
   };
   new SimGroup(interiors) {

      new InteriorInstance() {
         position = "0 0 0";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         interiorFile = "~/data/multiplayer/interiors/custom/meltdown.dif";
         showTerrainInside = "0";
      };
   };
   new SimGroup(SpawnTriggers) {

      new Trigger(BasicSpawnTrigger) {
         position = "25 0 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SpawnTrigger";
         polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
      };
      new Trigger(BasicSpawnTrigger) {
         position = "-25 0 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SpawnTrigger";
         polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
      };
      new Trigger(BasicSpawnTrigger) {
         position = "0 25 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SpawnTrigger";
         polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
      };
      new Trigger(BasicSpawnTrigger) {
         position = "0 -25 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SpawnTrigger";
         polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
      };
   };
   new SimGroup(gems) {

      new Item() {
         position = "-9 0 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-17 0 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "17 0 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "0 17 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "0 -17 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-40 -31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-31 -40 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "31 -40 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "31 -31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "31 31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "40 31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "31 40 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "40 -31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-40 -40 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-40 40 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "40 40 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "40 -40 6.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-31 -31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-24 -41 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-41 -24 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-41 24 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-24 41 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "24 41 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-9 9 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "0 9 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "0 0 10.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemBlue";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "9 9 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "9 0 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "9 -9 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "0 -9 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-9 -9 8.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemYellow";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "41 24 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "41 -24 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "24 -41 0.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-31 31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-31 40 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-40 31 4.5";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "GemItemRed";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
   };
   new SimGroup(Powerups) {

      new Item() {
         position = "0 -41 0.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "41 0 0.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-41 0 0.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "0 41 0.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-25 25 4.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "25 25 4.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "25 -25 4.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-25 -25 4.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "SuperSpeedItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-17 -33 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-33 -17 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "33 -17 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "33 17 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-33 17 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-17 33 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "17 33 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-42 -42 6.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "MegaMarbleItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "42 -42 6.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "MegaMarbleItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "42 42 6.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "MegaMarbleItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "-42 42 6.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "MegaMarbleItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
      new Item() {
         position = "17 -33 2.75";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "BlastItem";
         collideable = "0";
         static = "1";
         rotate = "1";
            respawns = "0";
      };
   };
   new SimGroup(PathNodeGroup) {

      new StaticShape(CameraPath1) {
         position = "-45.30898 33.83479 43.72983";
         rotation = "0.1969794 -0.3792142 0.9040994 129.688";
         scale = "1 1 1";
         dataBlock = "PathNode";
            useScale = "0";
            useRotation = "1";
            reverseRotation = "0";
            timeToNext = "7000";
            placed = "1";
            usePosition = "1";
            nextNode = "CameraPath2";
      };
      new StaticShape(CameraPath2) {
         position = "-45.87669 6.95447 32.19986";
         rotation = "0.2786461 -0.3268763 0.903055 104.8211";
         scale = "1 1 1";
         dataBlock = "PathNode";
            useScale = "0";
            useRotation = "1";
            reverseRotation = "0";
            timeToNext = "8000";
            Spline = "1";
            placed = "1";
            usePosition = "1";
            nextNode = "CameraPath3";
      };
      new StaticShape(CameraPath3) {
         position = "-29.35701 -25.71589 23.66235";
         rotation = "0.5567024 -0.2493936 0.7923921 58.96382";
         scale = "1 1 1";
         dataBlock = "PathNode";
            useScale = "0";
            useRotation = "1";
            reverseRotation = "0";
            timeToNext = "0";
            placed = "1";
            usePosition = "1";
            nextNode = "CameraPath4";
      };
      new StaticShape(CameraPath4) {
         position = "46.42519 24.66643 2.967877";
         rotation = "-0.02861425 -0.04570374 -0.9985451 115.9752";
         scale = "1 1 1";
         dataBlock = "PathNode";
            useScale = "0";
            useRotation = "1";
            reverseRotation = "0";
            timeToNext = "9000";
            placed = "1";
            usePosition = "1";
            nextNode = "CameraPath5";
      };
      new StaticShape(CameraPath5) {
         position = "32.91932 -22.23595 6.633934";
         rotation = "0.04635135 0.02182734 -0.9986867 50.49056";
         scale = "1 1 1";
         dataBlock = "PathNode";
            useScale = "0";
            useRotation = "1";
            reverseRotation = "0";
            timeToNext = "0";
            placed = "1";
            usePosition = "1";
            nextNode = "CameraPath1";
      };
   };
   new AudioProfile(MusicProfile) {
      fileName = "~/data/sound/music/Pianoforte (Guitar Remix).ogg";
      description = "AudioMusic";
      preload = "0";
   };
};
//--- OBJECT WRITE END ---

