Jump to content

Tarlox

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Everything posted by Tarlox

  1. Hey guys, I am currently making a map and I run into trouble. Whatever I am trying to do in my cfgSurface.hpp and my cfgClutter.hpp doesnt work. I could really use some help here! Layers.cfg: class Layers { class texture_grass { texture="Map1_Saves\data\middle_mco.paa"; material="Map1_Saves\data\texture_grass.rvmat"; }; class texture_gravel { texture = "Map1_Saves\data\middle_mco.paa"; material="Map1_Saves\data\texture_gravel.rvmat"; }; class texture_rock { texture = "Map1_Saves\data\middle_mco.paa"; material="Map1_Saves\data\texture_rock.rvmat"; }; class texture_forest { texture = "Map1_Saves\data\middle_mco.paa"; material="Map1_Saves\data\texture_forest.rvmat"; }; class texture_sand { texture = "Map1_Saves\data\middle_mco.paa"; material="Map1_Saves\data\texture_desert.rvmat"; }; class texture_field { texture = "Map1_Saves\data\middle_mco.paa"; material="Map1_Saves\data\texture_field.rvmat"; }; }; class Legend { picture="Map1_Saves\source\mapLegend.png"; class Colors { texture_grass[]={{0,255,0}}; texture_gravel[]={{0,0,0}}; texture_rock[]={{255,255,0}}; texture_forest[]={{255,0,255}}; texture_sand[]={{0,0,255}}; texture_field[]={{255,0,0}}; } }; cfgSurface.hpp: class CfgSurfaces { class Default{}; class Water{}; class texture_grass_Surface : Default { access = 2; files = "texture_grass*"; rough = 0.1; dust = 0.35; soundEnviron = "grass"; character = "texture_grass_Character"; soundHit = "soft_ground"; maxSpeedCoef = 0.9; }; class texture_gravel_Surface : Default { access = 2; files = "texture_gravel*"; rough = 0.05; dust = 0.45; soundEnviron = "gravel"; character = "Empty"; soundHit = "soft_ground"; maxSpeedCoef = 1; }; class texture_rock_Surface : Default { access = 2; files = "texture_rock*"; rough = 0.1; dust = 0.05; soundEnviron = "rock"; character = "Empty"; soundHit = "hard_ground"; maxSpeedCoef = 1; }; class texture_forest_Surface : Default { access = 2; files = "texture_forest*"; rough = 0.1; dust = 0.25; soundEnviron = "grass"; character = "Empty"; soundHit = "soft_ground"; maxSpeedCoef = 0.8 }; class texture_desert_Surface : Default { access = 2; files = "texture_desert*"; rough = 0.15; dust = 0.75; soundEnviron = "sand"; character = "Empty"; soundHit = "soft_ground"; maxSpeedCoef = 0.5 }; class texture_field_Surface : Default { access = 2; files = "texture_field*"; rough = 0.15; dust = 0.45; soundEnviron = "dirt"; character = "Empty"; soundHit = "soft_ground"; maxSpeedCoef = 0.8 }; }; class CfgSurfaceCharacters { class texture_grass_Character { probability[]={0.99}; names[]={"texture_grass_clutter"}; }; }; cfgClutter.hpp class Clutter { class texture_grass_clutter: DefaultClutter { model = "A3\plants_f\Clutter\c_StrGrassGreen_group.p3d"; affectedByWind = 0.6; swLighting = "true"; scaleMin = 0.7; scaleMax = 1.0; }; }; config.cpp: #define _ARMA_ class CfgPatches { class Map1_Saves { units[] = {"Map1_Saves"}; weapons[] = {}; requiredVersion = 1.0; version = "21/04/2017"; fileName = "Map1_Saves.pbo"; author = "Jannis"; }; }; class CfgWorlds { class CAWorld; class Altis: CAWorld { class Grid; class DefaultClutter; }; class Map1_Saves: Altis { cutscenes[] = {}; description = "Map1_Saves"; worldName = "Map1_Saves\Map1_Saves.wrp"; startTime = "11: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; envTexture = "A3\Data_f\env_land_ca.tga"; minTreesInForestSquare = 2; minRocksInRockSquare = 2; newRoadsShape = "\Map1_Saves\data\roads\roads.shp"; ilsPosition[] = {1024,1024}; ilsDirection[] = {0.5075,0.08,-0.8616}; ilsTaxiIn[] = {}; ilsTaxiOff[] = {}; drawTaxiway = 0; class SecondaryAirports {}; class Sea { seaTexture = "a3\data_f\seatexture_co.paa"; seaMaterial = "#water"; shoreMaterial = "#shore"; shoreFoamMaterial = "#shorefoam"; shoreWetMaterial = "#shorewet"; WaterMapScale = 20; WaterGrid = 50; MaxTide = 0; MaxWave = 0; SeaWaveXScale = "2.0/50"; SeaWaveZScale = "1.0/50"; SeaWaveHScale = 2.0; SeaWaveXDuration = 5000; SeaWaveZDuration = 10000; }; 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; }; }; #include "cfgClutter.hpp" class Names { #include "Map1_Saves.hpp" }; }; }; class CfgWorldList { class Map1_Saves{}; }; class CfgMissions { class Cutscenes { }; }; #include "cfgSurfaces.hpp" Thanks for your help
  2. Thank you very very much! The pboproject thing was very helpful. Its 100% better than the Addon Builder and found my mistakes. That was the reason why I didn't see it after I fixed all the errors. That's on me. I am just stupid :D Thank you again very much!
  3. Tried everything but nothing changed. After trying all this I put the map on a server and suddenly it worked. I can see the grass now. But after going back into the normal Arma 3 3D Editor there is still no grass. It seems that the config files are alright after fixing the errors with pboproject but why dont they work in the editor? So I looked at Tanoa with and without my mod and there is also no grass. Could it be that Arma causes the trouble? The server I played the map on was 32bit and my Arma 64bit.
  4. So I installed Pboproject and I got some errors. Missed some ";" and I needed to put requiredAddons[] = {}; in the config.cpp. Now the cfgSurfaces.hpp works fine but the cfgClutters.hpp doesnt. There is no grass on my textures ingame and there are no errors anymore so I dont know what to do. Only in the binlogs are some strange things I cant figure out. https://pastebin.com/FKDLJKEh
  5. I would like to give you an error message but I dont get one. Nothing I wrote in the CfgSurface.hpp is working. For example: soundHit = "soft_ground"; maxSpeedCoef = 0.5 There is no effect on the map. It seems like the whole file isnt really implemented. Its not only the grass. I did the usual include stuff so I dont know whether thats the problem.
×