Jump to content
Sign in to follow this  
asterionx2@hotmail.com

clutters and surface problem ( i dont have grass on my terrain)

Recommended Posts

Hello 

 

Im working in my first terrain for Arma3 , based in Copehill Uk Area.

I wonder what is wrong with my config , or clutters and cfgsurface config to grass dont appear in my terrain.

My terrain its completely without grass ingame.

Im packing with Mikeros pboproject and i dont have error messages when im packing.

I try everything but all look like its normal in configs.

 

here i left my files , please i will glad if someone can give me hand on this.

 

Config.cpp

 

#define _ARMA_


class CfgPatches
{
class panth_Copehill //Cambiar por el nombre de tú mapa
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Data_F","A3_Roads_F","A3_Structures_F","A3_Map_Data","A3_Map_Stratis"}; //los Add requeridos para este mapa
author[] = {"Panthera283"}; //Nombre del Autor del Mapa
authorUrl = "http://www.armaholic.com"; //url si la tiene el autor o la que queramos
versionDesc = "Copehill"; //Nombre del Mapa que se verá
version = "1.00";
versionStr = 1.0;
versionAr[] = {1, 0, 0};
magazines[] = {};
ammo[] = {};
};
};
class CfgVehicles{};
class CfgWorlds
{
class DefaultWorld
{
class Weather
{
class Overcast;
};
};
class CAWorld: DefaultWorld
{
class Grid{};
class DayLightingBrightAlmost;
class DayLightingRainy;
class DefaultClutter;
class Weather: Weather
{
class Lighting;
class Overcast: Overcast
{
class Weather1;
class Weather2;
class Weather3;
class Weather4;
class Weather5;
class Weather6;
};
};
};
class DefaultLighting;
class panth_Copehill: CAWorld //cambiar por el nombre de tu mapa
{
cutscenes[] = {""}; //nombre del archivo de la intro si la creamos, esta si no hay quitar valor entre comillas mejor
description = "panth_Copehill"; // nombre del Mapa mostrado en Selección de Mapa, si no hay quitar valor entre comillas
icon = ""; // ruta a la imagen icono del clan, icono mapa, etc, si no hay quitar valor entre comillas
worldName = "customer\Arma3\Maps\panth_Copehill\panth_copehill.wrp"; //ruta a tu archivo .wrp
pictureMap = ""; //ruta al archivo imagen mapa mostrado en el arranque mapa, si no hay quitar valor entre comillas
pictureShot = "";
plateFormat = "AS$-####";
plateLetters = "ABCDEGHIKLMNOPRSTVXZ";
author = "panthera283"; // Creador del Mapa
mapSize = 1024; //medida mapa x10 , esto no estoy seguro, no recuerdo porque llegué a esta conclusion, debo mirar el mapa de está gente
mapZone = 31; //zona UTM si fuera + seria hemisferio norte
longitude = 51; //situación de longitud del mapa si es real
latitude = -1; // situación en latitud del mapa si es real
elevationOffset = 0; //debo averiguar que hace
envTexture = "A3\Data_f\env_land_ca.tga"; //no cambiar
newRoadsShape = "\customer\Arma3\Maps\panth_Copehill\data\roads\roads.shp"; // ruta al archivo roads.shp si se crean carreteras
startTime = "10:45"; //hora que se mostrara en el mapa ? no tocar de momento no influye k yo sepa
startDate = "5/5/2014"; //fecha que se mostrara en mapa ? no tocar de momento
centerPosition[] = {1040,1000,500};
seagullPos[] = {1040,850,500};
clutterGrid = 1.5;
clutterDist = 125;
noDetailDist = 65;
fullDetailDist = 15;
midDetailTexture = "A3\Map_Data\middle_mco.paa"; // no tocar
minTreesInForestSquare = 4;
minRocksInRockSquare = 4;
loadingTexts[] = {"Loading Uk map"}; // descripción a modo de intro explicativa en texto del Mapa
ilsPosition[] = {0, 0};
ilsDirection[] = {0, 0, 0};
ilsTaxiIn[] = {};
ilsTaxiOff[] = {};
drawTaxiway = 0;
class SecondaryAirports {};
class ReplaceObjects {};
class Sounds
{
sounds[] = {};
};
class Animation
{
vehicles[] = {};
};
class Grid: Grid
{
offsetX = 0;
offsetY = 0;
class Zoom1
{
zoomMax = 0.2;
format = "XY";
formatX = "000";
formatY = "000";
stepX = 100;
stepY = -100;
};
class Zoom2
{
zoomMax = 0.95;
format = "XY";
formatX = "00";
formatY = "00";
stepX = 1000;
stepY = -1000;
};
class Zoom3
{
zoomMax = 1e+030;
format = "XY";
formatX = "0";
formatY = "0";
stepX = 10000;
stepY = -10000;
};
};
#include "cfgClutter.hpp" // Pegar aqui el contenido del archivo environnement_STRATIS si quieres tener los valores de Stratis para fauna, etc.

#include "cfgSurfaces.hpp"

#include "environnement_STRATIS.hpp"
};

};


class CfgWorldList
{
class panth_Copehill{}; //que coincida con tu nombre de Mapa
};

class CfgMissions
{
};

 

Layers.cfg

 

class Layers
{
class gdt_dry_grass
{
texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
material = "customer\Arma3\Maps\panth_copehill\data\gdt_dry_grass.rvmat";
};
class gdt_grass_green
{
texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
material = "customer\Arma3\Maps\panth_copehill\data\gdt_grass_green.rvmat";
};
};

class Legend
{
picture="customer\Arma3\Maps\panth_copehill\source\mapLegend.png";
class Colors
{
gdt_dry_grass[]={{228,232,75}};
gdt_grass_green[]={{128,212,69}};

};
};

 

cFgClutter.hpp:

 

class Clutter

{
   
   class panth_copehill_StrGrassGreen_Group: DefaultClutter
{
model = "A3\plants_f\Clutter\c_StrGrassGreen_group.p3d";
affectedByWind = 0.6;
swLighting = "true";
scaleMin = 0.7;
scaleMax = 1.0;
};
   class panth_copehill_StrGrassDry: DefaultClutter
{
model = "A3\plants_f\Clutter\c_StrGrassDry.p3d";
affectedByWind = 0.5;
swLighting = "true";
scaleMin = 0.8;
scaleMax = 1.2;
};
   class panth_copehill_StrGrassDry_Group: DefaultClutter
{
model = "A3\plants_f\Clutter\c_StrGrassDry_group.p3d";
affectedByWind = 0.65;
swLighting = 1;
scaleMin = 0.65;
scaleMax = 1.5;
};
   class panth_copehill_StrGrassDryMedium_Group: DefaultClutter
{
model = "A3\plants_f\Clutter\c_StrGrassDryMedium_group.p3d";
affectedByWind = 0.7;
swLighting = "true";
scaleMin = 0.8;
scaleMax = 1.0;
};
 
   class panth_copehill_GrassTall: DefaultClutter
{
model = "A3\plants_f\Clutter\c_GrassTall.p3d";
affectedByWind = 0.8;
swLighting = "true";
scaleMin = 0.75;
scaleMax = 1.15;
};
   
 };

 

CfgSurfaces.hpp:

 

class CfgSurfaces
{
class Default{};
class gdt_dry_grass:Default
{
access = 2;
files = "gdt_dry_grass_*";
character = "gdt_dry_grass_character";
soundEnviron = "drygrass";
soundHit = "soft_ground";
rough = 0.12; //aspereza terreno
maxSpeedCoef = 0.8;
dust = 0.4; //polvo que levanta
lucidity = 3.5; //lucidez
grassCover = 0.04; //hierba cobertura
impact = "hitGroundSoft"; //sonido de impacto, caminando o a los disparos
surfaceFriction = 1.7; //friccion
};
class gdt_grass_green:Default
{
access = 2;
files = "gdt_grass_green_*";
character = "gdt_grass_green_character";
soundEnviron = "drygrass";
soundHit = "soft_ground";
rough = 0.12; //0.12
maxSpeedCoef = 0.8; //0.8
dust = 0.4; //0.4
lucidity = 3.5; //3.5
grassCover = 0.04; //0.04
impact = "hitGroundSoft";
surfaceFriction =1.7; //1.7
};

};
class CfgSurfaceCharacters
{
class gdt_dry_grass
{
probability[] = {0.9,0.8,1.0};//0.5,0.5,0.5,1,cdt
names[] = {"panth_copehill_StrGrassDry","panth_copehill_StrGrassDry_Group","panth_copehill_StrGrassDryMedium_Group"};
};
class gdt_grass_green
{
probability[] = {0.9,0.8};//0.5,0.5,0.5,1,cdt
names[] = {"panth_copehill_StrGrassGreen_Group","panth_copehill_GrassTall"};

};
};

 

here i left some screenshoot of my folders and ingame terrain:

 

5INb9Ac.jpg

uxFgIEz.jpg

ZBl4NPO.jpg

QUANTEG.jpg

K2aL59I.jpg

u4JQNkZ.jpg

 

thanks

 

 

 

 

Share this post


Link to post
Share on other sites

Hi ,

 

At first  : you forgot to name your cfgsurfaces and your CfgSurfaceCharacters with a prefix :  panth_copehill_

if you keep the arma class name, it' can't works. ! it's well explained in tutorials, and threads about clutter !.

 

Xnam

Share this post


Link to post
Share on other sites

Hi ,

 

At first  : you forgot to name your cfgsurfaces and your CfgSurfaceCharacters with a prefix :  panth_copehill_

if you keep the arma class name, it' can't works. ! it's well explained in tutorials, and threads about clutter !.

 

Xnam

 

thanks but still without work , i change the arma class name , by my Characters and i modify another things but the problem still , anything else probably its failing on the cfg surfaces o clutter?.

 

Share this post


Link to post
Share on other sites

Other bug :

 

probability[] = {0.9,0.8,1.0};//0.5,0.5,0.5,1,cdt

 

probability maximum has to be  =  1  , yours is 0.9 + 0.8 + 1 = 2.7

 

I never used CfgSurfaceCharacters.hpp and CfgSurfaces.hpp. 

 

i put the config in the config.cpp, it avoids some bugs.

 

Put this two class at the end of the config : class CfgSurfaces and after class CfgSurfaceCharacters.

 

 

 

Xnam

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  

×