R3vo/Sandbox – User
Userconfig
A userconfig file is a interface which the user of a modification and the creator can use to "communicate". It is usually used to allow the user to change modification-specfic settings. These settings will then be available already during config parsing.
Location
The userconfig file is usually located in the Arma 3 root folder. Inside there it can also be placed in a special userconfig folder.
- C:\Program Files (x86)\Steam\steamapps\common\Arma 3
- C:\Program Files (x86)\Steam\steamapps\common\Arma 3\userconfig
Example use-cases
Deleting entries from config (In this case in Eden Editor) which the user does not need.
- Config.cpp
class Mission
{
class Preferences
{
class AttributeCategories
{
#ifdef HIDE_ENH_INTERFACE
delete ENH_Interface;
#endif
//...
- userconfig.hpp
//Uncomment lines to remove them from Eden Editor //Editor Preferences //Make sure to reset the preferences to the default values first //#define HIDE_ENH_DEBUGOPTIONS //#define HIDE_ENH_DYNAMICVIEWDISTANCE //#define HIDE_ENH_INTERFACE