====== ArmA 3 Dummy Config for Class CfgWorlds ======
[[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]]
Binarizing terrain WRP requires config.cpp namely class CfgWorlds to be present in the same directory as the WRP file otherwise all vegetation (trees and rocks) foliage will not work in-game map (M) view.
Early 2017 Mikero changed pboProject to give warning (not an error, a warning) about this issue. Since then many people were scratching their heads of whats up as their WRP data + config were separated to two different pbos.
Early August 2017 Mikero again changed pboProject to warn you about missing worldName in config next to WRP file.
This can be fixed / avoided by adding dummy config to the pbo where your WRP file is located.
**Terrain dummy config with WRP file:**
class CfgPatches
{
class PMC_iraq_baghdad_wrp
{
units[] = {};
weapons[] = {};
requiredVersion = 1;
requiredAddons[] =
{
"A3_Map_Stratis"
};
};
};
class CfgWorlds
{
class Stratis;
class PMC_iraq_baghdad: Stratis
{
// pboProject requires
worldName = "\pmc\pmc_iraq_baghdad\pmc_iraq_baghdad.wrp";
// arma3 requires for forests to appear in mapview (M)
minTreesInForestSquare = 2;
minRocksInRockSquare = 2;
};
};
This would require no additions to your normal _cfg config.cpp entry as you obviously are already using "PMC_iraq_baghdad_wrp" as requiredAddons[] entry.
Credits from this dummy config goes to kju!