// $Id: n-ICFRA-F.tgt 2178 2018-08-06 15:44:20Z dmc $ - target definition file for // F-Class ICFRA targetfaces: standard V, 5, 4... scoring. // $Author: dmc $ $Revision: 2178 $ $Date: 2018-08-06 12:44:20 -0300 (Mon, 06 Aug 2018) $ // // Created 14-Apr-2017, from http://www.icfra.co.uk/FC_Rules_2014%20Final.pdf // Updated for new "V" scoring under SMTV2 software 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_f = { // options used by v2.1 code: shot_format: '{1}.{2}V', // e.g. "48.2V" }; var F_ICFRA_600m = { distance:600, centrecoords: {x:0, y:0}, targetboard: { width: 1800, height: 1800, colour:"white", bordercolour:"black", borderwidth:10 }, options : v2options_f, 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:160/2 } }, { name:"5", score:5, colour:"transparent", bordercolour:"white", borderwidth:2.3, type: {name:"ring", dia:160 } }, { name:"4", score:4, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:320 } }, { name:"3", score:3, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:660 } }, { name:"2", score:2, colour:"black", /* no border - aiming mark */ type: {name:"ring", dia:1000 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1800, height: 1800 } }, ], }; module.exports = { // Data sources: // http://www.icfra.co.uk/FC_Rules_2014%20Final.pdf // D3 The target for 700 yds will be that for 600 m. // // Changes May-2014: // - start adding "SuperV" for some target faces // - used prescribed (2012 rules) dimensions for 400y/m faces (vs. previous "300 dims" * 4/3) // - update 300y/m to be placed on 6' physical frames, with a 4'x4' scoring zone // - use 6'x6' frames for 400y/m 'ICFRA-300y-F': { distance:300*YARDSTOMETRES, centrecoords: {x:0, y:0}, targetboard: { width: 1800, height: 1800, colour:"white", bordercolour:"black", borderwidth:10 }, options : v2options_f, 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:65/2 } }, { name:"5", score:5, colour:"transparent", bordercolour:"white", borderwidth:2.3, type: {name:"ring", dia:65 } }, { name:"4", score:4, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:130 } }, { name:"3", score:3, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:260 } }, { name:"2", score:2, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:390 } }, { name:"1", score:1, colour:"black", /* no border - aiming mark */ type: {name:"ring", dia:560 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1200, height: 1200 } }, { name:"0", score:0, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1800, height: 1800 } }, ], }, 'ICFRA-500y-F': { distance:500*YARDSTOMETRES, centrecoords: {x:0, y:0}, targetboard: { width: 1800, height: 1800, colour:"white", bordercolour:"black", borderwidth:10 }, options : v2options_f, 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:130/2 } }, { name:"5", score:5, colour:"transparent", bordercolour:"white", borderwidth:2.3, type: {name:"ring", dia:130 } }, { name:"4", score:4, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:260 } }, { name:"3", score:3, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:600 } }, { name:"2", score:2, colour:"black", // no border - aiming mark type: {name:"ring", dia:915 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1800, height: 1800 } }, ], }, 'ICFRA-600y-F': { distance:600*YARDSTOMETRES, centrecoords: {x:0, y:0}, targetboard: { width: 1800, height: 1800, colour:"white", bordercolour:"black", borderwidth:10 }, options : v2options_f, 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:145/2 } }, { name:"5", score:5, colour:"transparent", bordercolour:"white", borderwidth:2.3, type: {name:"ring", dia:145 } }, { name:"4", score:4, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:290 } }, { name:"3", score:3, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:600 } }, { name:"2", score:2, colour:"black", /* no border - aiming mark */ type: {name:"ring", dia:915 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1800, height: 1800 } }, ], }, // ICFRA says "use 600m" target... OK, done! 'ICFRA-700y-F': (t=JSON.parse(JSON.stringify(F_ICFRA_600m)),t.options.ghost_max=2300/METRESTOFEET, t.distance=700*YARDSTOMETRES,t), 'ICFRA-LR-F' : { distance:800*YARDSTOMETRES, // needs to be overridden when used "distances": [ { "d": 700, "name": "700m", "unit": "m" }, { "d": 800, "name": "800m", "unit": "m" }, { "d": 900, "name": "900m", "unit": "m"}, { "d": 800 * YARDSTOMETRES, "name": "800y", "unit": "y" }, { "d": 900 * YARDSTOMETRES, "name": "900y", "unit": "y" }, { "d": 1000 * YARDSTOMETRES, "name": "1000y", "unit": "y", "p": "true" }, ], centrecoords: {x:0, y:0}, targetboard: { width: 2400, height: 1800, // 6x8 colour:"white", bordercolour:"black", borderwidth:10 }, options : v2options_f, 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:128 } }, { name:"5", score:5, colour:"transparent", bordercolour:"white", borderwidth:2.3, type: {name:"ring", dia: 254 } }, { name:"4", score:4, colour:"transparent", bordercolour:"white", type: {name:"ring", dia: 508 } }, { name:"3", score:3, colour:"transparent", bordercolour:"white", type: {name:"ring", dia: 815 } }, { name:"2", score:2, colour:"black", /* no border - aiming mark */ type: {name:"ring", dia: 1118 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 2400, height:1800 } }, ], }, 'ICFRA-300m-F': { distance:300, centrecoords: {x:0, y:0}, targetboard: { width: 1800, height: 1800, colour:"white", bordercolour:"black", borderwidth:10 }, options : v2options_f, 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:70/2 } }, { name:"5", score:5, colour:"transparent", bordercolour:"white", borderwidth:2.3, type: {name:"ring", dia:70 } }, { name:"4", score:4, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:140 } }, { name:"3", score:3, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:280 } }, { name:"2", score:2, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:420 } }, { name:"1", score:1, colour:"black", /* no border - aiming mark */ type: {name:"ring", dia:600 } }, { name:"0", score:0, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1200, height: 1200 } }, { name:"0", score:0, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1800, height: 1800 } }, ], }, 'ICFRA-500m-F': { distance:500, centrecoords: {x:0, y:0}, targetboard: { width: 1800, height: 1800, colour:"white", bordercolour:"black", borderwidth:10 }, options : v2options_f, 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:145/2 } }, { name:"5", score:5, colour:"transparent", bordercolour:"white", borderwidth:2.3, type: {name:"ring", dia:145 } }, { name:"4", score:4, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:290 } }, { name:"3", score:3, colour:"transparent", bordercolour:"white", type: {name:"ring", dia:660 } }, { name:"2", score:2, colour:"black", /* no border - aiming mark */ type: {name:"ring", dia:1000 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", type: {name:"ring", dia:1320 } }, { name:"0", score:0, colour:"transparent", bordercolour:"black", borderwidth:1, type: {name:"rect", width: 1800, height: 1800 } }, ], }, 'ICFRA-600m-F': F_ICFRA_600m, }