mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Rangetable for vanilla ballistics
This commit is contained in:
parent
d295ee6980
commit
b9341033d7
@ -16,9 +16,9 @@ class ACE_82mm_RangeTable_Dialog {
|
||||
};
|
||||
class ChargeBackground: RscText {
|
||||
idc = -1;
|
||||
x = "13 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
x = "14 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
y = "1 * ((safeZoneH / 1.2) / 25) + (safezoneY + (safezoneH - (safeZoneH / 1.2))/2)";
|
||||
w = "5 * (safeZoneH / 40)";
|
||||
w = "4 * (safeZoneH / 40)";
|
||||
h = "5 * ((safeZoneH / 1.2) / 25)";
|
||||
colorBackground[] = {0,0,0,1};
|
||||
};
|
||||
@ -54,16 +54,16 @@ class ACE_82mm_RangeTable_Dialog {
|
||||
class ChargeListBox: RscListbox {
|
||||
idc = 1501;
|
||||
style = ST_RIGHT;
|
||||
x = "13 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
y = "1 * ((safeZoneH / 1.2) / 25) + (safezoneY + (safezoneH - (safeZoneH / 1.2))/2)";
|
||||
w = "5 * (safeZoneH / 40)";
|
||||
x = "14 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
y = "1 * ((safeZoneH / 1.2) / 25) + (safezoneY + (safezoneH - (safeZoneH / 1.2))/2)";
|
||||
w = "4 * (safeZoneH / 40)";
|
||||
h = "5 * ((safeZoneH / 1.2) / 25)";
|
||||
onLBSelChanged = QUOTE(_this call FUNC(rangeTablePageChange));
|
||||
};
|
||||
class CloseBackground: RscText {
|
||||
idc = -1;
|
||||
x = "33.7634559672906 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
y = "1 * ((safeZoneH / 1.2) / 25) + (safezoneY + (safezoneH - (safeZoneH / 1.2))/2)";
|
||||
x = "33.7634559672906 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
y = "1 * ((safeZoneH / 1.2) / 25) + (safezoneY + (safezoneH - (safeZoneH / 1.2))/2)";
|
||||
w = "0.5 * (safeZoneH / 40)";
|
||||
h = "0.5 * ((safeZoneH / 1.2) / 25)";
|
||||
colorBackground[] = {0,0,0,0.5};
|
||||
@ -73,7 +73,7 @@ class ACE_82mm_RangeTable_Dialog {
|
||||
style = 48;
|
||||
color[] = {1,1,1,0.7};
|
||||
text = "A3\Ui_f\data\GUI\Rsc\RscDisplayArcadeMap\icon_exit_cross_ca.paa";
|
||||
x = "33.7634559672906 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
x = "33.7634559672906 *(safeZoneH / 40) + (safezoneX + (safezoneW - safeZoneH)/2)";
|
||||
y = "1 * ((safeZoneH / 1.2) / 25) + (safezoneY + (safezoneH - (safeZoneH / 1.2))/2)";
|
||||
w = "0.5 * (safeZoneH / 40)";
|
||||
h = "0.5 * ((safeZoneH / 1.2) / 25)";
|
||||
|
@ -35,7 +35,16 @@ while {_stillInRange} do {
|
||||
if (_result isEqualTo []) then {
|
||||
_stillInRange = false;
|
||||
} else {
|
||||
if ((_result select 1) < 86) then {
|
||||
if (_airFriction == 0) then {
|
||||
_result set [4, 0];
|
||||
_result set [5, 0];
|
||||
_result set [6, 0];
|
||||
_result set [7, 0];
|
||||
_result set [8, 0];
|
||||
_result set [9, 0];
|
||||
_result set [10, 0];
|
||||
};
|
||||
if ((_result select 1) < 88) then {
|
||||
_outputArray pushBack [
|
||||
([(_result select 0), "meters", false] call FUNC(dev_formatNumber)),
|
||||
([(_result select 1), "mil", true] call FUNC(dev_formatNumber)),
|
||||
@ -72,5 +81,6 @@ _outputString = format ["case ((abs(_muzzleVelocity - %1) < 0.00001) && ((abs(_a
|
||||
} forEach _outputArray;
|
||||
|
||||
copyToClipboard _outputString;
|
||||
rangeTableOutput = _outputString;
|
||||
|
||||
hint "done";
|
@ -22,7 +22,9 @@ _listBoxData = LIST_CHARGE lbData (lbCurSel LIST_CHARGE);
|
||||
if (isNil "_listBoxData" || {_listBoxData == ""}) exitWith {ERROR("lbCurSel out of bounds or no data");};
|
||||
_muzzleVelocity = parseNumber _listBoxData;
|
||||
|
||||
_precalcArray = [_muzzleVelocity, MK6_82mm_AIR_FRICTION] call FUNC(rangeTablePreCalculatedValues);
|
||||
_airFriction = if (GVAR(airResistanceEnabled)) then {MK6_82mm_AIR_FRICTION} else {0};
|
||||
|
||||
_precalcArray = [_muzzleVelocity, _airFriction] call FUNC(rangeTablePreCalculatedValues);
|
||||
|
||||
lnbClear RANGE_TABLE;
|
||||
{
|
||||
|
@ -26,8 +26,8 @@ case ((abs(_muzzleVelocity - 70) < 0.00001) && ((abs(_airFriction - -0.0001) < 0
|
||||
["100","1493","9","14.0","3.7","0.4","-0.3","0.0","-0.0","-0.0","0.0"],
|
||||
["150","1438","14","13.9","2.5","0.4","-0.4","0.0","-0.0","-0.1","0.0"],
|
||||
["200","1381","20","13.8","1.9","0.5","-0.4","0.0","-0.0","-0.1","0.1"],
|
||||
["250","1321","27","13.6","1.5","0.5","-0.4","0.1","-0.1","-0.1","0.1"],
|
||||
["300","1256","36","13.3","1.3","0.6","-0.5","0.1","-0.1","-0.1","0.1"],
|
||||
["250","1321","27","13.6","1.5","0.5","-0.4","0.0","-0.0","-0.1","0.1"],
|
||||
["300","1256","36","13.3","1.3","0.6","-0.5","0.0","-0.1","-0.1","0.1"],
|
||||
["350","1183","49","12.9","1.1","0.6","-0.5","0.1","-0.1","-0.1","0.1"],
|
||||
["400","1097","70","12.4","0.9","0.6","-0.5","0.1","-0.1","-0.2","0.1"],
|
||||
["450","979","113","11.6","0.8","0.6","-0.5","0.1","-0.1","-0.2","0.2"]
|
||||
@ -35,9 +35,9 @@ case ((abs(_muzzleVelocity - 70) < 0.00001) && ((abs(_airFriction - -0.0001) < 0
|
||||
};
|
||||
case ((abs(_muzzleVelocity - 140) < 0.00001) && ((abs(_airFriction - -0.0001) < 0.00001))): {
|
||||
[
|
||||
["250","1527","2","27.2","9.9","2.6","-2.4","0.1","-0.0","-0.3","0.3"],
|
||||
["300","1512","2","27.2","8.3","2.7","-2.4","0.1","-0.1","-0.4","0.4"],
|
||||
["350","1497","3","27.1","7.1","2.7","-2.5","0.1","-0.1","-0.5","0.4"],
|
||||
["250","1527","2","27.2","9.9","2.6","-2.4","0.0","-0.0","-0.3","0.3"],
|
||||
["300","1512","2","27.2","8.3","2.7","-2.4","0.1","-0.0","-0.4","0.4"],
|
||||
["350","1497","3","27.1","7.1","2.7","-2.5","0.0","-0.1","-0.5","0.4"],
|
||||
["400","1482","3","27.1","6.2","2.7","-2.5","0.1","-0.1","-0.5","0.5"],
|
||||
["450","1467","3","27.0","5.6","2.8","-2.5","0.1","-0.1","-0.6","0.6"],
|
||||
["500","1451","4","27.0","5.0","2.9","-2.6","0.1","-0.1","-0.6","0.6"],
|
||||
@ -45,25 +45,25 @@ case ((abs(_muzzleVelocity - 140) < 0.00001) && ((abs(_airFriction - -0.0001) <
|
||||
["600","1420","5","26.8","4.2","3.0","-2.7","0.1","-0.1","-0.8","0.8"],
|
||||
["650","1404","5","26.8","3.9","3.0","-2.7","0.1","-0.1","-0.9","0.8"],
|
||||
["700","1388","6","26.7","3.6","3.1","-2.8","0.1","-0.1","-0.9","0.9"],
|
||||
["750","1372","6","26.6","3.4","3.2","-2.8","0.2","-0.1","-1.0","1.0"],
|
||||
["800","1355","7","26.5","3.2","3.2","-2.9","0.2","-0.1","-1.1","1.1"],
|
||||
["850","1338","8","26.4","3.0","3.3","-2.9","0.2","-0.2","-1.1","1.1"],
|
||||
["900","1321","8","26.2","2.8","3.4","-3.0","0.2","-0.2","-1.2","1.2"],
|
||||
["950","1303","9","26.1","2.7","3.4","-3.1","0.2","-0.2","-1.3","1.2"],
|
||||
["1000","1285","10","26.0","2.6","3.5","-3.1","0.2","-0.2","-1.4","1.3"],
|
||||
["1050","1266","11","25.8","2.4","3.5","-3.2","0.2","-0.2","-1.4","1.4"],
|
||||
["1100","1247","12","25.7","2.3","3.6","-3.3","0.2","-0.2","-1.5","1.4"],
|
||||
["750","1372","6","26.6","3.4","3.2","-2.8","0.1","-0.1","-1.0","1.0"],
|
||||
["800","1355","7","26.5","3.2","3.2","-2.9","0.1","-0.1","-1.1","1.1"],
|
||||
["850","1338","8","26.4","3.0","3.3","-2.9","0.1","-0.1","-1.1","1.1"],
|
||||
["900","1321","8","26.2","2.8","3.4","-3.0","0.1","-0.1","-1.2","1.2"],
|
||||
["950","1303","9","26.1","2.7","3.4","-3.1","0.1","-0.2","-1.3","1.2"],
|
||||
["1000","1285","10","26.0","2.6","3.5","-3.1","0.2","-0.1","-1.4","1.3"],
|
||||
["1050","1266","11","25.8","2.4","3.5","-3.2","0.1","-0.2","-1.4","1.4"],
|
||||
["1100","1247","12","25.7","2.3","3.6","-3.3","0.1","-0.2","-1.5","1.4"],
|
||||
["1150","1228","13","25.5","2.2","3.7","-3.3","0.2","-0.2","-1.6","1.5"],
|
||||
["1200","1207","14","25.3","2.1","3.7","-3.4","0.2","-0.3","-1.7","1.6"],
|
||||
["1250","1186","15","25.1","2.0","3.8","-3.4","0.2","-0.3","-1.7","1.7"],
|
||||
["1300","1163","17","24.8","1.9","3.8","-3.5","0.3","-0.3","-1.8","1.7"],
|
||||
["1350","1140","19","24.6","1.9","3.9","-3.5","0.3","-0.3","-1.9","1.8"],
|
||||
["1400","1115","21","24.3","1.8","3.9","-3.6","0.3","-0.3","-1.9","1.9"],
|
||||
["1450","1088","24","23.9","1.7","4.0","-3.6","0.3","-0.3","-2.0","1.9"],
|
||||
["1500","1060","27","23.6","1.6","4.0","-3.7","0.3","-0.3","-2.1","2.0"],
|
||||
["1550","1028","32","23.1","1.5","4.0","-3.7","0.3","-0.3","-2.1","2.1"],
|
||||
["1600","991","38","22.6","1.5","4.0","-3.7","0.3","-0.3","-2.2","2.1"],
|
||||
["1650","947","49","21.9","1.4","4.0","-3.7","0.3","-0.3","-2.3","2.2"],
|
||||
["1200","1207","14","25.3","2.1","3.7","-3.4","0.2","-0.2","-1.7","1.6"],
|
||||
["1250","1186","15","25.1","2.0","3.8","-3.4","0.2","-0.2","-1.7","1.7"],
|
||||
["1300","1163","17","24.8","1.9","3.8","-3.5","0.2","-0.2","-1.8","1.7"],
|
||||
["1350","1140","19","24.6","1.9","3.9","-3.5","0.2","-0.2","-1.9","1.8"],
|
||||
["1400","1115","21","24.3","1.8","3.9","-3.6","0.2","-0.2","-1.9","1.9"],
|
||||
["1450","1088","24","23.9","1.7","4.0","-3.6","0.2","-0.2","-2.0","1.9"],
|
||||
["1500","1060","27","23.6","1.6","4.0","-3.7","0.2","-0.2","-2.1","2.0"],
|
||||
["1550","1028","32","23.1","1.5","4.0","-3.7","0.2","-0.2","-2.1","2.1"],
|
||||
["1600","991","38","22.6","1.5","4.0","-3.7","0.2","-0.2","-2.2","2.1"],
|
||||
["1650","947","49","21.9","1.4","4.0","-3.7","0.2","-0.3","-2.3","2.2"],
|
||||
["1700","888","71","21.0","1.3","3.9","-3.6","0.3","-0.3","-2.3","2.2"]
|
||||
]
|
||||
};
|
||||
@ -77,52 +77,186 @@ case ((abs(_muzzleVelocity - 200) < 0.00001) && ((abs(_airFriction - -0.0001) <
|
||||
["700","1485","2","37.1","8.7","6.5","-6.2","0.1","-0.1","-1.6","1.5"],
|
||||
["750","1477","2","37.1","8.2","6.6","-6.2","0.1","-0.1","-1.7","1.6"],
|
||||
["800","1468","2","37.0","7.7","6.7","-6.3","0.1","-0.1","-1.8","1.8"],
|
||||
["850","1460","2","37.0","7.2","6.7","-6.3","0.2","-0.1","-2.0","1.9"],
|
||||
["900","1451","2","37.0","6.8","6.8","-6.4","0.1","-0.2","-2.1","2.0"],
|
||||
["950","1443","2","36.9","6.5","6.9","-6.4","0.2","-0.2","-2.2","2.1"],
|
||||
["1000","1434","2","36.9","6.2","6.9","-6.5","0.2","-0.2","-2.3","2.2"],
|
||||
["1050","1425","2","36.8","5.9","7.0","-6.6","0.2","-0.2","-2.5","2.3"],
|
||||
["1100","1417","3","36.8","5.6","7.1","-6.6","0.2","-0.2","-2.6","2.4"],
|
||||
["850","1460","2","37.0","7.2","6.7","-6.3","0.1","-0.1","-2.0","1.9"],
|
||||
["900","1451","2","37.0","6.8","6.8","-6.4","0.1","-0.1","-2.1","2.0"],
|
||||
["950","1443","2","36.9","6.5","6.9","-6.4","0.1","-0.1","-2.2","2.1"],
|
||||
["1000","1434","2","36.9","6.2","6.9","-6.5","0.1","-0.1","-2.3","2.2"],
|
||||
["1050","1425","2","36.8","5.9","7.0","-6.6","0.1","-0.2","-2.5","2.3"],
|
||||
["1100","1417","3","36.8","5.6","7.1","-6.6","0.1","-0.2","-2.6","2.4"],
|
||||
["1150","1408","3","36.7","5.4","7.1","-6.7","0.2","-0.2","-2.7","2.5"],
|
||||
["1200","1399","3","36.6","5.2","7.2","-6.7","0.2","-0.2","-2.8","2.7"],
|
||||
["1250","1390","3","36.6","5.0","7.3","-6.8","0.2","-0.2","-2.9","2.8"],
|
||||
["1300","1381","3","36.5","4.8","7.4","-6.9","0.2","-0.2","-3.0","2.9"],
|
||||
["1350","1372","3","36.4","4.6","7.4","-6.9","0.2","-0.2","-3.2","3.0"],
|
||||
["1400","1362","4","36.4","4.4","7.5","-7.0","0.2","-0.3","-3.3","3.1"],
|
||||
["1450","1353","4","36.3","4.3","7.6","-7.1","0.2","-0.3","-3.4","3.2"],
|
||||
["1500","1344","4","36.2","4.2","7.7","-7.1","0.3","-0.3","-3.5","3.4"],
|
||||
["1550","1334","4","36.1","4.0","7.7","-7.2","0.3","-0.3","-3.7","3.5"],
|
||||
["1600","1324","4","36.0","3.9","7.8","-7.3","0.3","-0.3","-3.8","3.6"],
|
||||
["1650","1314","4","35.9","3.8","7.9","-7.3","0.3","-0.3","-3.9","3.7"],
|
||||
["1700","1304","5","35.8","3.7","7.9","-7.4","0.3","-0.3","-4.0","3.8"],
|
||||
["1750","1294","5","35.7","3.6","8.0","-7.5","0.3","-0.3","-4.2","3.9"],
|
||||
["1800","1284","5","35.6","3.5","8.1","-7.6","0.3","-0.3","-4.3","4.0"],
|
||||
["1850","1274","5","35.5","3.4","8.2","-7.6","0.3","-0.3","-4.4","4.2"],
|
||||
["1900","1263","6","35.4","3.3","8.2","-7.7","0.3","-0.3","-4.5","4.3"],
|
||||
["1950","1253","6","35.2","3.2","8.3","-7.8","0.3","-0.4","-4.7","4.4"],
|
||||
["2000","1242","6","35.1","3.1","8.4","-7.8","0.4","-0.3","-4.8","4.5"],
|
||||
["2050","1231","7","35.0","3.0","8.4","-7.9","0.4","-0.4","-4.9","4.7"],
|
||||
["2100","1219","7","34.8","2.9","8.5","-8.0","0.4","-0.4","-5.0","4.8"],
|
||||
["2150","1208","7","34.7","2.9","8.5","-8.0","0.4","-0.4","-5.2","4.9"],
|
||||
["2200","1196","8","34.5","2.8","8.6","-8.1","0.4","-0.4","-5.3","5.0"],
|
||||
["2250","1184","8","34.3","2.7","8.7","-8.2","0.4","-0.4","-5.4","5.1"],
|
||||
["2300","1171","9","34.2","2.7","8.7","-8.2","0.4","-0.4","-5.5","5.2"],
|
||||
["2350","1158","9","34.0","2.6","8.8","-8.3","0.4","-0.4","-5.7","5.4"],
|
||||
["2400","1145","10","33.8","2.5","8.8","-8.3","0.4","-0.4","-5.8","5.5"],
|
||||
["2450","1132","10","33.6","2.5","8.9","-8.4","0.4","-0.4","-5.9","5.6"],
|
||||
["2500","1118","11","33.3","2.4","8.9","-8.4","0.5","-0.4","-6.0","5.7"],
|
||||
["2550","1103","12","33.1","2.4","9.0","-8.5","0.4","-0.5","-6.1","5.8"],
|
||||
["2600","1088","13","32.8","2.3","9.0","-8.5","0.5","-0.4","-6.2","5.9"],
|
||||
["2650","1072","14","32.6","2.2","9.0","-8.6","0.5","-0.5","-6.4","6.0"],
|
||||
["2700","1056","15","32.3","2.2","9.0","-8.6","0.5","-0.5","-6.5","6.1"],
|
||||
["2750","1038","16","31.9","2.1","9.1","-8.6","0.5","-0.5","-6.6","6.3"],
|
||||
["2800","1020","18","31.6","2.1","9.1","-8.6","0.5","-0.5","-6.7","6.4"],
|
||||
["2850","1000","20","31.2","2.0","9.1","-8.6","0.5","-0.5","-6.8","6.5"],
|
||||
["2900","978","22","30.8","1.9","9.0","-8.6","0.5","-0.5","-6.9","6.5"],
|
||||
["2950","954","26","30.3","1.9","9.0","-8.6","0.5","-0.5","-7.0","6.6"],
|
||||
["3000","927","31","29.7","1.8","8.9","-8.5","0.5","-0.5","-7.1","6.7"],
|
||||
["3050","894","38","29.0","1.7","8.8","-8.4","0.5","-0.6","-7.2","6.8"],
|
||||
["3100","849","54","27.9","1.6","8.5","-8.3","0.5","-0.6","-7.2","6.8"]
|
||||
["1400","1362","4","36.4","4.4","7.5","-7.0","0.2","-0.2","-3.3","3.1"],
|
||||
["1450","1353","4","36.3","4.3","7.6","-7.1","0.2","-0.2","-3.4","3.2"],
|
||||
["1500","1344","4","36.2","4.2","7.7","-7.1","0.2","-0.2","-3.5","3.4"],
|
||||
["1550","1334","4","36.1","4.0","7.7","-7.2","0.2","-0.2","-3.7","3.5"],
|
||||
["1600","1324","4","36.0","3.9","7.8","-7.3","0.2","-0.2","-3.8","3.6"],
|
||||
["1650","1314","4","35.9","3.8","7.9","-7.3","0.2","-0.2","-3.9","3.7"],
|
||||
["1700","1304","5","35.8","3.7","7.9","-7.4","0.2","-0.2","-4.0","3.8"],
|
||||
["1750","1294","5","35.7","3.6","8.0","-7.5","0.2","-0.2","-4.2","3.9"],
|
||||
["1800","1284","5","35.6","3.5","8.1","-7.6","0.2","-0.3","-4.3","4.0"],
|
||||
["1850","1274","5","35.5","3.4","8.2","-7.6","0.2","-0.3","-4.4","4.2"],
|
||||
["1900","1263","6","35.4","3.3","8.2","-7.7","0.2","-0.3","-4.5","4.3"],
|
||||
["1950","1253","6","35.2","3.2","8.3","-7.8","0.2","-0.3","-4.7","4.4"],
|
||||
["2000","1242","6","35.1","3.1","8.4","-7.8","0.3","-0.3","-4.8","4.5"],
|
||||
["2050","1231","7","35.0","3.0","8.4","-7.9","0.3","-0.3","-4.9","4.7"],
|
||||
["2100","1219","7","34.8","2.9","8.5","-8.0","0.3","-0.3","-5.0","4.8"],
|
||||
["2150","1208","7","34.7","2.9","8.5","-8.0","0.3","-0.3","-5.2","4.9"],
|
||||
["2200","1196","8","34.5","2.8","8.6","-8.1","0.3","-0.3","-5.3","5.0"],
|
||||
["2250","1184","8","34.3","2.7","8.7","-8.2","0.3","-0.3","-5.4","5.1"],
|
||||
["2300","1171","9","34.2","2.7","8.7","-8.2","0.3","-0.3","-5.5","5.2"],
|
||||
["2350","1158","9","34.0","2.6","8.8","-8.3","0.3","-0.3","-5.7","5.4"],
|
||||
["2400","1145","10","33.8","2.5","8.8","-8.3","0.3","-0.3","-5.8","5.5"],
|
||||
["2450","1132","10","33.6","2.5","8.9","-8.4","0.3","-0.3","-5.9","5.6"],
|
||||
["2500","1118","11","33.3","2.4","8.9","-8.4","0.3","-0.3","-6.0","5.7"],
|
||||
["2550","1103","12","33.1","2.4","9.0","-8.5","0.3","-0.3","-6.1","5.8"],
|
||||
["2600","1088","13","32.8","2.3","9.0","-8.5","0.4","-0.3","-6.2","5.9"],
|
||||
["2650","1072","14","32.6","2.2","9.0","-8.6","0.4","-0.4","-6.4","6.0"],
|
||||
["2700","1056","15","32.3","2.2","9.0","-8.6","0.3","-0.4","-6.5","6.1"],
|
||||
["2750","1038","16","31.9","2.1","9.1","-8.6","0.4","-0.4","-6.6","6.3"],
|
||||
["2800","1020","18","31.6","2.1","9.1","-8.6","0.4","-0.4","-6.7","6.4"],
|
||||
["2850","1000","20","31.2","2.0","9.1","-8.6","0.4","-0.4","-6.8","6.5"],
|
||||
["2900","978","22","30.8","1.9","9.0","-8.6","0.4","-0.4","-6.9","6.5"],
|
||||
["2950","954","26","30.3","1.9","9.0","-8.6","0.4","-0.4","-7.0","6.6"],
|
||||
["3000","927","31","29.7","1.8","8.9","-8.5","0.4","-0.4","-7.1","6.7"],
|
||||
["3050","894","38","29.0","1.7","8.8","-8.4","0.4","-0.4","-7.2","6.8"],
|
||||
["3100","849","54","27.9","1.6","8.5","-8.3","0.4","-0.4","-7.2","6.8"]
|
||||
]
|
||||
};
|
||||
|
||||
case ((abs(_muzzleVelocity - 70) < 0.00001) && ((abs(_airFriction - 0) < 0.00001))): {
|
||||
[
|
||||
["100","1497","9","14.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["150","1445","14","14.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["200","1390","19","14.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["250","1333","26","13.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["300","1272","34","13.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["350","1204","45","13.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["400","1127","61","12.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["450","1028","91","12.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"]
|
||||
]
|
||||
};
|
||||
case ((abs(_muzzleVelocity - 140) < 0.00001) && ((abs(_airFriction - 0) < 0.00001))): {
|
||||
[
|
||||
["150","1562","1","28.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["200","1549","1","28.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["250","1536","2","28.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["300","1523","2","28.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["350","1510","2","28.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["400","1497","3","28.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["450","1484","3","28.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["500","1471","3","28.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["550","1458","4","28.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["600","1445","4","28.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["650","1431","4","28.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["700","1418","5","28.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["750","1404","5","28.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["800","1390","6","27.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["850","1376","6","27.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["900","1362","6","27.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["950","1348","7","27.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1000","1333","7","27.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1050","1318","8","27.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1100","1303","9","27.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1150","1288","9","27.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1200","1272","10","27.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1250","1256","11","26.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1300","1239","12","26.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1350","1222","13","26.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1400","1205","13","26.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1450","1187","15","26.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1500","1168","16","26.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1550","1148","18","25.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1600","1127","19","25.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1650","1105","21","25.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1700","1082","24","24.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1750","1057","27","24.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1800","1029","31","24.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1850","997","37","23.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1900","960","46","23.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1950","912","63","22.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"]
|
||||
]
|
||||
};
|
||||
case ((abs(_muzzleVelocity - 200) < 0.00001) && ((abs(_airFriction - 0) < 0.00001))): {
|
||||
[
|
||||
["300","1563","0","40.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["350","1556","1","40.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["400","1550","1","40.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["450","1544","1","40.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["500","1537","1","40.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["550","1531","1","40.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["600","1525","1","40.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["650","1519","1","40.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["700","1512","1","40.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["750","1506","1","40.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["800","1499","1","40.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["850","1493","1","40.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["900","1487","1","40.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["950","1480","1","40.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1000","1474","2","40.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1050","1467","2","40.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1100","1461","2","40.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1150","1454","2","40.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1200","1448","2","40.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1250","1441","2","40.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1300","1435","2","40.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1350","1428","2","40.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1400","1422","2","40.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1450","1415","2","40.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1500","1408","2","40.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1550","1402","3","40.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1600","1395","3","40.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1650","1388","3","39.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1700","1381","3","39.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1750","1374","3","39.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1800","1367","3","39.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1850","1360","3","39.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1900","1353","3","39.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["1950","1346","4","39.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2000","1339","4","39.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2050","1332","4","39.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2100","1325","4","39.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2150","1317","4","39.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2200","1310","4","39.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2250","1302","4","39.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2300","1295","5","39.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2350","1287","5","38.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2400","1280","5","38.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2450","1272","5","38.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2500","1264","5","38.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2550","1256","5","38.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2600","1248","6","38.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2650","1240","6","38.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2700","1232","6","38.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2750","1223","6","38.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2800","1215","7","37.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2850","1206","7","37.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2900","1197","7","37.6","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["2950","1188","7","37.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3000","1179","8","37.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3050","1170","8","37.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3100","1160","8","37.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3150","1151","9","36.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3200","1141","9","36.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3250","1131","10","36.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3300","1120","10","36.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3350","1109","11","36.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3400","1098","11","35.9","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3450","1087","12","35.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3500","1075","13","35.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3550","1062","14","35.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3600","1049","15","35.0","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3650","1036","16","34.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3700","1021","17","34.4","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3750","1006","19","34.1","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3800","990","21","33.7","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3850","971","24","33.3","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3900","952","27","32.8","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["3950","929","32","32.2","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["4000","900","40","31.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"],
|
||||
["4050","861","56","30.5","0.0","0.0","0.0","0.0","0.0","0.0","0.0"]
|
||||
]
|
||||
};
|
||||
default {
|
||||
|
Loading…
Reference in New Issue
Block a user