Author Topic: Map is completely non colliding  (Read 1594 times)

Forgive me for another help topic, I've encountered an error now in the map I'm making where I simply fall through it, if I recall I think the problem started when I changed the SquareSize. I've subsequently changed it back and to other sizes but the problem persists

It's nothing to do with Set Empty.

Have I done something stupid? Any help appreciated.

Code: [Select]
//--- OBJECT WRITE BEGIN ---
new SimGroup(MissionGroup) {

   new ScriptObject(MissionInfo) {
         saveName = "A Tropical Forestlarger";
         name = "A Tropical Forestlarger";
   };
   new MissionArea(MissionArea) {
      Area = "-1040 -1064 2080 2128";
         flightCeilingRange = "20";
         flightCeiling = "600";
   };
   new Sky(Sky) {
      position = "312 96 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      materialList = "base/data/skies/sky_blue2/resource.dml";
      cloudHeightPer[0] = "0.349971";
      cloudHeightPer[1] = "0.3";
      cloudHeightPer[2] = "0.199973";
      cloudSpeed1 = "0.0005";
      cloudSpeed2 = "0.001";
      cloudSpeed3 = "0.0003";
      visibleDistance = "1500";
      fogDistance = "1000";
      fogColor = "0.800000 0.900000 0.900000 1.000000";
      fogStorm1 = "0";
      fogStorm2 = "0";
      fogStorm3 = "0";
      fogVolume1 = "0 0 0";
      fogVolume2 = "0 0 0";
      fogVolume3 = "0 0 0";
      fogVolumeColor1 = "0.000000 0.000000 0.000000 1.000000";
      fogVolumeColor2 = "0.000000 0.000000 0.000000 1.000000";
      fogVolumeColor3 = "0.000000 0.000000 0.000000 1.000000";
      windVelocity = "0.25 0.25 0";
      windEffectPrecipitation = "1";
      SkySolidColor = "0.600000 0.600000 0.600000 1.000000";
      useSkyTextures = "1";
      renderBottomTexture = "0";
      noRenderBans = "0";
   };
   new Sun() {
      azimuth = "0";
      elevation = "35";
      color = "0.800000 0.800000 0.900000 1.000000";
      ambient = "0.300000 0.300000 0.500000 1.000000";
   };
   new TerrainBlock(Terrain) {
      rotation = "0 0 -1 90";
      scale = "16 30 30";
      terrainFile = "./TropicalForestLarger.ter";
      bumpTexture = ".";
      squareSize = "8";
      bumpScale = "7";
      bumpOffset = "0.01";
      zeroBumpScale = "6";
      RepeatTerrain = "1";
         locked = "true";
   };
   new SimGroup(PlayerDropPoints) {

      new SpawnSphere() {
         position = "605.652 452.867 233.971";
         rotation = "0 0 1 130.062";
         scale = "0.940827 1.97505 1";
         dataBlock = "SpawnSphereMarker";
         canSetIFLs = "0";
         radius = "80";
         sphereWeight = "1";
         indoorWeight = "1";
         outdoorWeight = "1";
      };
   };
};
//--- OBJECT WRITE END ---

Can't scale the terrain. Set it to 1 1 1.

 m
Can't scale the terrain. Set it to 1 1 1.

You can scale the terrain's square size to allow for larger maps, although it breaks water. Default square size is 8, not 1.
However, changing the square size should not affect the terrain's collision. Make sure to have a square size in the power of 2, such as 16. That might change something.
« Last Edit: July 05, 2011, 11:45:11 AM by Wesley Williams »

I meant the scale, not the square size.

The default is 16 30 30 scale though but anyway I changed it to 1 1 1, I still fall through the map. and the current Square size is 8, I see no reason to fall through the map yet the problem persists.

What map are you editing?
If it's a slate map then you may have deleted the slate.dif
that hides under the floor texture.

If not, then you might have just had bad luck :P

If you send me the map all packaged I could git it worked out for you.