DanWelch 10 Posted November 2, 2012 (edited) I have tried and tried again to BINPBO my map. It all worked before until I began fiddling with the CFGClutter and Surfaces. BinPBO gives the Config error. Maybe I missed something or something is not right, Someone please take a look at this and see if I am missing something important. Thanks, here is my config and HPP files class CfgPatches { class gaza { units[] = {gaza}; weapons[] = {}; requiredVersion = 1.03; requiredAddons[] = {"Takistan"}; version = "0.09"; fileName = "gaza.pbo"; author = "DanWelch"; mail = "tacticalsimulations@live.com"; }; }; class CfgWorlds { class DefaultWorld; class CAWorld: DefaultWorld { class Grid; class DefaultClutter; }; class gaza: CAWorld { access = 3; worldId = 1; description = "gaza"; icon = "\dw\gaza\data\icon\icon.paa"; worldName= "\dw\gaza\gaza.wrp"; pictureShot = "\dw\gaza\data\dw_Picture_ca.paa"; centerPosition[] = {10431.799805,9126.669922}; seagullPos[] = {}; longitude = 31; latitude = 34; landGrid = 14; ilsPosition[] = {18084.5,10215.5}; ilsDirection[] = {0.0872,0.080,0.9962}; ilsTaxiIn[] = {18334.9,9241.62,18211,9479.76,18273.1,10188.2,18263.8,10214.2,18250.1,10224.6,18113.7,10236.9,18084,10205.7}; ilsTaxiOff[] = {18084.5,10215.5,17994,9186.05,18014,9157.39,18073.2,9145.7,18167.4,9136.86,18182.2,9152.98,18334.9,9241.62}; drawTaxiway = 0; class OutsideTerrain { satellite = "dw\gaza\data\dw_satout_co.paa"; enableTerrainSynth = 0; class Layers { class Layer0 { nopx = "dw\gaza\data\dw_hlina_nopx.paa"; texture = "dw\gaza\data\dw_hlina_co.paa"; }; }; }; class Grid: Grid { offsetX = 0; offsetY = 20480; class Zoom1 { zoomMax = 0.025; format = "XY"; formatX = "0000"; formatY = "0000"; stepX = 10; stepY = -10; }; class Zoom2 { zoomMax = 0.2; format = "XY"; formatX = "000"; formatY = "000"; stepX = 100; stepY = -100; }; class Zoom3 { zoomMax = 0.8; format = "XY"; formatX = "00"; formatY = "00"; stepX = 1000; stepY = -1000; }; class Zoom4 { zoomMax = 1; format = "XY"; formatX = "0"; formatY = "0"; stepX = 10000; stepY = -10000; }; }; class Sounds { sounds[] = {}; }; class Clutter { #include "cfgClutter.hpp" }; class Names { #include "gaza.hpp" }; }; }; class CfgWorldList { class gaza{}; }; //SURFACES #include "cfgSurfaces.hpp"[color=Silver] [size=1]---------- Post added at 11:56 AM ---------- Previous post was at 11:55 AM ----------[/size] CFG CLUTTER [/color]class dw_BrushHard: DefaultClutter { model = "CA\plants_e\clutter\c_Brush_Hard_EP1.p3d"; affectedByWind = 0.8; swLighting = 1; scaleMin = 0.75; scaleMax = 1.4; }; class dw_BrushSoft: DefaultClutter { model = "CA\plants_e\clutter\c_Brush_Soft_EP1.p3d"; affectedByWind = 0.8; swLighting = 1; scaleMin = 0.75; scaleMax = 1.4; }; class dw_PlantsViolet: DefaultClutter { model = "CA\plants_e\clutter\c_Plants_Violet_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 1.0; scaleMax = 1.25; }; class dw_PlantsWhite: DefaultClutter { model = "CA\plants_e\clutter\c_Plants_White_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 0.85; scaleMax = 1.1; }; class dw_WeedThistle: DefaultClutter { model = "CA\plants_e\clutter\c_Weed_Thistle_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 1.0; scaleMax = 1.25; };[color=Silver] [size=1]---------- Post added at 11:58 AM ---------- Previous post was at 11:56 AM ----------[/size] [/color]class CfgSurfaces { class Default{}; class GazaGrassSurface: Default { access = 2; files = "dw_trava_*"; rough = 0.2; dust = 0.1; soundEnviron = "grass"; character = "dw_grassClutter"; soundHit = "hard_ground"; }; class GazaSandSurface: Default { access = 2; files = "dw_hlina_*"; rough = 0.2; dust = 0.1; soundEnviron = "dirt"; character = "dw_sandClutter"; soundHit = "hard_ground"; }; }; class CfgSurfaceCharacters { class dw_grassClutter { names[] = {"dw_BrushHard","dw_BrushSoft","dw_PlantsViolet","dw_PlantsWhite","dw_WeedThistle"}; probability[] = {0.1,0.05,0.01,0.01,0.01}; }; class dw_sandClutter { names[] = {"dw_BrushSoft","dw_WeedThistle"}; probability[] = {0.1,0.05}; }; }; Edited November 2, 2012 by [FRL]Myke Share this post Link to post Share on other sites
[frl]myke 14 Posted November 2, 2012 Please use CODE tags as it makes such code easier readable. If unsure how, click on the EDIT button of your post and take a look. Share this post Link to post Share on other sites
DanWelch 10 Posted November 4, 2012 thx i'll use this from now on Share this post Link to post Share on other sites
[aps]gnat 28 Posted November 4, 2012 Nothing obvious .... what did the log say? Share this post Link to post Share on other sites
Sealife 22 Posted November 4, 2012 possibly the way your using include class Clutter { #include "cfgClutter.hpp" }; class Names { #include "gaza.hpp" }; try it by using class Sounds { sounds[] = {}; }; #include "cfgClutter.hpp" #include "gaza.hpp" then inside your include files put the containers in there class Clutter { cluuter code }; class Names Share this post Link to post Share on other sites
DanWelch 10 Posted November 5, 2012 Include file p:\dw\gaza\gaza.hpp not found. Preprocessor failed on file p:\dw\gaza\config.cpp - error 1. Error reading binary file 'p:\dw\gaza\config.cpp' Cannot register unknown string STR_STATE_HEALSOLDIER Cannot register unknown string STR_STATE_FIRST_AID Cannot register unknown string STR_UI_RADARRANGE Cannot register unknown string STR_ACTION_LAUNCHCM Cannot register unknown string STR_ACTION_NEXTCM Cannot register unknown string STR_USRACT_ACTION_CONTEXT Cannot register unknown string STR_USRACT_OPTICS_MODE Cannot register unknown string STR_USRACT_ZEROING_UP Cannot register unknown string STR_USRACT_ZEROING_DOWN Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE Cannot register unknown string STR_USRACT_BULD_TERRAIN_RAISE_10CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_LOWER_10CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_RAISE_50CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_LOWER_50CM Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_0 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_1 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_2 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_3 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_4 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_5 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_6 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_7 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_8 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_9 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_10 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_11 Cannot register unknown string STR_DISP_LEFT Cannot register unknown string STR_DIFF_CAMERA_SHAKE Cannot register unknown string STR_FREETRACK Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON Cannot register unknown string STR_MSG_ADDON_NOT_FOUND Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT Cannot register unknown string STR_INCOMPATIBLE_LOAD_GAME_ATTEMPT Warning: CfgVehicles missing in PreloadConfig - may slow down vehicle creation Warning: CfgAmmo missing in PreloadConfig - may slow down vehicle creation Warning: CfgNonAIVehicles missing in PreloadConfig - may slow down vehicle creation Updating base class ->NonStrategic, by p:\dw\ca\config.cpp/CfgVehicles/HouseBase/ Updating base class ->HouseBase, by p:\dw\ca\config.cpp/CfgVehicles/Ruins/ Updating base class ->DestructionEffects, by p:\dw\ca\config.cpp/CfgVehicles/House/DestructionEffects/ Updating base class ->StaticMGWeapon, by p:\dw\ca\misc3\WF\config.cpp/CfgVehicles/WarfareBMGNest_M240_base/ Include file p:\dw\gaza\gaza.hpp not found. Cannot include file gaza.hpp Preprocessor failed on file p:\dw\gaza\config.cpp - error 1. Error 3 while parsing Error in config p:\dw\gaza\config.cpp Include file p:\dw\gaza\gaza.hpp not found. Cannot include file gaza.hpp Preprocessor failed on file p:\dw\gaza\config.cpp - error 1. Error 3 while parsing Error in config p:\dw\gaza\config.cpp Creating texture headers file... 254 texture headers saved to file "P:\BIN_TEMP\dw\gaza\texHeaders.bin" w:\C_branch\Poseidon\Arrowhead\El\FileServer\fileServer.cpp(2513) : Assertion failed 'req->RefCounter()==1' Gnat;2248528']Nothing obvious .... what did the log say? Share this post Link to post Share on other sites
DanWelch 10 Posted November 5, 2012 I have corrected the issue, apparently I had a corrupt roadway in the island and one of my keypoints was missing. so I reloaded my backup file and attempted everything again with my new clutter files and everything is working. thx for the replies. Share this post Link to post Share on other sites