// $Id: n-USA-NRA-ShortRange.tgt 2203 2018-08-29 23:18:12Z dmc $ // $Author: dmc $ $Revision: 2203 $ $Date: 2018-08-29 20:18:12 -0300 (Wed, 29 Aug 2018) $ var YARDSTOMETRES = 3 / 3.28; var INCHESTOMM = 25.4; var METRESTOFEET = 3.28; var std_nra_options = { // options used by v2.1 code: shot_format: '{1}-{2}X', // e.g. "99-7X" speed_unit_name: 'fps', // units to report speed; default = 'fps' speed_unit_mpier: METRESTOFEET, // speeds will be round()'ed }; var mr_targetboard = { width: 72 * INCHESTOMM, height: 72 * INCHESTOMM, colour: "white", bordercolour: "black", borderwidth: 10 }; module.exports = { // http://www.nrahq.org/compete/nra-rule-books.asp // http://www.nrahq.org/compete/RuleBooks/HPR/hpr-book.pdf (F-Class in section 22) // NRA target dimensions from http://www.nrahq.org/compete/rules/fullbore_07.pdf // // new addresses: http://compete.nra.org/official-nra-rule-books.aspx // http://compete.nra.org/documents/pdf/compete/RuleBooks/Fullbore/fb-book.pdf // http://compete.nra.org/documents/pdf/compete/RuleBooks/HPR/hpr-book.pdf // 'US-SR-200y': { // http://www.nrahq.org/compete/RuleBooks/HPR/hpr-book.pdf sec. 4.1 distance: 200 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, centrecoords: { x: 0, y: 0 }, targetboard: mr_targetboard, options: std_nra_options, // see at top scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "X", score: [10, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 3 * INCHESTOMM } }, { name: "10", score: 10, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 7 * INCHESTOMM } }, { name: "9", score: 9, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 13 * INCHESTOMM } }, { name: "8", score: 8, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 19 * INCHESTOMM } }, { name: "7", score: 7, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 25 * INCHESTOMM } }, { name: "6", score: 6, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 31 * INCHESTOMM } }, { name: "5", score: 5, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 37 * INCHESTOMM } }, { name: "0", score: 0, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, 'US-SR-1-100y': { // http://www.nrahq.org/compete/RuleBooks/HPR/hpr-book.pdf sec. 4.2(a) distance: 100 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, centrecoords: { x: 0, y: 0 }, targetboard: mr_targetboard, options: std_nra_options, // see at top scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "X", score: [10, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 1.35 * INCHESTOMM } }, { name: "10", score: 10, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 3.35 * INCHESTOMM } }, { name: "9", score: 9, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 6.35 * INCHESTOMM } }, { name: "8", score: 8, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 9.35 * INCHESTOMM } }, { name: "7", score: 7, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 12.35 * INCHESTOMM } }, { name: "6", score: 6, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 15.35 * INCHESTOMM } }, { name: "5", score: 5, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 18.35 * INCHESTOMM } }, { name: "0", score: 0, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, 'US-SR-3-300y': { // http://www.nrahq.org/compete/RuleBooks/HPR/hpr-book.pdf sec. 4.1 distance: 300 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, centrecoords: { x: 0, y: 0 }, targetboard: mr_targetboard, options: std_nra_options, // see at top scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "X", score: [10, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 3 * INCHESTOMM } }, { name: "10", score: 10, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 7 * INCHESTOMM } }, { name: "9", score: 9, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 13 * INCHESTOMM } }, { name: "8", score: 8, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 19 * INCHESTOMM } }, { name: "7", score: 7, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 25 * INCHESTOMM } }, { name: "6", score: 6, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 31 * INCHESTOMM } }, { name: "5", score: 5, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 37 * INCHESTOMM } }, { name: "0", score: 0, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, 'US-SR-21-100y': { // http://www.nrahq.org/compete/RuleBooks/HPR/hpr-book.pdf sec. 4.2(b) distance: 100 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, centrecoords: { x: 0, y: 0 }, targetboard: mr_targetboard, options: std_nra_options, // see at top scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "X", score: [10, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 0.79 * INCHESTOMM } }, { name: "10", score: 10, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 2.12 * INCHESTOMM } }, { name: "9", score: 9, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 4.12 * INCHESTOMM } }, { name: "8", score: 8, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 6.12 * INCHESTOMM } }, { name: "7", score: 7, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 8.12 * INCHESTOMM } }, { name: "6", score: 6, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 10.12 * INCHESTOMM } }, { name: "5", score: 5, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 12.12 * INCHESTOMM } }, { name: "0", score: 0, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, 'US-SR42-200y': { /* NRA No. SR-42—Reduction of the SR-3 target to simulate the 300- yard stage of the National Match Course at 200 yards. */ distance: 200 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: mr_targetboard, options: std_nra_options, // see at top scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "X", score: [10, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 1.90 * INCHESTOMM } }, { name: "10", score: 10, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 4.56 * INCHESTOMM } }, { name: "9", score: 9, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 8.56 * INCHESTOMM } }, { name: "8", score: 8, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 12.56 * INCHESTOMM } }, { name: "7", score: 7, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 16.56 * INCHESTOMM } }, { name: "6", score: 6, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 20.56 * INCHESTOMM } }, { name: "5", score: 5, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 24.56 * INCHESTOMM } }, { name: "0", score: 0, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, 'US-MR52-200y': {// http://compete.nra.org/documents/pdf/compete/RuleBooks/HPR/hpr-book.pdf // 4.3 (c) NRA No. MR-52—Reduction of the MR-1 target to simulate the // 600-yard stage of the National Match Course at 200 yards. distance: 200 * YARDSTOMETRES, centrecoords: { x: 0, y: 0 }, targetboard: mr_targetboard, options: std_nra_options, // see at top scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name: "X", score: [10, 1], colour: "transparent", bordercolour: "white", borderwidth: 2.3, type: { name: "ring", dia: 1.79 * INCHESTOMM } }, { name: "10", score: 10, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 3.79 * INCHESTOMM } }, { name: "9", score: 9, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 5.79 * INCHESTOMM } }, { name: "8", score: 8, colour: "transparent", bordercolour: "white", type: { name: "ring", dia: 7.79 * INCHESTOMM } }, { name: "7", score: 7, colour: "black", /* no border - aiming mark */ type: { name: "ring", dia: 11.79 * INCHESTOMM } }, { name: "6", score: 6, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 15.79 * INCHESTOMM } }, { name: "5", score: 5, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "ring", dia: 19.79 * INCHESTOMM } }, { name: "0", score: 0, colour: "transparent", bordercolour: "black", borderwidth: 1, type: { name: "rect", width: 72 * INCHESTOMM, height: 72 * INCHESTOMM } }, ], }, }