Jump to content
Sign in to follow this  
destiny14

No Clutter - but no errors?

Recommended Posts

Hey guys,

I'm currently working on a little map for our weekly ArmA Sessions. I followed Bush's Tutorial and everything went fine. I even replaced the heightmap and the textures.

But I don't see any clutter ingame. But I don't get any error messages... So the question is: What am I missing? I'm a bit desperate :( I copied the clutter definitions from the Chernarus config. Here are my configs:

Layers.cfg:

class Layers
{

class wksp_grass
{
 texture = "DES\werkspitze\Data\wksp_grass_mco.paa";
 material= "DES\werkspitze\Data\wksp_grass.rvmat";
};

class wksp_rock
 {
   texture = "DES\werkspitze\Data\wksp_rock_mco.paa";
   material= "DES\werkspitze\Data\wksp_rock.rvmat";
 };
class wksp_sand
 {
   texture = "DES\werkspitze\Data\wksp_sand_mco.paa";
   material= "DES\werkspitze\Data\wksp_sand.rvmat";
 };



};

class Legend
{
 picture="DES\werkspitze\source\mapLegend.png";
 class Colors
 {

   wksp_grass[]={{0,255,0}};
   wksp_rock[]={{196, 177, 123}};
   wksp_sand[]={{255, 255, 0}};
 };
};

config.cpp:

#define _ARMA_

//Class config.bin{
class CfgPatches
{
class werkspitze
{
 units[] = {"werkspitze"};
 weapons[] = {};
 requiredVersion = 1.0;
 requiredAddons[] = {"Chernarus"};
 version = "05/09/2011";
 fileName = "werkspitze.pbo";
 author = "destiny14";
 mail = "";
};
};
class CfgWorlds
{
class CAWorld;
class Chernarus: CAWorld
{
 class Grid;
 class DefaultClutter;
};
class werkspitze: Chernarus
{
 cutscenes[] = {};
 description = "Republik Werkspitze";
 worldName = "DES\werkspitze\werkspitze.wrp";
 pictureShot = "DES\werkspitze\data\wksp_menu_ca.paa";
 startTime = "07:00";
 startDate = "05/03/2001";
 startWeather = 0.2;
 startFog = 0.0;
 forecastWeather = 0.6;
 forecastFog = 0.0;
 centerPosition[] = {2560,2560,500};
 seagullPos[] = {2560,2560,500};
 longitude = 65;
 latitude = -34;
 elevationOffset = 2000;
 clutterGrid = 1.0;
 clutterDist = 125;
 noDetailDist = 40;
 fullDetailDist = 15;
 midDetailTexture = "DES\werkspitze\data\wksp_grass_mco.paa";
 minTreesInForestSquare = 2;
 minRocksInRockSquare = 2;
 ilsPosition[] = {1024,1024};
 ilsDirection[] = {0.5075,0.08,-0.8616};
 ilsTaxiIn[] = {};
 ilsTaxiOff[] = {};
 drawTaxiway = 0;
class SecondaryAirports {};
class OutsideTerrain
     {
       satellite = "DES\werkspitze\Data\wksp_satout_co.paa";
       enableTerrainSynth = 1;
       class Layers
       {
         class Layer0
         {
           nopx = "DES\werkspitze\Data\wksp_grass_nopx.paa";
           texture = "DES\werkspitze\Data\wksp_grass_co.paa";
         };
       };
     };
 class Grid: Grid
 {
  offsetX = 0;
  offsetY = 5120;
  class Zoom1
  {
   zoomMax = 0.15;
   format = "XY";
   formatX = "000";
   formatY = "000";
   stepX = 100;
   stepY = -100;
  };
  class Zoom2
  {
   zoomMax = 0.85;
   format = "XY";
   formatX = "00";
   formatY = "00";
   stepX = 1000;
   stepY = -1000;
  };
  class Zoom3
  {
   zoomMax = 1e+030.0;
   format = "XY";
   formatX = "0";
   formatY = "0";
   stepX = 10000;
   stepY = -10000;
  };
 };
class clutter
	{
		#include "cfgClutter.hpp"
	};
	class Names
	{
		#include "werkspitze.hpp"
	};
};
};
class CfgWorldList
{
class werkspitze{};
};
class CfgMissions
{
class Cutscenes
{
 class wksp_Intro1
 {
  directory = "DES\werkspitze\Data\scenes\intro1.AfghanValley";
 };
};
};


//SURFACES
#include "cfgSurfaces.hpp"

cfgClutter.hpp:

  class WKSP_GrassBunch: DefaultClutter
{
	model = "ca\plants2\clutter\c_GrassBunch.p3d";
	affectedByWind = 0.35;
	swLighting = 1;
	scaleMin = 0.6;
	scaleMax = 1.0;
};
class WKSP_GrassTall: DefaultClutter
{
	model = "ca\plants2\clutter\c_GrassTall.p3d";
	affectedByWind = 0.4;
	swLighting = 1;
	scaleMin = 0.7;
	scaleMax = 1.0;
};
class WKSP_AutumnFlowers: DefaultClutter
{
	model = "ca\plants2\clutter\c_autumn_flowers.p3d";
	affectedByWind = 0.4;
	swLighting = 1;
	scaleMin = 0.7;
	scaleMax = 1.0;
};
class WKSP_GrassCrooked: DefaultClutter
{
	model = "ca\plants2\clutter\c_GrassCrooked.p3d";
	affectedByWind = 0.3;
	swLighting = 1;
	scaleMin = 0.7;
	scaleMax = 1.4;
};
class WKSP_WeedDead: DefaultClutter
{
	model = "ca\plants2\clutter\c_WeedDead.p3d";
	affectedByWind = 0.3;
	swLighting = 1;
	scaleMin = 0.75;
	scaleMax = 1.1;
};
class WKSP_WeedDeadSmall: DefaultClutter
{
	model = "ca\plants2\clutter\c_WeedDead2.p3d";
	affectedByWind = 0.3;
	swLighting = 1;
	scaleMin = 0.75;
	scaleMax = 0.9;
};

cfgSurfaces.hpp:

class CfgSurfaces 
{
class Default {};
class werkspitzegrassSurface : Default
{
	access = 2;
	files = "WKSP_grass_*";
	rough = 0.1;
	dust = 0.05;
	soundEnviron = "grass";
	soundHit = "soft_ground";
	character = "WKSP_grassClutter";
};

class werkspitzesandSurface : Default
{	
	 files = "WKSP_sand_*";
	 rough = 0.1;
	 dust = 0.1;
	 soundEnviron = "dirt";
		 soundHit = "hard_ground";
	 character = "Empty";
};



};

class CfgSurfaceCharacters
{
class WKSP_grassClutter
{
	probability[] = {0.4,0.2,0.3,0.07,0.02,0.01};
	names[] = {"WKSP_GrassTall","WKSP_AutumnFlowers","WKSP_GrassBunch","WKSP_GrassCrooked","WKSP_WeedDead","WKSP_WeedDeadSmall"};
};

};

Greetings, destiny14

---------- Post added at 13:57 ---------- Previous post was at 12:49 ----------

This one is fixed! I didn't know the files part in the surface class is case-sensitive :o

Greets, destiny14

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×