⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ctf_trial.mis

📁 此为游戏源码 是很好 的学习工具阿
💻 MIS
字号:
//--- OBJECT WRITE BEGIN ---
new AudioProfile(Mission_Music) 
{ 
filename = "~/data/sound/music/1.wav"; 
description = "AudioDefaultLoop"; 
preload = false; 
}; 
new SimGroup(MissionGroup) {

   new ScriptObject(MissionInfo) {
         name = "DEMO MAP";
         desc1 = "Use Q W S A D Z to be control and mouse1 can attack ";
         gametype = "DEMO";
         Players = "5-10";
         author = "HanDi";
         bitmap = "game/data/missions/ctf_trial.jpg";
         desc2 = "Try it!";
         desc0 = "**Created by HanDi**";
   };
   new MissionArea(MissionArea) {
      Area = "-560 -576 1120 1152";
      flightCeiling = "300";
      flightCeilingRange = "20";
         locked = "true";
   };
   new Sky(Sky) {
      position = "-1088 -928 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      materialList = "~/data/skies/snowsky/sky_storm.dml";
      cloudHeightPer[0] = "0.349971";
      cloudHeightPer[1] = "0.25";
      cloudHeightPer[2] = "0.199973";
      cloudSpeed1 = "0.0002";
      cloudSpeed2 = "0.002";
      cloudSpeed3 = "0.0006";
      visibleDistance = "500";
      fogDistance = "200";
      fogColor = "0.820000 0.328000 0.084400 1.000000";
      fogStorm1 = "0";
      fogStorm2 = "0";
      fogStorm3 = "0";
      fogVolume1 = "0 0 0";
      fogVolume2 = "0 0 0";
      fogVolume3 = "0 0 0";
      fogVolumeColor1 = "228.000000 128.000000 128.000000 -222768174765569860000000000000000000000.000000";
      fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
      fogVolumeColor3 = "128.000000 128.000000 128.000000 -170698929442160050000000000000000000000.000000";
      windVelocity = "0.1 0.1 0";
      windEffectPrecipitation = "1";
      SkySolidColor = "0.984700 0.241000 0.078900 0.000000";
      useSkyTextures = "1";
      renderBottomTexture = "0";
      noRenderBans = "0";
         locked = "true";
   };
   new Sun() {
      azimuth = "0";
      elevation = "35";
      color = "1.000000 1.000000 1.000000 1.000000";
      ambient = "1.000000 1.000000 1.000000 1.000000";
         scale = "1 1 1";
         direction = "0.635001 0.635001 -0.439941";
         position = "0 0 0";
         rotation = "1 0 0 0";
         locked = "true";
   };
   new TerrainBlock(Terrain) {
      rotation = "1 0 0 0";
      scale = "1 1 1";
      detailTexture = "~/data/terrains/details/detail1";
      terrainFile = "./CTF_Trial.ter";
      squareSize = "8";
      bumpScale = "1";
      bumpOffset = "0.01";
      zeroBumpScale = "8";
         position = "-1024 -1024 0";
         locked = "true";
   };
   new WaterBlock(Water) {
      position = "328 32 -88.6";
      rotation = "1 0 0 0";
      scale = "2048 2048 200";
      UseDepthMask = "1";
      surfaceTexture = "~/data/water/water";
      liquidType = "StagnantWater";
      density = "4";
      viscosity = "5";
      waveMagnitude = "0.3";
      surfaceOpacity = "0.6";
      envMapIntensity = "0.1";
      TessSurface = "50";
      TessShore = "60";
      SurfaceParallax = "0.5";
      FlowAngle = "0";
      FlowRate = "0";
      DistortGridScale = "0.1";
      DistortMag = "0.05";
      DistortTime = "0.5";
      ShoreDepth = "20";
      DepthGradient = "1";
      MinAlpha = "0.03";
      MaxAlpha = "1";
      removeWetEdges = "0";
      specularColor = "1.000000 1.000000 1.000000 1.000000";
      specularPower = "6";
         envMapTexture = "~/data/skies/day_0007";
         locked = "true";
   };
   new SimGroup(PlayerDropPoints) {

      new SpawnSphere() {
         position = "6.7865 -189.202 224.589";
         rotation = "0 0 1 21.1994";
         scale = "1 1 1";
         dataBlock = "SpawnSphereMarker";
         radius = "100";
         sphereWeight = "100";
         indoorWeight = "100";
         outdoorWeight = "100";
      };
   };
   new Path(mypath) {
      isLooping = "1";

      new Marker(pathmarker0) {
         position = "5.7865 -184.202 220.589";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         seqNum = "1";
         type = "Normal";
         msToNext = "1000";
         smoothingType = "Spline";
      };
      new Marker(pathmarker1) {
         position = "8.7865 -186.202 222.589";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         seqNum = "2";
         type = "Normal";
         msToNext = "1000";
         smoothingType = "Spline";
      };
      new Marker(pathmarker2) {
         position = "10.7865 -184.202 229.589";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         seqNum = "3";
         type = "Normal";
         msToNext = "1000";
         smoothingType = "Spline";
      };
   };
   new SimGroup(Nuetral) {

      new InteriorInstance() {
         position = "-233.191 -72.876 125.409";
         rotation = "0 0 1 115.165";
         scale = "6.82651 12.276 3.76893";
         interiorFile = "~/data/interiors/docks/ggbridgem.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "110.489 152.752 121.765";
         rotation = "0 0 1 95.6844";
         scale = "6.82651 9.03347 3.76893";
         interiorFile = "~/data/interiors/docks/ggbridgem.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-211.539 -98.8559 114.996";
         rotation = "0 0 1 21.7724";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/marker/markera.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-195.288 -65.7341 115.347";
         rotation = "0 0 1 21.7724";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/marker/markera.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-251.034 -78.5445 114.547";
         rotation = "0 0 1 19.4805";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/marker/markera.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-235.799 -45.979 114.947";
         rotation = "0 0 1 19.4805";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/marker/markera.dif";
         showTerrainInside = "0";
            locked = "true";
      };
   };
   new SimGroup(TeamOne) {

      new InteriorInstance() {
         position = "-152.251 -86.7815 129.529";
         rotation = "0 0 1 22.3453";
         scale = "5 5 5";
         interiorFile = "~/data/interiors/farm/farm_post.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-175.293 -124.417 129.529";
         rotation = "0 0 1 28.0749";
         scale = "5 5 5";
         interiorFile = "~/data/interiors/farm/farm_post.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-122.096 -282.988 184.063";
         rotation = "0 0 1 104.278";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/farm/farm_house1.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-53.6305 -285.056 183.374";
         rotation = "0 0 1 65.3172";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/farm/farm_house2.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "7.75298 -248.61 180.81";
         rotation = "0 0 1 115.165";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/farm/farm_barn1.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "149.195 -201.447 162.218";
         rotation = "0 0 1 60.7335";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/farm/farmhouse.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-75.902 -282.154 189.624";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/marker/markera.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "41.0161 -226.554 184.475";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/marker/markera.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "287.954 -72.0726 161.604";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/marker/markera.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-149.003 -226.81 205.773";
         rotation = "0 0 -1 52.8942";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/towers/landtower.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new InteriorInstance() {
         position = "303.062 22.9168 168.484";
         rotation = "0 0 1 90.9182";
         scale = "1 1 1";
         interiorFile = "~/data/interiors/towers/landtower.dif";
         showTerrainInside = "0";
            locked = "true";
      };
      new TSStatic() {
         position = "-43.734 -132.278 165.343";
         rotation = "1 0 0 0";
         scale = "2.3387 2.32407 1";
         shapeName = "~/data/shapes/trees/tree3.dts";
            locked = "true";
      };
      new TSStatic() {
         position = "144.393 -51.5837 139.133";
         rotation = "0 0 -1 75.6304";
         scale = "5.91044 3.38199 2.20232";
         shapeName = "~/data/shapes/trees/tree2.dts";
            locked = "true";
      };
      new TSStatic() {
         position = "-103.873 -402.539 234.543";
         rotation = "1 0 0 25.2102";
         scale = "2.28026 3.0298 1";
         shapeName = "~/data/shapes/trees/tree3.dts";
            locked = "true";
      };
      new InteriorInstance() {
         position = "-155.256 -92.0179 143.697";
         rotation = "0.926281 -0.266568 0.266356 94.3378";
         scale = "1 1 1.97521";
         interiorFile = "~/data/interiors/docks/ggpiling.dif";
         showTerrainInside = "0";
            locked = "true";
      };
   };
   new Precipitation(RainStorm) {
      position = "-45.0071 -29.016 244.517";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      nameTag = "rs";
      dataBlock = "HeavyRain";
      minSpeed = "1.5";
      maxSpeed = "2";
      minMass = "0.75";
      maxMass = "0.85";
      maxTurbulence = "0.1";
      turbulenceSpeed = "0.2";
      rotateWithCamVel = "1";
      useTurbulence = "0";
      numDrops = "5000";
      boxWidth = "200";
      boxHeight = "100";
      doCollision = "1";
         percentage = "1";
         maxNumDrops = "5000";
         minVelocity = "1.5";
         color2 = "-1.000000 0.000000 0.000000 1.000000";
         offsetSpeed = "0.45";
         color3 = "-1.000000 0.000000 0.000000 1.000000";
         maxVelocity = "3";
         MaxRadius = "60";
         color1 = "1.000000 1.000000 1.000000 1.000000";
   };
   new Lightning(ElectricalStorm) {
      position = "199.753 112.719 300";
      rotation = "1 0 0 0";
      scale = "250 400 500";
      dataBlock = "LightningStorm";
      strikesPerMinute = "20";
      strikeWidth = "2.5";
      strikeRadius = "100";
      color = "1.000000 1.000000 200.000000 1.000000";
      fadeColor = "0.100000 0.100000 200.000000 1.000000";
      chanceToHitTarget = "100";
      boltStartRadius = "20";
      useFog = "0";
   };
   new ParticleEmitterNode(p1) {
      position = "-16.2027 -180.453 175.422";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "ChimneyFireEmitterNode";
      emitter = "ChimneyFireEmitter";
      velocity = "1";
   };
   new ParticleEmitterNode(p1) {
      position = "-16.2306 -180.333 175.433";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "FireParticleEmitterNode";
      emitter = "FireParticleEmitter";
      velocity = "1";
   };
   new StaticShape() {
      position = "33.6327 -124.767 165.437";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "HangManEffect";
   };
   new StaticShape() {
      position = "19.0204 -151.179 170.052";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "HangManEffect";
   };
   new Item() {
      position = "-14.9992 -172.807 174.51";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SuperBomb";
      collideable = "0";
      static = "1";
      rotate = "1";
   };
   new ParticleEmitterNode(s1) {
      position = "32.8468 -230.088 202.575";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "SmokeParticleEmitterNode";
      emitter = "SmokeParticleEmitter";
      velocity = "1";
   };
   new TSStatic() {
      position = "-16.3574 -180.452 175.207";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      shapeName = "~/data/shapes/campfire/campfire.dts";
   };
   new ParticleEmitterNode(p1) {
      position = "-16.1964 -180.314 175.415";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "ChimneySmokeEmitterNode";
      emitter = "ChimneySmokeEmitter";
      velocity = "1";
   };
   new StaticShape() {
      position = "0.953916 -247.055 180.066";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "LightningBoltEffect";
   };
   new StaticShape() {
      position = "-134.94 -214.112 184.331";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "GhostReviveEffect";
   };
   new ParticleEmitterNode(11) {
      position = "-83.3945 -286.971 207.322";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      dataBlock = "IceExplosionEmitterNode";
      emitter = "IceExplosionEmitter";
      velocity = "1";
   };
};
//--- OBJECT WRITE END ---

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -