zacharyarnold2016 / unitCap

A little QOL tool for ARMA 3's unit capture utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purpose: Easily create SQF script for Unit Capture recordings.

Requires NodeJS: https://nodejs.org/en/download/

Guide

In Game

  1. Select the unit you'd like to record (Unit Capture is less effective with infantry, So try to prioritize Vehicles)
  2. Provide unit with variable name. lowercase works best.
  3. Create a recording trigger. I typically use Radio Alpha.
  4. In the Triggers coding block input
    [variableName, 50, 30, true, 10] spawn BIS_fnc_unitCapture;]]
    // varName, recordLength, frameRate, trackFireData?, buffer
    
  5. Create a second trigger. this trigger will play the events. in the coding block write
    name engineOn true
    []execVM "filename.ext" // Executes Script.
    
  6. Trigger recording trigger (Alpha in this example, by pressing 0-0-1) and do your recording.
  7. When you finish recording hit Escape, and then Escape again. Your vehicle should be frozen in play.
  8. Press F1. This will copy the movement data to your devices clipboard.
  9. In App

  10. Start program and open a browser to http://localhost:3000/api
  11. in the name category, write the exact variable name of you've used for your unit.
  12. in the move category, paste your clipboard contents.
  13. [optional] to get firing tracking go back into game and hit escape twice again.
  14. [optional] click F2 this time. this will copy the firing content onto your clipboard.
  15. paste clipboard contents into Pew
  16. Submit.
  17. Drag and drop file into Mission File.

Finally

Remember that Second Trigger we made? Now you can activate that trigger. Your recording should play once the amount of time you set up as your buffer has passed.

[variableName, 50, 30, true, 10] spawn BIS_fnc_unitCapture;]]

In this case the variable will be recorded for 50 seconds at a refresh rate of 30 per second, track firing data, When the code is triggered the recording will execute after 10 seconds.

To Do List

  • Prevent Duplicate Post Requests
  • Error Handling and Redirects
  • Drink More Water

About

A little QOL tool for ARMA 3's unit capture utility


Languages

Language:CSS 97.9%Language:JavaScript 1.5%Language:EJS 0.6%