Date: 2019-07-19 20:12
Initially released only for the TCS Arma group but now on the workshop aswell, BattleTracker is an arma 3 mod that allows capture and playback of missions similar to OCAP.
To install TCS BattleTracker you should use modfolders to keep it seperate from the official game content to prevent issues.
With Arma 3 you can use different ways to set up your modfolders to use custom content you have downloaded.
Please visit the Arma 3 Mod install instructions page for more information about using custom mods and addons in Arma 3.
For usage instructions and information of how to use the TCS BattleTracker please refer to the included documentation and/or example mission.
For server owners
To have the mod running on your server all you need to to is include the mod folder in your mod path.
And then, to start the recording call the function TBT_fnc_beginCapture on the server, example:
 call TBT_fnc_beginCapture;
To stop a recording and export it, call the TBT_fnc_endCapture function on the server, example:
 call TBT_fnc_endCapture;
Make sure to call the endCapture function, otherwise the recording will not be stopped and exported.
You can stop it in the next mission but you will need a hex editor to fix the end time of the recording.
As to where the recordings will be placed, the first thing you need to do is make sure the extension generated a configuration file.
This configuration file is generated where your arma 3 executable is by the extension once it is loaded by the game, and in it you can find the setting to change the destination folder.
After you changed the setting, you can reload the configuration in-game by executing this code on the server:
"TCS-Battletracker" callExtension "reloadConfiguration";
To play the recording there is an web renderer already made[npmjs.com] that you can integrate into your website, all that is needed is to create the page that handles all the interactions with the renderer. There is more information about that in the NPM page.
If you don't want to integrate it into your website, you can use this one[gkovalechyn.net] to play back your recordings and see how it works.
Note: I only made icons for 3 object types, so planes, static weapons, etc. do not have icons and use the default leaflet marker icons, and there is still some work to be done on the rendering side to make it more intuitive and prettier.
Also, if you are to integrate it into your website you have to provide your own tiles and icons.
You can create your own player or use the one already made, the format of the exported file is specified in the CPP extension gitlab repository here[gitlab.com] in the Recording.ksy file.
If you want to integrate the renderer into your website you can add it as a dependency using NPM, note that it depends on leaflet and leaflet-rotatedMarker.
As for the icons, they should be square images and they will be rotated around their center, so make sure the images are centered properly.
* Microsoft Visual C++ 14.0 or greater.
* A 64-bit server, 32-bit DLL's are not included but you are free to compile them yourself.
License / Disclaimer:
You are NOT allowed to reupload, republish or include this mod in any modpack in any shape or form.
* Bug with the Deleted event handler because it fires when a unit gets inside a vehicle.
* Messages to the sender of the begin and end capture functions.
Initial release on the wokshop