Shadowwing586 0 Posted December 28, 2023 Hi, i am currently trying to get the clutter to Work. Problem is, it wont be shown on my one from two gdt, which i am using for testing it. But Configs are seeming to be normal...and i cant find the error, which is causing it. The configs: Whole Mainconfig: class CfgPatches { class Gh_Trainground { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Data_F_Oldman_Loadorder"}; }; }; class CfgWorlds { class DefaultLighting; class DefaultWorld { class Lighting: DefaultLighting {}; class DefaultClutter { affectedByWind = 0; relativeColor[] = {1, 1, 1, 1}; scaleMin = 0.2; scaleMax = 1; swLighting = 1; }; class Clutter { }; class Weather { class Lighting; class Overcast; }; class WaterExPars; }; class CAWorld: DefaultWorld { class Grid; class DayLightingBrightAlmost; class DayLightingRainy; class DefaultClutter : DefaultClutter{}; class Lighting : Lighting{}; class Clutter; class Weather : Weather { class Lighting : Lighting{}; class Overcast : Overcast { class Weather1; class Weather2; class Weather3; class Weather4; class Weather5; class Weather6; }; }; }; class Altis : CAWorld { class Grid; class DayLightingBrightAlmost; class DayLightingRainy; class DefaultClutter : DefaultClutter{}; class Clutter; class Lighting : Lighting{}; class Weather: Weather { class Lighting : Lighting{}; class LightingNew; class Overcast: Overcast { class Weather1; class Weather2; class Weather3; class Weather4; class Weather5; class Weather6; }; }; }; class Gh_Trainground : Altis { description = "Trainground"; worldName = "\Gh\Trainground\Gh_Trainground.wrp"; author = "S. Cookie"; pictureMap = ""; minTreesInForestSquare = 1; minRocksInRockSquare = 1; newRoadsShape = "\GH\Trainground\data\roads\roads.shp"; class DefaultClutter; class Clutter { class Gh_grassgreen_c: DefaultClutter { model = "A3\plants_f\Clutter\c_Grass_Green.p3d"; }; class Gh_grassbunchsmall_c: DefaultClutter { model = "A3\plants_f\Clutter\c_Grass_Bunch_Small.p3d"; }; }; class Names {}; }; }; class CfgWorldList { class Gh_Trainground{}; }; class CfgSurfaces { class Default; class Gh_grass_green : Default { files = "Gh_grass_green_*"; character = "Gh_grassgreen_character"; soundEnviron = "grass"; soundHit = "soft_ground"; impact = "hitGroundSoft"; }; }; class CfgSurfaceCharacters { class Gh_grassgreen_character { probability[] = {0.4, 0.5}; names[] = {"Gh_grassgreen_c", "Gh_grassbunchsmall_c"}; }; }; These are the layers.. Layers Config class Layers { class Gh_grass_green { texture = ""; material = "Gh\Trainground\data\Gh_grass_green.rvmat"; }; class Gh_forest { texture = ""; material = "Gh\Trainground\data\Gh_forest.rvmat"; }; }; class Legend { picture = "maplegend.png"; class Colors { Gh_grass_green[] = {{ 81, 76, 60}}; Gh_forest[] = {{ 42, 38, 31}}; }; }; And the rvmatconfig, which i am trying to use to set clutter: ambient[] = { 1, 1, 1, 1 }; diffuse[] = { 1, 1, 1, 1 }; forcedDiffuse[] = { 0.02, 0.02, 0.02, 1 }; specular[] = { 0, 0, 0, 0 }; specularPower = 1; emmisive[] = { 0, 0, 0, 0 }; PixelShaderID = "NormalMapDiffuse"; VertexShaderID = "NormalMapDiffuseAlpha"; class Stage1 { texture = "a3\map_data\gdt_grass_green_nopx.paa"; uvSource = "tex"; class uvTransform { aside[] = { 10, 0, 0 }; up[] = { 0, 10, 0 }; dir[] = { 0, 0, 10 }; pos[] = { 0, 0, 0 }; }; }; class Stage2 { texture = "a3\map_data\gdt_grass_green_co.paa"; uvSource = "tex"; class uvTransform { aside[] = { 10, 0, 0 }; up[] = { 0, 10, 0 }; dir[] = { 0, 0, 10 }; pos[] = { 0, 0, 0 }; }; }; Do you have any Ideas, what is going wrong? You see only the two GDT in the Eden Editor, while playing. Share this post Link to post Share on other sites
Shadowwing586 0 Posted December 30, 2023 Anyway, got it to work. The problem were mostly Uppercases in the files in the cfgSurfaces and Uppercases in the Model Pathfiles (they havnt exact matched). I also renamed my rvmats again and changed the entries in the configs, which were "bound" to the rvmats to. Then ive deleted the old layers in the layer directory, and generated them new in the Terrainbuilder. 🙂 Share this post Link to post Share on other sites