Utilities – Arma 3

From Bohemia Interactive Community
Utilities.jpg

Arma 3 logo black.png 1.68 In order to access the Utilities list, type utils in debug console and click on LOCAL EXEC or execute execVM "A3\Functions_F\Debug\Utilities\lib\index.sqf".

To find out how to access a tool directly, see description of the tools below.


CfgDisabledCommands Template Generator

CfgDisabledCommands Template Generator

Auto-generates template to be used with CfgDisabledCommands.

Shortcut: utils 1
Script:
execVM "A3\Functions_F\Debug\Utilities\utility_cfgDisabledCommands.sqf"


Print Config

Print Config

Prepares formatted config.

Shortcut: utils 2
Script:
execVM "A3\Functions_F\Debug\Utilities\utility_printConfig.sqf"


Moon Phases Tool

Moon Phases

Finds moon phases throughout given year. The longer the bar the brighter the night.

Shortcut: utils 3
Script:
execVM "A3\Functions_F\Debug\Utilities\utility_moonPhases.sqf"


Jukebox

Jukebox

Plays music from CfgMusic. One can navigate through the track by dragging the progress bar left or right and pause/resume by clicking again on the song in the list. The track information for played track in window shows the actual track duration, while the track duration in the list comes from config and could be inaccurate.

Shortcut: utils 4
Script:
execVM "A3\Functions_F\Debug\Utilities\utility_jukebox.sqf"


Script Commands

Script Commands

Lists all available script commands and their arguments.

Shortcut: utils 5
Script:
execVM "A3\Functions_F\Debug\Utilities\utility_scriptCommands.sqf"

Limited modifiers can be used with search:

"<word>"
Searches for exact word, for example:
"addmagazine"
*
Replaces asterisk with anything, for example:
add*global
-
Ignores given word, for example:
addMagazine-cargo
Notepad++ language highlight template export

Notepad++ Export

All script commands can be exported in Notepad++ syntax highlight template format (light and dark).

Follow the instructions on the export page, here is a short transcript:

  1. Copy this content to clipboard with Ctrl + A/Ctrl + C
  2. Open Notepad++ and open a new file
  3. Paste the copied content into the new file with Ctrl + V
  4. Save the file as arma3sqf.xml
  5. Open Notepad++ template directory via Notepad++ menu: Language → User Defined Language → Open User Defined Language folder...
  6. Move arma3sqf.xml in this directory and restart Notepad++
  7. From the Language menu, select:
    • ARMA 3 SQF (Default) - for Default style
    • ARMA 3 SQF (DarkModeDefault) - for DarkModeDefault style

The style can be chosen in: Settings → Style Configurator...