Advertisement
icdb

[ArmA3] M6 mortar values at [153, 130.05, 110.16, 88.74] m/s

Oct 22nd, 2018
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 9.12 KB | None | 0 0
  1. //[_rangeToHit, _lineElevation, _lineHeightElevation, _lineHeightTimeDelta, _lineTimeOfFlight, _lineCrosswindDeg, _lineHeadwindMeters, _lineTailWindMeters, _lineTempDec, _lineTempInc, _lineAirDensDec, _lineAirDensInc]
  2.  
  3. /* muzzleVelocities are calculated:
  4.  * 153 is the initSpeed taken from the config files
  5.  * [0.58, 0.72, 0.85, 1.00] are the multiplication factor taken from artilleryCharge in the config files
  6.  */
  7.  
  8. case ((abs(_muzzleVelocity - 153) < 0.00001) && {(abs(_airFriction - -0.0001) < 0.00001)}): {
  9. [
  10. ["150","1562","1","0.7","29.5","20.5","3.1","-3.0","0.0","-0.0","-0.2","0.2"],
  11.     ["200","1550","1","0.7","29.5","15.5","3.2","-3.0","0.0","-0.0","-0.3","0.3"],
  12.     ["250","1537","1","0.7","29.5","12.4","3.2","-3.0","0.1","-0.0","-0.4","0.4"],
  13.     ["300","1524","2","0.7","29.5","10.4","3.3","-3.0","0.1","-0.0","-0.4","0.5"],
  14.     ["350","1512","2","0.7","29.4","8.9","3.3","-3.1","0.1","-0.0","-0.5","0.5"],
  15.     ["400","1499","2","0.7","29.4","7.8","3.3","-3.1","0.0","-0.1","-0.6","0.6"],
  16.     ["450","1486","3","0.7","29.4","7.0","3.4","-3.1","0.1","-0.1","-0.7","0.6"],
  17.     ["500","1473","3","0.7","29.3","6.3","3.5","-3.2","0.1","-0.1","-0.8","0.7"],
  18.     ["550","1460","3","0.7","29.3","5.7","3.5","-3.2","0.1","-0.1","-0.8","0.8"],
  19.     ["600","1447","3","0.7","29.2","5.3","3.6","-3.3","0.1","-0.1","-0.9","0.9"],
  20.     ["650","1433","4","0.7","29.2","4.9","3.7","-3.3","0.1","-0.1","-1.0","1.0"],
  21.     ["700","1420","4","0.7","29.1","4.5","3.7","-3.4","0.1","-0.1","-1.1","1.0"],
  22.     ["750","1406","4","0.7","29.0","4.3","3.8","-3.4","0.1","-0.1","-1.2","1.1"],
  23.     ["800","1392","5","0.8","28.9","4.0","3.9","-3.5","0.1","-0.1","-1.2","1.2"],
  24.     ["850","1378","5","0.8","28.9","3.8","3.9","-3.5","0.1","-0.1","-1.3","1.3"],
  25.     ["900","1364","6","0.8","28.8","3.6","4.0","-3.6","0.1","-0.1","-1.4","1.4"],
  26.     ["950","1350","6","0.8","28.7","3.4","4.1","-3.6","0.2","-0.1","-1.5","1.4"],
  27.     ["1000","1335","7","0.8","28.6","3.2","4.1","-3.7","0.2","-0.1","-1.5","1.5"],
  28.     ["1050","1320","7","0.8","28.4","3.1","4.2","-3.8","0.2","-0.2","-1.6","1.6"],
  29.     ["1100","1305","8","0.8","28.3","2.9","4.3","-3.8","0.2","-0.1","-1.7","1.7"],
  30.     ["1150","1290","8","0.8","28.2","2.8","4.3","-3.9","0.2","-0.2","-1.8","1.8"],
  31.     ["1200","1274","9","0.8","28.1","2.7","4.4","-4.0","0.2","-0.2","-1.9","1.8"],
  32.     ["1250","1257","9","0.8","27.9","2.6","4.5","-4.0","0.2","-0.2","-2.0","1.9"],
  33.     ["1300","1241","10","0.9","27.7","2.5","4.5","-4.1","0.2","-0.2","-2.0","2.0"],
  34.     ["1350","1224","11","0.9","27.6","2.4","4.6","-4.2","0.2","-0.2","-2.1","2.1"],
  35.     ["1400","1206","12","0.9","27.4","2.3","4.6","-4.2","0.2","-0.2","-2.2","2.1"],
  36.     ["1450","1188","13","0.9","27.2","2.2","4.7","-4.3","0.2","-0.2","-2.3","2.2"],
  37.     ["1500","1169","14","0.9","27.0","2.1","4.8","-4.3","0.2","-0.2","-2.4","2.3"],
  38.     ["1550","1149","15","1.0","26.7","2.0","4.8","-4.4","0.2","-0.2","-2.5","2.4"],
  39.     ["1600","1128","17","1.0","26.5","2.0","4.8","-4.4","0.2","-0.2","-2.6","2.5"],
  40.     ["1650","1106","19","1.0","26.2","1.9","4.9","-4.5","0.2","-0.2","-2.6","2.6"],
  41.     ["1700","1082","21","1.1","25.9","1.8","4.9","-4.5","0.2","-0.3","-2.7","2.6"],
  42.     ["1750","1057","24","1.1","25.5","1.7","4.9","-4.6","0.2","-0.3","-2.8","2.7"],
  43.     ["1800","1030","27","1.2","25.1","1.7","5.0","-4.6","0.3","-0.3","-2.9","2.8"],
  44.     ["1850","999","32","1.3","24.6","1.6","4.9","-4.6","0.3","-0.3","-3.0","2.8"],
  45.     ["1900","964","39","1.5","24.1","1.5","4.9","-4.6","0.3","-0.3","-3.0","2.9"],
  46.     ["1950","921","50","1.7","23.3","1.4","4.9","-4.6","0.3","-0.3","-3.1","2.9"],
  47.     ["2000","857","77","2.3","22.2","1.3","4.7","-4.4","0.3","-0.3","-3.1","3.0"]
  48.     ]
  49.     };
  50.    
  51. case ((abs(_muzzleVelocity - 130.05) < 0.00001) && {(abs(_airFriction - -0.0001) < 0.00001)}): {
  52. [
  53. ["150","1550","1","0.8","25.4","13.5","2.1","-1.9","0.0","-0.0","-0.2","0.2"],
  54.     ["200","1533","2","0.8","25.4","10.2","2.1","-1.9","0.0","-0.0","-0.2","0.2"],
  55.     ["250","1516","2","0.8","25.4","8.2","2.2","-2.0","0.0","-0.1","-0.3","0.3"],
  56.     ["300","1499","3","0.8","25.3","6.8","2.2","-2.0","0.0","-0.1","-0.4","0.3"],
  57.     ["350","1482","3","0.8","25.3","5.9","2.3","-2.0","0.1","-0.1","-0.4","0.4"],
  58.     ["400","1465","4","0.8","25.2","5.2","2.3","-2.1","0.1","-0.1","-0.5","0.5"],
  59.     ["450","1447","5","0.8","25.2","4.6","2.4","-2.1","0.1","-0.1","-0.5","0.5"],
  60.     ["500","1430","5","0.8","25.1","4.2","2.4","-2.2","0.1","-0.1","-0.6","0.6"],
  61.     ["550","1412","6","0.8","25.0","3.8","2.5","-2.2","0.1","-0.1","-0.7","0.6"],
  62.     ["600","1394","6","0.9","24.9","3.5","2.6","-2.3","0.1","-0.1","-0.7","0.7"],
  63.     ["650","1375","7","0.9","24.9","3.2","2.6","-2.3","0.1","-0.1","-0.8","0.7"],
  64.     ["700","1356","8","0.9","24.7","3.0","2.7","-2.3","0.1","-0.1","-0.8","0.8"],
  65.     ["750","1337","9","0.9","24.6","2.8","2.7","-2.4","0.1","-0.1","-0.9","0.9"],
  66.     ["800","1317","10","0.9","24.5","2.6","2.8","-2.5","0.1","-0.1","-1.0","0.9"],
  67.     ["850","1297","11","0.9","24.4","2.5","2.9","-2.5","0.1","-0.1","-1.0","1.0"],
  68.     ["900","1276","12","0.9","24.2","2.3","2.9","-2.6","0.1","-0.1","-1.1","1.1"],
  69.     ["950","1255","13","1.0","24.0","2.2","3.0","-2.6","0.2","-0.1","-1.1","1.1"],
  70.     ["1000","1233","14","1.0","23.8","2.1","3.1","-2.7","0.2","-0.1","-1.2","1.2"],
  71.     ["1050","1210","16","1.0","23.6","2.0","3.1","-2.7","0.2","-0.1","-1.3","1.3"],
  72.     ["1100","1185","17","1.0","23.4","1.9","3.2","-2.8","0.2","-0.2","-1.3","1.3"],
  73.     ["1150","1160","19","1.1","23.1","1.8","3.2","-2.8","0.2","-0.2","-1.4","1.4"],
  74.     ["1200","1133","22","1.1","22.9","1.7","3.2","-2.9","0.2","-0.2","-1.5","1.4"],
  75.     ["1250","1104","25","1.2","22.5","1.6","3.3","-3.0","0.2","-0.2","-1.5","1.5"],
  76.     ["1300","1072","29","1.3","22.2","1.6","3.3","-3.0","0.2","-0.2","-1.6","1.6"],
  77.     ["1350","1038","34","1.4","21.7","1.5","3.3","-3.0","0.2","-0.2","-1.6","1.6"],
  78.     ["1400","997","42","1.5","21.2","1.4","3.3","-3.0","0.2","-0.2","-1.7","1.7"],
  79.     ["1450","948","55","1.7","20.5","1.3","3.3","-3.0","0.2","-0.2","-1.8","1.7"],
  80.     ["1500","877","84","2.3","19.4","1.2","3.2","-3.0","0.2","-0.2","-1.8","1.7"]
  81.     ]
  82.     };
  83.    
  84. case ((abs(_muzzleVelocity - 110.16) < 0.00001) && {(abs(_airFriction - -0.0001) < 0.00001)}): {
  85. [
  86. ["100","1555","2","0.9","21.8","12.9","1.3","-1.3","-0.0","-0.0","-0.1","0.1"],
  87.     ["150","1532","3","0.9","21.8","8.7","1.4","-1.2","0.0","-0.0","-0.1","0.1"],
  88.     ["200","1510","4","0.9","21.7","6.5","1.4","-1.2","0.0","-0.0","-0.2","0.2"],
  89.     ["250","1487","4","0.9","21.7","5.2","1.5","-1.3","0.0","-0.0","-0.2","0.2"],
  90.     ["300","1463","5","0.9","21.6","4.4","1.5","-1.3","0.1","-0.0","-0.2","0.3"],
  91.     ["350","1440","6","1.0","21.5","3.8","1.6","-1.3","0.1","-0.0","-0.3","0.3"],
  92.     ["400","1416","8","1.0","21.5","3.3","1.6","-1.4","0.1","-0.1","-0.3","0.3"],
  93.     ["450","1391","9","1.0","21.4","3.0","1.6","-1.4","0.1","-0.1","-0.4","0.4"],
  94.     ["500","1366","10","1.0","21.2","2.7","1.7","-1.5","0.1","-0.1","-0.5","0.4"],
  95.     ["550","1340","12","1.0","21.1","2.4","1.8","-1.5","0.1","-0.1","-0.5","0.5"],
  96.     ["600","1314","13","1.0","21.0","2.2","1.8","-1.6","0.1","-0.1","-0.5","0.5"],
  97.     ["650","1287","15","1.1","20.8","2.1","1.9","-1.6","0.1","-0.1","-0.6","0.6"],
  98.     ["700","1258","17","1.1","20.6","1.9","2.0","-1.7","0.1","-0.1","-0.6","0.6"],
  99.     ["750","1228","19","1.1","20.4","1.8","2.0","-1.7","0.1","-0.1","-0.7","0.7"],
  100.     ["800","1196","22","1.2","20.1","1.7","2.0","-1.8","0.1","-0.1","-0.7","0.7"],
  101.     ["850","1163","26","1.2","19.8","1.6","2.1","-1.8","0.1","-0.1","-0.8","0.8"],
  102.     ["900","1127","30","1.3","19.5","1.5","2.2","-1.8","0.2","-0.1","-0.8","0.8"],
  103.     ["950","1086","36","1.4","19.1","1.4","2.2","-1.9","0.2","-0.1","-0.9","0.9"],
  104.     ["1000","1040","45","1.5","18.6","1.3","2.2","-1.9","0.2","-0.2","-0.9","0.9"],
  105.     ["1050","985","59","1.7","18.0","1.2","2.2","-2.0","0.2","-0.2","-1.0","0.9"],
  106.     ["1100","907","88","2.2","17.0","1.0","2.1","-1.9","0.2","-0.2","-1.0","1.0"]
  107.     ]
  108.     };
  109.    
  110. case ((abs(_muzzleVelocity - 88.74) < 0.00001) && {(abs(_airFriction - -0.0001) < 0.00001)}): {
  111. [
  112. ["100","1532","4","1.1","17.7","7.2","0.7","-0.7","0.0","-0.0","-0.1","0.0"],
  113.     ["150","1498","6","1.1","17.7","4.8","0.8","-0.7","0.0","-0.0","-0.1","0.1"],
  114.     ["200","1464","8","1.1","17.6","3.6","0.8","-0.7","0.0","-0.0","-0.1","0.1"],
  115.     ["250","1428","10","1.1","17.5","2.9","0.9","-0.7","0.0","-0.0","-0.1","0.1"],
  116.     ["300","1392","13","1.2","17.4","2.4","0.9","-0.8","0.1","-0.0","-0.2","0.2"],
  117.     ["350","1354","16","1.2","17.2","2.1","1.0","-0.8","0.0","-0.1","-0.2","0.2"],
  118.     ["400","1315","19","1.2","17.1","1.9","1.0","-0.9","0.1","-0.1","-0.2","0.2"],
  119.     ["450","1274","23","1.3","16.8","1.7","1.1","-0.9","0.1","-0.1","-0.3","0.3"],
  120.     ["500","1230","27","1.3","16.6","1.5","1.1","-0.9","0.1","-0.1","-0.3","0.3"],
  121.     ["550","1183","34","1.4","16.3","1.3","1.2","-1.0","0.1","-0.1","-0.3","0.3"],
  122.     ["600","1130","42","1.5","15.9","1.2","1.2","-1.0","0.1","-0.1","-0.4","0.4"],
  123.     ["650","1069","55","1.7","15.4","1.1","1.2","-1.0","0.1","-0.1","-0.4","0.4"],
  124.     ["700","991","78","2.0","14.7","1.0","1.2","-1.1","0.1","-0.1","-0.4","0.4"],
  125.     ["750","853","152","2.9","13.2","0.8","1.2","-1.0","0.1","-0.1","-0.5","0.4"]
  126.     ]
  127.     };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement