R3vo/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Replaced content with "{{Timeline_Item|ARMA0|1982|08|Resistance|LightSteelBlue}}")
Tag: Replaced
Line 1: Line 1:
== Userconfig ==
{{Timeline_Item|ARMA0|1982|08|Resistance|LightSteelBlue}}
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 {{arma3}} root folder. Inside there it can also be placed in a special userconfig folder.
* <tt>C:\Program Files (x86)\Steam\steamapps\common\Arma 3</tt>
* <tt>C:\Program Files (x86)\Steam\steamapps\common\Arma 3\userconfig</tt>
== 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

Revision as of 18:00, 26 December 2020

|- | class="timeline-item-icon" | Operation Flashpoint | class="timeline-item-date" | 08 / Resistance | class="timeline-item-text" | LightSteelBlue