-
Notifications
You must be signed in to change notification settings - Fork 1
Settings
DerZade edited this page Oct 2, 2021
·
16 revisions
Contents
Gruppe Adler Minimalist UI adds a lot of customizability through custom settings. These can be changed via your CBA Settings or the provided functions.
You may need to restart your game to apply some of the settings.
Disclaimer: The CBA Settings will overwrite your custom setting, so if CBA is loaded just use those instead of fiddling around with scripts.
Setting | Description | Default Value | Data Type | Arma Default |
---|---|---|---|---|
chat_enabled |
Show Chat | false |
Boolean | true |
chat_enabled_map |
Show Chat on map | true |
Boolean | true |
commandbar_enabled |
Show Vanilla Command Bar | false |
Boolean | true |
defaultactionicon_size |
DefaultAction-Icon Size | 0 |
Number | 0.8 |
stanceindicator_enabled |
Show Vanilla Stance indicator | false |
Boolean | true |
weaponinfo_showongetin |
Show when getting into Vehicle | true |
Boolean | n/a |
weaponinfo_showongetout |
Show when getting out of Vehicle | true |
Boolean | n/a |
weaponinfo_duration |
Duration | 2 |
Number | n/a |
weaponinfo_fadeoutduration |
Fadeout Duration | 1 |
Number | n/a |
weaponinfo_color |
WeaponInfo Color | [0.85,0.85,0.85,1] |
Color | n/a |
The CBA Settings can be found in your ADOON OPTIONS under GRAD Minimalist UI:
If you don't use CBA you are still able to customize Gruppe Adler Minimalist UI, however it will be not as easy. Some scripting is required.😉
The whole thing works by adding variables to your profile, ergo the settings will be bound (like every other setting) to your Arma profile.
Now let's get started:
- Open up the editor place a unit and play the scenario as is in Singleplayer.
- Hit ESC. We'll need the Debug Console
- Copy the following code snippet into the text area called Execute (1):
["chat_enabled", true] call grad_minui_fnc_setSetting;
- We pass two parameters to the function, which are separated by a comma
- The name of the setting (in this case:
"chat_enabled"
) which is a <STRING> (=has to start and end with quotation marks) - The new value (in this case:
true
) which has - based on the setting - varying datatypes (Just use the same format as the default values in the table above)
- The name of the setting (in this case:
- Modify the two parameters to your desire. A list of all settings can be found in the table above
- Hit LOCAL EXEC (2)
- To check whether everything worked you can copy
["chat_enabled"] call grad_minui_fnc_setting
(with the correct setting name of course) into one of the Watch fields (3). If the value you tried to apply appears in the line below (4), everything worked correctly. - To reset a setting to it's default value just call the setSetting function without a value parameter:
["chat_enabled"] call grad_minui_fnc_setSetting;