A script that generates Targeting FTs for you.
Needs NodeJS.
- Download
generate.js
andfts.json
and put them into an empty directory - Using any text editor, edit the parameters at the top of the script
- in a terminal, run
node generate.js
- Grab your FTs and put them in their respective Rotators, and put the fuse input FT into the cannon's
fuseInput
property if you want - Shoot down the first plane you see (optional)
- Converts the
TargetDistance
,TargetElevation
, andTargetHeading
(this one is relative to the plane's heading) Variables into X, Y and Z Coordinates. - Rotates the X, Y and Z Coordinates by first your Pitch angle then your Roll angle.
- Converts those rotated XYZ Coordinates back into an Elevation angle and an Azimuth angle your turrets can use.