solviper 28 Posted August 18, 2017 When I go to crunch it fails due to this error, not really sure where to start. Pic cfgClutter.hpp class Clutter { class DefaultClutter; class grass_green_clutter: DefaultClutter { model = "A3\Plants_F\Clutter\c_GrassGreen_GroupSoft.p3d"; affectedByWind = 0.0; swLighting = 0; scaleMin = 0.3; scaleMax = 1.0; }; }; cfgSurfaces.hpp class CfgSurfaces { class Default{}; class grass_green_surface: Default { files = "grass_green_*"; character = "grass_green_clutter"; soundEnviron = "grass"; soundHit = "soft_ground"; rough = 0.08; maxSpeedCoef = 0.9; dust = 0.15; lucidity = 4; grassCover = 0.05; impact = "hitGroundSoft"; }; class concrete_surface: Default { files = "concrete_*"; character = "Empty"; soundEnviron = "concrete"; soundHit = "concrete"; rough = 0.05; maxSpeedCoef = 1; dust = 0.15; lucidity = 0.3; grassCover = 0.0; impact = "hitConcrete"; }; class dirt_surface: Default { files = "dirt_*"; character = "Empty"; soundEnviron = "dirt"; soundHit = "soft_ground"; rough = 0.09; maxSpeedCoef = 0.9; dust = 0.5; lucidity = 1; grassCover = 0.03; impact = "hitGroundSoft"; }; class mud_surface: Default { files = "mud_*"; character = "MudClutter"; soundEnviron = "dirt"; soundHit = "soft_ground"; rough = 0.15; maxSpeedCoef = 0.85; dust = 0.32; lucidity = 1.5; grassCover = 0.04; impact = "hitGroundHard"; }; }; class cfgSurfaceCharacters { class grass_green_clutter { // how much stuff from the clutters will be placed, // so in this case 3 numbers representing the 3 names on next line. probability[] = {0.95,0.01,0.01,0.01}; names[] = {"StrGrassGreenGroup","StrThornGreenSmall","StrThornGreenBig","StrPlantGreenShrub"}; }; }; UPDATE: Viewing the output has given me this error: 0:36:24: Error while inserting texture "data\satellite.paa" to TextureHeaderManager - failed to read the texture. 0:36:24: Failed adding texture op4_vtc\data\satellite.paa to texture header manager. ?? Share this post Link to post Share on other sites
m1lkm8n 411 Posted August 18, 2017 What do you use to pack the terrain? addon builder or pboproject Share this post Link to post Share on other sites
hoverguy 177 Posted August 18, 2017 Hello @solviper DefaultClutter class has to be declared outside of the Clutter config class. Your CfgSurfaces & CfgSurfaceCharacters have to be defined outside of the CfgWorlds config class. config.cpp example class CfgWorlds { class YourTerrain { // Stuff class DefaultClutter; // <---- Default clutter definition here #include "cfgClutter.hpp" // <---- Clutter config here }; }; #include "cfgSurfaces.hpp" // <---- Surfaces & Surface characters configs here cfgClutter.hpp class Clutter { // Removed DefaultClutter class grass_green_clutter: DefaultClutter { model = "A3\Plants_F\Clutter\c_GrassGreen_GroupSoft.p3d"; affectedByWind = 0.0; swLighting = 0; scaleMin = 0.3; scaleMax = 1.0; }; }; 1 Share this post Link to post Share on other sites
solviper 28 Posted August 19, 2017 I did what you said and am still getting the same error. But then it says to view outputs which gives me a completely different error. 19:01:33: Error while inserting texture "data\satellite.paa" to TextureHeaderManager - failed to read the texture. 19:01:33: Failed adding texture op4_vtc\data\satellite.paa to texture header manager. Here is the full log: https://pastebin.com/LgiFjKdy Share this post Link to post Share on other sites
m1lkm8n 411 Posted August 19, 2017 Can you please post your main island config. The clutter config. And the surfaces config via pastbin please Share this post Link to post Share on other sites
solviper 28 Posted August 19, 2017 config.cpp https://pastebin.com/0RsQ0WET cfgSurfaces.hpp https://pastebin.com/DcqFYwSg cfgClutter.hpp https://pastebin.com/5hkp2482 Share this post Link to post Share on other sites
m1lkm8n 411 Posted August 19, 2017 First thing I would do is scrap that main config and grab one from pmc wiki..or when I get on the main computer later I can even post one for you. That config is way to long and most of the stuff is not needed if you inherit properly from an already stock a3 island like stratis or altis. Next. Start using tags. For your wrp...the clutter...ground surface files...everything. It will stop your stuff from overwriting the a3 stuff. For instance. grass_green_clutter which is stock a3....should be yourtag_grass_green_clutter you do that for everything. Head over to ofpec.com and register your tag. Next in the cfgsurfaces you have probability[] = {0.95,0.01,0.01,0.01}; names[] = {"grass_green_clutter"}; however under probability that is suggesting you have 4 different clutter types but you only have one listed. So change it to this.... probability[] = {0.95}; names[] = {"grass_green_clutter"}; or add add three more clutter types. Of course you will need to add more definitions in the clutter list if you do that. 1 Share this post Link to post Share on other sites
RoF 241 Posted August 19, 2017 Did a post on this the other day, might be of some help 1 Share this post Link to post Share on other sites
solviper 28 Posted August 21, 2017 Just wanted to say thanks, I followed everyone's advice and got it to work again. 1 Share this post Link to post Share on other sites