Skip to content
Snippers edited this page Sep 12, 2016 · 1 revision

Debug/diagonizing issues in ACRE2

ACRE does log a few things to your RPT file already, however these are not extensive. For info on where to find your RPT file see the arma 3 wiki.

User guide

Radio signal

Signal strength in ACRE is measured as the dBm that the recieving antenna picks up. A value that can be recieved will be typically be between 0 and -100. Different radios have different sensitivites but the lower limits are around -105 to -117 depending on the radio. Anything less will not be recieved or heard.

Radio signal strength hint.

If you want to test the incoming signal strength feel free to enable the signal hint. This will display a hint with data on all transmissions you are recieving. acre_sys_signal_showSignalHint = true;

Log signal traces to RPT

If you want to log radio transmissions to your rpt use ACRE_SIGNAL_DEBUGGING = 1;. Signal traces will now appear in the RPT.

Sample trace in the RPT.

ACRE TX from Snippers (on radio ACRE_PRC343_ID_1, distance at end: 67m), duration 1.1s: [-992,-992,-85,-85,-85,-85]

The signal trace is the array at the end (starts with '[' and ends with ']'). The value -992 is used as a placeholder signal strength value while ACRE awaits the signal calculation result from the extension. While waiting for a result ACRE will keep checking every 0.06 seconds. Once a non-placeholder is retrieved the radio signal is updated every 0.2 seconds apart.

If this signal debugging mode is active. Acre.dll will also log the inputs which are outputted to Arma 3/logs/acre_dll.log

2016-07-08 23:41:23,732-{INFO }- SIGNAL: ACRE_PRC343_ID_17_ACRE_2HALFINCH_UHF_TNC_ACRE_PRC343_ID_12_ACRE_2HALFINCH_UHF_TNC,27859.7,25269.6,54.3022,-0.754939,-0.111193,-0.646299,ACRE_2HALFINCH_UHF_TNC,27917.2,25384,54.7164,0.559324,-0.504565,-0.6577,ACRE_2HALFINCH_UHF_TNC,2400,100,0,2459.39,-85.0606,1.24914e-05

Signal map visualization debug tool

Currently not functioning.

Signal Map

This tool allows you to render radio signal on the map. This requires having the arma 3 tools installed and mounting the work-drive. It can then be accessed by executing: [] call acre_sys_signalmap_fnc_open; Then just open your map and you should see the tool.

Signal map images will be dumped in your Arma 3/userconfig folder.