diag mergeConfigFile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
No edit summary
Line 3: Line 3:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |Game name=
| arma3 |Game name=


|1.00|Game version=
|1.00|Game version=

Revision as of 22:45, 7 September 2020


Hover & click on the images for description

Description

Description:
Adjust configs on-the-fly without the need of restarting the game (by merging the given config file into the main config in memory). Location is relative to the Userdir (default) or mission directory depending on the the value of UserDir [FileName,UserDir]. Doesn't work with cfgAmmo & few other classes. (Since 1.69, cfgAmmo should be mergeable!) Merging config file means also that you can't delete parameters through diag_mergeConfigFile. Changes applied by diag_mergeConfigFile are applied to all new entities so restart of mission is not necessarily required - spawning vehicle again or changing back forth weapon should usually do the trick.
Command is only available when using Arma 3 Diagnostics Exe on Dev-Branch.
Groups:
Uncategorised

Syntax

Syntax:
diag_mergeConfigFile path
Parameters:
path: Array - The path to the config on your drive ([FileName,UserDir])
Return Value:
Nothing

Examples

Example 1:
diag_mergeConfigFile ["O:\Arma3\A3\Stuff_F\config.cpp"]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section