// // tgtdefs-NRA-UK.txt - target definition file // // $Author: dmc $ $Revision: 2533 $ $Date: 2019-03-22 10:57:10 -0300 (Fri, 22 Mar 2019) $ // $Id: n-UK-NRA.tgt 2533 2019-03-22 13:57:10Z dmc $ // // // Updated 22-Mar-2019 for 2019, according to pg. 128 of NRA-UK Rules of Shooting // var METRESTOFEET = 3.280839; var YARDSTOMETRES = 3 / METRESTOFEET; var INCHESTOMM = 25.4; var MM_PER_MOA_PER_1Y = 1.047 * 25.4 / 100; // multiply this by the distance in yards var MM_PER_MOA_PER_1M = 1.047 * 25.4 / 100 * 39.37 / 36; // multiply this by the distance in metres var v2options = { temp_unit_name: 'C', // units to report temperature; "F" causes C->F conversion shot_format: '{1}.{2}V', // TR: "49.6V" }; // http://nra.org.uk/wp-content/uploads/historical/bible/2017/Bible%20Main.pdf module.exports = { 'UK-200X': { distance: 200 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 1220, height: 1220, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], colour: "transparent", bordercolour: "white", borderwidth: 0.025 * INCHESTOMM, type: { name: "ring", dia: 2.1 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, type: { name: "ring", dia: 3.5 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, type: { name: "ring", dia: 7 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, type: { name: "ring", dia: 10.5 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 16 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 46 * INCHESTOMM, height: 46 * INCHESTOMM } // 2019 OK }, ], }, 'UK-300X': { distance: 300 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 1220, height: 1220, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], colour: "transparent", bordercolour: "white", borderwidth: 0.025 * INCHESTOMM, // type: { name: "ring", dia: 3.3 * INCHESTOMM } // pre-2019 type: {name:"ring", dia:3.07*INCHESTOMM } }, // updated 22-Mar-2019 { name: "5", score: 5, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, // type: { name: "ring", dia: 5.5 * INCHESTOMM } // pre-2019 type: {name:"ring", dia:5.12*INCHESTOMM } }, // updated 22-Mar-2019 { name: "4", score: 4, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, // type: { name: "ring", dia: 11 * INCHESTOMM } // pre-2019 type: {name:"ring", dia:10.24*INCHESTOMM } }, // updated 22-Mar-2019 { name: "3", score: 3, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, //type: { name: "ring", dia: 16.5 * INCHESTOMM } // pre-2019 type: {name:"ring", dia:15.35*INCHESTOMM } }, // updated 22-Mar-2019 { name: "2", score: 2, colour: "black", /* no border - aiming mark */ // type: { name: "ring", dia: 22 * INCHESTOMM } // pre-2019 type: {name:"ring", dia:22.05*INCHESTOMM } }, // updated 22-Mar-2019 { name: "1", score: 1, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 46 * INCHESTOMM, height: 46 * INCHESTOMM } // 2019 OK }, ], }, 'UK-400X': { distance: 400 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 1220, height: 1220, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], colour: "transparent", bordercolour: "white", borderwidth: 0.025 * INCHESTOMM, type: { name: "ring", dia: 4.8 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, type: { name: "ring", dia: 8 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, type: { name: "ring", dia: 16 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "transparent", bordercolour: "white", borderwidth: 0.100 * INCHESTOMM, type: { name: "ring", dia: 24 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 32 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 46 * INCHESTOMM, height: 46 * INCHESTOMM } // 2019 OK }, ], }, 'UK-500X': { distance: 500 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, // type: { name: "ring", dia: 6.3 * INCHESTOMM } // pre-2019 type: {name:"ring", dia:6.14*INCHESTOMM } }, // updated 22-Mar-2019 { name: "5", score: 5, colour: "transparent", bordercolour: "white", // type: { name: "ring", dia: 10.5 * INCHESTOMM } // pre-2019 type: {name:"ring", dia:10.24*INCHESTOMM } }, // updated 22-Mar-2019 { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 26 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 39 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 52 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 70 * INCHESTOMM, height: 60 * INCHESTOMM } // 2019 OK }, ], }, 'UK-600X': { distance: 600 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 7.8 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 13 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 26 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 39 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 52 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 70 * INCHESTOMM, height: 60 * INCHESTOMM } // 2019 OK }, ], }, 'UK-LR': { // 6'x10' frames distance: 1000 * YARDSTOMETRES, "distances": [ { "d": 800 * YARDSTOMETRES, "name": "800X", "unit": "y" }, { "d": 900 * YARDSTOMETRES, "name": "900X", "unit": "y" }, { "d": 1000 * YARDSTOMETRES, "name": "1000X", "unit": "y", "p": "true" }, // preferred distance { "d": 1100 * YARDSTOMETRES, "name": "1100X", "unit": "y" }, { "d": 1200 * YARDSTOMETRES, "name": "1200X", "unit": "y" }, ], centrecoords: { x: 0, y: 0 }, targetboard: { width: 120 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 14.4 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 24 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 48 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 72 * INCHESTOMM } // 2019 OK }, // TODO: the "2-ring" should actually be ANDed between a 96" diameter ring AND the targetframe rectangle { name: "2", score: 2, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 96 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 118 * INCHESTOMM, height: 70 * INCHESTOMM } // 2019 OK }, ], }, /* Bisley F Class Rifle (F Class) Targets White with circular black aiming mark and a central white V bull. Diameter in inches Long 600 500 400 300 200 Divisions Range yards yards yards yards yards Score Aiming Mark 44 24 20 16 12 8 V Bull 5 3 2.5 2 1.5 1 V Bull 10 6 5 4 3 2 5 Inner 20 12 10 8 6 4 4 Magpie 32 18 15 12 9 6 3 Outer 44 24 20 16 12 8 2 Hit 72 30 25 20 15 10 1 */ 'UK-LR-F': { // 6'x10' frames distance: 1000 * YARDSTOMETRES, "distances": [ { "d": 800 * YARDSTOMETRES, "name": "800X", "unit": "y" }, { "d": 900 * YARDSTOMETRES, "name": "900X", "unit": "y" }, { "d": 1000 * YARDSTOMETRES, "name": "1000X", "unit": "y", "p": "true" }, // preferred distance { "d": 1100 * YARDSTOMETRES, "name": "1100X", "unit": "y" }, { "d": 1200 * YARDSTOMETRES, "name": "1200X", "unit": "y" }, ], centrecoords: { x: 0, y: 0 }, targetboard: { width: 120 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], bordercolour: "transparent", colour: "white", borderwidth: 2.3, type: { name: "ring", dia: 5 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 10 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 20 * INCHESTOMM } // 2019 OK }, { name: "3", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 32 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 44 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 72 * INCHESTOMM } // 2019 OK }, ], }, 'UK-200X-F': { distance: 200 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], bordercolour: "transparent", colour: "white", borderwidth: 2.3, type: { name: "ring", dia: 1 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 2 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 4 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 6 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 8 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 10 * INCHESTOMM } // 2019 OK }, ], }, 'UK-300X-F': { distance: 300 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], bordercolour: "transparent", colour: "white", borderwidth: 2.3, type: { name: "ring", dia: 1.5 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 3 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 6 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 9 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 12 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 15 * INCHESTOMM } // 2019 OK }, ], }, 'UK-400X-F': { distance: 400 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], bordercolour: "transparent", colour: "white", borderwidth: 2.3, type: { name: "ring", dia: 2 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 4 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 8 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 12 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 16 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 20 * INCHESTOMM } // 2019 OK }, ], }, 'UK-500X-F': { distance: 500 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], bordercolour: "transparent", colour: "white", borderwidth: 2.3, type: { name: "ring", dia: 2.5 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 5 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 10 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 15 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 20 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 25 * INCHESTOMM } // 2019 OK }, ], }, 'UK-600X-F': { distance: 600 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }, options: v2options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "V", score: [5, 1], bordercolour: "transparent", colour: "white", borderwidth: 2.3, type: { name: "ring", dia: 3 * INCHESTOMM } // 2019 OK }, { name: "5", score: 5, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 6 * INCHESTOMM } // 2019 OK }, { name: "4", score: 4, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 12 * INCHESTOMM } // 2019 OK }, { name: "3", score: 3, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 18 * INCHESTOMM } // 2019 OK }, { name: "2", score: 2, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 24 * INCHESTOMM } // 2019 OK }, { name: "1", score: 1, colour: "white", bordercolour: "black", borderwidth: 3, type: { name: "ring", dia: 30 * INCHESTOMM } // 2019 OK }, ], }, }