From 3d5ebb58d937622ef89ade9a59dbe21943b9c2ef Mon Sep 17 00:00:00 2001 From: YoloWingPixie Date: Sun, 4 Oct 2026 16:47:53 -0700 Subject: [PATCH 01/38] feat(reference)!: type launch tables as launch envelopes - Replace launchTables with launchEnvelopes: altitude, TAS and range grids - Rows are altitude in m, columns TAS in m/s - Re-extract the 69 weapons that have launch tables --- .../latest/weapon_flight/AGM_122.json | 1027 +++++----- .../latest/weapon_flight/AGM_12A.json | 428 ++-- .../latest/weapon_flight/AGM_12B.json | 459 ++--- .../latest/weapon_flight/AGM_12C_ED.json | 397 ++-- .../latest/weapon_flight/AGM_130.json | 1341 ++++++------- .../latest/weapon_flight/AGM_154A.json | 1017 +++++----- .../latest/weapon_flight/AGM_154B.json | 1017 +++++----- .../latest/weapon_flight/AGM_45A.json | 547 +++-- .../latest/weapon_flight/AGM_45B.json | 547 +++-- .../latest/weapon_flight/AGM_62.json | 1341 ++++++------- .../latest/weapon_flight/AGM_62_I.json | 991 ++++----- .../latest/weapon_flight/AGM_65E.json | 166 +- .../latest/weapon_flight/AGM_78A.json | 1341 ++++++------- .../latest/weapon_flight/AGM_78B.json | 1341 ++++++------- .../latest/weapon_flight/AGM_84D.json | 822 ++++---- .../latest/weapon_flight/AGM_86.json | 149 +- .../latest/weapon_flight/AGM_86C.json | 149 +- .../latest/weapon_flight/AGR_20A.json | 532 +++-- .../latest/weapon_flight/AGR_20_M282.json | 532 +++-- .../latest/weapon_flight/AM39.json | 822 ++++---- .../latest/weapon_flight/BDU_45LGB.json | 916 ++++----- .../latest/weapon_flight/BOLT-117.json | 916 ++++----- .../latest/weapon_flight/BRM-1_90MM.json | 85 +- .../latest/weapon_flight/CM_802AKG.json | 889 ++++----- .../latest/weapon_flight/C_701IR.json | 166 +- .../latest/weapon_flight/C_701T.json | 166 +- .../latest/weapon_flight/C_802AK.json | 889 ++++----- .../latest/weapon_flight/DWS39_MJ1.json | 255 ++- .../latest/weapon_flight/DWS39_MJ1_MJ2.json | 255 ++- .../latest/weapon_flight/DWS39_MJ2.json | 255 ++- .../latest/weapon_flight/GB-6-HE.json | 1017 +++++----- .../latest/weapon_flight/GB-6-SFW.json | 1017 +++++----- .../latest/weapon_flight/GB-6.json | 1017 +++++----- .../latest/weapon_flight/GBU_15_V_1_B.json | 991 ++++----- .../latest/weapon_flight/GBU_15_V_31_B.json | 1341 ++++++------- .../latest/weapon_flight/GBU_24.json | 1149 +++++------ .../latest/weapon_flight/GBU_24E.json | 1149 +++++------ .../latest/weapon_flight/GBU_31.json | 1559 +++++++-------- .../latest/weapon_flight/GBU_31_V_2B.json | 1765 ++++++++--------- .../latest/weapon_flight/GBU_31_V_3B.json | 1699 +++++++--------- .../latest/weapon_flight/GBU_31_V_4B.json | 1765 ++++++++--------- .../latest/weapon_flight/GBU_32_V_2B.json | 1765 ++++++++--------- .../latest/weapon_flight/GBU_38.json | 1696 +++++++--------- .../latest/weapon_flight/GBU_39.json | 1017 +++++----- .../latest/weapon_flight/GBU_43.json | 690 +++---- .../latest/weapon_flight/GBU_54_V_1B.json | 1450 ++++++-------- .../latest/weapon_flight/GBU_8_B.json | 991 ++++----- .../latest/weapon_flight/HB_AGM_78.json | 195 +- .../latest/weapon_flight/KAB_1500LG.json | 963 ++++----- .../latest/weapon_flight/KD_20.json | 149 +- .../latest/weapon_flight/KD_63.json | 634 +++--- .../latest/weapon_flight/KD_63B.json | 634 +++--- .../latest/weapon_flight/Kh25MP_PRGS1VP.json | 963 ++++----- .../latest/weapon_flight/LD-10.json | 916 ++++----- .../latest/weapon_flight/LS_6.json | 1017 +++++----- .../latest/weapon_flight/LS_6_100.json | 1394 ++++++------- .../latest/weapon_flight/LS_6_500.json | 1017 +++++----- .../weapon_flight/Rb 04E (for A.I.).json | 351 ++-- .../weapon_flight/Rb 15F (for A.I.).json | 564 +++--- .../latest/weapon_flight/Rb_04.json | 213 +- .../latest/weapon_flight/SPIKE_ER.json | 409 ++-- .../latest/weapon_flight/SPIKE_ER2.json | 409 ++-- .../latest/weapon_flight/SPIKE_ERA.json | 409 ++-- .../latest/weapon_flight/X_22.json | 372 ++-- .../latest/weapon_flight/X_25ML.json | 454 ++--- .../latest/weapon_flight/X_25MP.json | 963 ++++----- .../latest/weapon_flight/X_29L.json | 454 ++--- .../latest/weapon_flight/X_29T.json | 366 ++-- .../latest/weapon_flight/YJ-12.json | 1044 +++++----- .../types/entities/WeaponFlight.record.yaml | 48 +- docs/weapon-flight.md | 14 +- tools/datamine/coverage.py | 37 +- tools/datamine/tests/test_coverage.py | 20 +- tools/datamine/tests/test_weapon_flight.py | 89 +- tools/datamine/weapon_flight.py | 64 +- 75 files changed, 25040 insertions(+), 30958 deletions(-) diff --git a/dcs-world-reference/latest/weapon_flight/AGM_122.json b/dcs-world-reference/latest/weapon_flight/AGM_122.json index 7b54848c..9e1fcada 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_122.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_122.json @@ -15,300 +15,475 @@ }, "batteryLifeS": 200, "killDistanceM": 4, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 0, + "altitudesM": [ 50, 100, - 150, 200, - 250, - 300, - 350, 400, - 450, - 500 + 600, + 800, + 1000, + 1500, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 8410, - 9280, - 10070, - 10600, - 11050, - 11480, - 11870, - 12240, - 12600, - 12990, - 13390 - ], - "header": 50 - }, - { - "cells": [ - 8770, - 9560, - 10220, - 10670, - 11120, - 11550, - 11950, - 12320, - 12680, - 13070, - 13480 - ], - "header": 100 - }, - { - "cells": [ - 9330, - 9890, - 10340, - 10810, - 11270, - 11710, - 12110, - 12480, - 12840, - 13230, - 13640 - ], - "header": 200 - }, - { - "cells": [ - 9680, - 10160, - 10620, - 11100, - 11560, - 12000, - 12420, - 12780, - 13160, - 13540, - 13980 - ], - "header": 400 - }, - { - "cells": [ - 9740, - 10120, - 10480, - 10820, - 11180, - 11520, - 11880, - 12220, - 12580, - 12960, - 13340 - ], - "header": 600 - }, - { - "cells": [ - 9980, - 10360, - 10740, - 11100, - 11440, - 11800, - 12140, - 12500, - 12860, - 13240, - 13620 - ], - "header": 800 - }, - { - "cells": [ - 10250, - 10600, - 11000, - 11350, - 11700, - 12050, - 12400, - 12800, - 13100, - 13500, - 13850 - ], - "header": 1000 - }, - { - "cells": [ - 10950, - 11350, - 11650, - 12050, - 12400, - 12750, - 13100, - 13500, - 13850, - 14250, - 14600 - ], - "header": 1500 - }, - { - "cells": [ - 11700, - 12050, - 12450, - 12800, - 13150, - 13500, - 13850, - 14200, - 14600, - 15000, - 15350 - ], - "header": 2000 - }, - { - "cells": [ - 13300, - 13650, - 14000, - 14350, - 14700, - 15050, - 15450, - 15800, - 16150, - 16550, - 17000 - ], - "header": 3000 - }, - { - "cells": [ - 14800, - 15250, - 15650, - 16100, - 16500, - 16850, - 17150, - 17550, - 17900, - 18300, - 18700 - ], - "header": 4000 - }, - { - "cells": [ - 15600, - 16100, - 16500, - 17000, - 17400, - 17900, - 18300, - 18400, - 18400, - 18400, - 18500 - ], - "header": 5000 - }, - { - "cells": [ - 16300, - 16800, - 17300, - 17800, - 18100, - 18100, - 18100, - 18200, - 18200, - 18200, - 18200 - ], - "header": 6000 - }, - { - "cells": [ - 16900, - 17400, - 17500, - 17700, - 17800, - 17800, - 17900, - 17900, - 18000, - 18000, - 18000 - ], - "header": 7000 - }, - { - "cells": [ - 17100, - 17100, - 17100, - 17100, - 17200, - 17500, - 17500, - 17600, - 17600, - 17700, - 17700 - ], - "header": 8000 - }, - { - "cells": [ - 16700, - 16700, - 16700, - 16700, - 16700, - 16800, - 16800, - 17100, - 17200, - 17300, - 17300 - ], - "header": 9000 - }, - { - "cells": [ - 16200, - 16200, - 16200, - 16200, - 16300, - 16300, - 16400, - 16400, - 16700, - 16900, - 16900 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 8410, + 9280, + 10070, + 10600, + 11050, + 11480, + 11870, + 12240, + 12600, + 12990, + 13390 + ], + [ + 8770, + 9560, + 10220, + 10670, + 11120, + 11550, + 11950, + 12320, + 12680, + 13070, + 13480 + ], + [ + 9330, + 9890, + 10340, + 10810, + 11270, + 11710, + 12110, + 12480, + 12840, + 13230, + 13640 + ], + [ + 9680, + 10160, + 10620, + 11100, + 11560, + 12000, + 12420, + 12780, + 13160, + 13540, + 13980 + ], + [ + 9740, + 10120, + 10480, + 10820, + 11180, + 11520, + 11880, + 12220, + 12580, + 12960, + 13340 + ], + [ + 9980, + 10360, + 10740, + 11100, + 11440, + 11800, + 12140, + 12500, + 12860, + 13240, + 13620 + ], + [ + 10250, + 10600, + 11000, + 11350, + 11700, + 12050, + 12400, + 12800, + 13100, + 13500, + 13850 + ], + [ + 10950, + 11350, + 11650, + 12050, + 12400, + 12750, + 13100, + 13500, + 13850, + 14250, + 14600 + ], + [ + 11700, + 12050, + 12450, + 12800, + 13150, + 13500, + 13850, + 14200, + 14600, + 15000, + 15350 + ], + [ + 13300, + 13650, + 14000, + 14350, + 14700, + 15050, + 15450, + 15800, + 16150, + 16550, + 17000 + ], + [ + 14800, + 15250, + 15650, + 16100, + 16500, + 16850, + 17150, + 17550, + 17900, + 18300, + 18700 + ], + [ + 15600, + 16100, + 16500, + 17000, + 17400, + 17900, + 18300, + 18400, + 18400, + 18400, + 18500 + ], + [ + 16300, + 16800, + 17300, + 17800, + 18100, + 18100, + 18100, + 18200, + 18200, + 18200, + 18200 + ], + [ + 16900, + 17400, + 17500, + 17700, + 17800, + 17800, + 17900, + 17900, + 18000, + 18000, + 18000 + ], + [ + 17100, + 17100, + 17100, + 17100, + 17200, + 17500, + 17500, + 17600, + 17600, + 17700, + 17700 + ], + [ + 16700, + 16700, + 16700, + 16700, + 16700, + 16800, + 16800, + 17100, + 17200, + 17300, + 17300 + ], + [ + 16200, + 16200, + 16200, + 16200, + 16300, + 16300, + 16400, + 16400, + 16700, + 16900, + 16900 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_122#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 3000, + 3170, + 3810, + 4350, + 4820, + 5230, + 5540, + 5780, + 6020, + 6270, + 6550 + ], + [ + 2700, + 3260, + 3870, + 4420, + 4880, + 5290, + 5600, + 5850, + 6090, + 6350, + 6630 + ], + [ + 2850, + 3450, + 4030, + 4560, + 5020, + 5410, + 5730, + 5990, + 6240, + 6500, + 6790 + ], + [ + 3260, + 3800, + 4340, + 4840, + 5300, + 5680, + 6020, + 6280, + 6520, + 6800, + 7080 + ], + [ + 2560, + 2580, + 2600, + 2620, + 2660, + 2680, + 2780, + 2900, + 3000, + 3140, + 3260 + ], + [ + 2560, + 2640, + 2740, + 2800, + 2900, + 3000, + 3100, + 3240, + 3360, + 3500, + 3640 + ], + [ + 2850, + 2900, + 3000, + 3100, + 3150, + 3300, + 3400, + 3550, + 3700, + 3850, + 3950 + ], + [ + 3350, + 3450, + 3600, + 3650, + 3750, + 3950, + 4050, + 4200, + 4400, + 4550, + 4700 + ], + [ + 3750, + 3950, + 4050, + 4150, + 4350, + 4500, + 4650, + 4850, + 5050, + 5200, + 5400 + ], + [ + 4400, + 4650, + 4800, + 5000, + 5250, + 5450, + 5650, + 5900, + 6150, + 6400, + 6600 + ], + [ + 4800, + 5150, + 5450, + 5700, + 6000, + 6250, + 6550, + 6850, + 7150, + 7400, + 7700 + ], + [ + 4900, + 5400, + 5800, + 6200, + 6600, + 7000, + 7300, + 7700, + 7900, + 8200, + 8600 + ], + [ + 4100, + 5100, + 5900, + 6500, + 7000, + 7400, + 7800, + 8300, + 8700, + 9000, + 9400 + ], + [ + 3100, + 3100, + 3100, + 6200, + 7100, + 7800, + 8400, + 8800, + 9300, + 9800, + 10200 + ], + [ + 3100, + 3100, + 3100, + 3100, + 3600, + 7800, + 8600, + 9400, + 9900, + 10500, + 11000 + ], + [ + 3100, + 3100, + 3100, + 3100, + 3600, + 4500, + 5200, + 9500, + 10500, + 11200, + 11900 + ], + [ + 3000, + 3000, + 3000, + 3000, + 4000, + 4800, + 5700, + 6500, + 10500, + 11900, + 12800 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_122#/client", + "speedsMs": [ 0, 50, 100, @@ -320,283 +495,7 @@ 400, 450, 500 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 3000, - 3170, - 3810, - 4350, - 4820, - 5230, - 5540, - 5780, - 6020, - 6270, - 6550 - ], - "header": 50 - }, - { - "cells": [ - 2700, - 3260, - 3870, - 4420, - 4880, - 5290, - 5600, - 5850, - 6090, - 6350, - 6630 - ], - "header": 100 - }, - { - "cells": [ - 2850, - 3450, - 4030, - 4560, - 5020, - 5410, - 5730, - 5990, - 6240, - 6500, - 6790 - ], - "header": 200 - }, - { - "cells": [ - 3260, - 3800, - 4340, - 4840, - 5300, - 5680, - 6020, - 6280, - 6520, - 6800, - 7080 - ], - "header": 400 - }, - { - "cells": [ - 2560, - 2580, - 2600, - 2620, - 2660, - 2680, - 2780, - 2900, - 3000, - 3140, - 3260 - ], - "header": 600 - }, - { - "cells": [ - 2560, - 2640, - 2740, - 2800, - 2900, - 3000, - 3100, - 3240, - 3360, - 3500, - 3640 - ], - "header": 800 - }, - { - "cells": [ - 2850, - 2900, - 3000, - 3100, - 3150, - 3300, - 3400, - 3550, - 3700, - 3850, - 3950 - ], - "header": 1000 - }, - { - "cells": [ - 3350, - 3450, - 3600, - 3650, - 3750, - 3950, - 4050, - 4200, - 4400, - 4550, - 4700 - ], - "header": 1500 - }, - { - "cells": [ - 3750, - 3950, - 4050, - 4150, - 4350, - 4500, - 4650, - 4850, - 5050, - 5200, - 5400 - ], - "header": 2000 - }, - { - "cells": [ - 4400, - 4650, - 4800, - 5000, - 5250, - 5450, - 5650, - 5900, - 6150, - 6400, - 6600 - ], - "header": 3000 - }, - { - "cells": [ - 4800, - 5150, - 5450, - 5700, - 6000, - 6250, - 6550, - 6850, - 7150, - 7400, - 7700 - ], - "header": 4000 - }, - { - "cells": [ - 4900, - 5400, - 5800, - 6200, - 6600, - 7000, - 7300, - 7700, - 7900, - 8200, - 8600 - ], - "header": 5000 - }, - { - "cells": [ - 4100, - 5100, - 5900, - 6500, - 7000, - 7400, - 7800, - 8300, - 8700, - 9000, - 9400 - ], - "header": 6000 - }, - { - "cells": [ - 3100, - 3100, - 3100, - 6200, - 7100, - 7800, - 8400, - 8800, - 9300, - 9800, - 10200 - ], - "header": 7000 - }, - { - "cells": [ - 3100, - 3100, - 3100, - 3100, - 3600, - 7800, - 8600, - 9400, - 9900, - 10500, - 11000 - ], - "header": 8000 - }, - { - "cells": [ - 3100, - 3100, - 3100, - 3100, - 3600, - 4500, - 5200, - 9500, - 10500, - 11200, - 11900 - ], - "header": 9000 - }, - { - "cells": [ - 3000, - 3000, - 3000, - 3000, - 4000, - 4800, - 5700, - 6500, - 10500, - 11900, - 12800 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_122#/client/MinLaunchDistData" + ] } ], "machMax": 2.3, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_12A.json b/dcs-world-reference/latest/weapon_flight/AGM_12A.json index 682c7c28..7fc5013d 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_12A.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_12A.json @@ -20,264 +20,190 @@ }, "batteryLifeS": 30, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, - 200, - 250, - 300 + "altitudesM": [ + 300, + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 8000, - 8500, - 9000, - 9500 - ], - "header": 300 - }, - { - "cells": [ - 8000, - 8500, - 9000, - 9500 - ], - "header": 400 - }, - { - "cells": [ - 8000, - 8500, - 9000, - 10000 - ], - "header": 500 - }, - { - "cells": [ - 8000, - 9000, - 9000, - 10000 - ], - "header": 600 - }, - { - "cells": [ - 8000, - 9000, - 9000, - 10000 - ], - "header": 700 - }, - { - "cells": [ - 8000, - 9000, - 9000, - 10500 - ], - "header": 800 - }, - { - "cells": [ - 8000, - 9000, - 9000, - 10500 - ], - "header": 900 - }, - { - "cells": [ - 8000, - 9000, - 9000, - 10500 - ], - "header": 1000 - }, - { - "cells": [ - 8500, - 9000, - 9000, - 11000 - ], - "header": 2000 - }, - { - "cells": [ - 9000, - 9500, - 10000, - 11000 - ], - "header": 3000 - }, - { - "cells": [ - 8500, - 10000, - 11000, - 11000 - ], - "header": 4000 - }, - { - "cells": [ - 7500, - 9000, - 11000, - 11000 - ], - "header": 5000 - }, - { - "cells": [ - 8030, - 8500, - 10000, - 10500 - ], - "header": 6000 - } + "maxRangeM": [ + [ + 8000, + 8500, + 9000, + 9500 + ], + [ + 8000, + 8500, + 9000, + 9500 + ], + [ + 8000, + 8500, + 9000, + 10000 + ], + [ + 8000, + 9000, + 9000, + 10000 + ], + [ + 8000, + 9000, + 9000, + 10000 + ], + [ + 8000, + 9000, + 9000, + 10500 + ], + [ + 8000, + 9000, + 9000, + 10500 + ], + [ + 8000, + 9000, + 9000, + 10500 + ], + [ + 8500, + 9000, + 9000, + 11000 + ], + [ + 9000, + 9500, + 10000, + 11000 + ], + [ + 8500, + 10000, + 11000, + 11000 + ], + [ + 7500, + 9000, + 11000, + 11000 + ], + [ + 8030, + 8500, + 10000, + 10500 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12A#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 3900, + 4400, + 4850, + 5300 + ], + [ + 4040, + 4540, + 4990, + 5440 + ], + [ + 4130, + 4630, + 5080, + 5530 + ], + [ + 4320, + 4720, + 5170, + 5670 + ], + [ + 4410, + 4860, + 5260, + 5810 + ], + [ + 4500, + 4950, + 5400, + 5900 + ], + [ + 4590, + 5040, + 5490, + 5990 + ], + [ + 4730, + 5130, + 5630, + 6080 + ], + [ + 5330, + 5680, + 6230, + 7030 + ], + [ + 5930, + 6430, + 6930, + 7380 + ], + [ + 5230, + 6080, + 7130, + 7830 + ], + [ + 6630, + 6680, + 6780, + 6630 + ], + [ + 8030, + 8030, + 8030, + 8080 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12A#/client", + "speedsMs": [ 150, 200, 250, 300 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 3900, - 4400, - 4850, - 5300 - ], - "header": 300 - }, - { - "cells": [ - 4040, - 4540, - 4990, - 5440 - ], - "header": 400 - }, - { - "cells": [ - 4130, - 4630, - 5080, - 5530 - ], - "header": 500 - }, - { - "cells": [ - 4320, - 4720, - 5170, - 5670 - ], - "header": 600 - }, - { - "cells": [ - 4410, - 4860, - 5260, - 5810 - ], - "header": 700 - }, - { - "cells": [ - 4500, - 4950, - 5400, - 5900 - ], - "header": 800 - }, - { - "cells": [ - 4590, - 5040, - 5490, - 5990 - ], - "header": 900 - }, - { - "cells": [ - 4730, - 5130, - 5630, - 6080 - ], - "header": 1000 - }, - { - "cells": [ - 5330, - 5680, - 6230, - 7030 - ], - "header": 2000 - }, - { - "cells": [ - 5930, - 6430, - 6930, - 7380 - ], - "header": 3000 - }, - { - "cells": [ - 5230, - 6080, - 7130, - 7830 - ], - "header": 4000 - }, - { - "cells": [ - 6630, - 6680, - 6780, - 6630 - ], - "header": 5000 - }, - { - "cells": [ - 8030, - 8030, - 8030, - 8080 - ], - "header": 6000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12A#/client/MinLaunchDistData" + ] } ], "machMax": 1.8, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_12B.json b/dcs-world-reference/latest/weapon_flight/AGM_12B.json index a455b98b..068c6ad1 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_12B.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_12B.json @@ -20,282 +20,203 @@ }, "batteryLifeS": 30, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, - 200, - 250, - 300 + "altitudesM": [ + 300, + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 9000, - 10000, - 11000, - 12500 - ], - "header": 300 - }, - { - "cells": [ - 9000, - 10000, - 11500, - 12500 - ], - "header": 400 - }, - { - "cells": [ - 9000, - 10000, - 11500, - 13000 - ], - "header": 500 - }, - { - "cells": [ - 9000, - 10000, - 11500, - 13000 - ], - "header": 600 - }, - { - "cells": [ - 9000, - 10000, - 11500, - 13000 - ], - "header": 700 - }, - { - "cells": [ - 9000, - 10000, - 11500, - 13000 - ], - "header": 800 - }, - { - "cells": [ - 9000, - 10000, - 11500, - 13000 - ], - "header": 900 - }, - { - "cells": [ - 9000, - 10000, - 11500, - 13000 - ], - "header": 1000 - }, - { - "cells": [ - 10000, - 11000, - 12000, - 13500 - ], - "header": 2000 - }, - { - "cells": [ - 10500, - 11500, - 12500, - 14000 - ], - "header": 3000 - }, - { - "cells": [ - 10500, - 11500, - 13000, - 14000 - ], - "header": 4000 - }, - { - "cells": [ - 10500, - 12000, - 13000, - 14500 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 12000, - 13000, - 14000 - ], - "header": 6000 - }, - { - "cells": [ - 10000, - 11500, - 12000, - 14500 - ], - "header": 7000 - } + "maxRangeM": [ + [ + 9000, + 10000, + 11000, + 12500 + ], + [ + 9000, + 10000, + 11500, + 12500 + ], + [ + 9000, + 10000, + 11500, + 13000 + ], + [ + 9000, + 10000, + 11500, + 13000 + ], + [ + 9000, + 10000, + 11500, + 13000 + ], + [ + 9000, + 10000, + 11500, + 13000 + ], + [ + 9000, + 10000, + 11500, + 13000 + ], + [ + 9000, + 10000, + 11500, + 13000 + ], + [ + 10000, + 11000, + 12000, + 13500 + ], + [ + 10500, + 11500, + 12500, + 14000 + ], + [ + 10500, + 11500, + 13000, + 14000 + ], + [ + 10500, + 12000, + 13000, + 14500 + ], + [ + 11000, + 12000, + 13000, + 14000 + ], + [ + 10000, + 11500, + 12000, + 14500 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 4150, + 4600, + 5000, + 5450 + ], + [ + 4290, + 4740, + 5140, + 5540 + ], + [ + 4380, + 4830, + 5230, + 5680 + ], + [ + 4470, + 4970, + 5320, + 5820 + ], + [ + 4610, + 5060, + 5510, + 5910 + ], + [ + 4750, + 5150, + 5550, + 6000 + ], + [ + 4840, + 5240, + 5690, + 6140 + ], + [ + 4880, + 5380, + 5830, + 6230 + ], + [ + 5680, + 6030, + 6630, + 7180 + ], + [ + 6430, + 6930, + 7330, + 7780 + ], + [ + 6180, + 7030, + 7830, + 8380 + ], + [ + 6630, + 6630, + 6680, + 7630 + ], + [ + 8030, + 8030, + 8030, + 8080 + ], + [ + 9430, + 9530, + 9430, + 9430 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12B#/client", + "speedsMs": [ 150, 200, 250, 300 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 4150, - 4600, - 5000, - 5450 - ], - "header": 300 - }, - { - "cells": [ - 4290, - 4740, - 5140, - 5540 - ], - "header": 400 - }, - { - "cells": [ - 4380, - 4830, - 5230, - 5680 - ], - "header": 500 - }, - { - "cells": [ - 4470, - 4970, - 5320, - 5820 - ], - "header": 600 - }, - { - "cells": [ - 4610, - 5060, - 5510, - 5910 - ], - "header": 700 - }, - { - "cells": [ - 4750, - 5150, - 5550, - 6000 - ], - "header": 800 - }, - { - "cells": [ - 4840, - 5240, - 5690, - 6140 - ], - "header": 900 - }, - { - "cells": [ - 4880, - 5380, - 5830, - 6230 - ], - "header": 1000 - }, - { - "cells": [ - 5680, - 6030, - 6630, - 7180 - ], - "header": 2000 - }, - { - "cells": [ - 6430, - 6930, - 7330, - 7780 - ], - "header": 3000 - }, - { - "cells": [ - 6180, - 7030, - 7830, - 8380 - ], - "header": 4000 - }, - { - "cells": [ - 6630, - 6630, - 6680, - 7630 - ], - "header": 5000 - }, - { - "cells": [ - 8030, - 8030, - 8030, - 8080 - ], - "header": 6000 - }, - { - "cells": [ - 9430, - 9530, - 9430, - 9430 - ], - "header": 7000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12B#/client/MinLaunchDistData" + ] } ], "machMax": 1.8, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_12C_ED.json b/dcs-world-reference/latest/weapon_flight/AGM_12C_ED.json index 4f5fbe29..49febf98 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_12C_ED.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_12C_ED.json @@ -20,246 +20,177 @@ }, "batteryLifeS": 30, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, - 200, - 250, - 300 + "altitudesM": [ + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 10000, - 11000, - 13000, - 14000 - ], - "header": 500 - }, - { - "cells": [ - 10000, - 11000, - 13000, - 14000 - ], - "header": 600 - }, - { - "cells": [ - 10000, - 11000, - 13000, - 14000 - ], - "header": 700 - }, - { - "cells": [ - 10000, - 11000, - 13000, - 14000 - ], - "header": 800 - }, - { - "cells": [ - 10000, - 11000, - 13000, - 14000 - ], - "header": 900 - }, - { - "cells": [ - 10000, - 11000, - 13000, - 14000 - ], - "header": 1000 - }, - { - "cells": [ - 10000, - 11000, - 13000, - 14000 - ], - "header": 2000 - }, - { - "cells": [ - 10500, - 11500, - 13000, - 14000 - ], - "header": 3000 - }, - { - "cells": [ - 10500, - 12000, - 13000, - 14500 - ], - "header": 4000 - }, - { - "cells": [ - 9000, - 11500, - 13500, - 15000 - ], - "header": 5000 - }, - { - "cells": [ - 9000, - 11000, - 13000, - 14500 - ], - "header": 6000 - }, - { - "cells": [ - 9150, - 9500, - 13000, - 14000 - ], - "header": 7000 - } + "maxRangeM": [ + [ + 10000, + 11000, + 13000, + 14000 + ], + [ + 10000, + 11000, + 13000, + 14000 + ], + [ + 10000, + 11000, + 13000, + 14000 + ], + [ + 10000, + 11000, + 13000, + 14000 + ], + [ + 10000, + 11000, + 13000, + 14000 + ], + [ + 10000, + 11000, + 13000, + 14000 + ], + [ + 10000, + 11000, + 13000, + 14000 + ], + [ + 10500, + 11500, + 13000, + 14000 + ], + [ + 10500, + 12000, + 13000, + 14500 + ], + [ + 9000, + 11500, + 13500, + 15000 + ], + [ + 9000, + 11000, + 13000, + 14500 + ], + [ + 9150, + 9500, + 13000, + 14000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12C_ED#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 4600, + 5050, + 5600, + 6000 + ], + [ + 4640, + 5240, + 5740, + 6140 + ], + [ + 4830, + 5330, + 5830, + 6180 + ], + [ + 4970, + 5420, + 5970, + 6320 + ], + [ + 5060, + 5560, + 6110, + 6510 + ], + [ + 5200, + 5750, + 6200, + 6600 + ], + [ + 6350, + 6900, + 7400, + 7900 + ], + [ + 7200, + 7900, + 8450, + 8850 + ], + [ + 7850, + 8650, + 9200, + 9750 + ], + [ + 7750, + 9400, + 9600, + 10350 + ], + [ + 7750, + 7750, + 8950, + 10200 + ], + [ + 9150, + 9150, + 9150, + 9150 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12C_ED#/client", + "speedsMs": [ 150, 200, 250, 300 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 4600, - 5050, - 5600, - 6000 - ], - "header": 500 - }, - { - "cells": [ - 4640, - 5240, - 5740, - 6140 - ], - "header": 600 - }, - { - "cells": [ - 4830, - 5330, - 5830, - 6180 - ], - "header": 700 - }, - { - "cells": [ - 4970, - 5420, - 5970, - 6320 - ], - "header": 800 - }, - { - "cells": [ - 5060, - 5560, - 6110, - 6510 - ], - "header": 900 - }, - { - "cells": [ - 5200, - 5750, - 6200, - 6600 - ], - "header": 1000 - }, - { - "cells": [ - 6350, - 6900, - 7400, - 7900 - ], - "header": 2000 - }, - { - "cells": [ - 7200, - 7900, - 8450, - 8850 - ], - "header": 3000 - }, - { - "cells": [ - 7850, - 8650, - 9200, - 9750 - ], - "header": 4000 - }, - { - "cells": [ - 7750, - 9400, - 9600, - 10350 - ], - "header": 5000 - }, - { - "cells": [ - 7750, - 7750, - 8950, - 10200 - ], - "header": 6000 - }, - { - "cells": [ - 9150, - 9150, - 9150, - 9150 - ], - "header": 7000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_12C_ED#/client/MinLaunchDistData" + ] } ], "machMax": 2, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_130.json b/dcs-world-reference/latest/weapon_flight/AGM_130.json index 8c822164..6044c876 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_130.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_130.json @@ -21,387 +21,616 @@ }, "batteryLifeS": 250, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 27000, - 32000, - 35000, - 37500, - 39500, - 41000, - 43000, - 46000 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 27500, - 32500, - 35500, - 37500, - 39000, - 41000, - 43500, - 46000 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 28000, - 32500, - 35500, - 37500, - 39500, - 41000, - 43500, - 46500 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 29000, - 32500, - 35500, - 38000, - 39500, - 41500, - 44000, - 46500 - ], - "header": 400 - }, - { - "cells": [ - 0, - 21000, - 29000, - 33000, - 35500, - 38000, - 39500, - 41500, - 44000, - 47000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 22500, - 29500, - 33000, - 36000, - 38000, - 40000, - 42000, - 44000, - 47000 - ], - "header": 600 - }, - { - "cells": [ - 0, - 20500, - 30500, - 35000, - 37500, - 40000, - 42000, - 43500, - 46000, - 49000 - ], - "header": 700 - }, - { - "cells": [ - 0, - 23000, - 31000, - 35000, - 38000, - 40000, - 42000, - 44000, - 46000, - 49000 - ], - "header": 800 - }, - { - "cells": [ - 0, - 24000, - 31000, - 35000, - 38000, - 40000, - 42000, - 44000, - 46500, - 49500 - ], - "header": 900 - }, - { - "cells": [ - 0, - 22500, - 31500, - 36500, - 39500, - 41500, - 43500, - 45500, - 48000, - 51000 - ], - "header": 1000 - }, - { - "cells": [ - 0, - 25500, - 36000, - 41000, - 44500, - 46500, - 49000, - 51000, - 54000, - 57500 - ], - "header": 2000 - }, - { - "cells": [ - 22500, - 30000, - 39000, - 45000, - 49000, - 52000, - 54500, - 56500, - 60000, - 64000 - ], - "header": 3000 - }, - { - "cells": [ - 26000, - 31000, - 40500, - 48500, - 53000, - 56500, - 60000, - 63000, - 67000, - 72500 - ], - "header": 4000 - }, - { - "cells": [ - 29500, - 35000, - 43500, - 52000, - 57000, - 61500, - 64500, - 68000, - 72500, - 79000 - ], - "header": 5000 - }, - { - "cells": [ - 33000, - 39000, - 46500, - 55500, - 61000, - 65500, - 69000, - 73000, - 78000, - 85500 - ], - "header": 6000 - }, - { - "cells": [ - 37000, - 42500, - 50000, - 59000, - 64000, - 68500, - 72000, - 75500, - 81500, - 89500 - ], - "header": 7000 - }, - { - "cells": [ - 40000, - 46000, - 53000, - 60000, - 65000, - 70000, - 73000, - 76500, - 84000, - 92000 - ], - "header": 8000 - }, - { - "cells": [ - 43500, - 51000, - 58000, - 63500, - 68000, - 72000, - 74000, - 78500, - 85500, - 93000 - ], - "header": 9000 - }, - { - "cells": [ - 49000, - 56000, - 61500, - 66000, - 70500, - 72500, - 76000, - 82500, - 90000, - 97500 - ], - "header": 10000 - }, - { - "cells": [ - 53500, - 59500, - 64000, - 68500, - 71500, - 74000, - 79000, - 86500, - 93500, - 100000 - ], - "header": 11000 - }, - { - "cells": [ - 57000, - 62000, - 66500, - 70500, - 74000, - 76500, - 82500, - 90000, - 97500, - 100000 - ], - "header": 12000 - }, - { - "cells": [ - 59500, - 64500, - 68000, - 73000, - 77000, - 79000, - 85500, - 93000, - 100000, - 100000 - ], - "header": 13000 - }, - { - "cells": [ - 62000, - 66500, - 70000, - 75000, - 78500, - 81500, - 88500, - 96000, - 100000, - 100000 - ], - "header": 14000 - }, - { - "cells": [ - 64000, - 66500, - 69500, - 74500, - 79500, - 82500, - 90000, - 98000, - 100000, - 100000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 27000, + 32000, + 35000, + 37500, + 39500, + 41000, + 43000, + 46000 + ], + [ + 0, + 0, + 27500, + 32500, + 35500, + 37500, + 39000, + 41000, + 43500, + 46000 + ], + [ + 0, + 0, + 28000, + 32500, + 35500, + 37500, + 39500, + 41000, + 43500, + 46500 + ], + [ + 0, + 0, + 29000, + 32500, + 35500, + 38000, + 39500, + 41500, + 44000, + 46500 + ], + [ + 0, + 21000, + 29000, + 33000, + 35500, + 38000, + 39500, + 41500, + 44000, + 47000 + ], + [ + 0, + 22500, + 29500, + 33000, + 36000, + 38000, + 40000, + 42000, + 44000, + 47000 + ], + [ + 0, + 20500, + 30500, + 35000, + 37500, + 40000, + 42000, + 43500, + 46000, + 49000 + ], + [ + 0, + 23000, + 31000, + 35000, + 38000, + 40000, + 42000, + 44000, + 46000, + 49000 + ], + [ + 0, + 24000, + 31000, + 35000, + 38000, + 40000, + 42000, + 44000, + 46500, + 49500 + ], + [ + 0, + 22500, + 31500, + 36500, + 39500, + 41500, + 43500, + 45500, + 48000, + 51000 + ], + [ + 0, + 25500, + 36000, + 41000, + 44500, + 46500, + 49000, + 51000, + 54000, + 57500 + ], + [ + 22500, + 30000, + 39000, + 45000, + 49000, + 52000, + 54500, + 56500, + 60000, + 64000 + ], + [ + 26000, + 31000, + 40500, + 48500, + 53000, + 56500, + 60000, + 63000, + 67000, + 72500 + ], + [ + 29500, + 35000, + 43500, + 52000, + 57000, + 61500, + 64500, + 68000, + 72500, + 79000 + ], + [ + 33000, + 39000, + 46500, + 55500, + 61000, + 65500, + 69000, + 73000, + 78000, + 85500 + ], + [ + 37000, + 42500, + 50000, + 59000, + 64000, + 68500, + 72000, + 75500, + 81500, + 89500 + ], + [ + 40000, + 46000, + 53000, + 60000, + 65000, + 70000, + 73000, + 76500, + 84000, + 92000 + ], + [ + 43500, + 51000, + 58000, + 63500, + 68000, + 72000, + 74000, + 78500, + 85500, + 93000 + ], + [ + 49000, + 56000, + 61500, + 66000, + 70500, + 72500, + 76000, + 82500, + 90000, + 97500 + ], + [ + 53500, + 59500, + 64000, + 68500, + 71500, + 74000, + 79000, + 86500, + 93500, + 100000 + ], + [ + 57000, + 62000, + 66500, + 70500, + 74000, + 76500, + 82500, + 90000, + 97500, + 100000 + ], + [ + 59500, + 64500, + 68000, + 73000, + 77000, + 79000, + 85500, + 93000, + 100000, + 100000 + ], + [ + 62000, + 66500, + 70000, + 75000, + 78500, + 81500, + 88500, + 96000, + 100000, + 100000 + ], + [ + 64000, + 66500, + 69500, + 74500, + 79500, + 82500, + 90000, + 98000, + 100000, + 100000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_130#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 2200, + 2050, + 3000, + 3100, + 3050, + 3450, + 3900, + 4600 + ], + [ + 750, + 1550, + 2200, + 2700, + 3150, + 3600, + 4100, + 4850, + 4550, + 5050 + ], + [ + 0, + 1550, + 2350, + 2600, + 3350, + 3400, + 3800, + 4600, + 6750, + 5550 + ], + [ + 1050, + 2200, + 2350, + 2900, + 3200, + 3800, + 4200, + 4600, + 6150, + 5950 + ], + [ + 0, + 1800, + 2450, + 3000, + 3500, + 3800, + 4400, + 5000, + 6300, + 6300 + ], + [ + 0, + 1900, + 2650, + 3050, + 3600, + 4100, + 4400, + 5200, + 6500, + 6600 + ], + [ + 0, + 2100, + 2650, + 3150, + 3650, + 4100, + 4550, + 5350, + 6650, + 7900 + ], + [ + 0, + 2050, + 2750, + 3250, + 3750, + 4250, + 4700, + 5400, + 6800, + 8100 + ], + [ + 1550, + 2100, + 2800, + 3350, + 3850, + 4350, + 4850, + 5550, + 7000, + 7350 + ], + [ + 1400, + 2150, + 2900, + 3400, + 3950, + 4450, + 4950, + 5700, + 7100, + 8400 + ], + [ + 1500, + 2350, + 3100, + 3850, + 4550, + 5200, + 5800, + 6800, + 8150, + 9700 + ], + [ + 1500, + 2400, + 3200, + 3900, + 4800, + 5500, + 6200, + 7500, + 9300, + 10800 + ], + [ + 1900, + 1900, + 4300, + 4200, + 4500, + 5500, + 6400, + 8100, + 10100, + 11400 + ], + [ + 2250, + 4500, + 5000, + 5250, + 5000, + 5500, + 6250, + 8750, + 10750, + 12750 + ], + [ + 2500, + 5000, + 6000, + 6500, + 6000, + 6000, + 6500, + 9500, + 11500, + 13500 + ], + [ + 2500, + 4500, + 6500, + 7500, + 7000, + 7000, + 7000, + 9500, + 12000, + 14000 + ], + [ + 2500, + 5500, + 6000, + 8500, + 8500, + 7500, + 8000, + 10000, + 12500, + 14500 + ], + [ + 2500, + 6000, + 6500, + 10500, + 9000, + 8500, + 9000, + 10000, + 12500, + 15000 + ], + [ + 2000, + 6000, + 8000, + 11500, + 11000, + 10500, + 11000, + 10500, + 13000, + 15500 + ], + [ + 2000, + 6000, + 7500, + 14500, + 11500, + 12000, + 11500, + 12000, + 13500, + 16000 + ], + [ + 2000, + 6500, + 8500, + 11000, + 12000, + 13000, + 13500, + 13500, + 14500, + 16500 + ], + [ + 2000, + 6000, + 9500, + 10500, + 16000, + 8000, + 14000, + 13500, + 16000, + 17500 + ], + [ + 2000, + 6000, + 6000, + 11000, + 21500, + 15000, + 17000, + 14000, + 16000, + 18500 + ], + [ + 2500, + 4500, + 7500, + 10000, + 14500, + 15000, + 18000, + 16000, + 17000, + 19500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_130#/client", + "speedsMs": [ 100, 150, 200, @@ -412,371 +641,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 2200, - 2050, - 3000, - 3100, - 3050, - 3450, - 3900, - 4600 - ], - "header": 100 - }, - { - "cells": [ - 750, - 1550, - 2200, - 2700, - 3150, - 3600, - 4100, - 4850, - 4550, - 5050 - ], - "header": 200 - }, - { - "cells": [ - 0, - 1550, - 2350, - 2600, - 3350, - 3400, - 3800, - 4600, - 6750, - 5550 - ], - "header": 300 - }, - { - "cells": [ - 1050, - 2200, - 2350, - 2900, - 3200, - 3800, - 4200, - 4600, - 6150, - 5950 - ], - "header": 400 - }, - { - "cells": [ - 0, - 1800, - 2450, - 3000, - 3500, - 3800, - 4400, - 5000, - 6300, - 6300 - ], - "header": 500 - }, - { - "cells": [ - 0, - 1900, - 2650, - 3050, - 3600, - 4100, - 4400, - 5200, - 6500, - 6600 - ], - "header": 600 - }, - { - "cells": [ - 0, - 2100, - 2650, - 3150, - 3650, - 4100, - 4550, - 5350, - 6650, - 7900 - ], - "header": 700 - }, - { - "cells": [ - 0, - 2050, - 2750, - 3250, - 3750, - 4250, - 4700, - 5400, - 6800, - 8100 - ], - "header": 800 - }, - { - "cells": [ - 1550, - 2100, - 2800, - 3350, - 3850, - 4350, - 4850, - 5550, - 7000, - 7350 - ], - "header": 900 - }, - { - "cells": [ - 1400, - 2150, - 2900, - 3400, - 3950, - 4450, - 4950, - 5700, - 7100, - 8400 - ], - "header": 1000 - }, - { - "cells": [ - 1500, - 2350, - 3100, - 3850, - 4550, - 5200, - 5800, - 6800, - 8150, - 9700 - ], - "header": 2000 - }, - { - "cells": [ - 1500, - 2400, - 3200, - 3900, - 4800, - 5500, - 6200, - 7500, - 9300, - 10800 - ], - "header": 3000 - }, - { - "cells": [ - 1900, - 1900, - 4300, - 4200, - 4500, - 5500, - 6400, - 8100, - 10100, - 11400 - ], - "header": 4000 - }, - { - "cells": [ - 2250, - 4500, - 5000, - 5250, - 5000, - 5500, - 6250, - 8750, - 10750, - 12750 - ], - "header": 5000 - }, - { - "cells": [ - 2500, - 5000, - 6000, - 6500, - 6000, - 6000, - 6500, - 9500, - 11500, - 13500 - ], - "header": 6000 - }, - { - "cells": [ - 2500, - 4500, - 6500, - 7500, - 7000, - 7000, - 7000, - 9500, - 12000, - 14000 - ], - "header": 7000 - }, - { - "cells": [ - 2500, - 5500, - 6000, - 8500, - 8500, - 7500, - 8000, - 10000, - 12500, - 14500 - ], - "header": 8000 - }, - { - "cells": [ - 2500, - 6000, - 6500, - 10500, - 9000, - 8500, - 9000, - 10000, - 12500, - 15000 - ], - "header": 9000 - }, - { - "cells": [ - 2000, - 6000, - 8000, - 11500, - 11000, - 10500, - 11000, - 10500, - 13000, - 15500 - ], - "header": 10000 - }, - { - "cells": [ - 2000, - 6000, - 7500, - 14500, - 11500, - 12000, - 11500, - 12000, - 13500, - 16000 - ], - "header": 11000 - }, - { - "cells": [ - 2000, - 6500, - 8500, - 11000, - 12000, - 13000, - 13500, - 13500, - 14500, - 16500 - ], - "header": 12000 - }, - { - "cells": [ - 2000, - 6000, - 9500, - 10500, - 16000, - 8000, - 14000, - 13500, - 16000, - 17500 - ], - "header": 13000 - }, - { - "cells": [ - 2000, - 6000, - 6000, - 11000, - 21500, - 15000, - 17000, - 14000, - 16000, - 18500 - ], - "header": 14000 - }, - { - "cells": [ - 2500, - 4500, - 7500, - 10000, - 14500, - 15000, - 18000, - 16000, - 17000, - 19500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_130#/client/MinLaunchDistData" + ] } ], "machMax": 0.85, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_154A.json b/dcs-world-reference/latest/weapon_flight/AGM_154A.json index e450521b..21303fef 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_154A.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_154A.json @@ -15,297 +15,466 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 10500, - 19000, - 25400, - 31300, - 35100, - 37700, - 39600, - 41300 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 12600, - 20600, - 29800, - 32800, - 36700, - 39300, - 41300, - 43100 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 14100, - 22300, - 31600, - 34300, - 38200, - 40900, - 42700, - 44400 - ], - "header": 700 - }, - { - "cells": [ - 0, - 9400, - 16400, - 25000, - 34400, - 36600, - 40600, - 43200, - 45200, - 47000 - ], - "header": 1000 - }, - { - "cells": [ - 12200, - 18400, - 25200, - 34200, - 44000, - 44200, - 48200, - 51000, - 53200, - 55000 - ], - "header": 2000 - }, - { - "cells": [ - 21400, - 27400, - 34200, - 43400, - 51400, - 51400, - 55800, - 58800, - 61000, - 63200 - ], - "header": 3000 - }, - { - "cells": [ - 30000, - 36000, - 42500, - 52000, - 58500, - 58500, - 63000, - 66500, - 68500, - 71000 - ], - "header": 4000 - }, - { - "cells": [ - 38500, - 44500, - 52500, - 60500, - 65500, - 65500, - 70000, - 73500, - 76000, - 79000 - ], - "header": 5000 - }, - { - "cells": [ - 46500, - 53000, - 61000, - 68000, - 76500, - 76500, - 76500, - 81000, - 83500, - 86500 - ], - "header": 6000 - }, - { - "cells": [ - 54500, - 61000, - 68500, - 76000, - 83000, - 83000, - 83000, - 87000, - 90500, - 94000 - ], - "header": 7000 - }, - { - "cells": [ - 61500, - 67500, - 76500, - 83250, - 86250, - 88500, - 88500, - 93000, - 96750, - 100500 - ], - "header": 8000 - }, - { - "cells": [ - 69000, - 75750, - 84000, - 90000, - 90000, - 97500, - 99000, - 99000, - 102750, - 107250 - ], - "header": 9000 - }, - { - "cells": [ - 73500, - 78000, - 83250, - 87000, - 98250, - 99750, - 100500, - 104250, - 108750, - 113250 - ], - "header": 10000 - }, - { - "cells": [ - 87000, - 92250, - 97500, - 102750, - 105750, - 107250, - 108000, - 109500, - 114750, - 119250 - ], - "header": 11000 - }, - { - "cells": [ - 93000, - 99000, - 104000, - 109000, - 112000, - 114000, - 114000, - 114000, - 119000, - 124000 - ], - "header": 12000 - }, - { - "cells": [ - 100000, - 105000, - 110000, - 114000, - 117000, - 119000, - 120000, - 121000, - 121000, - 128000 - ], - "header": 13000 - }, - { - "cells": [ - 105000, - 111000, - 115000, - 120000, - 123000, - 125000, - 126000, - 126000, - 127000, - 130000 - ], - "header": 14000 - }, - { - "cells": [ - 111000, - 116000, - 121000, - 125000, - 128000, - 130000, - 130000, - 131000, - 132000, - 133000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 10500, + 19000, + 25400, + 31300, + 35100, + 37700, + 39600, + 41300 + ], + [ + 0, + 0, + 12600, + 20600, + 29800, + 32800, + 36700, + 39300, + 41300, + 43100 + ], + [ + 0, + 0, + 14100, + 22300, + 31600, + 34300, + 38200, + 40900, + 42700, + 44400 + ], + [ + 0, + 9400, + 16400, + 25000, + 34400, + 36600, + 40600, + 43200, + 45200, + 47000 + ], + [ + 12200, + 18400, + 25200, + 34200, + 44000, + 44200, + 48200, + 51000, + 53200, + 55000 + ], + [ + 21400, + 27400, + 34200, + 43400, + 51400, + 51400, + 55800, + 58800, + 61000, + 63200 + ], + [ + 30000, + 36000, + 42500, + 52000, + 58500, + 58500, + 63000, + 66500, + 68500, + 71000 + ], + [ + 38500, + 44500, + 52500, + 60500, + 65500, + 65500, + 70000, + 73500, + 76000, + 79000 + ], + [ + 46500, + 53000, + 61000, + 68000, + 76500, + 76500, + 76500, + 81000, + 83500, + 86500 + ], + [ + 54500, + 61000, + 68500, + 76000, + 83000, + 83000, + 83000, + 87000, + 90500, + 94000 + ], + [ + 61500, + 67500, + 76500, + 83250, + 86250, + 88500, + 88500, + 93000, + 96750, + 100500 + ], + [ + 69000, + 75750, + 84000, + 90000, + 90000, + 97500, + 99000, + 99000, + 102750, + 107250 + ], + [ + 73500, + 78000, + 83250, + 87000, + 98250, + 99750, + 100500, + 104250, + 108750, + 113250 + ], + [ + 87000, + 92250, + 97500, + 102750, + 105750, + 107250, + 108000, + 109500, + 114750, + 119250 + ], + [ + 93000, + 99000, + 104000, + 109000, + 112000, + 114000, + 114000, + 114000, + 119000, + 124000 + ], + [ + 100000, + 105000, + 110000, + 114000, + 117000, + 119000, + 120000, + 121000, + 121000, + 128000 + ], + [ + 105000, + 111000, + 115000, + 120000, + 123000, + 125000, + 126000, + 126000, + 127000, + 130000 + ], + [ + 111000, + 116000, + 121000, + 125000, + 128000, + 130000, + 130000, + 131000, + 132000, + 133000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_154A#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 7800, + 8300, + 8800, + 9200, + 9500, + 11500, + 13800, + 15600 + ], + [ + 0, + 0, + 7900, + 8500, + 9100, + 9300, + 9600, + 11500, + 13800, + 16700 + ], + [ + 0, + 0, + 8000, + 8600, + 9200, + 9400, + 9700, + 10300, + 10600, + 11100 + ], + [ + 0, + 7600, + 8200, + 9000, + 9400, + 9600, + 11600, + 12400, + 12800, + 13200 + ], + [ + 7800, + 8200, + 8800, + 9400, + 10000, + 10000, + 10400, + 10600, + 11200, + 10800 + ], + [ + 8400, + 8800, + 9400, + 10000, + 10600, + 10600, + 10800, + 11000, + 11600, + 11400 + ], + [ + 9500, + 9500, + 10000, + 11000, + 11500, + 11500, + 12000, + 12000, + 12000, + 12000 + ], + [ + 10000, + 10500, + 11000, + 11500, + 12000, + 12000, + 12000, + 13500, + 12500, + 15000 + ], + [ + 11000, + 11500, + 11500, + 12000, + 12500, + 12500, + 12500, + 13000, + 13000, + 13000 + ], + [ + 12000, + 12000, + 12000, + 12500, + 13000, + 13000, + 13000, + 13500, + 13500, + 14000 + ], + [ + 11250, + 12000, + 13500, + 12750, + 13500, + 13500, + 13500, + 13500, + 14250, + 14250 + ], + [ + 12750, + 12750, + 13500, + 13500, + 13500, + 14250, + 14250, + 14250, + 14250, + 15000 + ], + [ + 12750, + 12750, + 12750, + 13500, + 14250, + 14250, + 14250, + 29250, + 15000, + 15000 + ], + [ + 13500, + 13500, + 14250, + 14250, + 15000, + 15000, + 15000, + 15000, + 15000, + 15750 + ], + [ + 13000, + 14000, + 14000, + 15000, + 15000, + 15000, + 15000, + 15000, + 15000, + 16000 + ], + [ + 14000, + 14000, + 15000, + 15000, + 15000, + 15000, + 15000, + 15000, + 15000, + 18000 + ], + [ + 14000, + 15000, + 15000, + 15000, + 16000, + 16000, + 16000, + 17000, + 18000, + 20000 + ], + [ + 15000, + 15000, + 15000, + 16000, + 16000, + 16000, + 17000, + 18000, + 20000, + 21000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_154A#/client", + "speedsMs": [ 100, 150, 200, @@ -316,281 +485,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 7800, - 8300, - 8800, - 9200, - 9500, - 11500, - 13800, - 15600 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 7900, - 8500, - 9100, - 9300, - 9600, - 11500, - 13800, - 16700 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8000, - 8600, - 9200, - 9400, - 9700, - 10300, - 10600, - 11100 - ], - "header": 700 - }, - { - "cells": [ - 0, - 7600, - 8200, - 9000, - 9400, - 9600, - 11600, - 12400, - 12800, - 13200 - ], - "header": 1000 - }, - { - "cells": [ - 7800, - 8200, - 8800, - 9400, - 10000, - 10000, - 10400, - 10600, - 11200, - 10800 - ], - "header": 2000 - }, - { - "cells": [ - 8400, - 8800, - 9400, - 10000, - 10600, - 10600, - 10800, - 11000, - 11600, - 11400 - ], - "header": 3000 - }, - { - "cells": [ - 9500, - 9500, - 10000, - 11000, - 11500, - 11500, - 12000, - 12000, - 12000, - 12000 - ], - "header": 4000 - }, - { - "cells": [ - 10000, - 10500, - 11000, - 11500, - 12000, - 12000, - 12000, - 13500, - 12500, - 15000 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 11500, - 11500, - 12000, - 12500, - 12500, - 12500, - 13000, - 13000, - 13000 - ], - "header": 6000 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12500, - 13000, - 13000, - 13000, - 13500, - 13500, - 14000 - ], - "header": 7000 - }, - { - "cells": [ - 11250, - 12000, - 13500, - 12750, - 13500, - 13500, - 13500, - 13500, - 14250, - 14250 - ], - "header": 8000 - }, - { - "cells": [ - 12750, - 12750, - 13500, - 13500, - 13500, - 14250, - 14250, - 14250, - 14250, - 15000 - ], - "header": 9000 - }, - { - "cells": [ - 12750, - 12750, - 12750, - 13500, - 14250, - 14250, - 14250, - 29250, - 15000, - 15000 - ], - "header": 10000 - }, - { - "cells": [ - 13500, - 13500, - 14250, - 14250, - 15000, - 15000, - 15000, - 15000, - 15000, - 15750 - ], - "header": 11000 - }, - { - "cells": [ - 13000, - 14000, - 14000, - 15000, - 15000, - 15000, - 15000, - 15000, - 15000, - 16000 - ], - "header": 12000 - }, - { - "cells": [ - 14000, - 14000, - 15000, - 15000, - 15000, - 15000, - 15000, - 15000, - 15000, - 18000 - ], - "header": 13000 - }, - { - "cells": [ - 14000, - 15000, - 15000, - 15000, - 16000, - 16000, - 16000, - 17000, - 18000, - 20000 - ], - "header": 14000 - }, - { - "cells": [ - 15000, - 15000, - 15000, - 16000, - 16000, - 16000, - 17000, - 18000, - 20000, - 21000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_154A#/client/MinLaunchDistData" + ] } ], "machMax": 1.7, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_154B.json b/dcs-world-reference/latest/weapon_flight/AGM_154B.json index bc2ebedc..793b11db 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_154B.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_154B.json @@ -15,297 +15,466 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 13000, - 18300, - 29100, - 35100, - 38600, - 40800, - 42500, - 44300 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 12700, - 19900, - 30400, - 36600, - 40200, - 42500, - 44100, - 46100 - ], - "header": 500 - }, - { - "cells": [ - 0, - 9500, - 13700, - 21500, - 31800, - 38100, - 41700, - 44000, - 45700, - 47400 - ], - "header": 700 - }, - { - "cells": [ - 0, - 9200, - 16000, - 24200, - 33800, - 40200, - 44000, - 46200, - 48200, - 49800 - ], - "header": 1000 - }, - { - "cells": [ - 9000, - 21200, - 27800, - 34000, - 34000, - 47800, - 51600, - 54200, - 56200, - 58000 - ], - "header": 2000 - }, - { - "cells": [ - 14400, - 30400, - 38600, - 47600, - 54800, - 54800, - 59400, - 62000, - 64200, - 66200 - ], - "header": 3000 - }, - { - "cells": [ - 19500, - 39000, - 47000, - 54500, - 62000, - 62000, - 66000, - 69500, - 72000, - 74000 - ], - "header": 4000 - }, - { - "cells": [ - 24000, - 47500, - 56000, - 63500, - 68500, - 68500, - 73000, - 76500, - 79500, - 82000 - ], - "header": 5000 - }, - { - "cells": [ - 30000, - 56000, - 64500, - 72000, - 78500, - 80000, - 80000, - 83500, - 87000, - 89500 - ], - "header": 6000 - }, - { - "cells": [ - 35000, - 64500, - 72500, - 80000, - 87000, - 87000, - 87000, - 90500, - 94500, - 97500 - ], - "header": 7000 - }, - { - "cells": [ - 39750, - 72000, - 80250, - 87750, - 93750, - 93750, - 93750, - 96750, - 100500, - 105000 - ], - "header": 8000 - }, - { - "cells": [ - 44250, - 79500, - 87750, - 90750, - 90750, - 90750, - 90750, - 103500, - 107250, - 111750 - ], - "header": 9000 - }, - { - "cells": [ - 75750, - 81750, - 86250, - 90750, - 93750, - 94500, - 95250, - 100500, - 113250, - 117750 - ], - "header": 10000 - }, - { - "cells": [ - 90000, - 95250, - 101250, - 105750, - 108750, - 111000, - 111750, - 114750, - 119250, - 124500 - ], - "header": 11000 - }, - { - "cells": [ - 96000, - 98000, - 108000, - 112000, - 115000, - 117000, - 118000, - 119000, - 124000, - 128000 - ], - "header": 12000 - }, - { - "cells": [ - 101000, - 109000, - 109000, - 118000, - 121000, - 121000, - 124000, - 124000, - 125000, - 132000 - ], - "header": 13000 - }, - { - "cells": [ - 106000, - 111000, - 115000, - 124000, - 124000, - 125000, - 126000, - 127000, - 128000, - 129000 - ], - "header": 14000 - }, - { - "cells": [ - 112000, - 117000, - 122000, - 126000, - 129000, - 129000, - 132000, - 133000, - 134000, - 138000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 13000, + 18300, + 29100, + 35100, + 38600, + 40800, + 42500, + 44300 + ], + [ + 0, + 0, + 12700, + 19900, + 30400, + 36600, + 40200, + 42500, + 44100, + 46100 + ], + [ + 0, + 9500, + 13700, + 21500, + 31800, + 38100, + 41700, + 44000, + 45700, + 47400 + ], + [ + 0, + 9200, + 16000, + 24200, + 33800, + 40200, + 44000, + 46200, + 48200, + 49800 + ], + [ + 9000, + 21200, + 27800, + 34000, + 34000, + 47800, + 51600, + 54200, + 56200, + 58000 + ], + [ + 14400, + 30400, + 38600, + 47600, + 54800, + 54800, + 59400, + 62000, + 64200, + 66200 + ], + [ + 19500, + 39000, + 47000, + 54500, + 62000, + 62000, + 66000, + 69500, + 72000, + 74000 + ], + [ + 24000, + 47500, + 56000, + 63500, + 68500, + 68500, + 73000, + 76500, + 79500, + 82000 + ], + [ + 30000, + 56000, + 64500, + 72000, + 78500, + 80000, + 80000, + 83500, + 87000, + 89500 + ], + [ + 35000, + 64500, + 72500, + 80000, + 87000, + 87000, + 87000, + 90500, + 94500, + 97500 + ], + [ + 39750, + 72000, + 80250, + 87750, + 93750, + 93750, + 93750, + 96750, + 100500, + 105000 + ], + [ + 44250, + 79500, + 87750, + 90750, + 90750, + 90750, + 90750, + 103500, + 107250, + 111750 + ], + [ + 75750, + 81750, + 86250, + 90750, + 93750, + 94500, + 95250, + 100500, + 113250, + 117750 + ], + [ + 90000, + 95250, + 101250, + 105750, + 108750, + 111000, + 111750, + 114750, + 119250, + 124500 + ], + [ + 96000, + 98000, + 108000, + 112000, + 115000, + 117000, + 118000, + 119000, + 124000, + 128000 + ], + [ + 101000, + 109000, + 109000, + 118000, + 121000, + 121000, + 124000, + 124000, + 125000, + 132000 + ], + [ + 106000, + 111000, + 115000, + 124000, + 124000, + 125000, + 126000, + 127000, + 128000, + 129000 + ], + [ + 112000, + 117000, + 122000, + 126000, + 129000, + 129000, + 132000, + 133000, + 134000, + 138000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_154B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 8400, + 8700, + 9400, + 9800, + 10000, + 10200, + 10300, + 15200 + ], + [ + 0, + 0, + 8300, + 8800, + 9500, + 9900, + 10100, + 10300, + 10400, + 15300 + ], + [ + 0, + 8400, + 8400, + 9200, + 9600, + 10000, + 10200, + 10400, + 10500, + 10600 + ], + [ + 0, + 8200, + 8600, + 9400, + 9800, + 10200, + 10400, + 10600, + 10600, + 10800 + ], + [ + 8200, + 9000, + 9400, + 9800, + 9800, + 10600, + 11000, + 11000, + 11200, + 11400 + ], + [ + 8600, + 9600, + 10000, + 10600, + 11200, + 11200, + 11400, + 11600, + 11800, + 11800 + ], + [ + 9000, + 10000, + 11000, + 11000, + 11500, + 11500, + 12000, + 12000, + 12500, + 12500 + ], + [ + 9500, + 11000, + 11500, + 12000, + 12000, + 12000, + 12500, + 12500, + 13000, + 13000 + ], + [ + 10000, + 12000, + 12000, + 12500, + 13000, + 13000, + 13000, + 13000, + 13500, + 13500 + ], + [ + 10500, + 12500, + 12500, + 13000, + 13500, + 13500, + 13500, + 13500, + 14000, + 14000 + ], + [ + 9750, + 12000, + 13500, + 12750, + 13500, + 13500, + 13500, + 13500, + 13500, + 14250 + ], + [ + 11250, + 12750, + 12750, + 13500, + 13500, + 13500, + 13500, + 14250, + 14250, + 14250 + ], + [ + 12000, + 12750, + 12750, + 13500, + 13500, + 13500, + 13500, + 30000, + 15000, + 15000 + ], + [ + 13500, + 13500, + 14250, + 14250, + 14250, + 14250, + 14250, + 15000, + 15000, + 15750 + ], + [ + 14000, + 14000, + 15000, + 15000, + 15000, + 16000, + 16000, + 16000, + 16000, + 16000 + ], + [ + 14000, + 15000, + 15000, + 16000, + 16000, + 16000, + 16000, + 16000, + 16000, + 16000 + ], + [ + 15000, + 15000, + 15000, + 16000, + 16000, + 16000, + 16000, + 16000, + 16000, + 16000 + ], + [ + 15000, + 16000, + 16000, + 16000, + 16000, + 16000, + 16000, + 17000, + 17000, + 18000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_154B#/client", + "speedsMs": [ 100, 150, 200, @@ -316,281 +485,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 8400, - 8700, - 9400, - 9800, - 10000, - 10200, - 10300, - 15200 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 8300, - 8800, - 9500, - 9900, - 10100, - 10300, - 10400, - 15300 - ], - "header": 500 - }, - { - "cells": [ - 0, - 8400, - 8400, - 9200, - 9600, - 10000, - 10200, - 10400, - 10500, - 10600 - ], - "header": 700 - }, - { - "cells": [ - 0, - 8200, - 8600, - 9400, - 9800, - 10200, - 10400, - 10600, - 10600, - 10800 - ], - "header": 1000 - }, - { - "cells": [ - 8200, - 9000, - 9400, - 9800, - 9800, - 10600, - 11000, - 11000, - 11200, - 11400 - ], - "header": 2000 - }, - { - "cells": [ - 8600, - 9600, - 10000, - 10600, - 11200, - 11200, - 11400, - 11600, - 11800, - 11800 - ], - "header": 3000 - }, - { - "cells": [ - 9000, - 10000, - 11000, - 11000, - 11500, - 11500, - 12000, - 12000, - 12500, - 12500 - ], - "header": 4000 - }, - { - "cells": [ - 9500, - 11000, - 11500, - 12000, - 12000, - 12000, - 12500, - 12500, - 13000, - 13000 - ], - "header": 5000 - }, - { - "cells": [ - 10000, - 12000, - 12000, - 12500, - 13000, - 13000, - 13000, - 13000, - 13500, - 13500 - ], - "header": 6000 - }, - { - "cells": [ - 10500, - 12500, - 12500, - 13000, - 13500, - 13500, - 13500, - 13500, - 14000, - 14000 - ], - "header": 7000 - }, - { - "cells": [ - 9750, - 12000, - 13500, - 12750, - 13500, - 13500, - 13500, - 13500, - 13500, - 14250 - ], - "header": 8000 - }, - { - "cells": [ - 11250, - 12750, - 12750, - 13500, - 13500, - 13500, - 13500, - 14250, - 14250, - 14250 - ], - "header": 9000 - }, - { - "cells": [ - 12000, - 12750, - 12750, - 13500, - 13500, - 13500, - 13500, - 30000, - 15000, - 15000 - ], - "header": 10000 - }, - { - "cells": [ - 13500, - 13500, - 14250, - 14250, - 14250, - 14250, - 14250, - 15000, - 15000, - 15750 - ], - "header": 11000 - }, - { - "cells": [ - 14000, - 14000, - 15000, - 15000, - 15000, - 16000, - 16000, - 16000, - 16000, - 16000 - ], - "header": 12000 - }, - { - "cells": [ - 14000, - 15000, - 15000, - 16000, - 16000, - 16000, - 16000, - 16000, - 16000, - 16000 - ], - "header": 13000 - }, - { - "cells": [ - 15000, - 15000, - 15000, - 16000, - 16000, - 16000, - 16000, - 16000, - 16000, - 16000 - ], - "header": 14000 - }, - { - "cells": [ - 15000, - 16000, - 16000, - 16000, - 16000, - 16000, - 16000, - 17000, - 17000, - 18000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_154B#/client/MinLaunchDistData" + ] } ], "machMax": 1.7, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_45A.json b/dcs-world-reference/latest/weapon_flight/AGM_45A.json index 108d2722..48b17a1d 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_45A.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_45A.json @@ -175,9 +175,261 @@ }, "batteryLifeS": 300, "killDistanceM": 10, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 + ], + "maxRangeM": [ + [ + 1700, + 2091, + 3543, + 3760, + 4082, + 3469, + 5518, + 5700, + 5909, + 3945 + ], + [ + 1833, + 5161, + 3914, + 3166, + 2977, + 3135, + 4040, + 5000, + 5939, + 5000 + ], + [ + 4582, + 4402, + 3201, + 6138, + 4367, + 5478, + 5514, + 6598, + 5106, + 6693 + ], + [ + 5573, + 5659, + 4000, + 4552, + 4500, + 4453, + 2992, + 4092, + 4092, + 4092 + ], + [ + 6353, + 7093, + 3282, + 7111, + 6485, + 5663, + 5784, + 8047, + 8243, + 5960 + ], + [ + 4956, + 7087, + 7603, + 7812, + 8051, + 7644, + 8438, + 10307, + 9782, + 11944 + ], + [ + 9875, + 9516, + 9378, + 9230, + 6983, + 10456, + 11258, + 10302, + 8273, + 12248 + ], + [ + 9299, + 8312, + 10095, + 8539, + 11643, + 11415, + 12973, + 10114, + 13096, + 13629 + ], + [ + 7913, + 12239, + 20602, + 12376, + 12356, + 17858, + 15826, + 15337, + 12454, + 13563 + ], + [ + 11742, + 10623, + 10724, + 11745, + 12822, + 12055, + 13520, + 12466, + 13390, + 25879 + ], + [ + 11113, + 16171, + 16032, + 14454, + 14462, + 12688, + 14022, + 12846, + 23820, + 17084 + ], + [ + 19496, + 16122, + 21820, + 14791, + 16419, + 18009, + 19651, + 22064, + 20341, + 15130 + ], + [ + 19125, + 24693, + 14127, + 15519, + 15115, + 19314, + 19287, + 17523, + 18098, + 23638 + ], + [ + 15487, + 17579, + 17853, + 14231, + 15911, + 18462, + 22465, + 18673, + 21788, + 22426 + ], + [ + 21292, + 19007, + 17441, + 23153, + 18331, + 22904, + 21753, + 19742, + 19963, + 28648 + ], + [ + 19476, + 29418, + 21747, + 22086, + 17713, + 25584, + 26787, + 24635, + 23790, + 22620 + ], + [ + 23341, + 21820, + 24792, + 22625, + 18498, + 16096, + 23007, + 24747, + 25613, + 26811 + ], + [ + 23766, + 21747, + 27854, + 30717, + 24967, + 27754, + 30127, + 24639, + 27266, + 47088 + ], + [ + 19094, + 30258, + 26752, + 30687, + 31071, + 27871, + 27425, + 29748, + 35668, + 30672 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_45A#/client", + "speedsMs": [ 100, 150, 200, @@ -188,296 +440,7 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1700, - 2091, - 3543, - 3760, - 4082, - 3469, - 5518, - 5700, - 5909, - 3945 - ], - "header": 600 - }, - { - "cells": [ - 1833, - 5161, - 3914, - 3166, - 2977, - 3135, - 4040, - 5000, - 5939, - 5000 - ], - "header": 700 - }, - { - "cells": [ - 4582, - 4402, - 3201, - 6138, - 4367, - 5478, - 5514, - 6598, - 5106, - 6693 - ], - "header": 800 - }, - { - "cells": [ - 5573, - 5659, - 4000, - 4552, - 4500, - 4453, - 2992, - 4092, - 4092, - 4092 - ], - "header": 900 - }, - { - "cells": [ - 6353, - 7093, - 3282, - 7111, - 6485, - 5663, - 5784, - 8047, - 8243, - 5960 - ], - "header": 1000 - }, - { - "cells": [ - 4956, - 7087, - 7603, - 7812, - 8051, - 7644, - 8438, - 10307, - 9782, - 11944 - ], - "header": 2000 - }, - { - "cells": [ - 9875, - 9516, - 9378, - 9230, - 6983, - 10456, - 11258, - 10302, - 8273, - 12248 - ], - "header": 3000 - }, - { - "cells": [ - 9299, - 8312, - 10095, - 8539, - 11643, - 11415, - 12973, - 10114, - 13096, - 13629 - ], - "header": 4000 - }, - { - "cells": [ - 7913, - 12239, - 20602, - 12376, - 12356, - 17858, - 15826, - 15337, - 12454, - 13563 - ], - "header": 5000 - }, - { - "cells": [ - 11742, - 10623, - 10724, - 11745, - 12822, - 12055, - 13520, - 12466, - 13390, - 25879 - ], - "header": 6000 - }, - { - "cells": [ - 11113, - 16171, - 16032, - 14454, - 14462, - 12688, - 14022, - 12846, - 23820, - 17084 - ], - "header": 7000 - }, - { - "cells": [ - 19496, - 16122, - 21820, - 14791, - 16419, - 18009, - 19651, - 22064, - 20341, - 15130 - ], - "header": 8000 - }, - { - "cells": [ - 19125, - 24693, - 14127, - 15519, - 15115, - 19314, - 19287, - 17523, - 18098, - 23638 - ], - "header": 9000 - }, - { - "cells": [ - 15487, - 17579, - 17853, - 14231, - 15911, - 18462, - 22465, - 18673, - 21788, - 22426 - ], - "header": 10000 - }, - { - "cells": [ - 21292, - 19007, - 17441, - 23153, - 18331, - 22904, - 21753, - 19742, - 19963, - 28648 - ], - "header": 11000 - }, - { - "cells": [ - 19476, - 29418, - 21747, - 22086, - 17713, - 25584, - 26787, - 24635, - 23790, - 22620 - ], - "header": 12000 - }, - { - "cells": [ - 23341, - 21820, - 24792, - 22625, - 18498, - 16096, - 23007, - 24747, - 25613, - 26811 - ], - "header": 13000 - }, - { - "cells": [ - 23766, - 21747, - 27854, - 30717, - 24967, - 27754, - 30127, - 24639, - 27266, - 47088 - ], - "header": 14000 - }, - { - "cells": [ - 19094, - 30258, - 26752, - 30687, - 31071, - 27871, - 27425, - 29748, - 35668, - 30672 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_45A#/client/LaunchDistData" + ] } ], "machMax": 2, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_45B.json b/dcs-world-reference/latest/weapon_flight/AGM_45B.json index 1000ab57..238cd958 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_45B.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_45B.json @@ -175,9 +175,261 @@ }, "batteryLifeS": 300, "killDistanceM": 10, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 + ], + "maxRangeM": [ + [ + 2088, + 3356, + 1988, + 4537, + 2255, + 3000, + 4174, + 4000, + 3877, + 3000 + ], + [ + 3585, + 5149, + 2818, + 5914, + 4700, + 5808, + 4507, + 3202, + 6851, + 5000 + ], + [ + 6837, + 6492, + 2960, + 3619, + 4408, + 4529, + 3644, + 7741, + 6140, + 5798 + ], + [ + 3730, + 3299, + 2966, + 6057, + 6429, + 3092, + 7506, + 5698, + 3549, + 3051 + ], + [ + 3864, + 4292, + 6177, + 4246, + 7259, + 7569, + 5362, + 4515, + 9076, + 9247 + ], + [ + 7620, + 9086, + 10550, + 8491, + 6952, + 9826, + 8537, + 11361, + 12521, + 8001 + ], + [ + 10604, + 9921, + 12625, + 10330, + 8611, + 9490, + 12305, + 13875, + 13928, + 15371 + ], + [ + 11656, + 11449, + 12376, + 12503, + 12031, + 15035, + 15351, + 17963, + 13199, + 14475 + ], + [ + 13308, + 10363, + 12180, + 13838, + 14916, + 14407, + 13384, + 19008, + 12711, + 18062 + ], + [ + 22949, + 19596, + 13790, + 15009, + 15408, + 14806, + 15911, + 19982, + 13656, + 18301 + ], + [ + 19798, + 15895, + 16958, + 18546, + 14134, + 15840, + 14893, + 18261, + 17906, + 19713 + ], + [ + 15569, + 14624, + 20725, + 14927, + 21107, + 21279, + 17698, + 20519, + 18523, + 21452 + ], + [ + 17712, + 14180, + 16669, + 23414, + 17643, + 19342, + 19535, + 18635, + 26128, + 22316 + ], + [ + 21082, + 14986, + 17144, + 34472, + 19476, + 16764, + 28819, + 23169, + 24297, + 24097 + ], + [ + 20515, + 24189, + 22395, + 19433, + 18854, + 23335, + 21130, + 17223, + 22650, + 22323 + ], + [ + 23245, + 19308, + 25233, + 24947, + 20895, + 25334, + 22074, + 28490, + 28790, + 28291 + ], + [ + 23196, + 19628, + 26085, + 26531, + 28939, + 23754, + 25191, + 28720, + 22502, + 25877 + ], + [ + 23118, + 22583, + 18870, + 27058, + 29587, + 29607, + 28705, + 24107, + 33683, + 32506 + ], + [ + 28508, + 31076, + 28539, + 26988, + 28165, + 30129, + 33784, + 32070, + 28072, + 32470 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_45B#/client", + "speedsMs": [ 100, 150, 200, @@ -188,296 +440,7 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 2088, - 3356, - 1988, - 4537, - 2255, - 3000, - 4174, - 4000, - 3877, - 3000 - ], - "header": 600 - }, - { - "cells": [ - 3585, - 5149, - 2818, - 5914, - 4700, - 5808, - 4507, - 3202, - 6851, - 5000 - ], - "header": 700 - }, - { - "cells": [ - 6837, - 6492, - 2960, - 3619, - 4408, - 4529, - 3644, - 7741, - 6140, - 5798 - ], - "header": 800 - }, - { - "cells": [ - 3730, - 3299, - 2966, - 6057, - 6429, - 3092, - 7506, - 5698, - 3549, - 3051 - ], - "header": 900 - }, - { - "cells": [ - 3864, - 4292, - 6177, - 4246, - 7259, - 7569, - 5362, - 4515, - 9076, - 9247 - ], - "header": 1000 - }, - { - "cells": [ - 7620, - 9086, - 10550, - 8491, - 6952, - 9826, - 8537, - 11361, - 12521, - 8001 - ], - "header": 2000 - }, - { - "cells": [ - 10604, - 9921, - 12625, - 10330, - 8611, - 9490, - 12305, - 13875, - 13928, - 15371 - ], - "header": 3000 - }, - { - "cells": [ - 11656, - 11449, - 12376, - 12503, - 12031, - 15035, - 15351, - 17963, - 13199, - 14475 - ], - "header": 4000 - }, - { - "cells": [ - 13308, - 10363, - 12180, - 13838, - 14916, - 14407, - 13384, - 19008, - 12711, - 18062 - ], - "header": 5000 - }, - { - "cells": [ - 22949, - 19596, - 13790, - 15009, - 15408, - 14806, - 15911, - 19982, - 13656, - 18301 - ], - "header": 6000 - }, - { - "cells": [ - 19798, - 15895, - 16958, - 18546, - 14134, - 15840, - 14893, - 18261, - 17906, - 19713 - ], - "header": 7000 - }, - { - "cells": [ - 15569, - 14624, - 20725, - 14927, - 21107, - 21279, - 17698, - 20519, - 18523, - 21452 - ], - "header": 8000 - }, - { - "cells": [ - 17712, - 14180, - 16669, - 23414, - 17643, - 19342, - 19535, - 18635, - 26128, - 22316 - ], - "header": 9000 - }, - { - "cells": [ - 21082, - 14986, - 17144, - 34472, - 19476, - 16764, - 28819, - 23169, - 24297, - 24097 - ], - "header": 10000 - }, - { - "cells": [ - 20515, - 24189, - 22395, - 19433, - 18854, - 23335, - 21130, - 17223, - 22650, - 22323 - ], - "header": 11000 - }, - { - "cells": [ - 23245, - 19308, - 25233, - 24947, - 20895, - 25334, - 22074, - 28490, - 28790, - 28291 - ], - "header": 12000 - }, - { - "cells": [ - 23196, - 19628, - 26085, - 26531, - 28939, - 23754, - 25191, - 28720, - 22502, - 25877 - ], - "header": 13000 - }, - { - "cells": [ - 23118, - 22583, - 18870, - 27058, - 29587, - 29607, - 28705, - 24107, - 33683, - 32506 - ], - "header": 14000 - }, - { - "cells": [ - 28508, - 31076, - 28539, - 26988, - 28165, - 30129, - 33784, - 32070, - 28072, - 32470 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_45B#/client/LaunchDistData" + ] } ], "machMax": 2, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_62.json b/dcs-world-reference/latest/weapon_flight/AGM_62.json index 7faf2738..e2372a47 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_62.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_62.json @@ -13,387 +13,616 @@ "maxAoaRad": 0.23, "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62#/client/fm" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 2250, - 5050, - 8010, - 10810, - 13390, - 15920, - 18460, - 21200 - ], - "header": 100 - }, - { - "cells": [ - 0, - 1100, - 2680, - 5450, - 8400, - 11190, - 13770, - 16300, - 18850, - 21600 - ], - "header": 200 - }, - { - "cells": [ - 0, - 1340, - 3050, - 5820, - 8760, - 11560, - 14140, - 16670, - 19220, - 21990 - ], - "header": 300 - }, - { - "cells": [ - 0, - 1550, - 3390, - 6180, - 9120, - 11910, - 14490, - 17030, - 19590, - 22380 - ], - "header": 400 - }, - { - "cells": [ - 1100, - 1740, - 3710, - 6520, - 9470, - 12260, - 14850, - 17390, - 19960, - 22750 - ], - "header": 500 - }, - { - "cells": [ - 1210, - 1930, - 4030, - 6860, - 9820, - 12620, - 15200, - 17750, - 20320, - 23130 - ], - "header": 600 - }, - { - "cells": [ - 1320, - 2120, - 4340, - 7180, - 10160, - 12970, - 15560, - 18110, - 20700, - 23500 - ], - "header": 700 - }, - { - "cells": [ - 1425, - 2300, - 4600, - 7500, - 10475, - 13300, - 15900, - 18450, - 21050, - 23850 - ], - "header": 800 - }, - { - "cells": [ - 1525, - 2525, - 4925, - 7800, - 10825, - 13625, - 16250, - 18825, - 21425, - 24225 - ], - "header": 900 - }, - { - "cells": [ - 1650, - 2775, - 5200, - 8150, - 11125, - 14000, - 16600, - 19175, - 21775, - 24600 - ], - "header": 1000 - }, - { - "cells": [ - 2850, - 4900, - 7975, - 11125, - 14325, - 17325, - 20100, - 22725, - 25450, - 28325 - ], - "header": 2000 - }, - { - "cells": [ - 4150, - 7000, - 10550, - 13900, - 17250, - 20400, - 23450, - 26250, - 29100, - 32100 - ], - "header": 3000 - }, - { - "cells": [ - 5250, - 9300, - 13150, - 16550, - 20050, - 23400, - 26650, - 29750, - 32750, - 35950 - ], - "header": 4000 - }, - { - "cells": [ - 6500, - 12400, - 15700, - 19100, - 22700, - 26200, - 29700, - 33100, - 36300, - 39800 - ], - "header": 5000 - }, - { - "cells": [ - 7500, - 14750, - 18000, - 21250, - 25000, - 28750, - 32750, - 36250, - 39750, - 43500 - ], - "header": 6000 - }, - { - "cells": [ - 9000, - 17000, - 20250, - 23750, - 27750, - 31500, - 35500, - 39500, - 43250, - 47250 - ], - "header": 7000 - }, - { - "cells": [ - 15750, - 19000, - 22500, - 26000, - 30000, - 33750, - 38250, - 42750, - 47000, - 51000 - ], - "header": 8000 - }, - { - "cells": [ - 17250, - 21000, - 24500, - 28250, - 32500, - 36500, - 41000, - 45500, - 50250, - 54750 - ], - "header": 9000 - }, - { - "cells": [ - 19250, - 22750, - 26500, - 30500, - 34500, - 38750, - 43500, - 48500, - 53500, - 58000 - ], - "header": 10000 - }, - { - "cells": [ - 20500, - 24500, - 28500, - 32500, - 36500, - 41000, - 46000, - 51000, - 56500, - 60500 - ], - "header": 11000 - }, - { - "cells": [ - 22000, - 26000, - 30500, - 34500, - 38500, - 43500, - 48500, - 54000, - 58500, - 62500 - ], - "header": 12000 - }, - { - "cells": [ - 23000, - 27500, - 32500, - 36500, - 40500, - 45500, - 51000, - 56500, - 60000, - 64000 - ], - "header": 13000 - }, - { - "cells": [ - 24500, - 29500, - 34500, - 38500, - 43000, - 47500, - 53000, - 58000, - 61500, - 65500 - ], - "header": 14000 - }, - { - "cells": [ - 25000, - 30500, - 35500, - 40500, - 45000, - 49500, - 54500, - 58500, - 62500, - 66500 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 2250, + 5050, + 8010, + 10810, + 13390, + 15920, + 18460, + 21200 + ], + [ + 0, + 1100, + 2680, + 5450, + 8400, + 11190, + 13770, + 16300, + 18850, + 21600 + ], + [ + 0, + 1340, + 3050, + 5820, + 8760, + 11560, + 14140, + 16670, + 19220, + 21990 + ], + [ + 0, + 1550, + 3390, + 6180, + 9120, + 11910, + 14490, + 17030, + 19590, + 22380 + ], + [ + 1100, + 1740, + 3710, + 6520, + 9470, + 12260, + 14850, + 17390, + 19960, + 22750 + ], + [ + 1210, + 1930, + 4030, + 6860, + 9820, + 12620, + 15200, + 17750, + 20320, + 23130 + ], + [ + 1320, + 2120, + 4340, + 7180, + 10160, + 12970, + 15560, + 18110, + 20700, + 23500 + ], + [ + 1425, + 2300, + 4600, + 7500, + 10475, + 13300, + 15900, + 18450, + 21050, + 23850 + ], + [ + 1525, + 2525, + 4925, + 7800, + 10825, + 13625, + 16250, + 18825, + 21425, + 24225 + ], + [ + 1650, + 2775, + 5200, + 8150, + 11125, + 14000, + 16600, + 19175, + 21775, + 24600 + ], + [ + 2850, + 4900, + 7975, + 11125, + 14325, + 17325, + 20100, + 22725, + 25450, + 28325 + ], + [ + 4150, + 7000, + 10550, + 13900, + 17250, + 20400, + 23450, + 26250, + 29100, + 32100 + ], + [ + 5250, + 9300, + 13150, + 16550, + 20050, + 23400, + 26650, + 29750, + 32750, + 35950 + ], + [ + 6500, + 12400, + 15700, + 19100, + 22700, + 26200, + 29700, + 33100, + 36300, + 39800 + ], + [ + 7500, + 14750, + 18000, + 21250, + 25000, + 28750, + 32750, + 36250, + 39750, + 43500 + ], + [ + 9000, + 17000, + 20250, + 23750, + 27750, + 31500, + 35500, + 39500, + 43250, + 47250 + ], + [ + 15750, + 19000, + 22500, + 26000, + 30000, + 33750, + 38250, + 42750, + 47000, + 51000 + ], + [ + 17250, + 21000, + 24500, + 28250, + 32500, + 36500, + 41000, + 45500, + 50250, + 54750 + ], + [ + 19250, + 22750, + 26500, + 30500, + 34500, + 38750, + 43500, + 48500, + 53500, + 58000 + ], + [ + 20500, + 24500, + 28500, + 32500, + 36500, + 41000, + 46000, + 51000, + 56500, + 60500 + ], + [ + 22000, + 26000, + 30500, + 34500, + 38500, + 43500, + 48500, + 54000, + 58500, + 62500 + ], + [ + 23000, + 27500, + 32500, + 36500, + 40500, + 45500, + 51000, + 56500, + 60000, + 64000 + ], + [ + 24500, + 29500, + 34500, + 38500, + 43000, + 47500, + 53000, + 58000, + 61500, + 65500 + ], + [ + 25000, + 30500, + 35500, + 40500, + 45000, + 49500, + 54500, + 58500, + 62500, + 66500 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 1180, + 1740, + 2400, + 3120, + 3710, + 4120, + 4410, + 5010 + ], + [ + 0, + 1060, + 1550, + 2170, + 2850, + 3570, + 4160, + 4620, + 5010, + 5660 + ], + [ + 0, + 1280, + 1840, + 2490, + 3190, + 3910, + 4510, + 5000, + 5460, + 6170 + ], + [ + 0, + 1460, + 2060, + 2750, + 3470, + 4200, + 4800, + 5330, + 5850, + 6580 + ], + [ + 1060, + 1610, + 2260, + 2980, + 3710, + 4440, + 5060, + 5600, + 6180, + 6930 + ], + [ + 1160, + 1750, + 2440, + 3180, + 3920, + 4660, + 5290, + 5850, + 6480, + 7260 + ], + [ + 1240, + 1870, + 2610, + 3350, + 4110, + 4860, + 5500, + 6080, + 6740, + 7550 + ], + [ + 1325, + 1975, + 2750, + 3500, + 4275, + 5025, + 5700, + 6275, + 7000, + 7800 + ], + [ + 1400, + 2100, + 2900, + 3675, + 4475, + 5225, + 5875, + 6500, + 7225, + 8050 + ], + [ + 1450, + 2200, + 3000, + 3825, + 4600, + 5350, + 6050, + 6650, + 7450, + 8275 + ], + [ + 1975, + 2950, + 3975, + 4875, + 5750, + 6575, + 7350, + 8100, + 9150, + 10075 + ], + [ + 2400, + 3600, + 4700, + 5600, + 6550, + 7400, + 8200, + 9150, + 10450, + 11500 + ], + [ + 2600, + 4000, + 5350, + 6500, + 7400, + 8200, + 8850, + 10000, + 11450, + 12750 + ], + [ + 2900, + 4500, + 5900, + 7100, + 8300, + 9300, + 10200, + 10800, + 12400, + 13800 + ], + [ + 3250, + 4750, + 6500, + 7750, + 9000, + 10250, + 11500, + 12500, + 13250, + 14750 + ], + [ + 3500, + 5250, + 6750, + 8250, + 9750, + 11250, + 12250, + 13750, + 14500, + 15750 + ], + [ + 4250, + 5500, + 7250, + 9000, + 10250, + 12000, + 13500, + 15000, + 16250, + 16750 + ], + [ + 4500, + 6000, + 7750, + 9250, + 11000, + 12750, + 14250, + 16000, + 17500, + 18250 + ], + [ + 4750, + 6000, + 8000, + 10000, + 11500, + 13500, + 15250, + 17000, + 18750, + 20000 + ], + [ + 5500, + 6500, + 8500, + 10500, + 12000, + 14000, + 16000, + 18000, + 20000, + 21000 + ], + [ + 5500, + 6500, + 9000, + 10500, + 12500, + 15000, + 17000, + 19000, + 21000, + 22500 + ], + [ + 6000, + 7500, + 9000, + 11000, + 13500, + 15500, + 17500, + 20000, + 22000, + 23500 + ], + [ + 6000, + 7500, + 9500, + 11500, + 14000, + 16000, + 19000, + 21000, + 22500, + 25000 + ], + [ + 6000, + 8000, + 9500, + 12500, + 14500, + 17000, + 19500, + 21500, + 23500, + 26000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62#/client", + "speedsMs": [ 100, 150, 200, @@ -404,371 +633,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 1180, - 1740, - 2400, - 3120, - 3710, - 4120, - 4410, - 5010 - ], - "header": 100 - }, - { - "cells": [ - 0, - 1060, - 1550, - 2170, - 2850, - 3570, - 4160, - 4620, - 5010, - 5660 - ], - "header": 200 - }, - { - "cells": [ - 0, - 1280, - 1840, - 2490, - 3190, - 3910, - 4510, - 5000, - 5460, - 6170 - ], - "header": 300 - }, - { - "cells": [ - 0, - 1460, - 2060, - 2750, - 3470, - 4200, - 4800, - 5330, - 5850, - 6580 - ], - "header": 400 - }, - { - "cells": [ - 1060, - 1610, - 2260, - 2980, - 3710, - 4440, - 5060, - 5600, - 6180, - 6930 - ], - "header": 500 - }, - { - "cells": [ - 1160, - 1750, - 2440, - 3180, - 3920, - 4660, - 5290, - 5850, - 6480, - 7260 - ], - "header": 600 - }, - { - "cells": [ - 1240, - 1870, - 2610, - 3350, - 4110, - 4860, - 5500, - 6080, - 6740, - 7550 - ], - "header": 700 - }, - { - "cells": [ - 1325, - 1975, - 2750, - 3500, - 4275, - 5025, - 5700, - 6275, - 7000, - 7800 - ], - "header": 800 - }, - { - "cells": [ - 1400, - 2100, - 2900, - 3675, - 4475, - 5225, - 5875, - 6500, - 7225, - 8050 - ], - "header": 900 - }, - { - "cells": [ - 1450, - 2200, - 3000, - 3825, - 4600, - 5350, - 6050, - 6650, - 7450, - 8275 - ], - "header": 1000 - }, - { - "cells": [ - 1975, - 2950, - 3975, - 4875, - 5750, - 6575, - 7350, - 8100, - 9150, - 10075 - ], - "header": 2000 - }, - { - "cells": [ - 2400, - 3600, - 4700, - 5600, - 6550, - 7400, - 8200, - 9150, - 10450, - 11500 - ], - "header": 3000 - }, - { - "cells": [ - 2600, - 4000, - 5350, - 6500, - 7400, - 8200, - 8850, - 10000, - 11450, - 12750 - ], - "header": 4000 - }, - { - "cells": [ - 2900, - 4500, - 5900, - 7100, - 8300, - 9300, - 10200, - 10800, - 12400, - 13800 - ], - "header": 5000 - }, - { - "cells": [ - 3250, - 4750, - 6500, - 7750, - 9000, - 10250, - 11500, - 12500, - 13250, - 14750 - ], - "header": 6000 - }, - { - "cells": [ - 3500, - 5250, - 6750, - 8250, - 9750, - 11250, - 12250, - 13750, - 14500, - 15750 - ], - "header": 7000 - }, - { - "cells": [ - 4250, - 5500, - 7250, - 9000, - 10250, - 12000, - 13500, - 15000, - 16250, - 16750 - ], - "header": 8000 - }, - { - "cells": [ - 4500, - 6000, - 7750, - 9250, - 11000, - 12750, - 14250, - 16000, - 17500, - 18250 - ], - "header": 9000 - }, - { - "cells": [ - 4750, - 6000, - 8000, - 10000, - 11500, - 13500, - 15250, - 17000, - 18750, - 20000 - ], - "header": 10000 - }, - { - "cells": [ - 5500, - 6500, - 8500, - 10500, - 12000, - 14000, - 16000, - 18000, - 20000, - 21000 - ], - "header": 11000 - }, - { - "cells": [ - 5500, - 6500, - 9000, - 10500, - 12500, - 15000, - 17000, - 19000, - 21000, - 22500 - ], - "header": 12000 - }, - { - "cells": [ - 6000, - 7500, - 9000, - 11000, - 13500, - 15500, - 17500, - 20000, - 22000, - 23500 - ], - "header": 13000 - }, - { - "cells": [ - 6000, - 7500, - 9500, - 11500, - 14000, - 16000, - 19000, - 21000, - 22500, - 25000 - ], - "header": 14000 - }, - { - "cells": [ - 6000, - 8000, - 9500, - 12500, - 14500, - 17000, - 19500, - 21500, - 23500, - 26000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62#/client/MinLaunchDistData" + ] } ], "seeker": { diff --git a/dcs-world-reference/latest/weapon_flight/AGM_62_I.json b/dcs-world-reference/latest/weapon_flight/AGM_62_I.json index e663f3cf..7516696e 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_62_I.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_62_I.json @@ -13,292 +13,453 @@ "maxAoaRad": 0.23, "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62_I#/client/fm" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, + "altitudesM": [ + 100, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 950, - 2000, - 5200, - 8400, - 11600, - 14400, - 17000, - 19800, - 22600 - ], - "header": 100 - }, - { - "cells": [ - 1250, - 2600, - 5600, - 9000, - 12000, - 14800, - 17400, - 20200, - 23000 - ], - "header": 200 - }, - { - "cells": [ - 1450, - 3000, - 6000, - 9400, - 12400, - 15200, - 17800, - 20600, - 23400 - ], - "header": 300 - }, - { - "cells": [ - 1550, - 3400, - 6400, - 9600, - 12800, - 15600, - 18200, - 21000, - 23800 - ], - "header": 400 - }, - { - "cells": [ - 1650, - 3800, - 6800, - 10000, - 13200, - 16000, - 18600, - 21400, - 24200 - ], - "header": 500 - }, - { - "cells": [ - 1800, - 4200, - 7200, - 10400, - 13400, - 16400, - 19000, - 21800, - 24600 - ], - "header": 600 - }, - { - "cells": [ - 2000, - 4600, - 7600, - 10800, - 13800, - 16600, - 19400, - 22200, - 25000 - ], - "header": 700 - }, - { - "cells": [ - 2200, - 4800, - 8000, - 11200, - 14200, - 17000, - 19800, - 22600, - 25400 - ], - "header": 800 - }, - { - "cells": [ - 2600, - 5200, - 8400, - 11600, - 14600, - 17400, - 20200, - 23000, - 25800 - ], - "header": 900 - }, - { - "cells": [ - 2800, - 5600, - 8600, - 12000, - 15000, - 17800, - 20600, - 23400, - 26200 - ], - "header": 1000 - }, - { - "cells": [ - 5400, - 8600, - 12000, - 15400, - 18800, - 21800, - 24600, - 27400, - 30400 - ], - "header": 2000 - }, - { - "cells": [ - 7800, - 11600, - 15000, - 18600, - 22200, - 25600, - 28600, - 31600, - 34600 - ], - "header": 3000 - }, - { - "cells": [ - 10600, - 14400, - 18000, - 21800, - 25400, - 29000, - 32400, - 35600, - 38800 - ], - "header": 4000 - }, - { - "cells": [ - 13800, - 17000, - 20800, - 24600, - 28600, - 32400, - 36200, - 39600, - 43200 - ], - "header": 5000 - }, - { - "cells": [ - 16400, - 19600, - 23400, - 27400, - 31400, - 35600, - 39800, - 43600, - 47400 - ], - "header": 6000 - }, - { - "cells": [ - 18800, - 22200, - 26000, - 30200, - 34400, - 38800, - 43200, - 47600, - 50000 - ], - "header": 7000 - }, - { - "cells": [ - 21000, - 24600, - 28600, - 32800, - 37000, - 41800, - 46600, - 50000, - 50000 - ], - "header": 8000 - }, - { - "cells": [ - 23200, - 27200, - 31000, - 35400, - 39800, - 44800, - 50000, - 50000, - 50000 - ], - "header": 9000 - }, - { - "cells": [ - 25400, - 29400, - 33400, - 37800, - 42400, - 47800, - 50000, - 50000, - 50000 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 950, + 2000, + 5200, + 8400, + 11600, + 14400, + 17000, + 19800, + 22600 + ], + [ + 1250, + 2600, + 5600, + 9000, + 12000, + 14800, + 17400, + 20200, + 23000 + ], + [ + 1450, + 3000, + 6000, + 9400, + 12400, + 15200, + 17800, + 20600, + 23400 + ], + [ + 1550, + 3400, + 6400, + 9600, + 12800, + 15600, + 18200, + 21000, + 23800 + ], + [ + 1650, + 3800, + 6800, + 10000, + 13200, + 16000, + 18600, + 21400, + 24200 + ], + [ + 1800, + 4200, + 7200, + 10400, + 13400, + 16400, + 19000, + 21800, + 24600 + ], + [ + 2000, + 4600, + 7600, + 10800, + 13800, + 16600, + 19400, + 22200, + 25000 + ], + [ + 2200, + 4800, + 8000, + 11200, + 14200, + 17000, + 19800, + 22600, + 25400 + ], + [ + 2600, + 5200, + 8400, + 11600, + 14600, + 17400, + 20200, + 23000, + 25800 + ], + [ + 2800, + 5600, + 8600, + 12000, + 15000, + 17800, + 20600, + 23400, + 26200 + ], + [ + 5400, + 8600, + 12000, + 15400, + 18800, + 21800, + 24600, + 27400, + 30400 + ], + [ + 7800, + 11600, + 15000, + 18600, + 22200, + 25600, + 28600, + 31600, + 34600 + ], + [ + 10600, + 14400, + 18000, + 21800, + 25400, + 29000, + 32400, + 35600, + 38800 + ], + [ + 13800, + 17000, + 20800, + 24600, + 28600, + 32400, + 36200, + 39600, + 43200 + ], + [ + 16400, + 19600, + 23400, + 27400, + 31400, + 35600, + 39800, + 43600, + 47400 + ], + [ + 18800, + 22200, + 26000, + 30200, + 34400, + 38800, + 43200, + 47600, + 50000 + ], + [ + 21000, + 24600, + 28600, + 32800, + 37000, + 41800, + 46600, + 50000, + 50000 + ], + [ + 23200, + 27200, + 31000, + 35400, + 39800, + 44800, + 50000, + 50000, + 50000 + ], + [ + 25400, + 29400, + 33400, + 37800, + 42400, + 47800, + 50000, + 50000, + 50000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62_I#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 900, + 1200, + 1650, + 2250, + 2700, + 3200, + 3100, + 4000, + 4200 + ], + [ + 1200, + 1500, + 2000, + 2650, + 3200, + 3750, + 4000, + 4100, + 4300 + ], + [ + 1400, + 1850, + 2400, + 2800, + 3350, + 4050, + 4250, + 4750, + 4800 + ], + [ + 1500, + 2050, + 2600, + 3150, + 3800, + 4350, + 4450, + 4900, + 5450 + ], + [ + 1600, + 2250, + 2850, + 3350, + 3950, + 4550, + 4650, + 5550, + 5700 + ], + [ + 1700, + 2400, + 3000, + 3650, + 4150, + 4800, + 4900, + 5650, + 6150 + ], + [ + 1900, + 2550, + 3200, + 3750, + 4450, + 4950, + 5300, + 5800, + 6300 + ], + [ + 2000, + 2650, + 3350, + 4000, + 4500, + 5100, + 5400, + 6100, + 6650 + ], + [ + 2100, + 2800, + 3450, + 4150, + 4750, + 5250, + 5650, + 6200, + 6800 + ], + [ + 2150, + 2850, + 3600, + 4200, + 4800, + 5400, + 5750, + 6500, + 6950 + ], + [ + 2850, + 3650, + 4500, + 5150, + 5750, + 6400, + 7000, + 7950, + 8850 + ], + [ + 3300, + 4250, + 4950, + 5700, + 6350, + 7050, + 7900, + 9050, + 9900 + ], + [ + 3650, + 4750, + 5750, + 6500, + 7050, + 7400, + 8450, + 9700, + 10850 + ], + [ + 3850, + 5150, + 6250, + 7200, + 8100, + 8700, + 9050, + 10600, + 11800 + ], + [ + 4050, + 5450, + 6700, + 7850, + 8850, + 9850, + 10450, + 11100, + 12550 + ], + [ + 4250, + 5750, + 7100, + 8400, + 9600, + 10700, + 11700, + 12250, + 13300 + ], + [ + 4400, + 6000, + 7500, + 8900, + 10200, + 11500, + 12750, + 13700, + 14100 + ], + [ + 4550, + 6250, + 7850, + 9350, + 10850, + 12350, + 13700, + 14850, + 15600 + ], + [ + 4650, + 6450, + 8200, + 9850, + 11500, + 13100, + 14600, + 15950, + 17000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62_I#/client", + "speedsMs": [ 150, 200, 250, @@ -308,277 +469,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 900, - 1200, - 1650, - 2250, - 2700, - 3200, - 3100, - 4000, - 4200 - ], - "header": 100 - }, - { - "cells": [ - 1200, - 1500, - 2000, - 2650, - 3200, - 3750, - 4000, - 4100, - 4300 - ], - "header": 200 - }, - { - "cells": [ - 1400, - 1850, - 2400, - 2800, - 3350, - 4050, - 4250, - 4750, - 4800 - ], - "header": 300 - }, - { - "cells": [ - 1500, - 2050, - 2600, - 3150, - 3800, - 4350, - 4450, - 4900, - 5450 - ], - "header": 400 - }, - { - "cells": [ - 1600, - 2250, - 2850, - 3350, - 3950, - 4550, - 4650, - 5550, - 5700 - ], - "header": 500 - }, - { - "cells": [ - 1700, - 2400, - 3000, - 3650, - 4150, - 4800, - 4900, - 5650, - 6150 - ], - "header": 600 - }, - { - "cells": [ - 1900, - 2550, - 3200, - 3750, - 4450, - 4950, - 5300, - 5800, - 6300 - ], - "header": 700 - }, - { - "cells": [ - 2000, - 2650, - 3350, - 4000, - 4500, - 5100, - 5400, - 6100, - 6650 - ], - "header": 800 - }, - { - "cells": [ - 2100, - 2800, - 3450, - 4150, - 4750, - 5250, - 5650, - 6200, - 6800 - ], - "header": 900 - }, - { - "cells": [ - 2150, - 2850, - 3600, - 4200, - 4800, - 5400, - 5750, - 6500, - 6950 - ], - "header": 1000 - }, - { - "cells": [ - 2850, - 3650, - 4500, - 5150, - 5750, - 6400, - 7000, - 7950, - 8850 - ], - "header": 2000 - }, - { - "cells": [ - 3300, - 4250, - 4950, - 5700, - 6350, - 7050, - 7900, - 9050, - 9900 - ], - "header": 3000 - }, - { - "cells": [ - 3650, - 4750, - 5750, - 6500, - 7050, - 7400, - 8450, - 9700, - 10850 - ], - "header": 4000 - }, - { - "cells": [ - 3850, - 5150, - 6250, - 7200, - 8100, - 8700, - 9050, - 10600, - 11800 - ], - "header": 5000 - }, - { - "cells": [ - 4050, - 5450, - 6700, - 7850, - 8850, - 9850, - 10450, - 11100, - 12550 - ], - "header": 6000 - }, - { - "cells": [ - 4250, - 5750, - 7100, - 8400, - 9600, - 10700, - 11700, - 12250, - 13300 - ], - "header": 7000 - }, - { - "cells": [ - 4400, - 6000, - 7500, - 8900, - 10200, - 11500, - 12750, - 13700, - 14100 - ], - "header": 8000 - }, - { - "cells": [ - 4550, - 6250, - 7850, - 9350, - 10850, - 12350, - 13700, - 14850, - 15600 - ], - "header": 9000 - }, - { - "cells": [ - 4650, - 6450, - 8200, - 9850, - 11500, - 13100, - 14600, - 15950, - 17000 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/AGM_62_I#/client/MinLaunchDistData" + ] } ], "seeker": { diff --git a/dcs-world-reference/latest/weapon_flight/AGM_65E.json b/dcs-world-reference/latest/weapon_flight/AGM_65E.json index f7d17006..d8b34f26 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_65E.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_65E.json @@ -15,112 +15,82 @@ }, "batteryLifeS": 110, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 165, - 230, - 300, - 400 + "altitudesM": [ + 50, + 2000, + 5000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 8400, - 11000, - 12000, - 13000, - 13000 - ], - "header": 50 - }, - { - "cells": [ - 14000, - 15500, - 17000, - 18000, - 18000 - ], - "header": 2000 - }, - { - "cells": [ - 22000, - 23000, - 23500, - 24500, - 26800 - ], - "header": 5000 - }, - { - "cells": [ - 25600, - 26800, - 28000, - 28700, - 29800 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 8400, + 11000, + 12000, + 13000, + 13000 + ], + [ + 14000, + 15500, + 17000, + 18000, + 18000 + ], + [ + 22000, + 23000, + 23500, + 24500, + 26800 + ], + [ + 25600, + 26800, + 28000, + 28700, + 29800 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_65E#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 2000, + 2300, + 2500, + 2700, + 3000 + ], + [ + 1000, + 1200, + 1400, + 1600, + 3000 + ], + [ + 3000, + 3000, + 3000, + 3000, + 4000 + ], + [ + 6000, + 6000, + 6000, + 6000, + 6000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_65E#/client", + "speedsMs": [ 100, 165, 230, 300, 400 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 2000, - 2300, - 2500, - 2700, - 3000 - ], - "header": 50 - }, - { - "cells": [ - 1000, - 1200, - 1400, - 1600, - 3000 - ], - "header": 2000 - }, - { - "cells": [ - 3000, - 3000, - 3000, - 3000, - 4000 - ], - "header": 5000 - }, - { - "cells": [ - 6000, - 6000, - 6000, - 6000, - 6000 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_65E#/client/MinLaunchDistData" + ] } ], "machMax": 1.2, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_78A.json b/dcs-world-reference/latest/weapon_flight/AGM_78A.json index 73c5d3b0..4cb5ae59 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_78A.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_78A.json @@ -15,387 +15,616 @@ }, "batteryLifeS": 300, "killDistanceM": 10, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 58500, - 62500, - 66000, - 70000, - 73500, - 75000, - 78500, - 82500, - 86000, - 89500 - ], - "header": 100 - }, - { - "cells": [ - 59000, - 63000, - 67000, - 71000, - 74500, - 76000, - 79500, - 83000, - 87000, - 90500 - ], - "header": 200 - }, - { - "cells": [ - 60000, - 64000, - 68000, - 71500, - 75500, - 77000, - 80500, - 84000, - 88000, - 91500 - ], - "header": 300 - }, - { - "cells": [ - 60500, - 65000, - 69000, - 72500, - 76500, - 78000, - 81500, - 85000, - 89000, - 92500 - ], - "header": 400 - }, - { - "cells": [ - 61500, - 65500, - 69500, - 73500, - 77500, - 78500, - 82500, - 86000, - 90000, - 94000 - ], - "header": 500 - }, - { - "cells": [ - 62500, - 66500, - 70500, - 74500, - 79000, - 79500, - 83500, - 87000, - 91000, - 95000 - ], - "header": 600 - }, - { - "cells": [ - 63000, - 67500, - 71500, - 75500, - 80000, - 80500, - 84500, - 88000, - 92000, - 96000 - ], - "header": 700 - }, - { - "cells": [ - 64000, - 68000, - 72500, - 77000, - 81000, - 81500, - 85500, - 89000, - 93000, - 97000 - ], - "header": 800 - }, - { - "cells": [ - 65000, - 69000, - 73500, - 78000, - 82500, - 82500, - 86500, - 90000, - 94000, - 98500 - ], - "header": 900 - }, - { - "cells": [ - 65500, - 70000, - 74500, - 79000, - 83500, - 83500, - 87500, - 91500, - 95500, - 99500 - ], - "header": 1000 - }, - { - "cells": [ - 75500, - 80500, - 86000, - 91500, - 97500, - 95000, - 99500, - 104000, - 108500, - 113500 - ], - "header": 2000 - }, - { - "cells": [ - 87000, - 92500, - 98000, - 103500, - 108500, - 108000, - 112500, - 117000, - 122000, - 126500 - ], - "header": 3000 - }, - { - "cells": [ - 97000, - 102500, - 108000, - 114000, - 120500, - 119000, - 124000, - 129000, - 134500, - 139500 - ], - "header": 4000 - }, - { - "cells": [ - 106500, - 112500, - 119000, - 125500, - 133000, - 131000, - 136500, - 142000, - 148000, - 150000 - ], - "header": 5000 - }, - { - "cells": [ - 116000, - 123000, - 130000, - 138000, - 146500, - 143500, - 150000, - 150000, - 150000, - 150000 - ], - "header": 6000 - }, - { - "cells": [ - 126500, - 134000, - 142500, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 7000 - }, - { - "cells": [ - 137500, - 146000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 8000 - }, - { - "cells": [ - 149000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 9000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 10000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 144500, - 150000 - ], - "header": 11000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 12000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 148500, - 150000, - 150000, - 150000, - 150000 - ], - "header": 13000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 149500, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 14000 - }, - { - "cells": [ - 150000, - 150000, - 148500, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 58500, + 62500, + 66000, + 70000, + 73500, + 75000, + 78500, + 82500, + 86000, + 89500 + ], + [ + 59000, + 63000, + 67000, + 71000, + 74500, + 76000, + 79500, + 83000, + 87000, + 90500 + ], + [ + 60000, + 64000, + 68000, + 71500, + 75500, + 77000, + 80500, + 84000, + 88000, + 91500 + ], + [ + 60500, + 65000, + 69000, + 72500, + 76500, + 78000, + 81500, + 85000, + 89000, + 92500 + ], + [ + 61500, + 65500, + 69500, + 73500, + 77500, + 78500, + 82500, + 86000, + 90000, + 94000 + ], + [ + 62500, + 66500, + 70500, + 74500, + 79000, + 79500, + 83500, + 87000, + 91000, + 95000 + ], + [ + 63000, + 67500, + 71500, + 75500, + 80000, + 80500, + 84500, + 88000, + 92000, + 96000 + ], + [ + 64000, + 68000, + 72500, + 77000, + 81000, + 81500, + 85500, + 89000, + 93000, + 97000 + ], + [ + 65000, + 69000, + 73500, + 78000, + 82500, + 82500, + 86500, + 90000, + 94000, + 98500 + ], + [ + 65500, + 70000, + 74500, + 79000, + 83500, + 83500, + 87500, + 91500, + 95500, + 99500 + ], + [ + 75500, + 80500, + 86000, + 91500, + 97500, + 95000, + 99500, + 104000, + 108500, + 113500 + ], + [ + 87000, + 92500, + 98000, + 103500, + 108500, + 108000, + 112500, + 117000, + 122000, + 126500 + ], + [ + 97000, + 102500, + 108000, + 114000, + 120500, + 119000, + 124000, + 129000, + 134500, + 139500 + ], + [ + 106500, + 112500, + 119000, + 125500, + 133000, + 131000, + 136500, + 142000, + 148000, + 150000 + ], + [ + 116000, + 123000, + 130000, + 138000, + 146500, + 143500, + 150000, + 150000, + 150000, + 150000 + ], + [ + 126500, + 134000, + 142500, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 137500, + 146000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 149000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 144500, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 148500, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 149500, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 148500, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_78A#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 1000, + 1300, + 1650, + 2200, + 2750, + 1650, + 2150, + 750, + 800, + 850 + ], + [ + 1400, + 1450, + 1900, + 2350, + 2850, + 1300, + 950, + 1350, + 1400, + 1150 + ], + [ + 1300, + 1600, + 2050, + 3900, + 3000, + 1050, + 1150, + 1300, + 1300, + 1450 + ], + [ + 1550, + 1800, + 2100, + 2550, + 3100, + 1200, + 1300, + 1400, + 1500, + 1600 + ], + [ + 1800, + 1900, + 2200, + 2700, + 3250, + 1400, + 1450, + 1550, + 1650, + 1750 + ], + [ + 1700, + 2150, + 2300, + 2950, + 3350, + 1450, + 1950, + 1700, + 1800, + 1900 + ], + [ + 1700, + 2050, + 2400, + 3050, + 3450, + 1550, + 1700, + 1850, + 1950, + 2050 + ], + [ + 1800, + 2100, + 2500, + 3000, + 3550, + 1650, + 1800, + 1950, + 2100, + 2200 + ], + [ + 1850, + 2200, + 2600, + 3100, + 3650, + 1750, + 1900, + 2050, + 2200, + 2350 + ], + [ + 1900, + 2250, + 2700, + 3150, + 3750, + 1850, + 2000, + 2200, + 2300, + 2450 + ], + [ + 2350, + 2800, + 3300, + 3850, + 4450, + 2550, + 2800, + 3050, + 3250, + 3450 + ], + [ + 2800, + 3100, + 3700, + 5300, + 5000, + 3100, + 3400, + 3700, + 4100, + 4200 + ], + [ + 2600, + 3300, + 4000, + 4700, + 5900, + 3800, + 4000, + 4300, + 4600, + 4900 + ], + [ + 3000, + 4000, + 4250, + 5500, + 6500, + 4000, + 4500, + 5500, + 5500, + 5750 + ], + [ + 3000, + 3500, + 4500, + 5500, + 7000, + 4500, + 5000, + 5500, + 6000, + 6500 + ], + [ + 2500, + 5000, + 5000, + 6000, + 7000, + 5500, + 5500, + 6000, + 6500, + 7000 + ], + [ + 4500, + 4500, + 5000, + 6500, + 8000, + 6500, + 6000, + 7000, + 7500, + 8000 + ], + [ + 3500, + 4500, + 5500, + 7000, + 8000, + 6000, + 7500, + 7500, + 8500, + 8500 + ], + [ + 5000, + 4000, + 6000, + 8500, + 8500, + 7500, + 7500, + 9000, + 9500, + 9500 + ], + [ + 4000, + 5000, + 7500, + 8000, + 9000, + 8000, + 9500, + 9000, + 10000, + 11000 + ], + [ + 4500, + 5000, + 7500, + 9000, + 10500, + 8500, + 9500, + 10000, + 11000, + 12000 + ], + [ + 5000, + 7500, + 8000, + 10500, + 11000, + 10000, + 10500, + 11500, + 12500, + 13000 + ], + [ + 6000, + 8500, + 10500, + 11000, + 12500, + 11000, + 12000, + 14000, + 13500, + 14500 + ], + [ + 5000, + 8000, + 11000, + 12000, + 13500, + 12000, + 13000, + 14000, + 15000, + 16000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_78A#/client", + "speedsMs": [ 100, 150, 200, @@ -406,371 +635,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1000, - 1300, - 1650, - 2200, - 2750, - 1650, - 2150, - 750, - 800, - 850 - ], - "header": 100 - }, - { - "cells": [ - 1400, - 1450, - 1900, - 2350, - 2850, - 1300, - 950, - 1350, - 1400, - 1150 - ], - "header": 200 - }, - { - "cells": [ - 1300, - 1600, - 2050, - 3900, - 3000, - 1050, - 1150, - 1300, - 1300, - 1450 - ], - "header": 300 - }, - { - "cells": [ - 1550, - 1800, - 2100, - 2550, - 3100, - 1200, - 1300, - 1400, - 1500, - 1600 - ], - "header": 400 - }, - { - "cells": [ - 1800, - 1900, - 2200, - 2700, - 3250, - 1400, - 1450, - 1550, - 1650, - 1750 - ], - "header": 500 - }, - { - "cells": [ - 1700, - 2150, - 2300, - 2950, - 3350, - 1450, - 1950, - 1700, - 1800, - 1900 - ], - "header": 600 - }, - { - "cells": [ - 1700, - 2050, - 2400, - 3050, - 3450, - 1550, - 1700, - 1850, - 1950, - 2050 - ], - "header": 700 - }, - { - "cells": [ - 1800, - 2100, - 2500, - 3000, - 3550, - 1650, - 1800, - 1950, - 2100, - 2200 - ], - "header": 800 - }, - { - "cells": [ - 1850, - 2200, - 2600, - 3100, - 3650, - 1750, - 1900, - 2050, - 2200, - 2350 - ], - "header": 900 - }, - { - "cells": [ - 1900, - 2250, - 2700, - 3150, - 3750, - 1850, - 2000, - 2200, - 2300, - 2450 - ], - "header": 1000 - }, - { - "cells": [ - 2350, - 2800, - 3300, - 3850, - 4450, - 2550, - 2800, - 3050, - 3250, - 3450 - ], - "header": 2000 - }, - { - "cells": [ - 2800, - 3100, - 3700, - 5300, - 5000, - 3100, - 3400, - 3700, - 4100, - 4200 - ], - "header": 3000 - }, - { - "cells": [ - 2600, - 3300, - 4000, - 4700, - 5900, - 3800, - 4000, - 4300, - 4600, - 4900 - ], - "header": 4000 - }, - { - "cells": [ - 3000, - 4000, - 4250, - 5500, - 6500, - 4000, - 4500, - 5500, - 5500, - 5750 - ], - "header": 5000 - }, - { - "cells": [ - 3000, - 3500, - 4500, - 5500, - 7000, - 4500, - 5000, - 5500, - 6000, - 6500 - ], - "header": 6000 - }, - { - "cells": [ - 2500, - 5000, - 5000, - 6000, - 7000, - 5500, - 5500, - 6000, - 6500, - 7000 - ], - "header": 7000 - }, - { - "cells": [ - 4500, - 4500, - 5000, - 6500, - 8000, - 6500, - 6000, - 7000, - 7500, - 8000 - ], - "header": 8000 - }, - { - "cells": [ - 3500, - 4500, - 5500, - 7000, - 8000, - 6000, - 7500, - 7500, - 8500, - 8500 - ], - "header": 9000 - }, - { - "cells": [ - 5000, - 4000, - 6000, - 8500, - 8500, - 7500, - 7500, - 9000, - 9500, - 9500 - ], - "header": 10000 - }, - { - "cells": [ - 4000, - 5000, - 7500, - 8000, - 9000, - 8000, - 9500, - 9000, - 10000, - 11000 - ], - "header": 11000 - }, - { - "cells": [ - 4500, - 5000, - 7500, - 9000, - 10500, - 8500, - 9500, - 10000, - 11000, - 12000 - ], - "header": 12000 - }, - { - "cells": [ - 5000, - 7500, - 8000, - 10500, - 11000, - 10000, - 10500, - 11500, - 12500, - 13000 - ], - "header": 13000 - }, - { - "cells": [ - 6000, - 8500, - 10500, - 11000, - 12500, - 11000, - 12000, - 14000, - 13500, - 14500 - ], - "header": 14000 - }, - { - "cells": [ - 5000, - 8000, - 11000, - 12000, - 13500, - 12000, - 13000, - 14000, - 15000, - 16000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_78A#/client/MinLaunchDistData" + ] } ], "machMax": 2.5, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_78B.json b/dcs-world-reference/latest/weapon_flight/AGM_78B.json index dad2162c..41225a5e 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_78B.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_78B.json @@ -15,387 +15,616 @@ }, "batteryLifeS": 300, "killDistanceM": 10, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 58500, - 62500, - 66000, - 70000, - 73500, - 75000, - 78500, - 82500, - 86000, - 89500 - ], - "header": 100 - }, - { - "cells": [ - 59000, - 63000, - 67000, - 71000, - 74500, - 76000, - 79500, - 83000, - 87000, - 90500 - ], - "header": 200 - }, - { - "cells": [ - 60000, - 64000, - 68000, - 71500, - 75500, - 77000, - 80500, - 84000, - 88000, - 91500 - ], - "header": 300 - }, - { - "cells": [ - 60500, - 65000, - 69000, - 72500, - 76500, - 78000, - 81500, - 85000, - 89000, - 92500 - ], - "header": 400 - }, - { - "cells": [ - 61500, - 65500, - 69500, - 73500, - 77500, - 78500, - 82500, - 86000, - 90000, - 94000 - ], - "header": 500 - }, - { - "cells": [ - 62500, - 66500, - 70500, - 74500, - 79000, - 79500, - 83500, - 87000, - 91000, - 95000 - ], - "header": 600 - }, - { - "cells": [ - 63000, - 67500, - 71500, - 75500, - 80000, - 80500, - 84500, - 88000, - 92000, - 96000 - ], - "header": 700 - }, - { - "cells": [ - 64000, - 68000, - 72500, - 77000, - 81000, - 81500, - 85500, - 89000, - 93000, - 97000 - ], - "header": 800 - }, - { - "cells": [ - 65000, - 69000, - 73500, - 78000, - 82500, - 82500, - 86500, - 90000, - 94000, - 98500 - ], - "header": 900 - }, - { - "cells": [ - 65500, - 70000, - 74500, - 79000, - 83500, - 83500, - 87500, - 91500, - 95500, - 99500 - ], - "header": 1000 - }, - { - "cells": [ - 75500, - 80500, - 86000, - 91500, - 97500, - 95000, - 99500, - 104000, - 108500, - 113500 - ], - "header": 2000 - }, - { - "cells": [ - 87000, - 92500, - 98000, - 103500, - 108500, - 108000, - 112500, - 117000, - 122000, - 126500 - ], - "header": 3000 - }, - { - "cells": [ - 97000, - 102500, - 108000, - 114000, - 120500, - 119000, - 124000, - 129000, - 134500, - 139500 - ], - "header": 4000 - }, - { - "cells": [ - 106500, - 112500, - 119000, - 125500, - 133000, - 131000, - 136500, - 142000, - 148000, - 150000 - ], - "header": 5000 - }, - { - "cells": [ - 116000, - 123000, - 130000, - 138000, - 146500, - 143500, - 150000, - 150000, - 150000, - 150000 - ], - "header": 6000 - }, - { - "cells": [ - 126500, - 134000, - 142500, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 7000 - }, - { - "cells": [ - 137500, - 146000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 8000 - }, - { - "cells": [ - 149000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 9000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 10000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 144500, - 150000 - ], - "header": 11000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 12000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 150000, - 150000, - 148500, - 150000, - 150000, - 150000, - 150000 - ], - "header": 13000 - }, - { - "cells": [ - 150000, - 150000, - 150000, - 149500, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 14000 - }, - { - "cells": [ - 150000, - 150000, - 148500, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000, - 150000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 58500, + 62500, + 66000, + 70000, + 73500, + 75000, + 78500, + 82500, + 86000, + 89500 + ], + [ + 59000, + 63000, + 67000, + 71000, + 74500, + 76000, + 79500, + 83000, + 87000, + 90500 + ], + [ + 60000, + 64000, + 68000, + 71500, + 75500, + 77000, + 80500, + 84000, + 88000, + 91500 + ], + [ + 60500, + 65000, + 69000, + 72500, + 76500, + 78000, + 81500, + 85000, + 89000, + 92500 + ], + [ + 61500, + 65500, + 69500, + 73500, + 77500, + 78500, + 82500, + 86000, + 90000, + 94000 + ], + [ + 62500, + 66500, + 70500, + 74500, + 79000, + 79500, + 83500, + 87000, + 91000, + 95000 + ], + [ + 63000, + 67500, + 71500, + 75500, + 80000, + 80500, + 84500, + 88000, + 92000, + 96000 + ], + [ + 64000, + 68000, + 72500, + 77000, + 81000, + 81500, + 85500, + 89000, + 93000, + 97000 + ], + [ + 65000, + 69000, + 73500, + 78000, + 82500, + 82500, + 86500, + 90000, + 94000, + 98500 + ], + [ + 65500, + 70000, + 74500, + 79000, + 83500, + 83500, + 87500, + 91500, + 95500, + 99500 + ], + [ + 75500, + 80500, + 86000, + 91500, + 97500, + 95000, + 99500, + 104000, + 108500, + 113500 + ], + [ + 87000, + 92500, + 98000, + 103500, + 108500, + 108000, + 112500, + 117000, + 122000, + 126500 + ], + [ + 97000, + 102500, + 108000, + 114000, + 120500, + 119000, + 124000, + 129000, + 134500, + 139500 + ], + [ + 106500, + 112500, + 119000, + 125500, + 133000, + 131000, + 136500, + 142000, + 148000, + 150000 + ], + [ + 116000, + 123000, + 130000, + 138000, + 146500, + 143500, + 150000, + 150000, + 150000, + 150000 + ], + [ + 126500, + 134000, + 142500, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 137500, + 146000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 149000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 144500, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 150000, + 150000, + 148500, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 150000, + 149500, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ], + [ + 150000, + 150000, + 148500, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000, + 150000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_78B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 1000, + 1300, + 1650, + 2200, + 2750, + 1650, + 2150, + 750, + 800, + 850 + ], + [ + 1400, + 1450, + 1900, + 2350, + 2850, + 1300, + 950, + 1350, + 1400, + 1150 + ], + [ + 1300, + 1600, + 2050, + 3900, + 3000, + 1050, + 1150, + 1300, + 1300, + 1450 + ], + [ + 1550, + 1800, + 2100, + 2550, + 3100, + 1200, + 1300, + 1400, + 1500, + 1600 + ], + [ + 1800, + 1900, + 2200, + 2700, + 3250, + 1400, + 1450, + 1550, + 1650, + 1750 + ], + [ + 1700, + 2150, + 2300, + 2950, + 3350, + 1450, + 1950, + 1700, + 1800, + 1900 + ], + [ + 1700, + 2050, + 2400, + 3050, + 3450, + 1550, + 1700, + 1850, + 1950, + 2050 + ], + [ + 1800, + 2100, + 2500, + 3000, + 3550, + 1650, + 1800, + 1950, + 2100, + 2200 + ], + [ + 1850, + 2200, + 2600, + 3100, + 3650, + 1750, + 1900, + 2050, + 2200, + 2350 + ], + [ + 1900, + 2250, + 2700, + 3150, + 3750, + 1850, + 2000, + 2200, + 2300, + 2450 + ], + [ + 2350, + 2800, + 3300, + 3850, + 4450, + 2550, + 2800, + 3050, + 3250, + 3450 + ], + [ + 2800, + 3100, + 3700, + 5300, + 5000, + 3100, + 3400, + 3700, + 4100, + 4200 + ], + [ + 2600, + 3300, + 4000, + 4700, + 5900, + 3800, + 4000, + 4300, + 4600, + 4900 + ], + [ + 3000, + 4000, + 4250, + 5500, + 6500, + 4000, + 4500, + 5500, + 5500, + 5750 + ], + [ + 3000, + 3500, + 4500, + 5500, + 7000, + 4500, + 5000, + 5500, + 6000, + 6500 + ], + [ + 2500, + 5000, + 5000, + 6000, + 7000, + 5500, + 5500, + 6000, + 6500, + 7000 + ], + [ + 4500, + 4500, + 5000, + 6500, + 8000, + 6500, + 6000, + 7000, + 7500, + 8000 + ], + [ + 3500, + 4500, + 5500, + 7000, + 8000, + 6000, + 7500, + 7500, + 8500, + 8500 + ], + [ + 5000, + 4000, + 6000, + 8500, + 8500, + 7500, + 7500, + 9000, + 9500, + 9500 + ], + [ + 4000, + 5000, + 7500, + 8000, + 9000, + 8000, + 9500, + 9000, + 10000, + 11000 + ], + [ + 4500, + 5000, + 7500, + 9000, + 10500, + 8500, + 9500, + 10000, + 11000, + 12000 + ], + [ + 5000, + 7500, + 8000, + 10500, + 11000, + 10000, + 10500, + 11500, + 12500, + 13000 + ], + [ + 6000, + 8500, + 10500, + 11000, + 12500, + 11000, + 12000, + 14000, + 13500, + 14500 + ], + [ + 5000, + 8000, + 11000, + 12000, + 13500, + 12000, + 13000, + 14000, + 15000, + 16000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_78B#/client", + "speedsMs": [ 100, 150, 200, @@ -406,371 +635,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1000, - 1300, - 1650, - 2200, - 2750, - 1650, - 2150, - 750, - 800, - 850 - ], - "header": 100 - }, - { - "cells": [ - 1400, - 1450, - 1900, - 2350, - 2850, - 1300, - 950, - 1350, - 1400, - 1150 - ], - "header": 200 - }, - { - "cells": [ - 1300, - 1600, - 2050, - 3900, - 3000, - 1050, - 1150, - 1300, - 1300, - 1450 - ], - "header": 300 - }, - { - "cells": [ - 1550, - 1800, - 2100, - 2550, - 3100, - 1200, - 1300, - 1400, - 1500, - 1600 - ], - "header": 400 - }, - { - "cells": [ - 1800, - 1900, - 2200, - 2700, - 3250, - 1400, - 1450, - 1550, - 1650, - 1750 - ], - "header": 500 - }, - { - "cells": [ - 1700, - 2150, - 2300, - 2950, - 3350, - 1450, - 1950, - 1700, - 1800, - 1900 - ], - "header": 600 - }, - { - "cells": [ - 1700, - 2050, - 2400, - 3050, - 3450, - 1550, - 1700, - 1850, - 1950, - 2050 - ], - "header": 700 - }, - { - "cells": [ - 1800, - 2100, - 2500, - 3000, - 3550, - 1650, - 1800, - 1950, - 2100, - 2200 - ], - "header": 800 - }, - { - "cells": [ - 1850, - 2200, - 2600, - 3100, - 3650, - 1750, - 1900, - 2050, - 2200, - 2350 - ], - "header": 900 - }, - { - "cells": [ - 1900, - 2250, - 2700, - 3150, - 3750, - 1850, - 2000, - 2200, - 2300, - 2450 - ], - "header": 1000 - }, - { - "cells": [ - 2350, - 2800, - 3300, - 3850, - 4450, - 2550, - 2800, - 3050, - 3250, - 3450 - ], - "header": 2000 - }, - { - "cells": [ - 2800, - 3100, - 3700, - 5300, - 5000, - 3100, - 3400, - 3700, - 4100, - 4200 - ], - "header": 3000 - }, - { - "cells": [ - 2600, - 3300, - 4000, - 4700, - 5900, - 3800, - 4000, - 4300, - 4600, - 4900 - ], - "header": 4000 - }, - { - "cells": [ - 3000, - 4000, - 4250, - 5500, - 6500, - 4000, - 4500, - 5500, - 5500, - 5750 - ], - "header": 5000 - }, - { - "cells": [ - 3000, - 3500, - 4500, - 5500, - 7000, - 4500, - 5000, - 5500, - 6000, - 6500 - ], - "header": 6000 - }, - { - "cells": [ - 2500, - 5000, - 5000, - 6000, - 7000, - 5500, - 5500, - 6000, - 6500, - 7000 - ], - "header": 7000 - }, - { - "cells": [ - 4500, - 4500, - 5000, - 6500, - 8000, - 6500, - 6000, - 7000, - 7500, - 8000 - ], - "header": 8000 - }, - { - "cells": [ - 3500, - 4500, - 5500, - 7000, - 8000, - 6000, - 7500, - 7500, - 8500, - 8500 - ], - "header": 9000 - }, - { - "cells": [ - 5000, - 4000, - 6000, - 8500, - 8500, - 7500, - 7500, - 9000, - 9500, - 9500 - ], - "header": 10000 - }, - { - "cells": [ - 4000, - 5000, - 7500, - 8000, - 9000, - 8000, - 9500, - 9000, - 10000, - 11000 - ], - "header": 11000 - }, - { - "cells": [ - 4500, - 5000, - 7500, - 9000, - 10500, - 8500, - 9500, - 10000, - 11000, - 12000 - ], - "header": 12000 - }, - { - "cells": [ - 5000, - 7500, - 8000, - 10500, - 11000, - 10000, - 10500, - 11500, - 12500, - 13000 - ], - "header": 13000 - }, - { - "cells": [ - 6000, - 8500, - 10500, - 11000, - 12500, - 11000, - 12000, - 14000, - 13500, - 14500 - ], - "header": 14000 - }, - { - "cells": [ - 5000, - 8000, - 11000, - 12000, - 13500, - 12000, - 13000, - 14000, - 15000, - 16000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_78B#/client/MinLaunchDistData" + ] } ], "machMax": 2.5, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_84D.json b/dcs-world-reference/latest/weapon_flight/AGM_84D.json index 70aca078..9e7616d3 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_84D.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_84D.json @@ -20,246 +20,373 @@ }, "batteryLifeS": 100000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 50, - 75, + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 142200, - 147100, - 150650, - 153525, - 155875 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 117525, - 142375, - 147350, - 150950, - 153800, - 156200 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 116750, - 142550, - 147625, - 151250, - 154150, - 156525 - ], - "header": 300 - }, - { - "cells": [ - 0, - 86725, - 115325, - 143000, - 148150, - 151825, - 154750, - 157175 - ], - "header": 500 - }, - { - "cells": [ - 0, - 86450, - 114025, - 143425, - 148700, - 152400, - 156250, - 158700 - ], - "header": 700 - }, - { - "cells": [ - 0, - 86050, - 112300, - 144075, - 149450, - 153225, - 156225, - 158750 - ], - "header": 1000 - }, - { - "cells": [ - 96400, - 127000, - 140150, - 148000, - 152150, - 155650, - 158450, - 160900 - ], - "header": 2000 - }, - { - "cells": [ - 138900, - 144100, - 147100, - 151200, - 154700, - 157900, - 160700, - 162850 - ], - "header": 3000 - }, - { - "cells": [ - 143100, - 147400, - 150300, - 153900, - 157000, - 159900, - 163000, - 164800 - ], - "header": 4000 - }, - { - "cells": [ - 145800, - 149800, - 152700, - 156300, - 159200, - 161800, - 164800, - 166800 - ], - "header": 5000 - }, - { - "cells": [ - 148000, - 151500, - 154500, - 158000, - 160750, - 163500, - 166000, - 168750 - ], - "header": 6000 - }, - { - "cells": [ - 150000, - 153000, - 156250, - 159750, - 162500, - 165250, - 167750, - 170750 - ], - "header": 7000 - }, - { - "cells": [ - 151500, - 155000, - 157750, - 161500, - 164250, - 166750, - 169250, - 172250 - ], - "header": 8000 - }, - { - "cells": [ - 153000, - 155000, - 159000, - 163250, - 165750, - 168500, - 171000, - 173500 - ], - "header": 9000 - }, - { - "cells": [ - 154500, - 156000, - 160000, - 164000, - 167500, - 170000, - 172500, - 175500 - ], - "header": 10000 - }, - { - "cells": [ - 155500, - 157500, - 161500, - 165500, - 170000, - 171500, - 175000, - 178000 - ], - "header": 11000 - }, - { - "cells": [ - 157000, - 158500, - 162500, - 167000, - 170500, - 173500, - 177000, - 180000 - ], - "header": 12000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 142200, + 147100, + 150650, + 153525, + 155875 + ], + [ + 0, + 0, + 117525, + 142375, + 147350, + 150950, + 153800, + 156200 + ], + [ + 0, + 0, + 116750, + 142550, + 147625, + 151250, + 154150, + 156525 + ], + [ + 0, + 86725, + 115325, + 143000, + 148150, + 151825, + 154750, + 157175 + ], + [ + 0, + 86450, + 114025, + 143425, + 148700, + 152400, + 156250, + 158700 + ], + [ + 0, + 86050, + 112300, + 144075, + 149450, + 153225, + 156225, + 158750 + ], + [ + 96400, + 127000, + 140150, + 148000, + 152150, + 155650, + 158450, + 160900 + ], + [ + 138900, + 144100, + 147100, + 151200, + 154700, + 157900, + 160700, + 162850 + ], + [ + 143100, + 147400, + 150300, + 153900, + 157000, + 159900, + 163000, + 164800 + ], + [ + 145800, + 149800, + 152700, + 156300, + 159200, + 161800, + 164800, + 166800 + ], + [ + 148000, + 151500, + 154500, + 158000, + 160750, + 163500, + 166000, + 168750 + ], + [ + 150000, + 153000, + 156250, + 159750, + 162500, + 165250, + 167750, + 170750 + ], + [ + 151500, + 155000, + 157750, + 161500, + 164250, + 166750, + 169250, + 172250 + ], + [ + 153000, + 155000, + 159000, + 163250, + 165750, + 168500, + 171000, + 173500 + ], + [ + 154500, + 156000, + 160000, + 164000, + 167500, + 170000, + 172500, + 175500 + ], + [ + 155500, + 157500, + 161500, + 165500, + 170000, + 171500, + 175000, + 178000 + ], + [ + 157000, + 158500, + 162500, + 167000, + 170500, + 173500, + 177000, + 180000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_84D#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 16125, + 13350, + 12600, + 12500, + 12825 + ], + [ + 0, + 0, + 18925, + 15775, + 13825, + 14050, + 13975, + 14375 + ], + [ + 0, + 0, + 18000, + 15500, + 14975, + 15050, + 15225, + 15425 + ], + [ + 0, + 18400, + 16775, + 16125, + 16000, + 16375, + 16875, + 17000 + ], + [ + 0, + 16725, + 16725, + 17000, + 17075, + 17475, + 18025, + 18475 + ], + [ + 0, + 15225, + 15800, + 17675, + 18425, + 18800, + 19375, + 20050 + ], + [ + 18150, + 19350, + 20150, + 21100, + 21700, + 22150, + 22750, + 23550 + ], + [ + 22800, + 22750, + 23100, + 23700, + 24300, + 24850, + 25300, + 26200 + ], + [ + 25400, + 25400, + 25700, + 26200, + 26700, + 27300, + 27600, + 28500 + ], + [ + 27700, + 27800, + 28100, + 28600, + 29100, + 29500, + 29900, + 30700 + ], + [ + 30250, + 30000, + 30250, + 30750, + 31250, + 32000, + 32500, + 32750 + ], + [ + 32250, + 32500, + 32500, + 33250, + 33500, + 34250, + 34750, + 35000 + ], + [ + 34250, + 35000, + 34750, + 35500, + 36000, + 36250, + 37000, + 37500 + ], + [ + 36500, + 37500, + 37250, + 37750, + 38250, + 38750, + 39250, + 40000 + ], + [ + 38500, + 39500, + 39500, + 39500, + 40500, + 41000, + 41500, + 42500 + ], + [ + 40500, + 42000, + 41500, + 42000, + 43000, + 43500, + 44000, + 45000 + ], + [ + 42500, + 44000, + 44000, + 44500, + 45500, + 46000, + 46500, + 47500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_84D#/client", + "speedsMs": [ 50, 75, 100, @@ -268,232 +395,7 @@ 250, 300, 350 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 16125, - 13350, - 12600, - 12500, - 12825 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 18925, - 15775, - 13825, - 14050, - 13975, - 14375 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 18000, - 15500, - 14975, - 15050, - 15225, - 15425 - ], - "header": 300 - }, - { - "cells": [ - 0, - 18400, - 16775, - 16125, - 16000, - 16375, - 16875, - 17000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 16725, - 16725, - 17000, - 17075, - 17475, - 18025, - 18475 - ], - "header": 700 - }, - { - "cells": [ - 0, - 15225, - 15800, - 17675, - 18425, - 18800, - 19375, - 20050 - ], - "header": 1000 - }, - { - "cells": [ - 18150, - 19350, - 20150, - 21100, - 21700, - 22150, - 22750, - 23550 - ], - "header": 2000 - }, - { - "cells": [ - 22800, - 22750, - 23100, - 23700, - 24300, - 24850, - 25300, - 26200 - ], - "header": 3000 - }, - { - "cells": [ - 25400, - 25400, - 25700, - 26200, - 26700, - 27300, - 27600, - 28500 - ], - "header": 4000 - }, - { - "cells": [ - 27700, - 27800, - 28100, - 28600, - 29100, - 29500, - 29900, - 30700 - ], - "header": 5000 - }, - { - "cells": [ - 30250, - 30000, - 30250, - 30750, - 31250, - 32000, - 32500, - 32750 - ], - "header": 6000 - }, - { - "cells": [ - 32250, - 32500, - 32500, - 33250, - 33500, - 34250, - 34750, - 35000 - ], - "header": 7000 - }, - { - "cells": [ - 34250, - 35000, - 34750, - 35500, - 36000, - 36250, - 37000, - 37500 - ], - "header": 8000 - }, - { - "cells": [ - 36500, - 37500, - 37250, - 37750, - 38250, - 38750, - 39250, - 40000 - ], - "header": 9000 - }, - { - "cells": [ - 38500, - 39500, - 39500, - 39500, - 40500, - 41000, - 41500, - 42500 - ], - "header": 10000 - }, - { - "cells": [ - 40500, - 42000, - 41500, - 42000, - 43000, - 43500, - 44000, - 45000 - ], - "header": 11000 - }, - { - "cells": [ - 42500, - 44000, - 44000, - 44500, - 45500, - 46000, - 46500, - 47500 - ], - "header": 12000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_84D#/client/MinLaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_86.json b/dcs-world-reference/latest/weapon_flight/AGM_86.json index 496d12bc..f2c88b9c 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_86.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_86.json @@ -15,102 +15,73 @@ }, "batteryLifeS": 10000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 125, - 175, - 250 + "altitudesM": [ + 500, + 2000, + 7000, + 13000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 2375000, - 2380000, - 2405000 - ], - "header": 500 - }, - { - "cells": [ - 2385000, - 2390000, - 2400000, - 2430000 - ], - "header": 2000 - }, - { - "cells": [ - 2420000, - 2420000, - 2430000, - 2445000 - ], - "header": 7000 - }, - { - "cells": [ - 2440000, - 2440000, - 2450000, - 2450000 - ], - "header": 13000 - } + "maxRangeM": [ + [ + 0, + 2375000, + 2380000, + 2405000 + ], + [ + 2385000, + 2390000, + 2400000, + 2430000 + ], + [ + 2420000, + 2420000, + 2430000, + 2445000 + ], + [ + 2440000, + 2440000, + 2450000, + 2450000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_86#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 19500, + 20500, + 22000 + ], + [ + 23500, + 25000, + 27500, + 30500 + ], + [ + 53000, + 53500, + 58500, + 63500 + ], + [ + 93000, + 93000, + 102000, + 105000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_86#/client", + "speedsMs": [ 100, 125, 175, 250 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 19500, - 20500, - 22000 - ], - "header": 500 - }, - { - "cells": [ - 23500, - 25000, - 27500, - 30500 - ], - "header": 2000 - }, - { - "cells": [ - 53000, - 53500, - 58500, - 63500 - ], - "header": 7000 - }, - { - "cells": [ - 93000, - 93000, - 102000, - 105000 - ], - "header": 13000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_86#/client/MinLaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/AGM_86C.json b/dcs-world-reference/latest/weapon_flight/AGM_86C.json index bc8f89f0..5cc71a1f 100644 --- a/dcs-world-reference/latest/weapon_flight/AGM_86C.json +++ b/dcs-world-reference/latest/weapon_flight/AGM_86C.json @@ -15,102 +15,73 @@ }, "batteryLifeS": 10000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 125, - 175, - 250 + "altitudesM": [ + 500, + 2000, + 7000, + 13000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 1170000, - 1200000 - ], - "header": 500 - }, - { - "cells": [ - 1185000, - 1185000, - 1190000, - 1230000 - ], - "header": 2000 - }, - { - "cells": [ - 1220000, - 1235000, - 1240000, - 1245000 - ], - "header": 7000 - }, - { - "cells": [ - 1250000, - 1250000, - 1260000, - 1260000 - ], - "header": 13000 - } + "maxRangeM": [ + [ + 0, + 0, + 1170000, + 1200000 + ], + [ + 1185000, + 1185000, + 1190000, + 1230000 + ], + [ + 1220000, + 1235000, + 1240000, + 1245000 + ], + [ + 1250000, + 1250000, + 1260000, + 1260000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_86C#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 18500, + 20000 + ], + [ + 21000, + 24000, + 26000, + 63000 + ], + [ + 48000, + 55000, + 56000, + 63000 + ], + [ + 84000, + 88000, + 95000, + 100000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGM_86C#/client", + "speedsMs": [ 100, 125, 175, 250 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 18500, - 20000 - ], - "header": 500 - }, - { - "cells": [ - 21000, - 24000, - 26000, - 63000 - ], - "header": 2000 - }, - { - "cells": [ - 48000, - 55000, - 56000, - 63000 - ], - "header": 7000 - }, - { - "cells": [ - 84000, - 88000, - 95000, - 100000 - ], - "header": 13000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGM_86C#/client/MinLaunchDistData" + ] } ], "machMax": 0.9, diff --git a/dcs-world-reference/latest/weapon_flight/AGR_20A.json b/dcs-world-reference/latest/weapon_flight/AGR_20A.json index 12775865..1d3fbf39 100644 --- a/dcs-world-reference/latest/weapon_flight/AGR_20A.json +++ b/dcs-world-reference/latest/weapon_flight/AGR_20A.json @@ -22,9 +22,196 @@ }, "batteryLifeS": 90, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 50, + 100, + 150, + 200, + 250, + 350, + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000 + ], + "maxRangeM": [ + [ + 1500, + 1825, + 2175, + 2425, + 2575, + 2875, + 3075, + 3125, + 3225, + 3400 + ], + [ + 2425, + 2625, + 2975, + 3225, + 3475, + 3850, + 4150, + 4500, + 4675, + 4850 + ], + [ + 2800, + 3150, + 3350, + 3700, + 4000, + 4600, + 4850, + 5100, + 5100, + 5500 + ], + [ + 3300, + 3600, + 3950, + 4200, + 4500, + 5050, + 5350, + 5650, + 5900, + 6200 + ], + [ + 3650, + 4000, + 4300, + 4600, + 4900, + 5550, + 5750, + 6100, + 6400, + 6700 + ], + [ + 4300, + 4750, + 5050, + 5350, + 5700, + 6400, + 6650, + 7000, + 7300, + 7650 + ], + [ + 5250, + 5650, + 5950, + 6300, + 6600, + 7350, + 7600, + 7850, + 7900, + 7900 + ], + [ + 6100, + 6500, + 6850, + 7150, + 7450, + 7900, + 7900, + 7900, + 7900, + 7900 + ], + [ + 7050, + 7350, + 7750, + 7850, + 7850, + 7850, + 7850, + 7850, + 7850, + 7850 + ], + [ + 7700, + 7700, + 7700, + 7700, + 7700, + 7700, + 7700, + 7700, + 7700, + 7700 + ], + [ + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500 + ], + [ + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100 + ], + [ + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500 + ], + [ + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20A#/client", + "speedsMs": [ 0, 50, 100, @@ -35,224 +222,67 @@ 400, 450, 500 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1500, - 1825, - 2175, - 2425, - 2575, - 2875, - 3075, - 3125, - 3225, - 3400 - ], - "header": 50 - }, - { - "cells": [ - 2425, - 2625, - 2975, - 3225, - 3475, - 3850, - 4150, - 4500, - 4675, - 4850 - ], - "header": 100 - }, - { - "cells": [ - 2800, - 3150, - 3350, - 3700, - 4000, - 4600, - 4850, - 5100, - 5100, - 5500 - ], - "header": 150 - }, - { - "cells": [ - 3300, - 3600, - 3950, - 4200, - 4500, - 5050, - 5350, - 5650, - 5900, - 6200 - ], - "header": 200 - }, - { - "cells": [ - 3650, - 4000, - 4300, - 4600, - 4900, - 5550, - 5750, - 6100, - 6400, - 6700 - ], - "header": 250 - }, - { - "cells": [ - 4300, - 4750, - 5050, - 5350, - 5700, - 6400, - 6650, - 7000, - 7300, - 7650 - ], - "header": 350 - }, - { - "cells": [ - 5250, - 5650, - 5950, - 6300, - 6600, - 7350, - 7600, - 7850, - 7900, - 7900 - ], - "header": 500 - }, - { - "cells": [ - 6100, - 6500, - 6850, - 7150, - 7450, - 7900, - 7900, - 7900, - 7900, - 7900 - ], - "header": 700 - }, - { - "cells": [ - 7050, - 7350, - 7750, - 7850, - 7850, - 7850, - 7850, - 7850, - 7850, - 7850 - ], - "header": 1000 - }, - { - "cells": [ - 7700, - 7700, - 7700, - 7700, - 7700, - 7700, - 7700, - 7700, - 7700, - 7700 - ], - "header": 2000 - }, - { - "cells": [ - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500 - ], - "header": 3000 - }, - { - "cells": [ - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100 - ], - "header": 4000 - }, - { - "cells": [ - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500 - ], - "header": 5000 - }, - { - "cells": [ - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700 - ], - "header": 6000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20A#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 50, + 100, + 150, + 200 + ], + "minRangeM": [ + [ + 1025, + 1050, + 1050, + 1050, + 1075, + 1125, + 1325, + 1350, + 1375, + 1525 + ], + [ + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1050, + 1100, + 1150, + 1400 + ], + [ + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1100 + ], + [ + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20A#/client", + "speedsMs": [ 0, 50, 100, @@ -263,71 +293,7 @@ 400, 450, 500 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1025, - 1050, - 1050, - 1050, - 1075, - 1125, - 1325, - 1350, - 1375, - 1525 - ], - "header": 50 - }, - { - "cells": [ - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1050, - 1100, - 1150, - 1400 - ], - "header": 100 - }, - { - "cells": [ - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1100 - ], - "header": 150 - }, - { - "cells": [ - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000 - ], - "header": 200 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20A#/client/MinLaunchDistData" + ] } ], "machMax": 3, diff --git a/dcs-world-reference/latest/weapon_flight/AGR_20_M282.json b/dcs-world-reference/latest/weapon_flight/AGR_20_M282.json index fe4dec47..55b716a2 100644 --- a/dcs-world-reference/latest/weapon_flight/AGR_20_M282.json +++ b/dcs-world-reference/latest/weapon_flight/AGR_20_M282.json @@ -22,9 +22,196 @@ }, "batteryLifeS": 90, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 50, + 100, + 150, + 200, + 250, + 350, + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000 + ], + "maxRangeM": [ + [ + 1200, + 1500, + 1925, + 2075, + 2225, + 2500, + 2625, + 2750, + 2800, + 2925 + ], + [ + 1850, + 2300, + 2575, + 2925, + 3050, + 3675, + 3925, + 4050, + 4175, + 4350 + ], + [ + 2350, + 2700, + 3050, + 3350, + 3650, + 4250, + 4550, + 4700, + 5050, + 5300 + ], + [ + 2700, + 3150, + 3500, + 3850, + 4150, + 4800, + 5050, + 5350, + 5700, + 5900 + ], + [ + 2950, + 3500, + 3900, + 4250, + 4600, + 5200, + 5550, + 5800, + 6150, + 6500 + ], + [ + 3700, + 4150, + 4550, + 4950, + 5300, + 6000, + 6350, + 6700, + 7050, + 7350 + ], + [ + 4550, + 5050, + 5550, + 5950, + 6350, + 7050, + 7400, + 7800, + 7900, + 7900 + ], + [ + 5500, + 6050, + 6550, + 6900, + 7300, + 7900, + 7900, + 7900, + 7900, + 7900 + ], + [ + 6550, + 7100, + 7500, + 7800, + 7850, + 7850, + 7850, + 7850, + 7850, + 7850 + ], + [ + 7800, + 7800, + 7800, + 7800, + 7800, + 7800, + 7800, + 7800, + 7700, + 7780 + ], + [ + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500, + 7500 + ], + [ + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100, + 7100 + ], + [ + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500, + 6500 + ], + [ + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700, + 5700 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20_M282#/client", + "speedsMs": [ 0, 50, 100, @@ -35,224 +222,67 @@ 400, 450, 500 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1200, - 1500, - 1925, - 2075, - 2225, - 2500, - 2625, - 2750, - 2800, - 2925 - ], - "header": 50 - }, - { - "cells": [ - 1850, - 2300, - 2575, - 2925, - 3050, - 3675, - 3925, - 4050, - 4175, - 4350 - ], - "header": 100 - }, - { - "cells": [ - 2350, - 2700, - 3050, - 3350, - 3650, - 4250, - 4550, - 4700, - 5050, - 5300 - ], - "header": 150 - }, - { - "cells": [ - 2700, - 3150, - 3500, - 3850, - 4150, - 4800, - 5050, - 5350, - 5700, - 5900 - ], - "header": 200 - }, - { - "cells": [ - 2950, - 3500, - 3900, - 4250, - 4600, - 5200, - 5550, - 5800, - 6150, - 6500 - ], - "header": 250 - }, - { - "cells": [ - 3700, - 4150, - 4550, - 4950, - 5300, - 6000, - 6350, - 6700, - 7050, - 7350 - ], - "header": 350 - }, - { - "cells": [ - 4550, - 5050, - 5550, - 5950, - 6350, - 7050, - 7400, - 7800, - 7900, - 7900 - ], - "header": 500 - }, - { - "cells": [ - 5500, - 6050, - 6550, - 6900, - 7300, - 7900, - 7900, - 7900, - 7900, - 7900 - ], - "header": 700 - }, - { - "cells": [ - 6550, - 7100, - 7500, - 7800, - 7850, - 7850, - 7850, - 7850, - 7850, - 7850 - ], - "header": 1000 - }, - { - "cells": [ - 7800, - 7800, - 7800, - 7800, - 7800, - 7800, - 7800, - 7800, - 7700, - 7780 - ], - "header": 2000 - }, - { - "cells": [ - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500, - 7500 - ], - "header": 3000 - }, - { - "cells": [ - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100, - 7100 - ], - "header": 4000 - }, - { - "cells": [ - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500, - 6500 - ], - "header": 5000 - }, - { - "cells": [ - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700, - 5700 - ], - "header": 6000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20_M282#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 50, + 100, + 150, + 200 + ], + "minRangeM": [ + [ + 1000, + 1000, + 1050, + 1150, + 1150, + 1175, + 1325, + 1450, + 1500, + 1600 + ], + [ + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1150, + 1250, + 1400 + ], + [ + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1100 + ], + [ + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000, + 1000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20_M282#/client", + "speedsMs": [ 0, 50, 100, @@ -263,71 +293,7 @@ 400, 450, 500 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1000, - 1000, - 1050, - 1150, - 1150, - 1175, - 1325, - 1450, - 1500, - 1600 - ], - "header": 50 - }, - { - "cells": [ - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1150, - 1250, - 1400 - ], - "header": 100 - }, - { - "cells": [ - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1100 - ], - "header": 150 - }, - { - "cells": [ - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000, - 1000 - ], - "header": 200 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AGR_20_M282#/client/MinLaunchDistData" + ] } ], "machMax": 3, diff --git a/dcs-world-reference/latest/weapon_flight/AM39.json b/dcs-world-reference/latest/weapon_flight/AM39.json index 0f3919ec..b7fd37f5 100644 --- a/dcs-world-reference/latest/weapon_flight/AM39.json +++ b/dcs-world-reference/latest/weapon_flight/AM39.json @@ -20,246 +20,373 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 50, - 75, + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 142200, - 147100, - 150650, - 153525, - 155875 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 117525, - 142375, - 147350, - 150950, - 153800, - 156200 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 116750, - 142550, - 147625, - 151250, - 154150, - 156525 - ], - "header": 300 - }, - { - "cells": [ - 0, - 86725, - 115325, - 143000, - 148150, - 151825, - 154750, - 157175 - ], - "header": 500 - }, - { - "cells": [ - 0, - 86450, - 114025, - 143425, - 148700, - 152400, - 156250, - 158700 - ], - "header": 700 - }, - { - "cells": [ - 0, - 86050, - 112300, - 144075, - 149450, - 153225, - 156225, - 158750 - ], - "header": 1000 - }, - { - "cells": [ - 96400, - 127000, - 140150, - 148000, - 152150, - 155650, - 158450, - 160900 - ], - "header": 2000 - }, - { - "cells": [ - 138900, - 144100, - 147100, - 151200, - 154700, - 157900, - 160700, - 162850 - ], - "header": 3000 - }, - { - "cells": [ - 143100, - 147400, - 150300, - 153900, - 157000, - 159900, - 163000, - 164800 - ], - "header": 4000 - }, - { - "cells": [ - 145800, - 149800, - 152700, - 156300, - 159200, - 161800, - 164800, - 166800 - ], - "header": 5000 - }, - { - "cells": [ - 148000, - 151500, - 154500, - 158000, - 160750, - 163500, - 166000, - 168750 - ], - "header": 6000 - }, - { - "cells": [ - 150000, - 153000, - 156250, - 159750, - 162500, - 165250, - 167750, - 170750 - ], - "header": 7000 - }, - { - "cells": [ - 151500, - 155000, - 157750, - 161500, - 164250, - 166750, - 169250, - 172250 - ], - "header": 8000 - }, - { - "cells": [ - 153000, - 155000, - 159000, - 163250, - 165750, - 168500, - 171000, - 173500 - ], - "header": 9000 - }, - { - "cells": [ - 154500, - 156000, - 160000, - 164000, - 167500, - 170000, - 172500, - 175500 - ], - "header": 10000 - }, - { - "cells": [ - 155500, - 157500, - 161500, - 165500, - 170000, - 171500, - 175000, - 178000 - ], - "header": 11000 - }, - { - "cells": [ - 157000, - 158500, - 162500, - 167000, - 170500, - 173500, - 177000, - 180000 - ], - "header": 12000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 142200, + 147100, + 150650, + 153525, + 155875 + ], + [ + 0, + 0, + 117525, + 142375, + 147350, + 150950, + 153800, + 156200 + ], + [ + 0, + 0, + 116750, + 142550, + 147625, + 151250, + 154150, + 156525 + ], + [ + 0, + 86725, + 115325, + 143000, + 148150, + 151825, + 154750, + 157175 + ], + [ + 0, + 86450, + 114025, + 143425, + 148700, + 152400, + 156250, + 158700 + ], + [ + 0, + 86050, + 112300, + 144075, + 149450, + 153225, + 156225, + 158750 + ], + [ + 96400, + 127000, + 140150, + 148000, + 152150, + 155650, + 158450, + 160900 + ], + [ + 138900, + 144100, + 147100, + 151200, + 154700, + 157900, + 160700, + 162850 + ], + [ + 143100, + 147400, + 150300, + 153900, + 157000, + 159900, + 163000, + 164800 + ], + [ + 145800, + 149800, + 152700, + 156300, + 159200, + 161800, + 164800, + 166800 + ], + [ + 148000, + 151500, + 154500, + 158000, + 160750, + 163500, + 166000, + 168750 + ], + [ + 150000, + 153000, + 156250, + 159750, + 162500, + 165250, + 167750, + 170750 + ], + [ + 151500, + 155000, + 157750, + 161500, + 164250, + 166750, + 169250, + 172250 + ], + [ + 153000, + 155000, + 159000, + 163250, + 165750, + 168500, + 171000, + 173500 + ], + [ + 154500, + 156000, + 160000, + 164000, + 167500, + 170000, + 172500, + 175500 + ], + [ + 155500, + 157500, + 161500, + 165500, + 170000, + 171500, + 175000, + 178000 + ], + [ + 157000, + 158500, + 162500, + 167000, + 170500, + 173500, + 177000, + 180000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/AM39#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 16125, + 13350, + 12600, + 12500, + 12825 + ], + [ + 0, + 0, + 18925, + 15775, + 13825, + 14050, + 13975, + 14375 + ], + [ + 0, + 0, + 18000, + 15500, + 14975, + 15050, + 15225, + 15425 + ], + [ + 0, + 18400, + 16775, + 16125, + 16000, + 16375, + 16875, + 17000 + ], + [ + 0, + 16725, + 16725, + 17000, + 17075, + 17475, + 18025, + 18475 + ], + [ + 0, + 15225, + 15800, + 17675, + 18425, + 18800, + 19375, + 20050 + ], + [ + 18150, + 19350, + 20150, + 21100, + 21700, + 22150, + 22750, + 23550 + ], + [ + 22800, + 22750, + 23100, + 23700, + 24300, + 24850, + 25300, + 26200 + ], + [ + 25400, + 25400, + 25700, + 26200, + 26700, + 27300, + 27600, + 28500 + ], + [ + 27700, + 27800, + 28100, + 28600, + 29100, + 29500, + 29900, + 30700 + ], + [ + 30250, + 30000, + 30250, + 30750, + 31250, + 32000, + 32500, + 32750 + ], + [ + 32250, + 32500, + 32500, + 33250, + 33500, + 34250, + 34750, + 35000 + ], + [ + 34250, + 35000, + 34750, + 35500, + 36000, + 36250, + 37000, + 37500 + ], + [ + 36500, + 37500, + 37250, + 37750, + 38250, + 38750, + 39250, + 40000 + ], + [ + 38500, + 39500, + 39500, + 39500, + 40500, + 41000, + 41500, + 42500 + ], + [ + 40500, + 42000, + 41500, + 42000, + 43000, + 43500, + 44000, + 45000 + ], + [ + 42500, + 44000, + 44000, + 44500, + 45500, + 46000, + 46500, + 47500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/AM39#/client", + "speedsMs": [ 50, 75, 100, @@ -268,232 +395,7 @@ 250, 300, 350 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 16125, - 13350, - 12600, - 12500, - 12825 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 18925, - 15775, - 13825, - 14050, - 13975, - 14375 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 18000, - 15500, - 14975, - 15050, - 15225, - 15425 - ], - "header": 300 - }, - { - "cells": [ - 0, - 18400, - 16775, - 16125, - 16000, - 16375, - 16875, - 17000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 16725, - 16725, - 17000, - 17075, - 17475, - 18025, - 18475 - ], - "header": 700 - }, - { - "cells": [ - 0, - 15225, - 15800, - 17675, - 18425, - 18800, - 19375, - 20050 - ], - "header": 1000 - }, - { - "cells": [ - 18150, - 19350, - 20150, - 21100, - 21700, - 22150, - 22750, - 23550 - ], - "header": 2000 - }, - { - "cells": [ - 22800, - 22750, - 23100, - 23700, - 24300, - 24850, - 25300, - 26200 - ], - "header": 3000 - }, - { - "cells": [ - 25400, - 25400, - 25700, - 26200, - 26700, - 27300, - 27600, - 28500 - ], - "header": 4000 - }, - { - "cells": [ - 27700, - 27800, - 28100, - 28600, - 29100, - 29500, - 29900, - 30700 - ], - "header": 5000 - }, - { - "cells": [ - 30250, - 30000, - 30250, - 30750, - 31250, - 32000, - 32500, - 32750 - ], - "header": 6000 - }, - { - "cells": [ - 32250, - 32500, - 32500, - 33250, - 33500, - 34250, - 34750, - 35000 - ], - "header": 7000 - }, - { - "cells": [ - 34250, - 35000, - 34750, - 35500, - 36000, - 36250, - 37000, - 37500 - ], - "header": 8000 - }, - { - "cells": [ - 36500, - 37500, - 37250, - 37750, - 38250, - 38750, - 39250, - 40000 - ], - "header": 9000 - }, - { - "cells": [ - 38500, - 39500, - 39500, - 39500, - 40500, - 41000, - 41500, - 42500 - ], - "header": 10000 - }, - { - "cells": [ - 40500, - 42000, - 41500, - 42000, - 43000, - 43500, - 44000, - 45000 - ], - "header": 11000 - }, - { - "cells": [ - 42500, - 44000, - 44000, - 44500, - 45500, - 46000, - 46500, - 47500 - ], - "header": 12000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/AM39#/client/MinLaunchDistData" + ] } ], "machMax": 0.93, diff --git a/dcs-world-reference/latest/weapon_flight/BDU_45LGB.json b/dcs-world-reference/latest/weapon_flight/BDU_45LGB.json index 82a0dd31..72c9d6a5 100644 --- a/dcs-world-reference/latest/weapon_flight/BDU_45LGB.json +++ b/dcs-world-reference/latest/weapon_flight/BDU_45LGB.json @@ -13,272 +13,415 @@ "maxAoaRad": 0.12217304763960307, "sourcePath": "_G/weapons_table/weapons/bombs/BDU_45LGB#/client/fm" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, - 300, - 350, 400, - 450 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 3000, - 5550, - 7575, - 8375, - 8975, - 9025 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 3625, - 6350, - 8400, - 9750, - 10425, - 11100 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 4325, - 7200, - 9175, - 10525, - 11450, - 12250 - ], - "header": 400 - }, - { - "cells": [ - 0, - 0, - 5500, - 8325, - 10325, - 11600, - 12500, - 13275 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 6600, - 9400, - 11400, - 12600, - 13550, - 14300 - ], - "header": 1000 - }, - { - "cells": [ - 2450, - 7000, - 10450, - 13150, - 14950, - 16150, - 17000, - 17750 - ], - "header": 2000 - }, - { - "cells": [ - 4800, - 10900, - 14300, - 16900, - 18600, - 19700, - 20400, - 21200 - ], - "header": 3000 - }, - { - "cells": [ - 6100, - 14400, - 18100, - 20800, - 22300, - 23300, - 24100, - 24800 - ], - "header": 4000 - }, - { - "cells": [ - 7100, - 17200, - 21900, - 24600, - 26200, - 27100, - 27800, - 28500 - ], - "header": 5000 - }, - { - "cells": [ - 8100, - 17200, - 25500, - 28600, - 30000, - 30900, - 31600, - 32400 - ], - "header": 6000 - }, - { - "cells": [ - 8750, - 17250, - 28750, - 32500, - 33750, - 34750, - 35500, - 36000 - ], - "header": 7000 - }, - { - "cells": [ - 9500, - 17500, - 32250, - 36250, - 37750, - 38500, - 39250, - 40250 - ], - "header": 8000 - }, - { - "cells": [ - 10250, - 17750, - 35250, - 39500, - 41750, - 42500, - 43250, - 44250 - ], - "header": 9000 - }, - { - "cells": [ - 10750, - 18000, - 38000, - 42500, - 45500, - 46500, - 47250, - 48250 - ], - "header": 10000 - }, - { - "cells": [ - 11000, - 18000, - 39500, - 45000, - 48500, - 50500, - 51000, - 52500 - ], - "header": 11000 - }, - { - "cells": [ - 11500, - 18000, - 34500, - 47000, - 51500, - 54000, - 55000, - 56500 - ], - "header": 12000 - }, - { - "cells": [ - 11000, - 18000, - 31000, - 49000, - 53000, - 57000, - 59000, - 60000 - ], - "header": 13000 - }, - { - "cells": [ - 12000, - 18000, - 29000, - 51000, - 55000, - 59000, - 63000, - 64000 - ], - "header": 14000 - }, - { - "cells": [ - 12000, - 18000, - 28000, - 48000, - 57000, - 61000, - 66000, - 68000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 3000, + 5550, + 7575, + 8375, + 8975, + 9025 + ], + [ + 0, + 0, + 3625, + 6350, + 8400, + 9750, + 10425, + 11100 + ], + [ + 0, + 0, + 4325, + 7200, + 9175, + 10525, + 11450, + 12250 + ], + [ + 0, + 0, + 5500, + 8325, + 10325, + 11600, + 12500, + 13275 + ], + [ + 0, + 0, + 6600, + 9400, + 11400, + 12600, + 13550, + 14300 + ], + [ + 2450, + 7000, + 10450, + 13150, + 14950, + 16150, + 17000, + 17750 + ], + [ + 4800, + 10900, + 14300, + 16900, + 18600, + 19700, + 20400, + 21200 + ], + [ + 6100, + 14400, + 18100, + 20800, + 22300, + 23300, + 24100, + 24800 + ], + [ + 7100, + 17200, + 21900, + 24600, + 26200, + 27100, + 27800, + 28500 + ], + [ + 8100, + 17200, + 25500, + 28600, + 30000, + 30900, + 31600, + 32400 + ], + [ + 8750, + 17250, + 28750, + 32500, + 33750, + 34750, + 35500, + 36000 + ], + [ + 9500, + 17500, + 32250, + 36250, + 37750, + 38500, + 39250, + 40250 + ], + [ + 10250, + 17750, + 35250, + 39500, + 41750, + 42500, + 43250, + 44250 + ], + [ + 10750, + 18000, + 38000, + 42500, + 45500, + 46500, + 47250, + 48250 + ], + [ + 11000, + 18000, + 39500, + 45000, + 48500, + 50500, + 51000, + 52500 + ], + [ + 11500, + 18000, + 34500, + 47000, + 51500, + 54000, + 55000, + 56500 + ], + [ + 11000, + 18000, + 31000, + 49000, + 53000, + 57000, + 59000, + 60000 + ], + [ + 12000, + 18000, + 29000, + 51000, + 55000, + 59000, + 63000, + 64000 + ], + [ + 12000, + 18000, + 28000, + 48000, + 57000, + 61000, + 66000, + 68000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/BDU_45LGB#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 1225, + 1475, + 1125, + 1125, + 700, + 1100 + ], + [ + 0, + 0, + 1725, + 1050, + 1075, + 1100, + 1225, + 1100 + ], + [ + 0, + 0, + 1800, + 1825, + 1825, + 1825, + 1825, + 1825 + ], + [ + 0, + 0, + 2725, + 3050, + 3175, + 3175, + 3175, + 3175 + ], + [ + 0, + 0, + 3350, + 4000, + 4400, + 4550, + 4550, + 4550 + ], + [ + 2150, + 3450, + 4700, + 5800, + 6700, + 7450, + 8150, + 8800 + ], + [ + 2500, + 4100, + 5600, + 7000, + 8100, + 9200, + 10100, + 11100 + ], + [ + 2700, + 4500, + 6200, + 7800, + 9200, + 10400, + 11500, + 12700 + ], + [ + 2900, + 4800, + 6800, + 8500, + 10100, + 11400, + 12700, + 14100 + ], + [ + 3100, + 5100, + 7200, + 9100, + 10800, + 12200, + 13700, + 15300 + ], + [ + 3250, + 5500, + 7750, + 9750, + 11500, + 13000, + 14750, + 16500 + ], + [ + 3500, + 5750, + 7750, + 10000, + 12000, + 13750, + 15500, + 17500 + ], + [ + 3500, + 6000, + 8250, + 10500, + 12500, + 14500, + 16250, + 18750 + ], + [ + 3500, + 6000, + 8500, + 11000, + 13000, + 15000, + 17250, + 19750 + ], + [ + 3500, + 6500, + 9000, + 11500, + 13500, + 15500, + 18000, + 21000 + ], + [ + 3500, + 6500, + 9000, + 11500, + 14000, + 16500, + 19000, + 22000 + ], + [ + 4000, + 7000, + 10000, + 12000, + 15000, + 17000, + 20000, + 23000 + ], + [ + 4000, + 7000, + 10000, + 13000, + 14000, + 18000, + 21000, + 24000 + ], + [ + 4000, + 7000, + 10000, + 13000, + 16000, + 19000, + 22000, + 25000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/BDU_45LGB#/client", + "speedsMs": [ 100, 150, 200, @@ -287,258 +430,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 1225, - 1475, - 1125, - 1125, - 700, - 1100 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 1725, - 1050, - 1075, - 1100, - 1225, - 1100 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 1800, - 1825, - 1825, - 1825, - 1825, - 1825 - ], - "header": 400 - }, - { - "cells": [ - 0, - 0, - 2725, - 3050, - 3175, - 3175, - 3175, - 3175 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 3350, - 4000, - 4400, - 4550, - 4550, - 4550 - ], - "header": 1000 - }, - { - "cells": [ - 2150, - 3450, - 4700, - 5800, - 6700, - 7450, - 8150, - 8800 - ], - "header": 2000 - }, - { - "cells": [ - 2500, - 4100, - 5600, - 7000, - 8100, - 9200, - 10100, - 11100 - ], - "header": 3000 - }, - { - "cells": [ - 2700, - 4500, - 6200, - 7800, - 9200, - 10400, - 11500, - 12700 - ], - "header": 4000 - }, - { - "cells": [ - 2900, - 4800, - 6800, - 8500, - 10100, - 11400, - 12700, - 14100 - ], - "header": 5000 - }, - { - "cells": [ - 3100, - 5100, - 7200, - 9100, - 10800, - 12200, - 13700, - 15300 - ], - "header": 6000 - }, - { - "cells": [ - 3250, - 5500, - 7750, - 9750, - 11500, - 13000, - 14750, - 16500 - ], - "header": 7000 - }, - { - "cells": [ - 3500, - 5750, - 7750, - 10000, - 12000, - 13750, - 15500, - 17500 - ], - "header": 8000 - }, - { - "cells": [ - 3500, - 6000, - 8250, - 10500, - 12500, - 14500, - 16250, - 18750 - ], - "header": 9000 - }, - { - "cells": [ - 3500, - 6000, - 8500, - 11000, - 13000, - 15000, - 17250, - 19750 - ], - "header": 10000 - }, - { - "cells": [ - 3500, - 6500, - 9000, - 11500, - 13500, - 15500, - 18000, - 21000 - ], - "header": 11000 - }, - { - "cells": [ - 3500, - 6500, - 9000, - 11500, - 14000, - 16500, - 19000, - 22000 - ], - "header": 12000 - }, - { - "cells": [ - 4000, - 7000, - 10000, - 12000, - 15000, - 17000, - 20000, - 23000 - ], - "header": 13000 - }, - { - "cells": [ - 4000, - 7000, - 10000, - 13000, - 14000, - 18000, - 21000, - 24000 - ], - "header": 14000 - }, - { - "cells": [ - 4000, - 7000, - 10000, - 13000, - 16000, - 19000, - 22000, - 25000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/BDU_45LGB#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/BDU_45LGB#/client", diff --git a/dcs-world-reference/latest/weapon_flight/BOLT-117.json b/dcs-world-reference/latest/weapon_flight/BOLT-117.json index 1ea454b3..c3abcbe5 100644 --- a/dcs-world-reference/latest/weapon_flight/BOLT-117.json +++ b/dcs-world-reference/latest/weapon_flight/BOLT-117.json @@ -13,272 +13,415 @@ "maxAoaRad": 0.12217304763960307, "sourcePath": "_G/weapons_table/weapons/bombs/BOLT-117#/client/fm" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, - 300, - 350, 400, - 450 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 3000, - 5550, - 7575, - 8375, - 8975, - 9025 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 3625, - 6350, - 8400, - 9750, - 10425, - 11100 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 4325, - 7200, - 9175, - 10525, - 11450, - 12250 - ], - "header": 400 - }, - { - "cells": [ - 0, - 0, - 5500, - 8325, - 10325, - 11600, - 12500, - 13275 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 6600, - 9400, - 11400, - 12600, - 13550, - 14300 - ], - "header": 1000 - }, - { - "cells": [ - 2450, - 7000, - 10450, - 13150, - 14950, - 16150, - 17000, - 17750 - ], - "header": 2000 - }, - { - "cells": [ - 4800, - 10900, - 14300, - 16900, - 18600, - 19700, - 20400, - 21200 - ], - "header": 3000 - }, - { - "cells": [ - 6100, - 14400, - 18100, - 20800, - 22300, - 23300, - 24100, - 24800 - ], - "header": 4000 - }, - { - "cells": [ - 7100, - 17200, - 21900, - 24600, - 26200, - 27100, - 27800, - 28500 - ], - "header": 5000 - }, - { - "cells": [ - 8100, - 17200, - 25500, - 28600, - 30000, - 30900, - 31600, - 32400 - ], - "header": 6000 - }, - { - "cells": [ - 8750, - 17250, - 28750, - 32500, - 33750, - 34750, - 35500, - 36000 - ], - "header": 7000 - }, - { - "cells": [ - 9500, - 17500, - 32250, - 36250, - 37750, - 38500, - 39250, - 40250 - ], - "header": 8000 - }, - { - "cells": [ - 10250, - 17750, - 35250, - 39500, - 41750, - 42500, - 43250, - 44250 - ], - "header": 9000 - }, - { - "cells": [ - 10750, - 18000, - 38000, - 42500, - 45500, - 46500, - 47250, - 48250 - ], - "header": 10000 - }, - { - "cells": [ - 11000, - 18000, - 39500, - 45000, - 48500, - 50500, - 51000, - 52500 - ], - "header": 11000 - }, - { - "cells": [ - 11500, - 18000, - 34500, - 47000, - 51500, - 54000, - 55000, - 56500 - ], - "header": 12000 - }, - { - "cells": [ - 11000, - 18000, - 31000, - 49000, - 53000, - 57000, - 59000, - 60000 - ], - "header": 13000 - }, - { - "cells": [ - 12000, - 18000, - 29000, - 51000, - 55000, - 59000, - 63000, - 64000 - ], - "header": 14000 - }, - { - "cells": [ - 12000, - 18000, - 28000, - 48000, - 57000, - 61000, - 66000, - 68000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 3000, + 5550, + 7575, + 8375, + 8975, + 9025 + ], + [ + 0, + 0, + 3625, + 6350, + 8400, + 9750, + 10425, + 11100 + ], + [ + 0, + 0, + 4325, + 7200, + 9175, + 10525, + 11450, + 12250 + ], + [ + 0, + 0, + 5500, + 8325, + 10325, + 11600, + 12500, + 13275 + ], + [ + 0, + 0, + 6600, + 9400, + 11400, + 12600, + 13550, + 14300 + ], + [ + 2450, + 7000, + 10450, + 13150, + 14950, + 16150, + 17000, + 17750 + ], + [ + 4800, + 10900, + 14300, + 16900, + 18600, + 19700, + 20400, + 21200 + ], + [ + 6100, + 14400, + 18100, + 20800, + 22300, + 23300, + 24100, + 24800 + ], + [ + 7100, + 17200, + 21900, + 24600, + 26200, + 27100, + 27800, + 28500 + ], + [ + 8100, + 17200, + 25500, + 28600, + 30000, + 30900, + 31600, + 32400 + ], + [ + 8750, + 17250, + 28750, + 32500, + 33750, + 34750, + 35500, + 36000 + ], + [ + 9500, + 17500, + 32250, + 36250, + 37750, + 38500, + 39250, + 40250 + ], + [ + 10250, + 17750, + 35250, + 39500, + 41750, + 42500, + 43250, + 44250 + ], + [ + 10750, + 18000, + 38000, + 42500, + 45500, + 46500, + 47250, + 48250 + ], + [ + 11000, + 18000, + 39500, + 45000, + 48500, + 50500, + 51000, + 52500 + ], + [ + 11500, + 18000, + 34500, + 47000, + 51500, + 54000, + 55000, + 56500 + ], + [ + 11000, + 18000, + 31000, + 49000, + 53000, + 57000, + 59000, + 60000 + ], + [ + 12000, + 18000, + 29000, + 51000, + 55000, + 59000, + 63000, + 64000 + ], + [ + 12000, + 18000, + 28000, + 48000, + 57000, + 61000, + 66000, + 68000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/BOLT-117#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 1225, + 1475, + 1125, + 1125, + 700, + 1100 + ], + [ + 0, + 0, + 1725, + 1050, + 1075, + 1100, + 1225, + 1100 + ], + [ + 0, + 0, + 1800, + 1825, + 1825, + 1825, + 1825, + 1825 + ], + [ + 0, + 0, + 2725, + 3050, + 3175, + 3175, + 3175, + 3175 + ], + [ + 0, + 0, + 3350, + 4000, + 4400, + 4550, + 4550, + 4550 + ], + [ + 2150, + 3450, + 4700, + 5800, + 6700, + 7450, + 8150, + 8800 + ], + [ + 2500, + 4100, + 5600, + 7000, + 8100, + 9200, + 10100, + 11100 + ], + [ + 2700, + 4500, + 6200, + 7800, + 9200, + 10400, + 11500, + 12700 + ], + [ + 2900, + 4800, + 6800, + 8500, + 10100, + 11400, + 12700, + 14100 + ], + [ + 3100, + 5100, + 7200, + 9100, + 10800, + 12200, + 13700, + 15300 + ], + [ + 3250, + 5500, + 7750, + 9750, + 11500, + 13000, + 14750, + 16500 + ], + [ + 3500, + 5750, + 7750, + 10000, + 12000, + 13750, + 15500, + 17500 + ], + [ + 3500, + 6000, + 8250, + 10500, + 12500, + 14500, + 16250, + 18750 + ], + [ + 3500, + 6000, + 8500, + 11000, + 13000, + 15000, + 17250, + 19750 + ], + [ + 3500, + 6500, + 9000, + 11500, + 13500, + 15500, + 18000, + 21000 + ], + [ + 3500, + 6500, + 9000, + 11500, + 14000, + 16500, + 19000, + 22000 + ], + [ + 4000, + 7000, + 10000, + 12000, + 15000, + 17000, + 20000, + 23000 + ], + [ + 4000, + 7000, + 10000, + 13000, + 14000, + 18000, + 21000, + 24000 + ], + [ + 4000, + 7000, + 10000, + 13000, + 16000, + 19000, + 22000, + 25000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/BOLT-117#/client", + "speedsMs": [ 100, 150, 200, @@ -287,258 +430,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 1225, - 1475, - 1125, - 1125, - 700, - 1100 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 1725, - 1050, - 1075, - 1100, - 1225, - 1100 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 1800, - 1825, - 1825, - 1825, - 1825, - 1825 - ], - "header": 400 - }, - { - "cells": [ - 0, - 0, - 2725, - 3050, - 3175, - 3175, - 3175, - 3175 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 3350, - 4000, - 4400, - 4550, - 4550, - 4550 - ], - "header": 1000 - }, - { - "cells": [ - 2150, - 3450, - 4700, - 5800, - 6700, - 7450, - 8150, - 8800 - ], - "header": 2000 - }, - { - "cells": [ - 2500, - 4100, - 5600, - 7000, - 8100, - 9200, - 10100, - 11100 - ], - "header": 3000 - }, - { - "cells": [ - 2700, - 4500, - 6200, - 7800, - 9200, - 10400, - 11500, - 12700 - ], - "header": 4000 - }, - { - "cells": [ - 2900, - 4800, - 6800, - 8500, - 10100, - 11400, - 12700, - 14100 - ], - "header": 5000 - }, - { - "cells": [ - 3100, - 5100, - 7200, - 9100, - 10800, - 12200, - 13700, - 15300 - ], - "header": 6000 - }, - { - "cells": [ - 3250, - 5500, - 7750, - 9750, - 11500, - 13000, - 14750, - 16500 - ], - "header": 7000 - }, - { - "cells": [ - 3500, - 5750, - 7750, - 10000, - 12000, - 13750, - 15500, - 17500 - ], - "header": 8000 - }, - { - "cells": [ - 3500, - 6000, - 8250, - 10500, - 12500, - 14500, - 16250, - 18750 - ], - "header": 9000 - }, - { - "cells": [ - 3500, - 6000, - 8500, - 11000, - 13000, - 15000, - 17250, - 19750 - ], - "header": 10000 - }, - { - "cells": [ - 3500, - 6500, - 9000, - 11500, - 13500, - 15500, - 18000, - 21000 - ], - "header": 11000 - }, - { - "cells": [ - 3500, - 6500, - 9000, - 11500, - 14000, - 16500, - 19000, - 22000 - ], - "header": 12000 - }, - { - "cells": [ - 4000, - 7000, - 10000, - 12000, - 15000, - 17000, - 20000, - 23000 - ], - "header": 13000 - }, - { - "cells": [ - 4000, - 7000, - 10000, - 13000, - 14000, - 18000, - 21000, - 24000 - ], - "header": 14000 - }, - { - "cells": [ - 4000, - 7000, - 10000, - 13000, - 16000, - 19000, - 22000, - 25000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/BOLT-117#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/BOLT-117#/client", diff --git a/dcs-world-reference/latest/weapon_flight/BRM-1_90MM.json b/dcs-world-reference/latest/weapon_flight/BRM-1_90MM.json index afc3c1d2..d1ef0495 100644 --- a/dcs-world-reference/latest/weapon_flight/BRM-1_90MM.json +++ b/dcs-world-reference/latest/weapon_flight/BRM-1_90MM.json @@ -22,57 +22,48 @@ }, "batteryLifeS": 90, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 1000, + 2000, + 3000, + 4000, + 5000 + ], + "maxRangeM": [ + [ + 9000, + 9500, + 10000 + ], + [ + 9500, + 10000, + 10500 + ], + [ + 10000, + 10500, + 11000 + ], + [ + 10500, + 11000, + 11500 + ], + [ + 11000, + 11500, + 12000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/BRM-1_90MM#/client", + "speedsMs": [ 100, 200, 300 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 9000, - 9500, - 10000 - ], - "header": 1000 - }, - { - "cells": [ - 9500, - 10000, - 10500 - ], - "header": 2000 - }, - { - "cells": [ - 10000, - 10500, - 11000 - ], - "header": 3000 - }, - { - "cells": [ - 10500, - 11000, - 11500 - ], - "header": 4000 - }, - { - "cells": [ - 11000, - 11500, - 12000 - ], - "header": 5000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/BRM-1_90MM#/client/LaunchDistData" + ] } ], "machMax": 3, diff --git a/dcs-world-reference/latest/weapon_flight/CM_802AKG.json b/dcs-world-reference/latest/weapon_flight/CM_802AKG.json index befbfec1..acd25552 100644 --- a/dcs-world-reference/latest/weapon_flight/CM_802AKG.json +++ b/dcs-world-reference/latest/weapon_flight/CM_802AKG.json @@ -20,264 +20,407 @@ }, "batteryLifeS": 1850, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, 400, - 450, - 500 + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 7500 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 205025, - 208800, - 211725, - 214900, - 217775, - 220750, - 224250 - ], - "header": 100 - }, - { - "cells": [ - 0, - 200075, - 205325, - 208675, - 212075, - 215225, - 218150, - 221100, - 224625 - ], - "header": 200 - }, - { - "cells": [ - 0, - 200325, - 205175, - 209000, - 212400, - 215575, - 218525, - 221450, - 224525 - ], - "header": 300 - }, - { - "cells": [ - 195575, - 200575, - 205475, - 209350, - 212725, - 215925, - 218900, - 221775, - 224850 - ], - "header": 400 - }, - { - "cells": [ - 195800, - 200825, - 205775, - 209675, - 213075, - 216250, - 219225, - 222125, - 225125 - ], - "header": 500 - }, - { - "cells": [ - 196000, - 200600, - 206050, - 209950, - 213400, - 216550, - 219500, - 222400, - 225300 - ], - "header": 600 - }, - { - "cells": [ - 196200, - 200900, - 206350, - 210300, - 213700, - 216900, - 219850, - 222650, - 225600 - ], - "header": 700 - }, - { - "cells": [ - 196400, - 201150, - 206650, - 210650, - 214000, - 217300, - 220150, - 222900, - 225800 - ], - "header": 800 - }, - { - "cells": [ - 196650, - 201400, - 206950, - 210950, - 214350, - 217550, - 220400, - 223150, - 225950 - ], - "header": 900 - }, - { - "cells": [ - 196850, - 201700, - 207200, - 211300, - 214650, - 217900, - 220650, - 223400, - 226250 - ], - "header": 1000 - }, - { - "cells": [ - 199900, - 206300, - 210600, - 214300, - 217300, - 219900, - 222500, - 225000, - 228000 - ], - "header": 2000 - }, - { - "cells": [ - 204800, - 209300, - 213100, - 216700, - 219500, - 222000, - 224200, - 226800, - 229900 - ], - "header": 3000 - }, - { - "cells": [ - 207500, - 211700, - 215100, - 218500, - 221800, - 223900, - 226100, - 228700, - 231900 - ], - "header": 4000 - }, - { - "cells": [ - 209500, - 213500, - 217000, - 220200, - 223800, - 226100, - 228100, - 230700, - 234000 - ], - "header": 5000 - }, - { - "cells": [ - 211250, - 215000, - 218500, - 221750, - 225250, - 228000, - 230250, - 232750, - 236000 - ], - "header": 6000 - }, - { - "cells": [ - 213000, - 216750, - 220250, - 223250, - 226750, - 230250, - 232250, - 235000, - 238250 - ], - "header": 7000 - }, - { - "cells": [ - 213750, - 217500, - 220750, - 224000, - 227250, - 230750, - 233250, - 236000, - 240500 - ], - "header": 7500 - } + "maxRangeM": [ + [ + 0, + 0, + 205025, + 208800, + 211725, + 214900, + 217775, + 220750, + 224250 + ], + [ + 0, + 200075, + 205325, + 208675, + 212075, + 215225, + 218150, + 221100, + 224625 + ], + [ + 0, + 200325, + 205175, + 209000, + 212400, + 215575, + 218525, + 221450, + 224525 + ], + [ + 195575, + 200575, + 205475, + 209350, + 212725, + 215925, + 218900, + 221775, + 224850 + ], + [ + 195800, + 200825, + 205775, + 209675, + 213075, + 216250, + 219225, + 222125, + 225125 + ], + [ + 196000, + 200600, + 206050, + 209950, + 213400, + 216550, + 219500, + 222400, + 225300 + ], + [ + 196200, + 200900, + 206350, + 210300, + 213700, + 216900, + 219850, + 222650, + 225600 + ], + [ + 196400, + 201150, + 206650, + 210650, + 214000, + 217300, + 220150, + 222900, + 225800 + ], + [ + 196650, + 201400, + 206950, + 210950, + 214350, + 217550, + 220400, + 223150, + 225950 + ], + [ + 196850, + 201700, + 207200, + 211300, + 214650, + 217900, + 220650, + 223400, + 226250 + ], + [ + 199900, + 206300, + 210600, + 214300, + 217300, + 219900, + 222500, + 225000, + 228000 + ], + [ + 204800, + 209300, + 213100, + 216700, + 219500, + 222000, + 224200, + 226800, + 229900 + ], + [ + 207500, + 211700, + 215100, + 218500, + 221800, + 223900, + 226100, + 228700, + 231900 + ], + [ + 209500, + 213500, + 217000, + 220200, + 223800, + 226100, + 228100, + 230700, + 234000 + ], + [ + 211250, + 215000, + 218500, + 221750, + 225250, + 228000, + 230250, + 232750, + 236000 + ], + [ + 213000, + 216750, + 220250, + 223250, + 226750, + 230250, + 232250, + 235000, + 238250 + ], + [ + 213750, + 217500, + 220750, + 224000, + 227250, + 230750, + 233250, + 236000, + 240500 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/CM_802AKG#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 21700, + 21950, + 16325, + 16775, + 17100, + 17900, + 24150 + ], + [ + 0, + 21475, + 21425, + 15950, + 16450, + 16950, + 17450, + 17975, + 24000 + ], + [ + 0, + 21250, + 15475, + 16050, + 16600, + 17125, + 17550, + 18125, + 18900 + ], + [ + 22250, + 21025, + 15575, + 16175, + 16725, + 17250, + 17700, + 18300, + 19225 + ], + [ + 22000, + 20800, + 15700, + 16225, + 16850, + 17325, + 17900, + 18475, + 19350 + ], + [ + 21800, + 14950, + 15750, + 16400, + 16950, + 17500, + 18000, + 18550, + 19250 + ], + [ + 21550, + 15000, + 15800, + 16400, + 17000, + 17550, + 18050, + 18650, + 19350 + ], + [ + 21350, + 15100, + 15900, + 16550, + 17100, + 17650, + 18150, + 18700, + 19450 + ], + [ + 21150, + 15150, + 16000, + 16600, + 17150, + 17700, + 18250, + 18800, + 19500 + ], + [ + 20900, + 15200, + 16000, + 16650, + 17300, + 17800, + 18300, + 18900, + 19600 + ], + [ + 14500, + 15500, + 16200, + 16900, + 17600, + 18200, + 18800, + 19500, + 20000 + ], + [ + 14600, + 15100, + 16000, + 16900, + 17300, + 18300, + 18900, + 19600, + 21200 + ], + [ + 14800, + 15100, + 15300, + 15600, + 15800, + 16100, + 16600, + 19300, + 21300 + ], + [ + 14900, + 15200, + 15500, + 15700, + 15900, + 16200, + 16600, + 17000, + 21300 + ], + [ + 15000, + 15500, + 15750, + 15750, + 16000, + 16250, + 16750, + 17000, + 17500 + ], + [ + 15250, + 15500, + 15750, + 16000, + 16250, + 16500, + 16500, + 17000, + 17500 + ], + [ + 15250, + 15500, + 15750, + 16000, + 16250, + 16500, + 16750, + 17000, + 18000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/CM_802AKG#/client", + "speedsMs": [ 100, 150, 200, @@ -287,249 +430,7 @@ 400, 450, 500 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 21700, - 21950, - 16325, - 16775, - 17100, - 17900, - 24150 - ], - "header": 100 - }, - { - "cells": [ - 0, - 21475, - 21425, - 15950, - 16450, - 16950, - 17450, - 17975, - 24000 - ], - "header": 200 - }, - { - "cells": [ - 0, - 21250, - 15475, - 16050, - 16600, - 17125, - 17550, - 18125, - 18900 - ], - "header": 300 - }, - { - "cells": [ - 22250, - 21025, - 15575, - 16175, - 16725, - 17250, - 17700, - 18300, - 19225 - ], - "header": 400 - }, - { - "cells": [ - 22000, - 20800, - 15700, - 16225, - 16850, - 17325, - 17900, - 18475, - 19350 - ], - "header": 500 - }, - { - "cells": [ - 21800, - 14950, - 15750, - 16400, - 16950, - 17500, - 18000, - 18550, - 19250 - ], - "header": 600 - }, - { - "cells": [ - 21550, - 15000, - 15800, - 16400, - 17000, - 17550, - 18050, - 18650, - 19350 - ], - "header": 700 - }, - { - "cells": [ - 21350, - 15100, - 15900, - 16550, - 17100, - 17650, - 18150, - 18700, - 19450 - ], - "header": 800 - }, - { - "cells": [ - 21150, - 15150, - 16000, - 16600, - 17150, - 17700, - 18250, - 18800, - 19500 - ], - "header": 900 - }, - { - "cells": [ - 20900, - 15200, - 16000, - 16650, - 17300, - 17800, - 18300, - 18900, - 19600 - ], - "header": 1000 - }, - { - "cells": [ - 14500, - 15500, - 16200, - 16900, - 17600, - 18200, - 18800, - 19500, - 20000 - ], - "header": 2000 - }, - { - "cells": [ - 14600, - 15100, - 16000, - 16900, - 17300, - 18300, - 18900, - 19600, - 21200 - ], - "header": 3000 - }, - { - "cells": [ - 14800, - 15100, - 15300, - 15600, - 15800, - 16100, - 16600, - 19300, - 21300 - ], - "header": 4000 - }, - { - "cells": [ - 14900, - 15200, - 15500, - 15700, - 15900, - 16200, - 16600, - 17000, - 21300 - ], - "header": 5000 - }, - { - "cells": [ - 15000, - 15500, - 15750, - 15750, - 16000, - 16250, - 16750, - 17000, - 17500 - ], - "header": 6000 - }, - { - "cells": [ - 15250, - 15500, - 15750, - 16000, - 16250, - 16500, - 16500, - 17000, - 17500 - ], - "header": 7000 - }, - { - "cells": [ - 15250, - 15500, - 15750, - 16000, - 16250, - 16500, - 16750, - 17000, - 18000 - ], - "header": 7500 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/CM_802AKG#/client/MinLaunchDistData" + ] } ], "machMax": 0.9, diff --git a/dcs-world-reference/latest/weapon_flight/C_701IR.json b/dcs-world-reference/latest/weapon_flight/C_701IR.json index c933d8aa..757fd13a 100644 --- a/dcs-world-reference/latest/weapon_flight/C_701IR.json +++ b/dcs-world-reference/latest/weapon_flight/C_701IR.json @@ -15,112 +15,82 @@ }, "batteryLifeS": 110, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 165, - 230, - 300, - 400 + "altitudesM": [ + 50, + 2000, + 5000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 13000, - 14250, - 15000, - 16500, - 19000 - ], - "header": 50 - }, - { - "cells": [ - 14500, - 16000, - 17000, - 18000, - 21000 - ], - "header": 2000 - }, - { - "cells": [ - 16500, - 17500, - 19000, - 21000, - 24000 - ], - "header": 5000 - }, - { - "cells": [ - 17000, - 19000, - 22000, - 25000, - 29000 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 13000, + 14250, + 15000, + 16500, + 19000 + ], + [ + 14500, + 16000, + 17000, + 18000, + 21000 + ], + [ + 16500, + 17500, + 19000, + 21000, + 24000 + ], + [ + 17000, + 19000, + 22000, + 25000, + 29000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/C_701IR#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 1500, + 1500, + 1500, + 1750, + 1750 + ], + [ + 3500, + 3500, + 4000, + 4500, + 5500 + ], + [ + 7000, + 8000, + 8500, + 9000, + 9500 + ], + [ + 11000, + 13000, + 15000, + 16000, + 17000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/C_701IR#/client", + "speedsMs": [ 100, 165, 230, 300, 400 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1500, - 1500, - 1500, - 1750, - 1750 - ], - "header": 50 - }, - { - "cells": [ - 3500, - 3500, - 4000, - 4500, - 5500 - ], - "header": 2000 - }, - { - "cells": [ - 7000, - 8000, - 8500, - 9000, - 9500 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 13000, - 15000, - 16000, - 17000 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/C_701IR#/client/MinLaunchDistData" + ] } ], "machMax": 1.5, diff --git a/dcs-world-reference/latest/weapon_flight/C_701T.json b/dcs-world-reference/latest/weapon_flight/C_701T.json index 21a04002..e2ff54c9 100644 --- a/dcs-world-reference/latest/weapon_flight/C_701T.json +++ b/dcs-world-reference/latest/weapon_flight/C_701T.json @@ -15,112 +15,82 @@ }, "batteryLifeS": 110, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 165, - 230, - 300, - 400 + "altitudesM": [ + 50, + 2000, + 5000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 13000, - 14250, - 15000, - 16500, - 19000 - ], - "header": 50 - }, - { - "cells": [ - 14500, - 16000, - 17000, - 18000, - 21000 - ], - "header": 2000 - }, - { - "cells": [ - 16500, - 17500, - 19000, - 21000, - 24000 - ], - "header": 5000 - }, - { - "cells": [ - 17000, - 19000, - 22000, - 25000, - 29000 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 13000, + 14250, + 15000, + 16500, + 19000 + ], + [ + 14500, + 16000, + 17000, + 18000, + 21000 + ], + [ + 16500, + 17500, + 19000, + 21000, + 24000 + ], + [ + 17000, + 19000, + 22000, + 25000, + 29000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/C_701T#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 1500, + 1500, + 1500, + 1750, + 1750 + ], + [ + 3500, + 3500, + 4000, + 4500, + 5500 + ], + [ + 7000, + 8000, + 8500, + 9000, + 9500 + ], + [ + 11000, + 13000, + 15000, + 16000, + 17000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/C_701T#/client", + "speedsMs": [ 100, 165, 230, 300, 400 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1500, - 1500, - 1500, - 1750, - 1750 - ], - "header": 50 - }, - { - "cells": [ - 3500, - 3500, - 4000, - 4500, - 5500 - ], - "header": 2000 - }, - { - "cells": [ - 7000, - 8000, - 8500, - 9000, - 9500 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 13000, - 15000, - 16000, - 17000 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/C_701T#/client/MinLaunchDistData" + ] } ], "machMax": 1.5, diff --git a/dcs-world-reference/latest/weapon_flight/C_802AK.json b/dcs-world-reference/latest/weapon_flight/C_802AK.json index 6a7ac798..536ff309 100644 --- a/dcs-world-reference/latest/weapon_flight/C_802AK.json +++ b/dcs-world-reference/latest/weapon_flight/C_802AK.json @@ -20,264 +20,407 @@ }, "batteryLifeS": 100000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, 400, - 450, - 500 + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 7500 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 153750, - 158875, - 162725, - 165775, - 168450, - 170975, - 173325, - 175650, - 178325 - ], - "header": 100 - }, - { - "cells": [ - 153525, - 159050, - 162925, - 165925, - 168625, - 171150, - 173500, - 175800, - 178325 - ], - "header": 200 - }, - { - "cells": [ - 153750, - 159250, - 163125, - 166175, - 168850, - 171375, - 173700, - 176000, - 178825 - ], - "header": 300 - }, - { - "cells": [ - 154000, - 159475, - 163375, - 166350, - 169050, - 171600, - 173925, - 176550, - 179025 - ], - "header": 400 - }, - { - "cells": [ - 154250, - 159725, - 163575, - 166575, - 169275, - 171850, - 174150, - 176400, - 178975 - ], - "header": 500 - }, - { - "cells": [ - 154450, - 159950, - 163800, - 166750, - 169500, - 172050, - 174350, - 176600, - 179400 - ], - "header": 600 - }, - { - "cells": [ - 154550, - 160250, - 164050, - 167050, - 169700, - 172300, - 174600, - 176800, - 179200 - ], - "header": 700 - }, - { - "cells": [ - 154800, - 160650, - 164400, - 167350, - 170000, - 172500, - 174750, - 177000, - 179750 - ], - "header": 800 - }, - { - "cells": [ - 155300, - 161100, - 164750, - 167600, - 170250, - 172750, - 174950, - 177150, - 179950 - ], - "header": 900 - }, - { - "cells": [ - 155950, - 161700, - 165150, - 167950, - 170500, - 173000, - 175200, - 177350, - 179950 - ], - "header": 1000 - }, - { - "cells": [ - 161300, - 164300, - 167000, - 169500, - 172000, - 174500, - 176500, - 178900, - 181500 - ], - "header": 2000 - }, - { - "cells": [ - 163500, - 166100, - 168500, - 171000, - 173600, - 176200, - 178200, - 180300, - 182900 - ], - "header": 3000 - }, - { - "cells": [ - 165200, - 167900, - 170100, - 172400, - 174900, - 177800, - 179900, - 181900, - 184600 - ], - "header": 4000 - }, - { - "cells": [ - 166800, - 169500, - 171800, - 174000, - 176300, - 179100, - 181700, - 184500, - 187200 - ], - "header": 5000 - }, - { - "cells": [ - 168000, - 170750, - 174000, - 175500, - 178500, - 180500, - 183750, - 186000, - 189250 - ], - "header": 6000 - }, - { - "cells": [ - 170250, - 173000, - 174750, - 177750, - 180250, - 182750, - 185000, - 188500, - 191250 - ], - "header": 7000 - }, - { - "cells": [ - 171250, - 174000, - 176500, - 178750, - 181250, - 183750, - 186250, - 189000, - 192500 - ], - "header": 7500 - } + "maxRangeM": [ + [ + 153750, + 158875, + 162725, + 165775, + 168450, + 170975, + 173325, + 175650, + 178325 + ], + [ + 153525, + 159050, + 162925, + 165925, + 168625, + 171150, + 173500, + 175800, + 178325 + ], + [ + 153750, + 159250, + 163125, + 166175, + 168850, + 171375, + 173700, + 176000, + 178825 + ], + [ + 154000, + 159475, + 163375, + 166350, + 169050, + 171600, + 173925, + 176550, + 179025 + ], + [ + 154250, + 159725, + 163575, + 166575, + 169275, + 171850, + 174150, + 176400, + 178975 + ], + [ + 154450, + 159950, + 163800, + 166750, + 169500, + 172050, + 174350, + 176600, + 179400 + ], + [ + 154550, + 160250, + 164050, + 167050, + 169700, + 172300, + 174600, + 176800, + 179200 + ], + [ + 154800, + 160650, + 164400, + 167350, + 170000, + 172500, + 174750, + 177000, + 179750 + ], + [ + 155300, + 161100, + 164750, + 167600, + 170250, + 172750, + 174950, + 177150, + 179950 + ], + [ + 155950, + 161700, + 165150, + 167950, + 170500, + 173000, + 175200, + 177350, + 179950 + ], + [ + 161300, + 164300, + 167000, + 169500, + 172000, + 174500, + 176500, + 178900, + 181500 + ], + [ + 163500, + 166100, + 168500, + 171000, + 173600, + 176200, + 178200, + 180300, + 182900 + ], + [ + 165200, + 167900, + 170100, + 172400, + 174900, + 177800, + 179900, + 181900, + 184600 + ], + [ + 166800, + 169500, + 171800, + 174000, + 176300, + 179100, + 181700, + 184500, + 187200 + ], + [ + 168000, + 170750, + 174000, + 175500, + 178500, + 180500, + 183750, + 186000, + 189250 + ], + [ + 170250, + 173000, + 174750, + 177750, + 180250, + 182750, + 185000, + 188500, + 191250 + ], + [ + 171250, + 174000, + 176500, + 178750, + 181250, + 183750, + 186250, + 189000, + 192500 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/C_802AK#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 17375, + 12425, + 12575, + 12950, + 13300, + 13650, + 14025, + 15075, + 18225 + ], + [ + 11675, + 12075, + 12350, + 12600, + 12850, + 13275, + 13500, + 14375, + 15400 + ], + [ + 11700, + 12100, + 12350, + 12650, + 12975, + 13275, + 13575, + 14150, + 19250 + ], + [ + 11725, + 12100, + 12400, + 12800, + 13050, + 13400, + 13650, + 18775, + 19175 + ], + [ + 11750, + 12125, + 12475, + 12850, + 13150, + 13500, + 13775, + 14200, + 15875 + ], + [ + 11750, + 12150, + 12550, + 12900, + 13250, + 13600, + 13850, + 14300, + 19700 + ], + [ + 11750, + 12150, + 12600, + 13000, + 13350, + 13650, + 13950, + 14350, + 14850 + ], + [ + 11800, + 12200, + 12700, + 13050, + 13400, + 13700, + 14050, + 14500, + 19650 + ], + [ + 11800, + 12250, + 12700, + 13100, + 13450, + 13800, + 14100, + 14400, + 19400 + ], + [ + 11850, + 12250, + 12750, + 13150, + 13500, + 13850, + 14200, + 14600, + 17450 + ], + [ + 12400, + 12700, + 12900, + 13200, + 13600, + 14000, + 14400, + 19200, + 20700 + ], + [ + 12400, + 12600, + 12800, + 12900, + 13100, + 13300, + 14400, + 14700, + 16100 + ], + [ + 12500, + 12700, + 12900, + 13000, + 13200, + 13400, + 13600, + 13700, + 15500 + ], + [ + 12600, + 12800, + 13000, + 13200, + 13300, + 13500, + 13700, + 23100, + 24100 + ], + [ + 12750, + 13000, + 24750, + 13250, + 24750, + 19500, + 22000, + 21000, + 27750 + ], + [ + 24250, + 24250, + 13250, + 26250, + 27000, + 27000, + 15500, + 30500, + 29500 + ], + [ + 24750, + 25250, + 26000, + 26250, + 28000, + 29750, + 24000, + 22500, + 32750 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/C_802AK#/client", + "speedsMs": [ 100, 150, 200, @@ -287,249 +430,7 @@ 400, 450, 500 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 17375, - 12425, - 12575, - 12950, - 13300, - 13650, - 14025, - 15075, - 18225 - ], - "header": 100 - }, - { - "cells": [ - 11675, - 12075, - 12350, - 12600, - 12850, - 13275, - 13500, - 14375, - 15400 - ], - "header": 200 - }, - { - "cells": [ - 11700, - 12100, - 12350, - 12650, - 12975, - 13275, - 13575, - 14150, - 19250 - ], - "header": 300 - }, - { - "cells": [ - 11725, - 12100, - 12400, - 12800, - 13050, - 13400, - 13650, - 18775, - 19175 - ], - "header": 400 - }, - { - "cells": [ - 11750, - 12125, - 12475, - 12850, - 13150, - 13500, - 13775, - 14200, - 15875 - ], - "header": 500 - }, - { - "cells": [ - 11750, - 12150, - 12550, - 12900, - 13250, - 13600, - 13850, - 14300, - 19700 - ], - "header": 600 - }, - { - "cells": [ - 11750, - 12150, - 12600, - 13000, - 13350, - 13650, - 13950, - 14350, - 14850 - ], - "header": 700 - }, - { - "cells": [ - 11800, - 12200, - 12700, - 13050, - 13400, - 13700, - 14050, - 14500, - 19650 - ], - "header": 800 - }, - { - "cells": [ - 11800, - 12250, - 12700, - 13100, - 13450, - 13800, - 14100, - 14400, - 19400 - ], - "header": 900 - }, - { - "cells": [ - 11850, - 12250, - 12750, - 13150, - 13500, - 13850, - 14200, - 14600, - 17450 - ], - "header": 1000 - }, - { - "cells": [ - 12400, - 12700, - 12900, - 13200, - 13600, - 14000, - 14400, - 19200, - 20700 - ], - "header": 2000 - }, - { - "cells": [ - 12400, - 12600, - 12800, - 12900, - 13100, - 13300, - 14400, - 14700, - 16100 - ], - "header": 3000 - }, - { - "cells": [ - 12500, - 12700, - 12900, - 13000, - 13200, - 13400, - 13600, - 13700, - 15500 - ], - "header": 4000 - }, - { - "cells": [ - 12600, - 12800, - 13000, - 13200, - 13300, - 13500, - 13700, - 23100, - 24100 - ], - "header": 5000 - }, - { - "cells": [ - 12750, - 13000, - 24750, - 13250, - 24750, - 19500, - 22000, - 21000, - 27750 - ], - "header": 6000 - }, - { - "cells": [ - 24250, - 24250, - 13250, - 26250, - 27000, - 27000, - 15500, - 30500, - 29500 - ], - "header": 7000 - }, - { - "cells": [ - 24750, - 25250, - 26000, - 26250, - 28000, - 29750, - 24000, - 22500, - 32750 - ], - "header": 7500 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/C_802AK#/client/MinLaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/DWS39_MJ1.json b/dcs-world-reference/latest/weapon_flight/DWS39_MJ1.json index 4ab8958b..4e4362f6 100644 --- a/dcs-world-reference/latest/weapon_flight/DWS39_MJ1.json +++ b/dcs-world-reference/latest/weapon_flight/DWS39_MJ1.json @@ -15,9 +15,124 @@ }, "batteryLifeS": 1000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 50, + 100, + 150, + 200, + 250, + 300, + 350, + 400, + 450, + 500 + ], + "maxRangeM": [ + [ + 500, + 2200, + 3000, + 4800, + 6800, + 8800, + 9600, + 10000 + ], + [ + 1200, + 2600, + 4000, + 5800, + 7600, + 9500, + 9800, + 10000 + ], + [ + 1600, + 3000, + 4200, + 6000, + 8000, + 9600, + 9900, + 10000 + ], + [ + 1800, + 3000, + 4400, + 6200, + 8200, + 9600, + 9900, + 10000 + ], + [ + 2000, + 3200, + 4600, + 6200, + 8200, + 9600, + 10000, + 10000 + ], + [ + 2200, + 3300, + 4600, + 6400, + 8400, + 9700, + 10000, + 10000 + ], + [ + 2200, + 3400, + 4700, + 6400, + 8400, + 9800, + 10000, + 10000 + ], + [ + 2400, + 3400, + 4700, + 6600, + 8500, + 9800, + 10000, + 10000 + ], + [ + 2400, + 3400, + 4700, + 6600, + 8500, + 9900, + 10000, + 10000 + ], + [ + 2500, + 3500, + 4800, + 6700, + 8600, + 9900, + 10000, + 10000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/DWS39_MJ1#/client", + "speedsMs": [ 160, 180, 200, @@ -26,141 +141,7 @@ 260, 280, 300 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 500, - 2200, - 3000, - 4800, - 6800, - 8800, - 9600, - 10000 - ], - "header": 50 - }, - { - "cells": [ - 1200, - 2600, - 4000, - 5800, - 7600, - 9500, - 9800, - 10000 - ], - "header": 100 - }, - { - "cells": [ - 1600, - 3000, - 4200, - 6000, - 8000, - 9600, - 9900, - 10000 - ], - "header": 150 - }, - { - "cells": [ - 1800, - 3000, - 4400, - 6200, - 8200, - 9600, - 9900, - 10000 - ], - "header": 200 - }, - { - "cells": [ - 2000, - 3200, - 4600, - 6200, - 8200, - 9600, - 10000, - 10000 - ], - "header": 250 - }, - { - "cells": [ - 2200, - 3300, - 4600, - 6400, - 8400, - 9700, - 10000, - 10000 - ], - "header": 300 - }, - { - "cells": [ - 2200, - 3400, - 4700, - 6400, - 8400, - 9800, - 10000, - 10000 - ], - "header": 350 - }, - { - "cells": [ - 2400, - 3400, - 4700, - 6600, - 8500, - 9800, - 10000, - 10000 - ], - "header": 400 - }, - { - "cells": [ - 2400, - 3400, - 4700, - 6600, - 8500, - 9900, - 10000, - 10000 - ], - "header": 450 - }, - { - "cells": [ - 2500, - 3500, - 4800, - 6700, - 8600, - 9900, - 10000, - 10000 - ], - "header": 500 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/DWS39_MJ1#/client/LaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/DWS39_MJ1_MJ2.json b/dcs-world-reference/latest/weapon_flight/DWS39_MJ1_MJ2.json index 7c54b4ad..bb123213 100644 --- a/dcs-world-reference/latest/weapon_flight/DWS39_MJ1_MJ2.json +++ b/dcs-world-reference/latest/weapon_flight/DWS39_MJ1_MJ2.json @@ -15,9 +15,124 @@ }, "batteryLifeS": 1000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 50, + 100, + 150, + 200, + 250, + 300, + 350, + 400, + 450, + 500 + ], + "maxRangeM": [ + [ + 500, + 2200, + 3000, + 4800, + 6800, + 8800, + 9600, + 10000 + ], + [ + 1200, + 2600, + 4000, + 5800, + 7600, + 9500, + 9800, + 10000 + ], + [ + 1600, + 3000, + 4200, + 6000, + 8000, + 9600, + 9900, + 10000 + ], + [ + 1800, + 3000, + 4400, + 6200, + 8200, + 9600, + 9900, + 10000 + ], + [ + 2000, + 3200, + 4600, + 6200, + 8200, + 9600, + 10000, + 10000 + ], + [ + 2200, + 3300, + 4600, + 6400, + 8400, + 9700, + 10000, + 10000 + ], + [ + 2200, + 3400, + 4700, + 6400, + 8400, + 9800, + 10000, + 10000 + ], + [ + 2400, + 3400, + 4700, + 6600, + 8500, + 9800, + 10000, + 10000 + ], + [ + 2400, + 3400, + 4700, + 6600, + 8500, + 9900, + 10000, + 10000 + ], + [ + 2500, + 3500, + 4800, + 6700, + 8600, + 9900, + 10000, + 10000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/DWS39_MJ1_MJ2#/client", + "speedsMs": [ 160, 180, 200, @@ -26,141 +141,7 @@ 260, 280, 300 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 500, - 2200, - 3000, - 4800, - 6800, - 8800, - 9600, - 10000 - ], - "header": 50 - }, - { - "cells": [ - 1200, - 2600, - 4000, - 5800, - 7600, - 9500, - 9800, - 10000 - ], - "header": 100 - }, - { - "cells": [ - 1600, - 3000, - 4200, - 6000, - 8000, - 9600, - 9900, - 10000 - ], - "header": 150 - }, - { - "cells": [ - 1800, - 3000, - 4400, - 6200, - 8200, - 9600, - 9900, - 10000 - ], - "header": 200 - }, - { - "cells": [ - 2000, - 3200, - 4600, - 6200, - 8200, - 9600, - 10000, - 10000 - ], - "header": 250 - }, - { - "cells": [ - 2200, - 3300, - 4600, - 6400, - 8400, - 9700, - 10000, - 10000 - ], - "header": 300 - }, - { - "cells": [ - 2200, - 3400, - 4700, - 6400, - 8400, - 9800, - 10000, - 10000 - ], - "header": 350 - }, - { - "cells": [ - 2400, - 3400, - 4700, - 6600, - 8500, - 9800, - 10000, - 10000 - ], - "header": 400 - }, - { - "cells": [ - 2400, - 3400, - 4700, - 6600, - 8500, - 9900, - 10000, - 10000 - ], - "header": 450 - }, - { - "cells": [ - 2500, - 3500, - 4800, - 6700, - 8600, - 9900, - 10000, - 10000 - ], - "header": 500 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/DWS39_MJ1_MJ2#/client/LaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/DWS39_MJ2.json b/dcs-world-reference/latest/weapon_flight/DWS39_MJ2.json index 2e795234..53f4bcd8 100644 --- a/dcs-world-reference/latest/weapon_flight/DWS39_MJ2.json +++ b/dcs-world-reference/latest/weapon_flight/DWS39_MJ2.json @@ -15,9 +15,124 @@ }, "batteryLifeS": 1000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 50, + 100, + 150, + 200, + 250, + 300, + 350, + 400, + 450, + 500 + ], + "maxRangeM": [ + [ + 500, + 2200, + 3000, + 4800, + 6800, + 8800, + 9600, + 10000 + ], + [ + 1200, + 2600, + 4000, + 5800, + 7600, + 9500, + 9800, + 10000 + ], + [ + 1600, + 3000, + 4200, + 6000, + 8000, + 9600, + 9900, + 10000 + ], + [ + 1800, + 3000, + 4400, + 6200, + 8200, + 9600, + 9900, + 10000 + ], + [ + 2000, + 3200, + 4600, + 6200, + 8200, + 9600, + 10000, + 10000 + ], + [ + 2200, + 3300, + 4600, + 6400, + 8400, + 9700, + 10000, + 10000 + ], + [ + 2200, + 3400, + 4700, + 6400, + 8400, + 9800, + 10000, + 10000 + ], + [ + 2400, + 3400, + 4700, + 6600, + 8500, + 9800, + 10000, + 10000 + ], + [ + 2400, + 3400, + 4700, + 6600, + 8500, + 9900, + 10000, + 10000 + ], + [ + 2500, + 3500, + 4800, + 6700, + 8600, + 9900, + 10000, + 10000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/DWS39_MJ2#/client", + "speedsMs": [ 160, 180, 200, @@ -26,141 +141,7 @@ 260, 280, 300 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 500, - 2200, - 3000, - 4800, - 6800, - 8800, - 9600, - 10000 - ], - "header": 50 - }, - { - "cells": [ - 1200, - 2600, - 4000, - 5800, - 7600, - 9500, - 9800, - 10000 - ], - "header": 100 - }, - { - "cells": [ - 1600, - 3000, - 4200, - 6000, - 8000, - 9600, - 9900, - 10000 - ], - "header": 150 - }, - { - "cells": [ - 1800, - 3000, - 4400, - 6200, - 8200, - 9600, - 9900, - 10000 - ], - "header": 200 - }, - { - "cells": [ - 2000, - 3200, - 4600, - 6200, - 8200, - 9600, - 10000, - 10000 - ], - "header": 250 - }, - { - "cells": [ - 2200, - 3300, - 4600, - 6400, - 8400, - 9700, - 10000, - 10000 - ], - "header": 300 - }, - { - "cells": [ - 2200, - 3400, - 4700, - 6400, - 8400, - 9800, - 10000, - 10000 - ], - "header": 350 - }, - { - "cells": [ - 2400, - 3400, - 4700, - 6600, - 8500, - 9800, - 10000, - 10000 - ], - "header": 400 - }, - { - "cells": [ - 2400, - 3400, - 4700, - 6600, - 8500, - 9900, - 10000, - 10000 - ], - "header": 450 - }, - { - "cells": [ - 2500, - 3500, - 4800, - 6700, - 8600, - 9900, - 10000, - 10000 - ], - "header": 500 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/DWS39_MJ2#/client/LaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/GB-6-HE.json b/dcs-world-reference/latest/weapon_flight/GB-6-HE.json index 55c2e934..11886002 100644 --- a/dcs-world-reference/latest/weapon_flight/GB-6-HE.json +++ b/dcs-world-reference/latest/weapon_flight/GB-6-HE.json @@ -15,297 +15,466 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 15600, - 18800, - 22600, - 25000, - 26600, - 27700, - 28600 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 10000, - 17200, - 20000, - 23800, - 26200, - 27800, - 28900, - 29900 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 12000, - 18800, - 21200, - 25000, - 27400, - 29000, - 30200, - 31300 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 14000, - 21000, - 26800, - 26800, - 29200, - 31000, - 32000, - 33200 - ], - "header": 1000 - }, - { - "cells": [ - 10800, - 15800, - 21200, - 27600, - 32800, - 32800, - 35600, - 37400, - 38600, - 39800 - ], - "header": 2000 - }, - { - "cells": [ - 18400, - 23400, - 28600, - 34000, - 38800, - 38800, - 41800, - 43600, - 45000, - 46200 - ], - "header": 3000 - }, - { - "cells": [ - 25500, - 30000, - 35500, - 40000, - 44500, - 44500, - 47500, - 49500, - 50500, - 52000 - ], - "header": 4000 - }, - { - "cells": [ - 32000, - 37500, - 42000, - 47000, - 50500, - 50500, - 53500, - 55500, - 57000, - 58500 - ], - "header": 5000 - }, - { - "cells": [ - 39000, - 44000, - 49000, - 54000, - 58500, - 59000, - 59000, - 61500, - 63000, - 65000 - ], - "header": 6000 - }, - { - "cells": [ - 45500, - 50500, - 56000, - 60500, - 64500, - 64500, - 64500, - 67000, - 69000, - 71000 - ], - "header": 7000 - }, - { - "cells": [ - 51750, - 57000, - 62250, - 66750, - 69750, - 69750, - 69750, - 72750, - 75000, - 77250 - ], - "header": 8000 - }, - { - "cells": [ - 57000, - 59250, - 69000, - 73500, - 75000, - 75000, - 75000, - 78750, - 81000, - 83250 - ], - "header": 9000 - }, - { - "cells": [ - 61500, - 64500, - 68250, - 70500, - 79500, - 79500, - 81000, - 82500, - 87000, - 90000 - ], - "header": 10000 - }, - { - "cells": [ - 72750, - 77250, - 81000, - 84750, - 86250, - 87750, - 87750, - 89250, - 92250, - 95250 - ], - "header": 11000 - }, - { - "cells": [ - 79000, - 83000, - 87000, - 90000, - 91000, - 93000, - 94000, - 95000, - 97000, - 100000 - ], - "header": 12000 - }, - { - "cells": [ - 86000, - 90000, - 93000, - 96000, - 97000, - 99000, - 99000, - 100000, - 100000, - 105000 - ], - "header": 13000 - }, - { - "cells": [ - 91000, - 95000, - 99000, - 102000, - 103000, - 105000, - 105000, - 106000, - 106000, - 108000 - ], - "header": 14000 - }, - { - "cells": [ - 97000, - 101000, - 105000, - 107000, - 109000, - 111000, - 111000, - 112000, - 112000, - 113000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 15600, + 18800, + 22600, + 25000, + 26600, + 27700, + 28600 + ], + [ + 0, + 0, + 10000, + 17200, + 20000, + 23800, + 26200, + 27800, + 28900, + 29900 + ], + [ + 0, + 0, + 12000, + 18800, + 21200, + 25000, + 27400, + 29000, + 30200, + 31300 + ], + [ + 0, + 0, + 14000, + 21000, + 26800, + 26800, + 29200, + 31000, + 32000, + 33200 + ], + [ + 10800, + 15800, + 21200, + 27600, + 32800, + 32800, + 35600, + 37400, + 38600, + 39800 + ], + [ + 18400, + 23400, + 28600, + 34000, + 38800, + 38800, + 41800, + 43600, + 45000, + 46200 + ], + [ + 25500, + 30000, + 35500, + 40000, + 44500, + 44500, + 47500, + 49500, + 50500, + 52000 + ], + [ + 32000, + 37500, + 42000, + 47000, + 50500, + 50500, + 53500, + 55500, + 57000, + 58500 + ], + [ + 39000, + 44000, + 49000, + 54000, + 58500, + 59000, + 59000, + 61500, + 63000, + 65000 + ], + [ + 45500, + 50500, + 56000, + 60500, + 64500, + 64500, + 64500, + 67000, + 69000, + 71000 + ], + [ + 51750, + 57000, + 62250, + 66750, + 69750, + 69750, + 69750, + 72750, + 75000, + 77250 + ], + [ + 57000, + 59250, + 69000, + 73500, + 75000, + 75000, + 75000, + 78750, + 81000, + 83250 + ], + [ + 61500, + 64500, + 68250, + 70500, + 79500, + 79500, + 81000, + 82500, + 87000, + 90000 + ], + [ + 72750, + 77250, + 81000, + 84750, + 86250, + 87750, + 87750, + 89250, + 92250, + 95250 + ], + [ + 79000, + 83000, + 87000, + 90000, + 91000, + 93000, + 94000, + 95000, + 97000, + 100000 + ], + [ + 86000, + 90000, + 93000, + 96000, + 97000, + 99000, + 99000, + 100000, + 100000, + 105000 + ], + [ + 91000, + 95000, + 99000, + 102000, + 103000, + 105000, + 105000, + 106000, + 106000, + 108000 + ], + [ + 97000, + 101000, + 105000, + 107000, + 109000, + 111000, + 111000, + 112000, + 112000, + 113000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/GB-6-HE#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 9000, + 9300, + 9500, + 9700, + 9800, + 9900, + 9900 + ], + [ + 0, + 0, + 8600, + 9200, + 9300, + 9600, + 9800, + 9900, + 10000, + 10000 + ], + [ + 0, + 0, + 8800, + 9300, + 9400, + 9700, + 10000, + 10300, + 10800, + 10800 + ], + [ + 0, + 0, + 8800, + 9400, + 9800, + 10400, + 11600, + 12000, + 12000, + 12400 + ], + [ + 8600, + 9000, + 9400, + 9800, + 10200, + 10200, + 12400, + 12800, + 13400, + 15000 + ], + [ + 9200, + 9600, + 9800, + 10200, + 10600, + 10600, + 13600, + 14000, + 14000, + 14000 + ], + [ + 10000, + 10000, + 10500, + 11000, + 11000, + 11000, + 11500, + 13000, + 11500, + 12000 + ], + [ + 10500, + 10500, + 11000, + 11500, + 11500, + 11500, + 12000, + 12000, + 12000, + 12000 + ], + [ + 11000, + 11000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12500, + 12500, + 12500 + ], + [ + 12000, + 13500, + 14000, + 13500, + 12500, + 12500, + 12500, + 13500, + 13000, + 13000 + ], + [ + 14250, + 15000, + 15000, + 15000, + 12750, + 12750, + 12750, + 15000, + 15000, + 14250 + ], + [ + 15000, + 15750, + 15750, + 15000, + 14250, + 13500, + 13500, + 17250, + 18000, + 15750 + ], + [ + 15000, + 15000, + 15750, + 15000, + 14250, + 13500, + 18000, + 18750, + 19500, + 18750 + ], + [ + 15750, + 16500, + 15750, + 15000, + 15000, + 18000, + 19500, + 20250, + 21750, + 21000 + ], + [ + 16000, + 16000, + 16000, + 16000, + 15000, + 20000, + 21000, + 22000, + 23000, + 23000 + ], + [ + 17000, + 17000, + 16000, + 20000, + 21000, + 22000, + 23000, + 24000, + 24000, + 25000 + ], + [ + 17000, + 17000, + 21000, + 22000, + 23000, + 25000, + 25000, + 26000, + 26000, + 27000 + ], + [ + 17000, + 22000, + 24000, + 25000, + 26000, + 26000, + 27000, + 28000, + 28000, + 29000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/GB-6-HE#/client", + "speedsMs": [ 100, 150, 200, @@ -316,281 +485,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 9000, - 9300, - 9500, - 9700, - 9800, - 9900, - 9900 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 8600, - 9200, - 9300, - 9600, - 9800, - 9900, - 10000, - 10000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8800, - 9300, - 9400, - 9700, - 10000, - 10300, - 10800, - 10800 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 8800, - 9400, - 9800, - 10400, - 11600, - 12000, - 12000, - 12400 - ], - "header": 1000 - }, - { - "cells": [ - 8600, - 9000, - 9400, - 9800, - 10200, - 10200, - 12400, - 12800, - 13400, - 15000 - ], - "header": 2000 - }, - { - "cells": [ - 9200, - 9600, - 9800, - 10200, - 10600, - 10600, - 13600, - 14000, - 14000, - 14000 - ], - "header": 3000 - }, - { - "cells": [ - 10000, - 10000, - 10500, - 11000, - 11000, - 11000, - 11500, - 13000, - 11500, - 12000 - ], - "header": 4000 - }, - { - "cells": [ - 10500, - 10500, - 11000, - 11500, - 11500, - 11500, - 12000, - 12000, - 12000, - 12000 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 11000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12500, - 12500, - 12500 - ], - "header": 6000 - }, - { - "cells": [ - 12000, - 13500, - 14000, - 13500, - 12500, - 12500, - 12500, - 13500, - 13000, - 13000 - ], - "header": 7000 - }, - { - "cells": [ - 14250, - 15000, - 15000, - 15000, - 12750, - 12750, - 12750, - 15000, - 15000, - 14250 - ], - "header": 8000 - }, - { - "cells": [ - 15000, - 15750, - 15750, - 15000, - 14250, - 13500, - 13500, - 17250, - 18000, - 15750 - ], - "header": 9000 - }, - { - "cells": [ - 15000, - 15000, - 15750, - 15000, - 14250, - 13500, - 18000, - 18750, - 19500, - 18750 - ], - "header": 10000 - }, - { - "cells": [ - 15750, - 16500, - 15750, - 15000, - 15000, - 18000, - 19500, - 20250, - 21750, - 21000 - ], - "header": 11000 - }, - { - "cells": [ - 16000, - 16000, - 16000, - 16000, - 15000, - 20000, - 21000, - 22000, - 23000, - 23000 - ], - "header": 12000 - }, - { - "cells": [ - 17000, - 17000, - 16000, - 20000, - 21000, - 22000, - 23000, - 24000, - 24000, - 25000 - ], - "header": 13000 - }, - { - "cells": [ - 17000, - 17000, - 21000, - 22000, - 23000, - 25000, - 25000, - 26000, - 26000, - 27000 - ], - "header": 14000 - }, - { - "cells": [ - 17000, - 22000, - 24000, - 25000, - 26000, - 26000, - 27000, - 28000, - 28000, - 29000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/GB-6-HE#/client/MinLaunchDistData" + ] } ], "machMax": 1.7, diff --git a/dcs-world-reference/latest/weapon_flight/GB-6-SFW.json b/dcs-world-reference/latest/weapon_flight/GB-6-SFW.json index c04991dd..ebbadb39 100644 --- a/dcs-world-reference/latest/weapon_flight/GB-6-SFW.json +++ b/dcs-world-reference/latest/weapon_flight/GB-6-SFW.json @@ -15,297 +15,466 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 15600, - 18800, - 22600, - 25000, - 26600, - 27700, - 28600 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 10000, - 17200, - 20000, - 23800, - 26200, - 27800, - 28900, - 29900 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 12000, - 18800, - 21200, - 25000, - 27400, - 29000, - 30200, - 31300 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 14000, - 21000, - 26800, - 26800, - 29200, - 31000, - 32000, - 33200 - ], - "header": 1000 - }, - { - "cells": [ - 10800, - 15800, - 21200, - 27600, - 32800, - 32800, - 35600, - 37400, - 38600, - 39800 - ], - "header": 2000 - }, - { - "cells": [ - 18400, - 23400, - 28600, - 34000, - 38800, - 38800, - 41800, - 43600, - 45000, - 46200 - ], - "header": 3000 - }, - { - "cells": [ - 25500, - 30000, - 35500, - 40000, - 44500, - 44500, - 47500, - 49500, - 50500, - 52000 - ], - "header": 4000 - }, - { - "cells": [ - 32000, - 37500, - 42000, - 47000, - 50500, - 50500, - 53500, - 55500, - 57000, - 58500 - ], - "header": 5000 - }, - { - "cells": [ - 39000, - 44000, - 49000, - 54000, - 58500, - 59000, - 59000, - 61500, - 63000, - 65000 - ], - "header": 6000 - }, - { - "cells": [ - 45500, - 50500, - 56000, - 60500, - 64500, - 64500, - 64500, - 67000, - 69000, - 71000 - ], - "header": 7000 - }, - { - "cells": [ - 51750, - 57000, - 62250, - 66750, - 69750, - 69750, - 69750, - 72750, - 75000, - 77250 - ], - "header": 8000 - }, - { - "cells": [ - 57000, - 59250, - 69000, - 73500, - 75000, - 75000, - 75000, - 78750, - 81000, - 83250 - ], - "header": 9000 - }, - { - "cells": [ - 61500, - 64500, - 68250, - 70500, - 79500, - 79500, - 81000, - 82500, - 87000, - 90000 - ], - "header": 10000 - }, - { - "cells": [ - 72750, - 77250, - 81000, - 84750, - 86250, - 87750, - 87750, - 89250, - 92250, - 95250 - ], - "header": 11000 - }, - { - "cells": [ - 79000, - 83000, - 87000, - 90000, - 91000, - 93000, - 94000, - 95000, - 97000, - 100000 - ], - "header": 12000 - }, - { - "cells": [ - 86000, - 90000, - 93000, - 96000, - 97000, - 99000, - 99000, - 100000, - 100000, - 105000 - ], - "header": 13000 - }, - { - "cells": [ - 91000, - 95000, - 99000, - 102000, - 103000, - 105000, - 105000, - 106000, - 106000, - 108000 - ], - "header": 14000 - }, - { - "cells": [ - 97000, - 101000, - 105000, - 107000, - 109000, - 111000, - 111000, - 112000, - 112000, - 113000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 15600, + 18800, + 22600, + 25000, + 26600, + 27700, + 28600 + ], + [ + 0, + 0, + 10000, + 17200, + 20000, + 23800, + 26200, + 27800, + 28900, + 29900 + ], + [ + 0, + 0, + 12000, + 18800, + 21200, + 25000, + 27400, + 29000, + 30200, + 31300 + ], + [ + 0, + 0, + 14000, + 21000, + 26800, + 26800, + 29200, + 31000, + 32000, + 33200 + ], + [ + 10800, + 15800, + 21200, + 27600, + 32800, + 32800, + 35600, + 37400, + 38600, + 39800 + ], + [ + 18400, + 23400, + 28600, + 34000, + 38800, + 38800, + 41800, + 43600, + 45000, + 46200 + ], + [ + 25500, + 30000, + 35500, + 40000, + 44500, + 44500, + 47500, + 49500, + 50500, + 52000 + ], + [ + 32000, + 37500, + 42000, + 47000, + 50500, + 50500, + 53500, + 55500, + 57000, + 58500 + ], + [ + 39000, + 44000, + 49000, + 54000, + 58500, + 59000, + 59000, + 61500, + 63000, + 65000 + ], + [ + 45500, + 50500, + 56000, + 60500, + 64500, + 64500, + 64500, + 67000, + 69000, + 71000 + ], + [ + 51750, + 57000, + 62250, + 66750, + 69750, + 69750, + 69750, + 72750, + 75000, + 77250 + ], + [ + 57000, + 59250, + 69000, + 73500, + 75000, + 75000, + 75000, + 78750, + 81000, + 83250 + ], + [ + 61500, + 64500, + 68250, + 70500, + 79500, + 79500, + 81000, + 82500, + 87000, + 90000 + ], + [ + 72750, + 77250, + 81000, + 84750, + 86250, + 87750, + 87750, + 89250, + 92250, + 95250 + ], + [ + 79000, + 83000, + 87000, + 90000, + 91000, + 93000, + 94000, + 95000, + 97000, + 100000 + ], + [ + 86000, + 90000, + 93000, + 96000, + 97000, + 99000, + 99000, + 100000, + 100000, + 105000 + ], + [ + 91000, + 95000, + 99000, + 102000, + 103000, + 105000, + 105000, + 106000, + 106000, + 108000 + ], + [ + 97000, + 101000, + 105000, + 107000, + 109000, + 111000, + 111000, + 112000, + 112000, + 113000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/GB-6-SFW#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 9000, + 9300, + 9500, + 9700, + 9800, + 9900, + 9900 + ], + [ + 0, + 0, + 8600, + 9200, + 9300, + 9600, + 9800, + 9900, + 10000, + 10000 + ], + [ + 0, + 0, + 8800, + 9300, + 9400, + 9700, + 10000, + 10300, + 10800, + 10800 + ], + [ + 0, + 0, + 8800, + 9400, + 9800, + 10400, + 11600, + 12000, + 12000, + 12400 + ], + [ + 8600, + 9000, + 9400, + 9800, + 10200, + 10200, + 12400, + 12800, + 13400, + 15000 + ], + [ + 9200, + 9600, + 9800, + 10200, + 10600, + 10600, + 13600, + 14000, + 14000, + 14000 + ], + [ + 10000, + 10000, + 10500, + 11000, + 11000, + 11000, + 11500, + 13000, + 11500, + 12000 + ], + [ + 10500, + 10500, + 11000, + 11500, + 11500, + 11500, + 12000, + 12000, + 12000, + 12000 + ], + [ + 11000, + 11000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12500, + 12500, + 12500 + ], + [ + 12000, + 13500, + 14000, + 13500, + 12500, + 12500, + 12500, + 13500, + 13000, + 13000 + ], + [ + 14250, + 15000, + 15000, + 15000, + 12750, + 12750, + 12750, + 15000, + 15000, + 14250 + ], + [ + 15000, + 15750, + 15750, + 15000, + 14250, + 13500, + 13500, + 17250, + 18000, + 15750 + ], + [ + 15000, + 15000, + 15750, + 15000, + 14250, + 13500, + 18000, + 18750, + 19500, + 18750 + ], + [ + 15750, + 16500, + 15750, + 15000, + 15000, + 18000, + 19500, + 20250, + 21750, + 21000 + ], + [ + 16000, + 16000, + 16000, + 16000, + 15000, + 20000, + 21000, + 22000, + 23000, + 23000 + ], + [ + 17000, + 17000, + 16000, + 20000, + 21000, + 22000, + 23000, + 24000, + 24000, + 25000 + ], + [ + 17000, + 17000, + 21000, + 22000, + 23000, + 25000, + 25000, + 26000, + 26000, + 27000 + ], + [ + 17000, + 22000, + 24000, + 25000, + 26000, + 26000, + 27000, + 28000, + 28000, + 29000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/GB-6-SFW#/client", + "speedsMs": [ 100, 150, 200, @@ -316,281 +485,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 9000, - 9300, - 9500, - 9700, - 9800, - 9900, - 9900 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 8600, - 9200, - 9300, - 9600, - 9800, - 9900, - 10000, - 10000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8800, - 9300, - 9400, - 9700, - 10000, - 10300, - 10800, - 10800 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 8800, - 9400, - 9800, - 10400, - 11600, - 12000, - 12000, - 12400 - ], - "header": 1000 - }, - { - "cells": [ - 8600, - 9000, - 9400, - 9800, - 10200, - 10200, - 12400, - 12800, - 13400, - 15000 - ], - "header": 2000 - }, - { - "cells": [ - 9200, - 9600, - 9800, - 10200, - 10600, - 10600, - 13600, - 14000, - 14000, - 14000 - ], - "header": 3000 - }, - { - "cells": [ - 10000, - 10000, - 10500, - 11000, - 11000, - 11000, - 11500, - 13000, - 11500, - 12000 - ], - "header": 4000 - }, - { - "cells": [ - 10500, - 10500, - 11000, - 11500, - 11500, - 11500, - 12000, - 12000, - 12000, - 12000 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 11000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12500, - 12500, - 12500 - ], - "header": 6000 - }, - { - "cells": [ - 12000, - 13500, - 14000, - 13500, - 12500, - 12500, - 12500, - 13500, - 13000, - 13000 - ], - "header": 7000 - }, - { - "cells": [ - 14250, - 15000, - 15000, - 15000, - 12750, - 12750, - 12750, - 15000, - 15000, - 14250 - ], - "header": 8000 - }, - { - "cells": [ - 15000, - 15750, - 15750, - 15000, - 14250, - 13500, - 13500, - 17250, - 18000, - 15750 - ], - "header": 9000 - }, - { - "cells": [ - 15000, - 15000, - 15750, - 15000, - 14250, - 13500, - 18000, - 18750, - 19500, - 18750 - ], - "header": 10000 - }, - { - "cells": [ - 15750, - 16500, - 15750, - 15000, - 15000, - 18000, - 19500, - 20250, - 21750, - 21000 - ], - "header": 11000 - }, - { - "cells": [ - 16000, - 16000, - 16000, - 16000, - 15000, - 20000, - 21000, - 22000, - 23000, - 23000 - ], - "header": 12000 - }, - { - "cells": [ - 17000, - 17000, - 16000, - 20000, - 21000, - 22000, - 23000, - 24000, - 24000, - 25000 - ], - "header": 13000 - }, - { - "cells": [ - 17000, - 17000, - 21000, - 22000, - 23000, - 25000, - 25000, - 26000, - 26000, - 27000 - ], - "header": 14000 - }, - { - "cells": [ - 17000, - 22000, - 24000, - 25000, - 26000, - 26000, - 27000, - 28000, - 28000, - 29000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/GB-6-SFW#/client/MinLaunchDistData" + ] } ], "machMax": 1.7, diff --git a/dcs-world-reference/latest/weapon_flight/GB-6.json b/dcs-world-reference/latest/weapon_flight/GB-6.json index 31fd9771..f300f759 100644 --- a/dcs-world-reference/latest/weapon_flight/GB-6.json +++ b/dcs-world-reference/latest/weapon_flight/GB-6.json @@ -15,297 +15,466 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 15600, - 18800, - 22600, - 25000, - 26600, - 27700, - 28600 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 10000, - 17200, - 20000, - 23800, - 26200, - 27800, - 28900, - 29900 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 12000, - 18800, - 21200, - 25000, - 27400, - 29000, - 30200, - 31300 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 14000, - 21000, - 26800, - 26800, - 29200, - 31000, - 32000, - 33200 - ], - "header": 1000 - }, - { - "cells": [ - 10800, - 15800, - 21200, - 27600, - 32800, - 32800, - 35600, - 37400, - 38600, - 39800 - ], - "header": 2000 - }, - { - "cells": [ - 18400, - 23400, - 28600, - 34000, - 38800, - 38800, - 41800, - 43600, - 45000, - 46200 - ], - "header": 3000 - }, - { - "cells": [ - 25500, - 30000, - 35500, - 40000, - 44500, - 44500, - 47500, - 49500, - 50500, - 52000 - ], - "header": 4000 - }, - { - "cells": [ - 32000, - 37500, - 42000, - 47000, - 50500, - 50500, - 53500, - 55500, - 57000, - 58500 - ], - "header": 5000 - }, - { - "cells": [ - 39000, - 44000, - 49000, - 54000, - 58500, - 59000, - 59000, - 61500, - 63000, - 65000 - ], - "header": 6000 - }, - { - "cells": [ - 45500, - 50500, - 56000, - 60500, - 64500, - 64500, - 64500, - 67000, - 69000, - 71000 - ], - "header": 7000 - }, - { - "cells": [ - 51750, - 57000, - 62250, - 66750, - 69750, - 69750, - 69750, - 72750, - 75000, - 77250 - ], - "header": 8000 - }, - { - "cells": [ - 57000, - 59250, - 69000, - 73500, - 75000, - 75000, - 75000, - 78750, - 81000, - 83250 - ], - "header": 9000 - }, - { - "cells": [ - 61500, - 64500, - 68250, - 70500, - 79500, - 79500, - 81000, - 82500, - 87000, - 90000 - ], - "header": 10000 - }, - { - "cells": [ - 72750, - 77250, - 81000, - 84750, - 86250, - 87750, - 87750, - 89250, - 92250, - 95250 - ], - "header": 11000 - }, - { - "cells": [ - 79000, - 83000, - 87000, - 90000, - 91000, - 93000, - 94000, - 95000, - 97000, - 100000 - ], - "header": 12000 - }, - { - "cells": [ - 86000, - 90000, - 93000, - 96000, - 97000, - 99000, - 99000, - 100000, - 100000, - 105000 - ], - "header": 13000 - }, - { - "cells": [ - 91000, - 95000, - 99000, - 102000, - 103000, - 105000, - 105000, - 106000, - 106000, - 108000 - ], - "header": 14000 - }, - { - "cells": [ - 97000, - 101000, - 105000, - 107000, - 109000, - 111000, - 111000, - 112000, - 112000, - 113000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 15600, + 18800, + 22600, + 25000, + 26600, + 27700, + 28600 + ], + [ + 0, + 0, + 10000, + 17200, + 20000, + 23800, + 26200, + 27800, + 28900, + 29900 + ], + [ + 0, + 0, + 12000, + 18800, + 21200, + 25000, + 27400, + 29000, + 30200, + 31300 + ], + [ + 0, + 0, + 14000, + 21000, + 26800, + 26800, + 29200, + 31000, + 32000, + 33200 + ], + [ + 10800, + 15800, + 21200, + 27600, + 32800, + 32800, + 35600, + 37400, + 38600, + 39800 + ], + [ + 18400, + 23400, + 28600, + 34000, + 38800, + 38800, + 41800, + 43600, + 45000, + 46200 + ], + [ + 25500, + 30000, + 35500, + 40000, + 44500, + 44500, + 47500, + 49500, + 50500, + 52000 + ], + [ + 32000, + 37500, + 42000, + 47000, + 50500, + 50500, + 53500, + 55500, + 57000, + 58500 + ], + [ + 39000, + 44000, + 49000, + 54000, + 58500, + 59000, + 59000, + 61500, + 63000, + 65000 + ], + [ + 45500, + 50500, + 56000, + 60500, + 64500, + 64500, + 64500, + 67000, + 69000, + 71000 + ], + [ + 51750, + 57000, + 62250, + 66750, + 69750, + 69750, + 69750, + 72750, + 75000, + 77250 + ], + [ + 57000, + 59250, + 69000, + 73500, + 75000, + 75000, + 75000, + 78750, + 81000, + 83250 + ], + [ + 61500, + 64500, + 68250, + 70500, + 79500, + 79500, + 81000, + 82500, + 87000, + 90000 + ], + [ + 72750, + 77250, + 81000, + 84750, + 86250, + 87750, + 87750, + 89250, + 92250, + 95250 + ], + [ + 79000, + 83000, + 87000, + 90000, + 91000, + 93000, + 94000, + 95000, + 97000, + 100000 + ], + [ + 86000, + 90000, + 93000, + 96000, + 97000, + 99000, + 99000, + 100000, + 100000, + 105000 + ], + [ + 91000, + 95000, + 99000, + 102000, + 103000, + 105000, + 105000, + 106000, + 106000, + 108000 + ], + [ + 97000, + 101000, + 105000, + 107000, + 109000, + 111000, + 111000, + 112000, + 112000, + 113000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/GB-6#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 9000, + 9300, + 9500, + 9700, + 9800, + 9900, + 9900 + ], + [ + 0, + 0, + 8600, + 9200, + 9300, + 9600, + 9800, + 9900, + 10000, + 10000 + ], + [ + 0, + 0, + 8800, + 9300, + 9400, + 9700, + 10000, + 10300, + 10800, + 10800 + ], + [ + 0, + 0, + 8800, + 9400, + 9800, + 10400, + 11600, + 12000, + 12000, + 12400 + ], + [ + 8600, + 9000, + 9400, + 9800, + 10200, + 10200, + 12400, + 12800, + 13400, + 15000 + ], + [ + 9200, + 9600, + 9800, + 10200, + 10600, + 10600, + 13600, + 14000, + 14000, + 14000 + ], + [ + 10000, + 10000, + 10500, + 11000, + 11000, + 11000, + 11500, + 13000, + 11500, + 12000 + ], + [ + 10500, + 10500, + 11000, + 11500, + 11500, + 11500, + 12000, + 12000, + 12000, + 12000 + ], + [ + 11000, + 11000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12500, + 12500, + 12500 + ], + [ + 12000, + 13500, + 14000, + 13500, + 12500, + 12500, + 12500, + 13500, + 13000, + 13000 + ], + [ + 14250, + 15000, + 15000, + 15000, + 12750, + 12750, + 12750, + 15000, + 15000, + 14250 + ], + [ + 15000, + 15750, + 15750, + 15000, + 14250, + 13500, + 13500, + 17250, + 18000, + 15750 + ], + [ + 15000, + 15000, + 15750, + 15000, + 14250, + 13500, + 18000, + 18750, + 19500, + 18750 + ], + [ + 15750, + 16500, + 15750, + 15000, + 15000, + 18000, + 19500, + 20250, + 21750, + 21000 + ], + [ + 16000, + 16000, + 16000, + 16000, + 15000, + 20000, + 21000, + 22000, + 23000, + 23000 + ], + [ + 17000, + 17000, + 16000, + 20000, + 21000, + 22000, + 23000, + 24000, + 24000, + 25000 + ], + [ + 17000, + 17000, + 21000, + 22000, + 23000, + 25000, + 25000, + 26000, + 26000, + 27000 + ], + [ + 17000, + 22000, + 24000, + 25000, + 26000, + 26000, + 27000, + 28000, + 28000, + 29000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/GB-6#/client", + "speedsMs": [ 100, 150, 200, @@ -316,281 +485,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 9000, - 9300, - 9500, - 9700, - 9800, - 9900, - 9900 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 8600, - 9200, - 9300, - 9600, - 9800, - 9900, - 10000, - 10000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8800, - 9300, - 9400, - 9700, - 10000, - 10300, - 10800, - 10800 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 8800, - 9400, - 9800, - 10400, - 11600, - 12000, - 12000, - 12400 - ], - "header": 1000 - }, - { - "cells": [ - 8600, - 9000, - 9400, - 9800, - 10200, - 10200, - 12400, - 12800, - 13400, - 15000 - ], - "header": 2000 - }, - { - "cells": [ - 9200, - 9600, - 9800, - 10200, - 10600, - 10600, - 13600, - 14000, - 14000, - 14000 - ], - "header": 3000 - }, - { - "cells": [ - 10000, - 10000, - 10500, - 11000, - 11000, - 11000, - 11500, - 13000, - 11500, - 12000 - ], - "header": 4000 - }, - { - "cells": [ - 10500, - 10500, - 11000, - 11500, - 11500, - 11500, - 12000, - 12000, - 12000, - 12000 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 11000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12500, - 12500, - 12500 - ], - "header": 6000 - }, - { - "cells": [ - 12000, - 13500, - 14000, - 13500, - 12500, - 12500, - 12500, - 13500, - 13000, - 13000 - ], - "header": 7000 - }, - { - "cells": [ - 14250, - 15000, - 15000, - 15000, - 12750, - 12750, - 12750, - 15000, - 15000, - 14250 - ], - "header": 8000 - }, - { - "cells": [ - 15000, - 15750, - 15750, - 15000, - 14250, - 13500, - 13500, - 17250, - 18000, - 15750 - ], - "header": 9000 - }, - { - "cells": [ - 15000, - 15000, - 15750, - 15000, - 14250, - 13500, - 18000, - 18750, - 19500, - 18750 - ], - "header": 10000 - }, - { - "cells": [ - 15750, - 16500, - 15750, - 15000, - 15000, - 18000, - 19500, - 20250, - 21750, - 21000 - ], - "header": 11000 - }, - { - "cells": [ - 16000, - 16000, - 16000, - 16000, - 15000, - 20000, - 21000, - 22000, - 23000, - 23000 - ], - "header": 12000 - }, - { - "cells": [ - 17000, - 17000, - 16000, - 20000, - 21000, - 22000, - 23000, - 24000, - 24000, - 25000 - ], - "header": 13000 - }, - { - "cells": [ - 17000, - 17000, - 21000, - 22000, - 23000, - 25000, - 25000, - 26000, - 26000, - 27000 - ], - "header": 14000 - }, - { - "cells": [ - 17000, - 22000, - 24000, - 25000, - 26000, - 26000, - 27000, - 28000, - 28000, - 29000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/GB-6#/client/MinLaunchDistData" + ] } ], "machMax": 1.7, diff --git a/dcs-world-reference/latest/weapon_flight/GBU_15_V_1_B.json b/dcs-world-reference/latest/weapon_flight/GBU_15_V_1_B.json index 15ae893a..35eb85de 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_15_V_1_B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_15_V_1_B.json @@ -19,292 +19,453 @@ "operatingTime": 999, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_1_B#/client/ap" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, + "altitudesM": [ + 100, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 800, - 1200, - 5400, - 8200, - 10600, - 12400, - 14000, - 15600, - 17000 - ], - "header": 100 - }, - { - "cells": [ - 1200, - 2000, - 5800, - 8400, - 10800, - 12800, - 14400, - 15800, - 17400 - ], - "header": 200 - }, - { - "cells": [ - 1600, - 3600, - 6000, - 8800, - 11000, - 13000, - 14600, - 16000, - 17600 - ], - "header": 300 - }, - { - "cells": [ - 2000, - 3800, - 6400, - 9000, - 11200, - 13200, - 14800, - 16400, - 17800 - ], - "header": 400 - }, - { - "cells": [ - 2400, - 4200, - 6600, - 9200, - 11600, - 13400, - 15000, - 16600, - 18000 - ], - "header": 500 - }, - { - "cells": [ - 2600, - 4400, - 6800, - 9400, - 11800, - 13800, - 15400, - 16800, - 18400 - ], - "header": 600 - }, - { - "cells": [ - 2800, - 4800, - 7000, - 9600, - 12000, - 14000, - 15600, - 17000, - 18600 - ], - "header": 700 - }, - { - "cells": [ - 3200, - 5000, - 7200, - 9800, - 12200, - 14200, - 15800, - 17400, - 18800 - ], - "header": 800 - }, - { - "cells": [ - 3400, - 5200, - 7600, - 10000, - 12400, - 14400, - 16000, - 17600, - 19200 - ], - "header": 900 - }, - { - "cells": [ - 3600, - 5400, - 7800, - 10400, - 12600, - 14600, - 16200, - 17800, - 19400 - ], - "header": 1000 - }, - { - "cells": [ - 5200, - 8400, - 11400, - 13800, - 15400, - 16600, - 17600, - 18400, - 19200 - ], - "header": 2000 - }, - { - "cells": [ - 6400, - 10200, - 13600, - 16400, - 18400, - 20000, - 21400, - 22600, - 23800 - ], - "header": 3000 - }, - { - "cells": [ - 7000, - 11800, - 15200, - 18200, - 20600, - 22200, - 23600, - 25000, - 25800 - ], - "header": 4000 - }, - { - "cells": [ - 8400, - 12800, - 16400, - 19400, - 21600, - 23200, - 24600, - 25600, - 26200 - ], - "header": 5000 - }, - { - "cells": [ - 9800, - 13800, - 17000, - 20000, - 22000, - 23600, - 24800, - 25800, - 27400 - ], - "header": 6000 - }, - { - "cells": [ - 11200, - 14600, - 17600, - 20400, - 22400, - 24000, - 25200, - 26800, - 28600 - ], - "header": 7000 - }, - { - "cells": [ - 12800, - 15600, - 18400, - 21000, - 22800, - 24400, - 26000, - 27800, - 29600 - ], - "header": 8000 - }, - { - "cells": [ - 14200, - 16600, - 19000, - 21200, - 23600, - 25200, - 26800, - 28800, - 30800 - ], - "header": 9000 - }, - { - "cells": [ - 15400, - 17400, - 19600, - 21800, - 24000, - 25800, - 27600, - 29800, - 32000 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 800, + 1200, + 5400, + 8200, + 10600, + 12400, + 14000, + 15600, + 17000 + ], + [ + 1200, + 2000, + 5800, + 8400, + 10800, + 12800, + 14400, + 15800, + 17400 + ], + [ + 1600, + 3600, + 6000, + 8800, + 11000, + 13000, + 14600, + 16000, + 17600 + ], + [ + 2000, + 3800, + 6400, + 9000, + 11200, + 13200, + 14800, + 16400, + 17800 + ], + [ + 2400, + 4200, + 6600, + 9200, + 11600, + 13400, + 15000, + 16600, + 18000 + ], + [ + 2600, + 4400, + 6800, + 9400, + 11800, + 13800, + 15400, + 16800, + 18400 + ], + [ + 2800, + 4800, + 7000, + 9600, + 12000, + 14000, + 15600, + 17000, + 18600 + ], + [ + 3200, + 5000, + 7200, + 9800, + 12200, + 14200, + 15800, + 17400, + 18800 + ], + [ + 3400, + 5200, + 7600, + 10000, + 12400, + 14400, + 16000, + 17600, + 19200 + ], + [ + 3600, + 5400, + 7800, + 10400, + 12600, + 14600, + 16200, + 17800, + 19400 + ], + [ + 5200, + 8400, + 11400, + 13800, + 15400, + 16600, + 17600, + 18400, + 19200 + ], + [ + 6400, + 10200, + 13600, + 16400, + 18400, + 20000, + 21400, + 22600, + 23800 + ], + [ + 7000, + 11800, + 15200, + 18200, + 20600, + 22200, + 23600, + 25000, + 25800 + ], + [ + 8400, + 12800, + 16400, + 19400, + 21600, + 23200, + 24600, + 25600, + 26200 + ], + [ + 9800, + 13800, + 17000, + 20000, + 22000, + 23600, + 24800, + 25800, + 27400 + ], + [ + 11200, + 14600, + 17600, + 20400, + 22400, + 24000, + 25200, + 26800, + 28600 + ], + [ + 12800, + 15600, + 18400, + 21000, + 22800, + 24400, + 26000, + 27800, + 29600 + ], + [ + 14200, + 16600, + 19000, + 21200, + 23600, + 25200, + 26800, + 28800, + 30800 + ], + [ + 15400, + 17400, + 19600, + 21800, + 24000, + 25800, + 27600, + 29800, + 32000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_1_B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 650, + 850, + 1000, + 1150, + 1300, + 1500, + 1800, + 2050, + 2350 + ], + [ + 850, + 1050, + 1250, + 1450, + 1600, + 1800, + 2350, + 2850, + 3300 + ], + [ + 1000, + 1200, + 1450, + 1650, + 1850, + 2050, + 2350, + 3100, + 3700 + ], + [ + 1100, + 1350, + 1600, + 1800, + 2000, + 2200, + 2550, + 3200, + 3850 + ], + [ + 1250, + 1450, + 1700, + 1950, + 2150, + 2400, + 2750, + 3150, + 4000 + ], + [ + 1350, + 1550, + 1800, + 2050, + 2300, + 2500, + 2900, + 3350, + 4050 + ], + [ + 1450, + 1650, + 1900, + 2150, + 2400, + 2650, + 3050, + 3500, + 4150 + ], + [ + 1550, + 1700, + 2000, + 2250, + 2500, + 2750, + 3200, + 3650, + 4150 + ], + [ + 1600, + 1800, + 2050, + 2350, + 2600, + 2850, + 3300, + 3800, + 4300 + ], + [ + 1750, + 1900, + 2150, + 2450, + 2700, + 2950, + 3400, + 3950, + 4450 + ], + [ + 2350, + 3000, + 3450, + 3600, + 3750, + 3850, + 4200, + 4850, + 5550 + ], + [ + 2750, + 3650, + 4450, + 5000, + 5300, + 5450, + 5600, + 5700, + 6250 + ], + [ + 3050, + 4200, + 5200, + 6000, + 6600, + 6950, + 7200, + 7300, + 7450 + ], + [ + 3300, + 4600, + 5800, + 6800, + 7550, + 8250, + 8650, + 8950, + 9100 + ], + [ + 3450, + 4950, + 6250, + 7350, + 8300, + 9150, + 9900, + 10400, + 10700 + ], + [ + 3600, + 5200, + 6700, + 7900, + 9000, + 10000, + 10900, + 11800, + 12200 + ], + [ + 3700, + 5450, + 7050, + 8400, + 9600, + 10700, + 11800, + 12950, + 13650 + ], + [ + 3750, + 5700, + 7350, + 8900, + 10200, + 11400, + 12600, + 13900, + 15050 + ], + [ + 3800, + 5850, + 7650, + 9300, + 10700, + 12100, + 13400, + 14800, + 16100 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_1_B#/client", + "speedsMs": [ 150, 200, 250, @@ -314,277 +475,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 650, - 850, - 1000, - 1150, - 1300, - 1500, - 1800, - 2050, - 2350 - ], - "header": 100 - }, - { - "cells": [ - 850, - 1050, - 1250, - 1450, - 1600, - 1800, - 2350, - 2850, - 3300 - ], - "header": 200 - }, - { - "cells": [ - 1000, - 1200, - 1450, - 1650, - 1850, - 2050, - 2350, - 3100, - 3700 - ], - "header": 300 - }, - { - "cells": [ - 1100, - 1350, - 1600, - 1800, - 2000, - 2200, - 2550, - 3200, - 3850 - ], - "header": 400 - }, - { - "cells": [ - 1250, - 1450, - 1700, - 1950, - 2150, - 2400, - 2750, - 3150, - 4000 - ], - "header": 500 - }, - { - "cells": [ - 1350, - 1550, - 1800, - 2050, - 2300, - 2500, - 2900, - 3350, - 4050 - ], - "header": 600 - }, - { - "cells": [ - 1450, - 1650, - 1900, - 2150, - 2400, - 2650, - 3050, - 3500, - 4150 - ], - "header": 700 - }, - { - "cells": [ - 1550, - 1700, - 2000, - 2250, - 2500, - 2750, - 3200, - 3650, - 4150 - ], - "header": 800 - }, - { - "cells": [ - 1600, - 1800, - 2050, - 2350, - 2600, - 2850, - 3300, - 3800, - 4300 - ], - "header": 900 - }, - { - "cells": [ - 1750, - 1900, - 2150, - 2450, - 2700, - 2950, - 3400, - 3950, - 4450 - ], - "header": 1000 - }, - { - "cells": [ - 2350, - 3000, - 3450, - 3600, - 3750, - 3850, - 4200, - 4850, - 5550 - ], - "header": 2000 - }, - { - "cells": [ - 2750, - 3650, - 4450, - 5000, - 5300, - 5450, - 5600, - 5700, - 6250 - ], - "header": 3000 - }, - { - "cells": [ - 3050, - 4200, - 5200, - 6000, - 6600, - 6950, - 7200, - 7300, - 7450 - ], - "header": 4000 - }, - { - "cells": [ - 3300, - 4600, - 5800, - 6800, - 7550, - 8250, - 8650, - 8950, - 9100 - ], - "header": 5000 - }, - { - "cells": [ - 3450, - 4950, - 6250, - 7350, - 8300, - 9150, - 9900, - 10400, - 10700 - ], - "header": 6000 - }, - { - "cells": [ - 3600, - 5200, - 6700, - 7900, - 9000, - 10000, - 10900, - 11800, - 12200 - ], - "header": 7000 - }, - { - "cells": [ - 3700, - 5450, - 7050, - 8400, - 9600, - 10700, - 11800, - 12950, - 13650 - ], - "header": 8000 - }, - { - "cells": [ - 3750, - 5700, - 7350, - 8900, - 10200, - 11400, - 12600, - 13900, - 15050 - ], - "header": 9000 - }, - { - "cells": [ - 3800, - 5850, - 7650, - 9300, - 10700, - 12100, - 13400, - 14800, - 16100 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_1_B#/client/MinLaunchDistData" + ] } ], "seeker": { diff --git a/dcs-world-reference/latest/weapon_flight/GBU_15_V_31_B.json b/dcs-world-reference/latest/weapon_flight/GBU_15_V_31_B.json index 6726fabe..6e9a4f19 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_15_V_31_B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_15_V_31_B.json @@ -19,387 +19,616 @@ "operatingTime": 999, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_31_B#/client/ap" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 350, - 410, - 450, - 480, - 500, - 520, - 530, - 540, - 540, - 550 - ], - "header": 100 - }, - { - "cells": [ - 540, - 670, - 760, - 840, - 900, - 940, - 980, - 1010, - 1030, - 1050 - ], - "header": 200 - }, - { - "cells": [ - 680, - 860, - 980, - 1090, - 1190, - 1270, - 1340, - 1410, - 1470, - 1500 - ], - "header": 300 - }, - { - "cells": [ - 800, - 1020, - 1180, - 1600, - 1750, - 1840, - 1910, - 1760, - 1840, - 1900 - ], - "header": 400 - }, - { - "cells": [ - 900, - 1160, - 1730, - 2050, - 2270, - 2340, - 2410, - 2070, - 2180, - 2270 - ], - "header": 500 - }, - { - "cells": [ - 1000, - 1290, - 2090, - 2540, - 2780, - 2930, - 2900, - 2840, - 2490, - 2610 - ], - "header": 600 - }, - { - "cells": [ - 1080, - 1400, - 2430, - 3020, - 3420, - 3460, - 3510, - 3320, - 2780, - 2930 - ], - "header": 700 - }, - { - "cells": [ - 1325, - 1675, - 3250, - 4575, - 5075, - 5175, - 5250, - 4975, - 4775, - 3775 - ], - "header": 800 - }, - { - "cells": [ - 1225, - 1600, - 3000, - 4000, - 4550, - 4675, - 4725, - 4375, - 4175, - 3500 - ], - "header": 900 - }, - { - "cells": [ - 1450, - 2125, - 3350, - 4600, - 5100, - 5175, - 5250, - 5100, - 4775, - 3800 - ], - "header": 1000 - }, - { - "cells": [ - 2600, - 3800, - 5425, - 7275, - 9075, - 10125, - 10350, - 10500, - 10425, - 9875 - ], - "header": 2000 - }, - { - "cells": [ - 3500, - 5200, - 7200, - 9200, - 11150, - 13000, - 14650, - 15400, - 15650, - 15350 - ], - "header": 3000 - }, - { - "cells": [ - 4550, - 6600, - 8950, - 11100, - 13200, - 15100, - 16950, - 19000, - 20400, - 20650 - ], - "header": 4000 - }, - { - "cells": [ - 5600, - 8000, - 10500, - 12900, - 15100, - 17100, - 19100, - 21300, - 23800, - 25500 - ], - "header": 5000 - }, - { - "cells": [ - 6750, - 9000, - 11750, - 14500, - 16750, - 19000, - 21000, - 23500, - 26250, - 29000 - ], - "header": 6000 - }, - { - "cells": [ - 7000, - 10000, - 13500, - 16000, - 18500, - 20750, - 23000, - 25750, - 28500, - 31750 - ], - "header": 7000 - }, - { - "cells": [ - 8000, - 11250, - 14750, - 17500, - 20250, - 22750, - 25000, - 27750, - 31000, - 34250 - ], - "header": 8000 - }, - { - "cells": [ - 9000, - 12750, - 16000, - 19000, - 21750, - 24500, - 27000, - 30000, - 33250, - 36750 - ], - "header": 9000 - }, - { - "cells": [ - 9750, - 14000, - 17500, - 20500, - 23250, - 26000, - 29000, - 32000, - 35500, - 39000 - ], - "header": 10000 - }, - { - "cells": [ - 12500, - 16500, - 19500, - 22000, - 24500, - 28000, - 31500, - 34500, - 38500, - 41500 - ], - "header": 11000 - }, - { - "cells": [ - 13500, - 18000, - 21000, - 23500, - 26000, - 29500, - 33000, - 36500, - 40000, - 34000 - ], - "header": 12000 - }, - { - "cells": [ - 14500, - 19000, - 22500, - 25000, - 27500, - 30500, - 34500, - 38000, - 42500, - 32000 - ], - "header": 13000 - }, - { - "cells": [ - 15500, - 20500, - 24000, - 26500, - 29000, - 32000, - 36000, - 40000, - 33500, - 31500 - ], - "header": 14000 - }, - { - "cells": [ - 16500, - 21500, - 25000, - 28000, - 30500, - 33500, - 38000, - 33500, - 32500, - 31500 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 350, + 410, + 450, + 480, + 500, + 520, + 530, + 540, + 540, + 550 + ], + [ + 540, + 670, + 760, + 840, + 900, + 940, + 980, + 1010, + 1030, + 1050 + ], + [ + 680, + 860, + 980, + 1090, + 1190, + 1270, + 1340, + 1410, + 1470, + 1500 + ], + [ + 800, + 1020, + 1180, + 1600, + 1750, + 1840, + 1910, + 1760, + 1840, + 1900 + ], + [ + 900, + 1160, + 1730, + 2050, + 2270, + 2340, + 2410, + 2070, + 2180, + 2270 + ], + [ + 1000, + 1290, + 2090, + 2540, + 2780, + 2930, + 2900, + 2840, + 2490, + 2610 + ], + [ + 1080, + 1400, + 2430, + 3020, + 3420, + 3460, + 3510, + 3320, + 2780, + 2930 + ], + [ + 1325, + 1675, + 3250, + 4575, + 5075, + 5175, + 5250, + 4975, + 4775, + 3775 + ], + [ + 1225, + 1600, + 3000, + 4000, + 4550, + 4675, + 4725, + 4375, + 4175, + 3500 + ], + [ + 1450, + 2125, + 3350, + 4600, + 5100, + 5175, + 5250, + 5100, + 4775, + 3800 + ], + [ + 2600, + 3800, + 5425, + 7275, + 9075, + 10125, + 10350, + 10500, + 10425, + 9875 + ], + [ + 3500, + 5200, + 7200, + 9200, + 11150, + 13000, + 14650, + 15400, + 15650, + 15350 + ], + [ + 4550, + 6600, + 8950, + 11100, + 13200, + 15100, + 16950, + 19000, + 20400, + 20650 + ], + [ + 5600, + 8000, + 10500, + 12900, + 15100, + 17100, + 19100, + 21300, + 23800, + 25500 + ], + [ + 6750, + 9000, + 11750, + 14500, + 16750, + 19000, + 21000, + 23500, + 26250, + 29000 + ], + [ + 7000, + 10000, + 13500, + 16000, + 18500, + 20750, + 23000, + 25750, + 28500, + 31750 + ], + [ + 8000, + 11250, + 14750, + 17500, + 20250, + 22750, + 25000, + 27750, + 31000, + 34250 + ], + [ + 9000, + 12750, + 16000, + 19000, + 21750, + 24500, + 27000, + 30000, + 33250, + 36750 + ], + [ + 9750, + 14000, + 17500, + 20500, + 23250, + 26000, + 29000, + 32000, + 35500, + 39000 + ], + [ + 12500, + 16500, + 19500, + 22000, + 24500, + 28000, + 31500, + 34500, + 38500, + 41500 + ], + [ + 13500, + 18000, + 21000, + 23500, + 26000, + 29500, + 33000, + 36500, + 40000, + 34000 + ], + [ + 14500, + 19000, + 22500, + 25000, + 27500, + 30500, + 34500, + 38000, + 42500, + 32000 + ], + [ + 15500, + 20500, + 24000, + 26500, + 29000, + 32000, + 36000, + 40000, + 33500, + 31500 + ], + [ + 16500, + 21500, + 25000, + 28000, + 30500, + 33500, + 38000, + 33500, + 32500, + 31500 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_31_B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 300, + 380, + 430, + 460, + 490, + 510, + 530, + 540, + 540, + 550 + ], + [ + 480, + 620, + 710, + 790, + 860, + 910, + 950, + 990, + 1020, + 1040 + ], + [ + 620, + 800, + 930, + 1050, + 1150, + 1240, + 1310, + 1380, + 1440, + 1490 + ], + [ + 740, + 960, + 1120, + 1270, + 1410, + 1520, + 1620, + 1730, + 1810, + 1880 + ], + [ + 840, + 1100, + 1290, + 1470, + 1630, + 1770, + 1890, + 2030, + 2150, + 2240 + ], + [ + 930, + 1220, + 1440, + 1650, + 1830, + 1990, + 2130, + 2320, + 2460, + 2580 + ], + [ + 1010, + 1340, + 1580, + 1810, + 2020, + 2200, + 2360, + 2570, + 2750, + 2900 + ], + [ + 1100, + 1440, + 1700, + 1960, + 2190, + 2390, + 2570, + 2810, + 3020, + 3190 + ], + [ + 1170, + 1540, + 1820, + 2100, + 2350, + 2570, + 2770, + 3040, + 3270, + 3470 + ], + [ + 1230, + 1630, + 1930, + 2230, + 2500, + 2740, + 2950, + 3260, + 3520, + 3740 + ], + [ + 1675, + 2325, + 2750, + 3250, + 3675, + 4050, + 4425, + 4975, + 5475, + 5925 + ], + [ + 1950, + 2800, + 3500, + 4000, + 4500, + 5000, + 5500, + 6300, + 7000, + 7600 + ], + [ + 2050, + 3150, + 4100, + 4800, + 5800, + 5700, + 6350, + 7350, + 8250, + 9000 + ], + [ + 2100, + 3400, + 4700, + 5700, + 6500, + 7200, + 7100, + 8300, + 11100, + 12300 + ], + [ + 2000, + 3750, + 5000, + 6250, + 7250, + 8000, + 9000, + 10750, + 12500, + 13750 + ], + [ + 2000, + 3750, + 5500, + 6500, + 7750, + 8750, + 9750, + 10000, + 13500, + 12500 + ], + [ + 2000, + 4000, + 5500, + 7000, + 8250, + 9500, + 10750, + 12750, + 14500, + 13500 + ], + [ + 2750, + 4000, + 5750, + 7500, + 8750, + 10000, + 11500, + 13500, + 15500, + 17500 + ], + [ + 2250, + 4000, + 6000, + 7750, + 9250, + 10750, + 12500, + 14250, + 16500, + 18750 + ], + [ + 1500, + 4000, + 6500, + 8000, + 10000, + 11500, + 13000, + 15000, + 17500, + 20000 + ], + [ + 1500, + 4500, + 6500, + 8500, + 10500, + 12000, + 14000, + 16000, + 18500, + 21000 + ], + [ + 2500, + 4000, + 6500, + 9000, + 11000, + 12500, + 15000, + 17000, + 19500, + 18000 + ], + [ + 3000, + 4000, + 7000, + 9000, + 11000, + 13500, + 15500, + 17500, + 20000, + 23000 + ], + [ + 2500, + 4000, + 7000, + 9500, + 11500, + 14000, + 15500, + 18500, + 21000, + 24500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_31_B#/client", + "speedsMs": [ 100, 150, 200, @@ -410,371 +639,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 300, - 380, - 430, - 460, - 490, - 510, - 530, - 540, - 540, - 550 - ], - "header": 100 - }, - { - "cells": [ - 480, - 620, - 710, - 790, - 860, - 910, - 950, - 990, - 1020, - 1040 - ], - "header": 200 - }, - { - "cells": [ - 620, - 800, - 930, - 1050, - 1150, - 1240, - 1310, - 1380, - 1440, - 1490 - ], - "header": 300 - }, - { - "cells": [ - 740, - 960, - 1120, - 1270, - 1410, - 1520, - 1620, - 1730, - 1810, - 1880 - ], - "header": 400 - }, - { - "cells": [ - 840, - 1100, - 1290, - 1470, - 1630, - 1770, - 1890, - 2030, - 2150, - 2240 - ], - "header": 500 - }, - { - "cells": [ - 930, - 1220, - 1440, - 1650, - 1830, - 1990, - 2130, - 2320, - 2460, - 2580 - ], - "header": 600 - }, - { - "cells": [ - 1010, - 1340, - 1580, - 1810, - 2020, - 2200, - 2360, - 2570, - 2750, - 2900 - ], - "header": 700 - }, - { - "cells": [ - 1100, - 1440, - 1700, - 1960, - 2190, - 2390, - 2570, - 2810, - 3020, - 3190 - ], - "header": 800 - }, - { - "cells": [ - 1170, - 1540, - 1820, - 2100, - 2350, - 2570, - 2770, - 3040, - 3270, - 3470 - ], - "header": 900 - }, - { - "cells": [ - 1230, - 1630, - 1930, - 2230, - 2500, - 2740, - 2950, - 3260, - 3520, - 3740 - ], - "header": 1000 - }, - { - "cells": [ - 1675, - 2325, - 2750, - 3250, - 3675, - 4050, - 4425, - 4975, - 5475, - 5925 - ], - "header": 2000 - }, - { - "cells": [ - 1950, - 2800, - 3500, - 4000, - 4500, - 5000, - 5500, - 6300, - 7000, - 7600 - ], - "header": 3000 - }, - { - "cells": [ - 2050, - 3150, - 4100, - 4800, - 5800, - 5700, - 6350, - 7350, - 8250, - 9000 - ], - "header": 4000 - }, - { - "cells": [ - 2100, - 3400, - 4700, - 5700, - 6500, - 7200, - 7100, - 8300, - 11100, - 12300 - ], - "header": 5000 - }, - { - "cells": [ - 2000, - 3750, - 5000, - 6250, - 7250, - 8000, - 9000, - 10750, - 12500, - 13750 - ], - "header": 6000 - }, - { - "cells": [ - 2000, - 3750, - 5500, - 6500, - 7750, - 8750, - 9750, - 10000, - 13500, - 12500 - ], - "header": 7000 - }, - { - "cells": [ - 2000, - 4000, - 5500, - 7000, - 8250, - 9500, - 10750, - 12750, - 14500, - 13500 - ], - "header": 8000 - }, - { - "cells": [ - 2750, - 4000, - 5750, - 7500, - 8750, - 10000, - 11500, - 13500, - 15500, - 17500 - ], - "header": 9000 - }, - { - "cells": [ - 2250, - 4000, - 6000, - 7750, - 9250, - 10750, - 12500, - 14250, - 16500, - 18750 - ], - "header": 10000 - }, - { - "cells": [ - 1500, - 4000, - 6500, - 8000, - 10000, - 11500, - 13000, - 15000, - 17500, - 20000 - ], - "header": 11000 - }, - { - "cells": [ - 1500, - 4500, - 6500, - 8500, - 10500, - 12000, - 14000, - 16000, - 18500, - 21000 - ], - "header": 12000 - }, - { - "cells": [ - 2500, - 4000, - 6500, - 9000, - 11000, - 12500, - 15000, - 17000, - 19500, - 18000 - ], - "header": 13000 - }, - { - "cells": [ - 3000, - 4000, - 7000, - 9000, - 11000, - 13500, - 15500, - 17500, - 20000, - 23000 - ], - "header": 14000 - }, - { - "cells": [ - 2500, - 4000, - 7000, - 9500, - 11500, - 14000, - 15500, - 18500, - 21000, - 24500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_15_V_31_B#/client/MinLaunchDistData" + ] } ], "seeker": { diff --git a/dcs-world-reference/latest/weapon_flight/GBU_24.json b/dcs-world-reference/latest/weapon_flight/GBU_24.json index 97cbc9b4..20f63704 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_24.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_24.json @@ -33,177 +33,391 @@ "operatingTime": 120, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, - 400, - 450, - 500, - 550 + "altitudesM": [ + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 4, - 13, - 16, - 18, - 19, - 20, - 23 - ], - "header": 1000 - }, - { - "cells": [ - 4, - 5, - 10, - 17, - 21, - 25, - 26, - 27, - 28, - 30 - ], - "header": 2000 - }, - { - "cells": [ - 7, - 10, - 17, - 23, - 29, - 30, - 30, - 30, - 30, - 30 - ], - "header": 3000 - }, - { - "cells": [ - 11, - 15, - 22, - 29, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 4000 - }, - { - "cells": [ - 17, - 19, - 24, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 5000 - }, - { - "cells": [ - 20, - 24, - 29, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 6000 - }, - { - "cells": [ - 23, - 29, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 7000 - }, - { - "cells": [ - 27, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 8000 - }, - { - "cells": [ - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 9000 - }, - { - "cells": [ - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 6400, + 8750, + 10800, + 12300, + 13200, + 14050, + 15300 + ], + [ + 2750, + 4500, + 6600, + 9100, + 11750, + 14100, + 15750, + 16600, + 17450, + 18950 + ], + [ + 3850, + 5800, + 8550, + 11450, + 14450, + 17000, + 18650, + 19500, + 20700, + 22150 + ], + [ + 5050, + 7300, + 10200, + 13550, + 16900, + 19700, + 21350, + 22200, + 23750, + 25700 + ], + [ + 6400, + 9200, + 12100, + 15400, + 19000, + 21800, + 23700, + 25100, + 26300, + 27600 + ], + [ + 8300, + 11000, + 13800, + 17500, + 21300, + 24000, + 25200, + 26400, + 27800, + 29100 + ], + [ + 10200, + 12800, + 15600, + 19400, + 23300, + 25300, + 26500, + 27800, + 29000, + 30600 + ], + [ + 11900, + 14600, + 17400, + 21200, + 24800, + 26400, + 27600, + 28900, + 30300, + 31900 + ], + [ + 13400, + 16400, + 19200, + 23200, + 25800, + 27200, + 28600, + 29800, + 31400, + 33200 + ], + [ + 15200, + 18000, + 21200, + 24600, + 26600, + 28000, + 29200, + 30800, + 32600, + 34800 + ], + [ + 16800, + 19800, + 23000, + 25200, + 27200, + 28600, + 30000, + 31800, + 34000, + 36200 + ], + [ + 18500, + 20500, + 23500, + 25500, + 27500, + 29000, + 30500, + 32500, + 34500, + 37000 + ], + [ + 19500, + 21500, + 24000, + 26000, + 28000, + 29500, + 31500, + 33500, + 36000, + 38500 + ], + [ + 20000, + 22500, + 24500, + 26500, + 29000, + 30500, + 32000, + 34500, + 37500, + 40000 + ], + [ + 20500, + 22500, + 25000, + 27500, + 29500, + 31000, + 33000, + 35500, + 38500, + 41000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24#/client/AspectDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 5050, + 5450, + 5900, + 6200, + 7500, + 7850, + 8300 + ], + [ + 1850, + 3550, + 4600, + 5300, + 5900, + 6400, + 7450, + 7850, + 8200, + 8700 + ], + [ + 2750, + 3800, + 4550, + 5300, + 5900, + 6500, + 7750, + 8050, + 8450, + 8900 + ], + [ + 2850, + 3600, + 4400, + 5250, + 6000, + 6600, + 7100, + 7600, + 8550, + 9000 + ], + [ + 1800, + 3100, + 4300, + 5400, + 6400, + 7200, + 8000, + 8900, + 9200, + 9500 + ], + [ + 1600, + 3000, + 4300, + 5800, + 7000, + 8000, + 8900, + 9600, + 10000, + 10400 + ], + [ + 1400, + 2800, + 4500, + 6100, + 7600, + 8600, + 9600, + 10400, + 10800, + 11300 + ], + [ + 1500, + 2800, + 4600, + 6300, + 7900, + 9100, + 10200, + 11100, + 11500, + 12000 + ], + [ + 1600, + 2600, + 4600, + 6600, + 8200, + 9400, + 10600, + 11600, + 12400, + 12800 + ], + [ + 1600, + 2600, + 4800, + 6800, + 8400, + 9800, + 10800, + 12200, + 13200, + 13600 + ], + [ + 1600, + 2600, + 4800, + 6800, + 8600, + 10000, + 11200, + 12800, + 13800, + 14400 + ], + [ + 1500, + 2000, + 4500, + 6500, + 8500, + 10000, + 11500, + 13500, + 14500, + 15000 + ], + [ + 1500, + 2500, + 5000, + 7000, + 9000, + 10500, + 12500, + 14000, + 15500, + 16000 + ], + [ + 1500, + 2000, + 5000, + 7500, + 9500, + 11000, + 12500, + 14500, + 16000, + 16500 + ], + [ + 1500, + 2000, + 5000, + 7500, + 9500, + 11500, + 13000, + 15000, + 16500, + 17500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24#/client", + "speedsMs": [ 100, 150, 200, @@ -214,239 +428,145 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 6400, - 8750, - 10800, - 12300, - 13200, - 14050, - 15300 - ], - "header": 1000 - }, - { - "cells": [ - 2750, - 4500, - 6600, - 9100, - 11750, - 14100, - 15750, - 16600, - 17450, - 18950 - ], - "header": 2000 - }, - { - "cells": [ - 3850, - 5800, - 8550, - 11450, - 14450, - 17000, - 18650, - 19500, - 20700, - 22150 - ], - "header": 3000 - }, - { - "cells": [ - 5050, - 7300, - 10200, - 13550, - 16900, - 19700, - 21350, - 22200, - 23750, - 25700 - ], - "header": 4000 - }, - { - "cells": [ - 6400, - 9200, - 12100, - 15400, - 19000, - 21800, - 23700, - 25100, - 26300, - 27600 - ], - "header": 5000 - }, - { - "cells": [ - 8300, - 11000, - 13800, - 17500, - 21300, - 24000, - 25200, - 26400, - 27800, - 29100 - ], - "header": 6000 - }, - { - "cells": [ - 10200, - 12800, - 15600, - 19400, - 23300, - 25300, - 26500, - 27800, - 29000, - 30600 - ], - "header": 7000 - }, - { - "cells": [ - 11900, - 14600, - 17400, - 21200, - 24800, - 26400, - 27600, - 28900, - 30300, - 31900 - ], - "header": 8000 - }, - { - "cells": [ - 13400, - 16400, - 19200, - 23200, - 25800, - 27200, - 28600, - 29800, - 31400, - 33200 - ], - "header": 9000 - }, - { - "cells": [ - 15200, - 18000, - 21200, - 24600, - 26600, - 28000, - 29200, - 30800, - 32600, - 34800 - ], - "header": 10000 - }, - { - "cells": [ - 16800, - 19800, - 23000, - 25200, - 27200, - 28600, - 30000, - 31800, - 34000, - 36200 - ], - "header": 11000 - }, - { - "cells": [ - 18500, - 20500, - 23500, - 25500, - 27500, - 29000, - 30500, - 32500, - 34500, - 37000 - ], - "header": 12000 - }, - { - "cells": [ - 19500, - 21500, - 24000, - 26000, - 28000, - 29500, - 31500, - 33500, - 36000, - 38500 - ], - "header": 13000 - }, - { - "cells": [ - 20000, - 22500, - 24500, - 26500, - 29000, - 30500, - 32000, - 34500, - 37500, - 40000 - ], - "header": 14000 - }, - { - "cells": [ - 20500, - 22500, - 25000, - 27500, - 29500, - 31000, - 33000, - 35500, - 38500, - 41000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000 + ], + "aspectDeg": [ + [ + 0, + 0, + 0, + 4, + 13, + 16, + 18, + 19, + 20, + 23 + ], + [ + 4, + 5, + 10, + 17, + 21, + 25, + 26, + 27, + 28, + 30 + ], + [ + 7, + 10, + 17, + 23, + 29, + 30, + 30, + 30, + 30, + 30 + ], + [ + 11, + 15, + 22, + 29, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 17, + 19, + 24, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 20, + 24, + 29, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 23, + 29, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 27, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24#/client", + "speedsMs": [ 100, 150, 200, @@ -457,236 +577,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 5050, - 5450, - 5900, - 6200, - 7500, - 7850, - 8300 - ], - "header": 1000 - }, - { - "cells": [ - 1850, - 3550, - 4600, - 5300, - 5900, - 6400, - 7450, - 7850, - 8200, - 8700 - ], - "header": 2000 - }, - { - "cells": [ - 2750, - 3800, - 4550, - 5300, - 5900, - 6500, - 7750, - 8050, - 8450, - 8900 - ], - "header": 3000 - }, - { - "cells": [ - 2850, - 3600, - 4400, - 5250, - 6000, - 6600, - 7100, - 7600, - 8550, - 9000 - ], - "header": 4000 - }, - { - "cells": [ - 1800, - 3100, - 4300, - 5400, - 6400, - 7200, - 8000, - 8900, - 9200, - 9500 - ], - "header": 5000 - }, - { - "cells": [ - 1600, - 3000, - 4300, - 5800, - 7000, - 8000, - 8900, - 9600, - 10000, - 10400 - ], - "header": 6000 - }, - { - "cells": [ - 1400, - 2800, - 4500, - 6100, - 7600, - 8600, - 9600, - 10400, - 10800, - 11300 - ], - "header": 7000 - }, - { - "cells": [ - 1500, - 2800, - 4600, - 6300, - 7900, - 9100, - 10200, - 11100, - 11500, - 12000 - ], - "header": 8000 - }, - { - "cells": [ - 1600, - 2600, - 4600, - 6600, - 8200, - 9400, - 10600, - 11600, - 12400, - 12800 - ], - "header": 9000 - }, - { - "cells": [ - 1600, - 2600, - 4800, - 6800, - 8400, - 9800, - 10800, - 12200, - 13200, - 13600 - ], - "header": 10000 - }, - { - "cells": [ - 1600, - 2600, - 4800, - 6800, - 8600, - 10000, - 11200, - 12800, - 13800, - 14400 - ], - "header": 11000 - }, - { - "cells": [ - 1500, - 2000, - 4500, - 6500, - 8500, - 10000, - 11500, - 13500, - 14500, - 15000 - ], - "header": 12000 - }, - { - "cells": [ - 1500, - 2500, - 5000, - 7000, - 9000, - 10500, - 12500, - 14000, - 15500, - 16000 - ], - "header": 13000 - }, - { - "cells": [ - 1500, - 2000, - 5000, - 7500, - 9500, - 11000, - 12500, - 14500, - 16000, - 16500 - ], - "header": 14000 - }, - { - "cells": [ - 1500, - 2000, - 5000, - 7500, - 9500, - 11500, - 13000, - 15000, - 16500, - 17500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24#/client/MinLaunchDistData" + ] } ], "seeker": { diff --git a/dcs-world-reference/latest/weapon_flight/GBU_24E.json b/dcs-world-reference/latest/weapon_flight/GBU_24E.json index c89119df..0aca844d 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_24E.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_24E.json @@ -34,177 +34,391 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24E#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, - 400, - 450, - 500, - 550 + "altitudesM": [ + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 4, - 13, - 16, - 18, - 19, - 20, - 23 - ], - "header": 1000 - }, - { - "cells": [ - 4, - 5, - 10, - 17, - 21, - 25, - 26, - 27, - 28, - 30 - ], - "header": 2000 - }, - { - "cells": [ - 7, - 10, - 17, - 23, - 29, - 30, - 30, - 30, - 30, - 30 - ], - "header": 3000 - }, - { - "cells": [ - 11, - 15, - 22, - 29, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 4000 - }, - { - "cells": [ - 17, - 19, - 24, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 5000 - }, - { - "cells": [ - 20, - 24, - 29, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 6000 - }, - { - "cells": [ - 23, - 29, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 7000 - }, - { - "cells": [ - 27, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 8000 - }, - { - "cells": [ - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 9000 - }, - { - "cells": [ - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30, - 30 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 6400, + 8750, + 10800, + 12300, + 13200, + 14050, + 15300 + ], + [ + 2750, + 4500, + 6600, + 9100, + 11750, + 14100, + 15750, + 16600, + 17450, + 18950 + ], + [ + 3850, + 5800, + 8550, + 11450, + 14450, + 17000, + 18650, + 19500, + 20700, + 22150 + ], + [ + 5050, + 7300, + 10200, + 13550, + 16900, + 19700, + 21350, + 22200, + 23750, + 25700 + ], + [ + 6400, + 9200, + 12100, + 15400, + 19000, + 21800, + 23700, + 25100, + 26300, + 27600 + ], + [ + 8300, + 11000, + 13800, + 17500, + 21300, + 24000, + 25200, + 26400, + 27800, + 29100 + ], + [ + 10200, + 12800, + 15600, + 19400, + 23300, + 25300, + 26500, + 27800, + 29000, + 30600 + ], + [ + 11900, + 14600, + 17400, + 21200, + 24800, + 26400, + 27600, + 28900, + 30300, + 31900 + ], + [ + 13400, + 16400, + 19200, + 23200, + 25800, + 27200, + 28600, + 29800, + 31400, + 33200 + ], + [ + 15200, + 18000, + 21200, + 24600, + 26600, + 28000, + 29200, + 30800, + 32600, + 34800 + ], + [ + 16800, + 19800, + 23000, + 25200, + 27200, + 28600, + 30000, + 31800, + 34000, + 36200 + ], + [ + 18500, + 20500, + 23500, + 25500, + 27500, + 29000, + 30500, + 32500, + 34500, + 37000 + ], + [ + 19500, + 21500, + 24000, + 26000, + 28000, + 29500, + 31500, + 33500, + 36000, + 38500 + ], + [ + 20000, + 22500, + 24500, + 26500, + 29000, + 30500, + 32000, + 34500, + 37500, + 40000 + ], + [ + 20500, + 22500, + 25000, + 27500, + 29500, + 31000, + 33000, + 35500, + 38500, + 41000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24E#/client/AspectDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 5050, + 5450, + 5900, + 6200, + 7500, + 7850, + 8300 + ], + [ + 1850, + 3550, + 4600, + 5300, + 5900, + 6400, + 7450, + 7850, + 8200, + 8700 + ], + [ + 2750, + 3800, + 4550, + 5300, + 5900, + 6500, + 7750, + 8050, + 8450, + 8900 + ], + [ + 2850, + 3600, + 4400, + 5250, + 6000, + 6600, + 7100, + 7600, + 8550, + 9000 + ], + [ + 1800, + 3100, + 4300, + 5400, + 6400, + 7200, + 8000, + 8900, + 9200, + 9500 + ], + [ + 1600, + 3000, + 4300, + 5800, + 7000, + 8000, + 8900, + 9600, + 10000, + 10400 + ], + [ + 1400, + 2800, + 4500, + 6100, + 7600, + 8600, + 9600, + 10400, + 10800, + 11300 + ], + [ + 1500, + 2800, + 4600, + 6300, + 7900, + 9100, + 10200, + 11100, + 11500, + 12000 + ], + [ + 1600, + 2600, + 4600, + 6600, + 8200, + 9400, + 10600, + 11600, + 12400, + 12800 + ], + [ + 1600, + 2600, + 4800, + 6800, + 8400, + 9800, + 10800, + 12200, + 13200, + 13600 + ], + [ + 1600, + 2600, + 4800, + 6800, + 8600, + 10000, + 11200, + 12800, + 13800, + 14400 + ], + [ + 1500, + 2000, + 4500, + 6500, + 8500, + 10000, + 11500, + 13500, + 14500, + 15000 + ], + [ + 1500, + 2500, + 5000, + 7000, + 9000, + 10500, + 12500, + 14000, + 15500, + 16000 + ], + [ + 1500, + 2000, + 5000, + 7500, + 9500, + 11000, + 12500, + 14500, + 16000, + 16500 + ], + [ + 1500, + 2000, + 5000, + 7500, + 9500, + 11500, + 13000, + 15000, + 16500, + 17500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24E#/client", + "speedsMs": [ 100, 150, 200, @@ -215,239 +429,145 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 6400, - 8750, - 10800, - 12300, - 13200, - 14050, - 15300 - ], - "header": 1000 - }, - { - "cells": [ - 2750, - 4500, - 6600, - 9100, - 11750, - 14100, - 15750, - 16600, - 17450, - 18950 - ], - "header": 2000 - }, - { - "cells": [ - 3850, - 5800, - 8550, - 11450, - 14450, - 17000, - 18650, - 19500, - 20700, - 22150 - ], - "header": 3000 - }, - { - "cells": [ - 5050, - 7300, - 10200, - 13550, - 16900, - 19700, - 21350, - 22200, - 23750, - 25700 - ], - "header": 4000 - }, - { - "cells": [ - 6400, - 9200, - 12100, - 15400, - 19000, - 21800, - 23700, - 25100, - 26300, - 27600 - ], - "header": 5000 - }, - { - "cells": [ - 8300, - 11000, - 13800, - 17500, - 21300, - 24000, - 25200, - 26400, - 27800, - 29100 - ], - "header": 6000 - }, - { - "cells": [ - 10200, - 12800, - 15600, - 19400, - 23300, - 25300, - 26500, - 27800, - 29000, - 30600 - ], - "header": 7000 - }, - { - "cells": [ - 11900, - 14600, - 17400, - 21200, - 24800, - 26400, - 27600, - 28900, - 30300, - 31900 - ], - "header": 8000 - }, - { - "cells": [ - 13400, - 16400, - 19200, - 23200, - 25800, - 27200, - 28600, - 29800, - 31400, - 33200 - ], - "header": 9000 - }, - { - "cells": [ - 15200, - 18000, - 21200, - 24600, - 26600, - 28000, - 29200, - 30800, - 32600, - 34800 - ], - "header": 10000 - }, - { - "cells": [ - 16800, - 19800, - 23000, - 25200, - 27200, - 28600, - 30000, - 31800, - 34000, - 36200 - ], - "header": 11000 - }, - { - "cells": [ - 18500, - 20500, - 23500, - 25500, - 27500, - 29000, - 30500, - 32500, - 34500, - 37000 - ], - "header": 12000 - }, - { - "cells": [ - 19500, - 21500, - 24000, - 26000, - 28000, - 29500, - 31500, - 33500, - 36000, - 38500 - ], - "header": 13000 - }, - { - "cells": [ - 20000, - 22500, - 24500, - 26500, - 29000, - 30500, - 32000, - 34500, - 37500, - 40000 - ], - "header": 14000 - }, - { - "cells": [ - 20500, - 22500, - 25000, - 27500, - 29500, - 31000, - 33000, - 35500, - 38500, - 41000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24E#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000 + ], + "aspectDeg": [ + [ + 0, + 0, + 0, + 4, + 13, + 16, + 18, + 19, + 20, + 23 + ], + [ + 4, + 5, + 10, + 17, + 21, + 25, + 26, + 27, + 28, + 30 + ], + [ + 7, + 10, + 17, + 23, + 29, + 30, + 30, + 30, + 30, + 30 + ], + [ + 11, + 15, + 22, + 29, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 17, + 19, + 24, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 20, + 24, + 29, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 23, + 29, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 27, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ], + [ + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30, + 30 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24E#/client", + "speedsMs": [ 100, 150, 200, @@ -458,236 +578,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 5050, - 5450, - 5900, - 6200, - 7500, - 7850, - 8300 - ], - "header": 1000 - }, - { - "cells": [ - 1850, - 3550, - 4600, - 5300, - 5900, - 6400, - 7450, - 7850, - 8200, - 8700 - ], - "header": 2000 - }, - { - "cells": [ - 2750, - 3800, - 4550, - 5300, - 5900, - 6500, - 7750, - 8050, - 8450, - 8900 - ], - "header": 3000 - }, - { - "cells": [ - 2850, - 3600, - 4400, - 5250, - 6000, - 6600, - 7100, - 7600, - 8550, - 9000 - ], - "header": 4000 - }, - { - "cells": [ - 1800, - 3100, - 4300, - 5400, - 6400, - 7200, - 8000, - 8900, - 9200, - 9500 - ], - "header": 5000 - }, - { - "cells": [ - 1600, - 3000, - 4300, - 5800, - 7000, - 8000, - 8900, - 9600, - 10000, - 10400 - ], - "header": 6000 - }, - { - "cells": [ - 1400, - 2800, - 4500, - 6100, - 7600, - 8600, - 9600, - 10400, - 10800, - 11300 - ], - "header": 7000 - }, - { - "cells": [ - 1500, - 2800, - 4600, - 6300, - 7900, - 9100, - 10200, - 11100, - 11500, - 12000 - ], - "header": 8000 - }, - { - "cells": [ - 1600, - 2600, - 4600, - 6600, - 8200, - 9400, - 10600, - 11600, - 12400, - 12800 - ], - "header": 9000 - }, - { - "cells": [ - 1600, - 2600, - 4800, - 6800, - 8400, - 9800, - 10800, - 12200, - 13200, - 13600 - ], - "header": 10000 - }, - { - "cells": [ - 1600, - 2600, - 4800, - 6800, - 8600, - 10000, - 11200, - 12800, - 13800, - 14400 - ], - "header": 11000 - }, - { - "cells": [ - 1500, - 2000, - 4500, - 6500, - 8500, - 10000, - 11500, - 13500, - 14500, - 15000 - ], - "header": 12000 - }, - { - "cells": [ - 1500, - 2500, - 5000, - 7000, - 9000, - 10500, - 12500, - 14000, - 15500, - 16000 - ], - "header": 13000 - }, - { - "cells": [ - 1500, - 2000, - 5000, - 7500, - 9500, - 11000, - 12500, - 14500, - 16000, - 16500 - ], - "header": 14000 - }, - { - "cells": [ - 1500, - 2000, - 5000, - 7500, - 9500, - 11500, - 13000, - 15000, - 16500, - 17500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24E#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_24E#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_31.json b/dcs-world-reference/latest/weapon_flight/GBU_31.json index f1234158..4fb51cb7 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_31.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_31.json @@ -20,222 +20,541 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, + "altitudesM": [ 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 8, - 10, - 15, - 17, - 22, - 27, - 34, - 40, - 42, - 45 - ], - "header": 400 - }, - { - "cells": [ - 9, - 13, - 11, - 19, - 21, - 29, - 33, - 40, - 45, - 45 - ], - "header": 500 - }, - { - "cells": [ - 9, - 13, - 9, - 18, - 22, - 29, - 34, - 39, - 43, - 45 - ], - "header": 600 - }, - { - "cells": [ - 9, - 15, - 14, - 19, - 21, - 29, - 35, - 39, - 44, - 45 - ], - "header": 700 - }, - { - "cells": [ - 10, - 5, - 18, - 17, - 24, - 30, - 35, - 40, - 44, - 45 - ], - "header": 800 - }, - { - "cells": [ - 11, - 10, - 20, - 25, - 25, - 31, - 35, - 40, - 44, - 45 - ], - "header": 900 - }, - { - "cells": [ - 11, - 19, - 20, - 20, - 29, - 31, - 35, - 41, - 44, - 45 - ], - "header": 1000 - }, - { - "cells": [ - 5, - 29, - 27, - 23, - 32, - 35, - 39, - 43, - 45, - 45 - ], - "header": 2000 - }, - { - "cells": [ - 30, - 34, - 37, - 36, - 34, - 39, - 42, - 45, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 36, - 39, - 44, - 40, - 39, - 42, - 45, - 45, - 45, - 45 - ], - "header": 4000 - }, - { - "cells": [ - 34, - 45, - 45, - 45, - 43, - 44, - 45, - 45, - 45, - 45 - ], - "header": 5000 - }, - { - "cells": [ - 44, - 42, - 45, - 45, - 44, - 45, - 45, - 45, - 45, - 45 - ], - "header": 6000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 7000 - } + "maxRangeM": [ + [ + 1020, + 1420, + 2960, + 5210, + 8250, + 12170, + 15400, + 16330, + 16350, + 17030 + ], + [ + 1150, + 1990, + 3160, + 5170, + 8150, + 12500, + 15710, + 17000, + 17020, + 17040 + ], + [ + 1280, + 1730, + 3370, + 5250, + 8260, + 12810, + 16020, + 18530, + 20630, + 22680 + ], + [ + 1390, + 1790, + 3150, + 5100, + 8350, + 13110, + 16320, + 18820, + 20930, + 22980 + ], + [ + 1500, + 2450, + 3200, + 5575, + 8000, + 13400, + 16600, + 19125, + 21225, + 23275 + ], + [ + 1600, + 2575, + 3400, + 5425, + 8200, + 13700, + 16900, + 19400, + 21500, + 23575 + ], + [ + 1700, + 2150, + 3350, + 5600, + 8400, + 14000, + 17175, + 19700, + 21800, + 23875 + ], + [ + 2625, + 3900, + 5825, + 8000, + 12600, + 16750, + 19950, + 22525, + 24700, + 26900 + ], + [ + 2800, + 5050, + 7000, + 10500, + 15150, + 19200, + 22550, + 25200, + 27450, + 29850 + ], + [ + 3400, + 5450, + 8000, + 12300, + 17100, + 21400, + 24900, + 27900, + 30250, + 32800 + ], + [ + 5800, + 5800, + 9100, + 12700, + 18700, + 23300, + 27100, + 30100, + 32900, + 35700 + ], + [ + 5750, + 6500, + 10500, + 15000, + 20000, + 24750, + 29000, + 32500, + 35500, + 38500 + ], + [ + 6250, + 7500, + 11750, + 15750, + 21250, + 26500, + 31000, + 34500, + 37750, + 41000 + ], + [ + 8000, + 9250, + 10500, + 16500, + 22000, + 27750, + 32500, + 36750, + 40000, + 44250 + ], + [ + 8500, + 9750, + 11750, + 17500, + 22750, + 28750, + 33750, + 38500, + 42750, + 46750 + ], + [ + 10000, + 11000, + 13250, + 15750, + 23250, + 29500, + 35000, + 40250, + 45000, + 49250 + ], + [ + 10500, + 12000, + 14500, + 16500, + 23500, + 29500, + 35500, + 41500, + 47000, + 52500 + ], + [ + 11500, + 13500, + 15500, + 18000, + 20000, + 30000, + 36500, + 43000, + 49000, + 54500 + ], + [ + 14500, + 14500, + 19000, + 19000, + 21500, + 30000, + 37000, + 44000, + 50500, + 56500 + ], + [ + 17500, + 20500, + 20500, + 20500, + 26000, + 26000, + 37000, + 44000, + 52000, + 58500 + ], + [ + 19000, + 19000, + 19000, + 27000, + 27000, + 27500, + 37000, + 44500, + 53000, + 60000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31#/client/AspectDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 750, + 1010, + 1290, + 1590, + 1930, + 2470, + 2970, + 3310, + 3590, + 3930 + ], + [ + 830, + 1130, + 1410, + 1690, + 2040, + 2600, + 3110, + 3480, + 3780, + 4090 + ], + [ + 1070, + 1190, + 1500, + 1790, + 2140, + 2730, + 3250, + 3720, + 4170, + 4620 + ], + [ + 1170, + 1250, + 1560, + 1860, + 2230, + 2840, + 3380, + 3880, + 4350, + 4820 + ], + [ + 1275, + 1350, + 1625, + 1975, + 2275, + 2950, + 3525, + 4025, + 4500, + 5000 + ], + [ + 1325, + 1425, + 1700, + 2025, + 2375, + 3025, + 3625, + 4175, + 4650, + 5175 + ], + [ + 1400, + 1425, + 1750, + 2075, + 2450, + 3125, + 3725, + 4275, + 4825, + 5350 + ], + [ + 1925, + 1725, + 2200, + 2600, + 3125, + 3700, + 4450, + 5200, + 5900, + 6625 + ], + [ + 1350, + 1750, + 2300, + 2850, + 3400, + 3950, + 4650, + 5700, + 6550, + 7500 + ], + [ + 2000, + 4050, + 2200, + 2900, + 3500, + 4050, + 4750, + 7150, + 6950, + 8100 + ], + [ + 2400, + 2900, + 2000, + 2600, + 3400, + 4000, + 4600, + 5600, + 8600, + 8400 + ], + [ + 2250, + 4000, + 3250, + 2500, + 4250, + 3750, + 4500, + 5500, + 9500, + 9000 + ], + [ + 2250, + 3750, + 3500, + 3750, + 4500, + 3500, + 4250, + 6750, + 7250, + 9500 + ], + [ + 2250, + 3500, + 3500, + 4000, + 4500, + 5500, + 4000, + 7500, + 7500, + 10250 + ], + [ + 2000, + 3500, + 3750, + 4000, + 4750, + 5750, + 6500, + 8000, + 7500, + 10750 + ], + [ + 2000, + 3500, + 4000, + 4250, + 5250, + 6000, + 6750, + 8500, + 8250, + 11750 + ], + [ + 2000, + 3500, + 4500, + 4500, + 5000, + 6500, + 7000, + 9000, + 9000, + 12500 + ], + [ + 2000, + 3500, + 4500, + 4500, + 5500, + 6500, + 7500, + 10000, + 10500, + 13500 + ], + [ + 2000, + 3500, + 5000, + 5000, + 6000, + 7000, + 8000, + 11000, + 11500, + 14500 + ], + [ + 2500, + 4000, + 5500, + 5500, + 6000, + 7000, + 8500, + 6500, + 13000, + 15500 + ], + [ + 2500, + 4000, + 5000, + 6000, + 6500, + 7000, + 9000, + 8000, + 14000, + 17000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31#/client", + "speedsMs": [ 100, 150, 200, @@ -246,329 +565,184 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1020, - 1420, - 2960, - 5210, - 8250, - 12170, - 15400, - 16330, - 16350, - 17030 - ], - "header": 400 - }, - { - "cells": [ - 1150, - 1990, - 3160, - 5170, - 8150, - 12500, - 15710, - 17000, - 17020, - 17040 - ], - "header": 500 - }, - { - "cells": [ - 1280, - 1730, - 3370, - 5250, - 8260, - 12810, - 16020, - 18530, - 20630, - 22680 - ], - "header": 600 - }, - { - "cells": [ - 1390, - 1790, - 3150, - 5100, - 8350, - 13110, - 16320, - 18820, - 20930, - 22980 - ], - "header": 700 - }, - { - "cells": [ - 1500, - 2450, - 3200, - 5575, - 8000, - 13400, - 16600, - 19125, - 21225, - 23275 - ], - "header": 800 - }, - { - "cells": [ - 1600, - 2575, - 3400, - 5425, - 8200, - 13700, - 16900, - 19400, - 21500, - 23575 - ], - "header": 900 - }, - { - "cells": [ - 1700, - 2150, - 3350, - 5600, - 8400, - 14000, - 17175, - 19700, - 21800, - 23875 - ], - "header": 1000 - }, - { - "cells": [ - 2625, - 3900, - 5825, - 8000, - 12600, - 16750, - 19950, - 22525, - 24700, - 26900 - ], - "header": 2000 - }, - { - "cells": [ - 2800, - 5050, - 7000, - 10500, - 15150, - 19200, - 22550, - 25200, - 27450, - 29850 - ], - "header": 3000 - }, - { - "cells": [ - 3400, - 5450, - 8000, - 12300, - 17100, - 21400, - 24900, - 27900, - 30250, - 32800 - ], - "header": 4000 - }, - { - "cells": [ - 5800, - 5800, - 9100, - 12700, - 18700, - 23300, - 27100, - 30100, - 32900, - 35700 - ], - "header": 5000 - }, - { - "cells": [ - 5750, - 6500, - 10500, - 15000, - 20000, - 24750, - 29000, - 32500, - 35500, - 38500 - ], - "header": 6000 - }, - { - "cells": [ - 6250, - 7500, - 11750, - 15750, - 21250, - 26500, - 31000, - 34500, - 37750, - 41000 - ], - "header": 7000 - }, - { - "cells": [ - 8000, - 9250, - 10500, - 16500, - 22000, - 27750, - 32500, - 36750, - 40000, - 44250 - ], - "header": 8000 - }, - { - "cells": [ - 8500, - 9750, - 11750, - 17500, - 22750, - 28750, - 33750, - 38500, - 42750, - 46750 - ], - "header": 9000 - }, - { - "cells": [ - 10000, - 11000, - 13250, - 15750, - 23250, - 29500, - 35000, - 40250, - 45000, - 49250 - ], - "header": 10000 - }, - { - "cells": [ - 10500, - 12000, - 14500, - 16500, - 23500, - 29500, - 35500, - 41500, - 47000, - 52500 - ], - "header": 11000 - }, - { - "cells": [ - 11500, - 13500, - 15500, - 18000, - 20000, - 30000, - 36500, - 43000, - 49000, - 54500 - ], - "header": 12000 - }, - { - "cells": [ - 14500, - 14500, - 19000, - 19000, - 21500, - 30000, - 37000, - 44000, - 50500, - 56500 - ], - "header": 13000 - }, - { - "cells": [ - 17500, - 20500, - 20500, - 20500, - 26000, - 26000, - 37000, - 44000, - 52000, - 58500 - ], - "header": 14000 - }, - { - "cells": [ - 19000, - 19000, - 19000, - 27000, - 27000, - 27500, - 37000, - 44500, - 53000, - 60000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000 + ], + "aspectDeg": [ + [ + 8, + 10, + 15, + 17, + 22, + 27, + 34, + 40, + 42, + 45 + ], + [ + 9, + 13, + 11, + 19, + 21, + 29, + 33, + 40, + 45, + 45 + ], + [ + 9, + 13, + 9, + 18, + 22, + 29, + 34, + 39, + 43, + 45 + ], + [ + 9, + 15, + 14, + 19, + 21, + 29, + 35, + 39, + 44, + 45 + ], + [ + 10, + 5, + 18, + 17, + 24, + 30, + 35, + 40, + 44, + 45 + ], + [ + 11, + 10, + 20, + 25, + 25, + 31, + 35, + 40, + 44, + 45 + ], + [ + 11, + 19, + 20, + 20, + 29, + 31, + 35, + 41, + 44, + 45 + ], + [ + 5, + 29, + 27, + 23, + 32, + 35, + 39, + 43, + 45, + 45 + ], + [ + 30, + 34, + 37, + 36, + 34, + 39, + 42, + 45, + 45, + 45 + ], + [ + 36, + 39, + 44, + 40, + 39, + 42, + 45, + 45, + 45, + 45 + ], + [ + 34, + 45, + 45, + 45, + 43, + 44, + 45, + 45, + 45, + 45 + ], + [ + 44, + 42, + 45, + 45, + 44, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31#/client", + "speedsMs": [ 100, 150, 200, @@ -579,326 +753,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 750, - 1010, - 1290, - 1590, - 1930, - 2470, - 2970, - 3310, - 3590, - 3930 - ], - "header": 400 - }, - { - "cells": [ - 830, - 1130, - 1410, - 1690, - 2040, - 2600, - 3110, - 3480, - 3780, - 4090 - ], - "header": 500 - }, - { - "cells": [ - 1070, - 1190, - 1500, - 1790, - 2140, - 2730, - 3250, - 3720, - 4170, - 4620 - ], - "header": 600 - }, - { - "cells": [ - 1170, - 1250, - 1560, - 1860, - 2230, - 2840, - 3380, - 3880, - 4350, - 4820 - ], - "header": 700 - }, - { - "cells": [ - 1275, - 1350, - 1625, - 1975, - 2275, - 2950, - 3525, - 4025, - 4500, - 5000 - ], - "header": 800 - }, - { - "cells": [ - 1325, - 1425, - 1700, - 2025, - 2375, - 3025, - 3625, - 4175, - 4650, - 5175 - ], - "header": 900 - }, - { - "cells": [ - 1400, - 1425, - 1750, - 2075, - 2450, - 3125, - 3725, - 4275, - 4825, - 5350 - ], - "header": 1000 - }, - { - "cells": [ - 1925, - 1725, - 2200, - 2600, - 3125, - 3700, - 4450, - 5200, - 5900, - 6625 - ], - "header": 2000 - }, - { - "cells": [ - 1350, - 1750, - 2300, - 2850, - 3400, - 3950, - 4650, - 5700, - 6550, - 7500 - ], - "header": 3000 - }, - { - "cells": [ - 2000, - 4050, - 2200, - 2900, - 3500, - 4050, - 4750, - 7150, - 6950, - 8100 - ], - "header": 4000 - }, - { - "cells": [ - 2400, - 2900, - 2000, - 2600, - 3400, - 4000, - 4600, - 5600, - 8600, - 8400 - ], - "header": 5000 - }, - { - "cells": [ - 2250, - 4000, - 3250, - 2500, - 4250, - 3750, - 4500, - 5500, - 9500, - 9000 - ], - "header": 6000 - }, - { - "cells": [ - 2250, - 3750, - 3500, - 3750, - 4500, - 3500, - 4250, - 6750, - 7250, - 9500 - ], - "header": 7000 - }, - { - "cells": [ - 2250, - 3500, - 3500, - 4000, - 4500, - 5500, - 4000, - 7500, - 7500, - 10250 - ], - "header": 8000 - }, - { - "cells": [ - 2000, - 3500, - 3750, - 4000, - 4750, - 5750, - 6500, - 8000, - 7500, - 10750 - ], - "header": 9000 - }, - { - "cells": [ - 2000, - 3500, - 4000, - 4250, - 5250, - 6000, - 6750, - 8500, - 8250, - 11750 - ], - "header": 10000 - }, - { - "cells": [ - 2000, - 3500, - 4500, - 4500, - 5000, - 6500, - 7000, - 9000, - 9000, - 12500 - ], - "header": 11000 - }, - { - "cells": [ - 2000, - 3500, - 4500, - 4500, - 5500, - 6500, - 7500, - 10000, - 10500, - 13500 - ], - "header": 12000 - }, - { - "cells": [ - 2000, - 3500, - 5000, - 5000, - 6000, - 7000, - 8000, - 11000, - 11500, - 14500 - ], - "header": 13000 - }, - { - "cells": [ - 2500, - 4000, - 5500, - 5500, - 6000, - 7000, - 8500, - 6500, - 13000, - 15500 - ], - "header": 14000 - }, - { - "cells": [ - 2500, - 4000, - 5000, - 6000, - 6500, - 7000, - 9000, - 8000, - 14000, - 17000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_31_V_2B.json b/dcs-world-reference/latest/weapon_flight/GBU_31_V_2B.json index 19f72843..c6de49b9 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_31_V_2B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_31_V_2B.json @@ -20,675 +20,795 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_2B#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, + "altitudesM": [ 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 7, - 4, - 14, - 16, - 23, - 24, - 33, - 38, - 43, - 14 - ], - "header": 400 - }, - { - "cells": [ - 8, - 6, - 13, - 18, - 21, - 22, - 27, - 38, - 44, - 32 - ], - "header": 500 - }, - { - "cells": [ - 11, - 13, - 12, - 18, - 22, - 29, - 33, - 39, - 44, - 42 - ], - "header": 600 - }, - { - "cells": [ - 8, - 15, - 13, - 18, - 23, - 21, - 33, - 40, - 44, - 42 - ], - "header": 700 - }, - { - "cells": [ - 8, - 16, - 10, - 24, - 23, - 21, - 34, - 39, - 42, - 44 - ], - "header": 800 - }, - { - "cells": [ - 4, - 17, - 14, - 25, - 21, - 21, - 34, - 39, - 42, - 45 - ], - "header": 900 - }, - { - "cells": [ - 5, - 19, - 12, - 25, - 23, - 31, - 35, - 39, - 42, - 45 - ], - "header": 1000 - }, - { - "cells": [ - 8, - 25, - 28, - 32, - 30, - 35, - 39, - 42, - 45, - 45 - ], - "header": 2000 - }, - { - "cells": [ - 16, - 14, - 35, - 42, - 35, - 39, - 42, - 45, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 28, - 6, - 45, - 40, - 40, - 42, - 45, - 45, - 45, - 45 - ], - "header": 4000 - }, - { - "cells": [ - 36, - 17, - 9, - 45, - 42, - 44, - 45, - 45, - 45, - 45 - ], - "header": 5000 - }, - { - "cells": [ - 45, - 25, - 9, - 45, - 44, - 45, - 45, - 45, - 45, - 45 - ], - "header": 6000 - }, - { - "cells": [ - 44, - 33, - 10, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 7000 - }, - { - "cells": [ - 45, - 41, - 23, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 8000 - }, - { - "cells": [ - 45, - 45, - 31, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 9000 - }, - { - "cells": [ - 45, - 45, - 41, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 10000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 11000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 21 - ], - "header": 12000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 28, - 45, - 45, - 45, - 14 - ], - "header": 13000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 29, - 45, - 45, - 10 - ], - "header": 14000 - }, - { - "cells": [ - 45, - 44, - 45, - 45, - 45, - 45, - 21, - 45, - 21, - 10 - ], - "header": 15000 - } + "aspectDeg": [ + [ + 7, + 4, + 14, + 16, + 23, + 24, + 33, + 38, + 43, + 14 + ], + [ + 8, + 6, + 13, + 18, + 21, + 22, + 27, + 38, + 44, + 32 + ], + [ + 11, + 13, + 12, + 18, + 22, + 29, + 33, + 39, + 44, + 42 + ], + [ + 8, + 15, + 13, + 18, + 23, + 21, + 33, + 40, + 44, + 42 + ], + [ + 8, + 16, + 10, + 24, + 23, + 21, + 34, + 39, + 42, + 44 + ], + [ + 4, + 17, + 14, + 25, + 21, + 21, + 34, + 39, + 42, + 45 + ], + [ + 5, + 19, + 12, + 25, + 23, + 31, + 35, + 39, + 42, + 45 + ], + [ + 8, + 25, + 28, + 32, + 30, + 35, + 39, + 42, + 45, + 45 + ], + [ + 16, + 14, + 35, + 42, + 35, + 39, + 42, + 45, + 45, + 45 + ], + [ + 28, + 6, + 45, + 40, + 40, + 42, + 45, + 45, + 45, + 45 + ], + [ + 36, + 17, + 9, + 45, + 42, + 44, + 45, + 45, + 45, + 45 + ], + [ + 45, + 25, + 9, + 45, + 44, + 45, + 45, + 45, + 45, + 45 + ], + [ + 44, + 33, + 10, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 41, + 23, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 31, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 41, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 21 + ], + [ + 45, + 45, + 45, + 45, + 45, + 28, + 45, + 45, + 45, + 14 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 29, + 45, + 45, + 10 + ], + [ + 45, + 44, + 45, + 45, + 45, + 45, + 21, + 45, + 21, + 10 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_2B#/client/AspectDistData" - }, - { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, - 400, - 450, - 500, - 550 + "maxRangeM": [ + [ + 990, + 1750, + 2940, + 5190, + 7750, + 12390, + 14800, + 17300, + 17320, + 17350 + ], + [ + 1150, + 1600, + 3070, + 5210, + 8370, + 12700, + 15950, + 17300, + 17320, + 17340 + ], + [ + 1000, + 1520, + 3230, + 5230, + 7980, + 13010, + 16240, + 17290, + 17310, + 17350 + ], + [ + 1370, + 1650, + 3330, + 5390, + 8010, + 13310, + 16540, + 17310, + 17330, + 17360 + ], + [ + 1450, + 1750, + 3475, + 5325, + 8325, + 13575, + 16800, + 19350, + 21475, + 23550 + ], + [ + 1575, + 1850, + 3550, + 5475, + 8725, + 13875, + 17075, + 19650, + 21775, + 23850 + ], + [ + 1650, + 1950, + 3700, + 5750, + 8650, + 14175, + 17375, + 19925, + 22050, + 24150 + ], + [ + 2550, + 3575, + 4600, + 6750, + 12675, + 16850, + 20100, + 22675, + 24900, + 27125 + ], + [ + 3400, + 4100, + 7000, + 7500, + 15150, + 19250, + 22650, + 25300, + 27600, + 30000 + ], + [ + 3950, + 5700, + 7200, + 12200, + 17050, + 21450, + 25050, + 27850, + 30300, + 32900 + ], + [ + 4800, + 6900, + 9800, + 12700, + 18700, + 23300, + 27200, + 30300, + 32900, + 35800 + ], + [ + 5250, + 7750, + 9000, + 14750, + 20000, + 24750, + 29000, + 32250, + 35500, + 38500 + ], + [ + 7750, + 9000, + 11250, + 15750, + 21000, + 26500, + 28500, + 28750, + 28750, + 38500 + ], + [ + 8750, + 10250, + 12000, + 16500, + 22000, + 27750, + 32250, + 36500, + 38500, + 38500 + ], + [ + 10000, + 11750, + 13250, + 14000, + 20500, + 28250, + 33750, + 38500, + 38500, + 38750 + ], + [ + 11500, + 13250, + 14500, + 17000, + 23000, + 29000, + 35000, + 38500, + 38500, + 38750 + ], + [ + 12500, + 14500, + 16000, + 17500, + 23500, + 29500, + 35500, + 38500, + 38500, + 38500 + ], + [ + 14000, + 16000, + 17000, + 19000, + 23500, + 30000, + 36000, + 42500, + 49000, + 54500 + ], + [ + 15000, + 17000, + 19000, + 20500, + 23500, + 30000, + 36500, + 43000, + 50000, + 56500 + ], + [ + 16500, + 19000, + 20500, + 22500, + 24000, + 30000, + 36500, + 44000, + 51500, + 58500 + ], + [ + 18500, + 20500, + 22500, + 24000, + 25500, + 29500, + 36500, + 44500, + 52000, + 60000 + ] ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 990, - 1750, - 2940, - 5190, - 7750, - 12390, - 14800, - 17300, - 17320, - 17350 - ], - "header": 400 - }, - { - "cells": [ - 1150, - 1600, - 3070, - 5210, - 8370, - 12700, - 15950, - 17300, - 17320, - 17340 - ], - "header": 500 - }, - { - "cells": [ - 1000, - 1520, - 3230, - 5230, - 7980, - 13010, - 16240, - 17290, - 17310, - 17350 - ], - "header": 600 - }, - { - "cells": [ - 1370, - 1650, - 3330, - 5390, - 8010, - 13310, - 16540, - 17310, - 17330, - 17360 - ], - "header": 700 - }, - { - "cells": [ - 1450, - 1750, - 3475, - 5325, - 8325, - 13575, - 16800, - 19350, - 21475, - 23550 - ], - "header": 800 - }, - { - "cells": [ - 1575, - 1850, - 3550, - 5475, - 8725, - 13875, - 17075, - 19650, - 21775, - 23850 - ], - "header": 900 - }, - { - "cells": [ - 1650, - 1950, - 3700, - 5750, - 8650, - 14175, - 17375, - 19925, - 22050, - 24150 - ], - "header": 1000 - }, - { - "cells": [ - 2550, - 3575, - 4600, - 6750, - 12675, - 16850, - 20100, - 22675, - 24900, - 27125 - ], - "header": 2000 - }, - { - "cells": [ - 3400, - 4100, - 7000, - 7500, - 15150, - 19250, - 22650, - 25300, - 27600, - 30000 - ], - "header": 3000 - }, - { - "cells": [ - 3950, - 5700, - 7200, - 12200, - 17050, - 21450, - 25050, - 27850, - 30300, - 32900 - ], - "header": 4000 - }, - { - "cells": [ - 4800, - 6900, - 9800, - 12700, - 18700, - 23300, - 27200, - 30300, - 32900, - 35800 - ], - "header": 5000 - }, - { - "cells": [ - 5250, - 7750, - 9000, - 14750, - 20000, - 24750, - 29000, - 32250, - 35500, - 38500 - ], - "header": 6000 - }, - { - "cells": [ - 7750, - 9000, - 11250, - 15750, - 21000, - 26500, - 28500, - 28750, - 28750, - 38500 - ], - "header": 7000 - }, - { - "cells": [ - 8750, - 10250, - 12000, - 16500, - 22000, - 27750, - 32250, - 36500, - 38500, - 38500 - ], - "header": 8000 - }, - { - "cells": [ - 10000, - 11750, - 13250, - 14000, - 20500, - 28250, - 33750, - 38500, - 38500, - 38750 - ], - "header": 9000 - }, - { - "cells": [ - 11500, - 13250, - 14500, - 17000, - 23000, - 29000, - 35000, - 38500, - 38500, - 38750 - ], - "header": 10000 - }, - { - "cells": [ - 12500, - 14500, - 16000, - 17500, - 23500, - 29500, - 35500, - 38500, - 38500, - 38500 - ], - "header": 11000 - }, - { - "cells": [ - 14000, - 16000, - 17000, - 19000, - 23500, - 30000, - 36000, - 42500, - 49000, - 54500 - ], - "header": 12000 - }, - { - "cells": [ - 15000, - 17000, - 19000, - 20500, - 23500, - 30000, - 36500, - 43000, - 50000, - 56500 - ], - "header": 13000 - }, - { - "cells": [ - 16500, - 19000, - 20500, - 22500, - 24000, - 30000, - 36500, - 44000, - 51500, - 58500 - ], - "header": 14000 - }, - { - "cells": [ - 18500, - 20500, - 22500, - 24000, - 25500, - 29500, - 36500, - 44500, - 52000, - 60000 - ], - "header": 15000 - } + "minRangeM": [ + [ + 720, + 970, + 1210, + 1480, + 1790, + 2410, + 2930, + 3420, + 3740, + 4060 + ], + [ + 780, + 1030, + 1300, + 1580, + 1910, + 2450, + 2990, + 3400, + 3700, + 4010 + ], + [ + 960, + 1080, + 1370, + 1650, + 1960, + 2520, + 3060, + 3460, + 3770, + 4080 + ], + [ + 1000, + 1140, + 1450, + 1730, + 2040, + 2600, + 3150, + 3530, + 3860, + 4190 + ], + [ + 1075, + 1200, + 1500, + 1775, + 2125, + 2675, + 3225, + 3750, + 4225, + 4700 + ], + [ + 1250, + 1225, + 1550, + 1850, + 2200, + 2750, + 3300, + 3825, + 4350, + 4825 + ], + [ + 1300, + 1250, + 1600, + 1900, + 2225, + 2825, + 3350, + 3925, + 4425, + 4975 + ], + [ + 1800, + 1425, + 3625, + 2150, + 2725, + 3200, + 3775, + 4450, + 5200, + 5925 + ], + [ + 1200, + 1300, + 1800, + 2100, + 2800, + 3300, + 3850, + 4550, + 5400, + 6400 + ], + [ + 2100, + 2100, + 1400, + 2700, + 2650, + 3700, + 4200, + 4400, + 5250, + 6450 + ], + [ + 2100, + 4400, + 2600, + 2800, + 3400, + 3900, + 4400, + 5100, + 5000, + 6200 + ], + [ + 2000, + 4250, + 2500, + 3250, + 3500, + 4000, + 4500, + 5250, + 6250, + 6000 + ], + [ + 2000, + 3500, + 6500, + 3250, + 3750, + 4500, + 4750, + 5250, + 6000, + 7500 + ], + [ + 1750, + 3250, + 3000, + 3250, + 4000, + 4500, + 5000, + 6000, + 7000, + 8000 + ], + [ + 1750, + 3250, + 3000, + 3000, + 3750, + 4500, + 5250, + 6250, + 7250, + 8500 + ], + [ + 1500, + 3000, + 3250, + 3250, + 4000, + 4500, + 5500, + 6250, + 7500, + 9000 + ], + [ + 1500, + 3000, + 3000, + 3000, + 4000, + 5000, + 5500, + 6500, + 8000, + 9500 + ], + [ + 1000, + 2500, + 3000, + 3500, + 4000, + 4500, + 5500, + 7000, + 9000, + 11000 + ], + [ + 1000, + 2500, + 3500, + 3500, + 3500, + 4500, + 5500, + 7000, + 9500, + 12500 + ], + [ + 1500, + 2500, + 3000, + 3000, + 3500, + 4500, + 6000, + 8000, + 10500, + 13500 + ], + [ + 1500, + 2000, + 3000, + 3000, + 3500, + 4500, + 6000, + 8500, + 11500, + 14500 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_2B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_2B#/client", + "speedsMs": [ 100, 150, 200, @@ -699,326 +819,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 720, - 970, - 1210, - 1480, - 1790, - 2410, - 2930, - 3420, - 3740, - 4060 - ], - "header": 400 - }, - { - "cells": [ - 780, - 1030, - 1300, - 1580, - 1910, - 2450, - 2990, - 3400, - 3700, - 4010 - ], - "header": 500 - }, - { - "cells": [ - 960, - 1080, - 1370, - 1650, - 1960, - 2520, - 3060, - 3460, - 3770, - 4080 - ], - "header": 600 - }, - { - "cells": [ - 1000, - 1140, - 1450, - 1730, - 2040, - 2600, - 3150, - 3530, - 3860, - 4190 - ], - "header": 700 - }, - { - "cells": [ - 1075, - 1200, - 1500, - 1775, - 2125, - 2675, - 3225, - 3750, - 4225, - 4700 - ], - "header": 800 - }, - { - "cells": [ - 1250, - 1225, - 1550, - 1850, - 2200, - 2750, - 3300, - 3825, - 4350, - 4825 - ], - "header": 900 - }, - { - "cells": [ - 1300, - 1250, - 1600, - 1900, - 2225, - 2825, - 3350, - 3925, - 4425, - 4975 - ], - "header": 1000 - }, - { - "cells": [ - 1800, - 1425, - 3625, - 2150, - 2725, - 3200, - 3775, - 4450, - 5200, - 5925 - ], - "header": 2000 - }, - { - "cells": [ - 1200, - 1300, - 1800, - 2100, - 2800, - 3300, - 3850, - 4550, - 5400, - 6400 - ], - "header": 3000 - }, - { - "cells": [ - 2100, - 2100, - 1400, - 2700, - 2650, - 3700, - 4200, - 4400, - 5250, - 6450 - ], - "header": 4000 - }, - { - "cells": [ - 2100, - 4400, - 2600, - 2800, - 3400, - 3900, - 4400, - 5100, - 5000, - 6200 - ], - "header": 5000 - }, - { - "cells": [ - 2000, - 4250, - 2500, - 3250, - 3500, - 4000, - 4500, - 5250, - 6250, - 6000 - ], - "header": 6000 - }, - { - "cells": [ - 2000, - 3500, - 6500, - 3250, - 3750, - 4500, - 4750, - 5250, - 6000, - 7500 - ], - "header": 7000 - }, - { - "cells": [ - 1750, - 3250, - 3000, - 3250, - 4000, - 4500, - 5000, - 6000, - 7000, - 8000 - ], - "header": 8000 - }, - { - "cells": [ - 1750, - 3250, - 3000, - 3000, - 3750, - 4500, - 5250, - 6250, - 7250, - 8500 - ], - "header": 9000 - }, - { - "cells": [ - 1500, - 3000, - 3250, - 3250, - 4000, - 4500, - 5500, - 6250, - 7500, - 9000 - ], - "header": 10000 - }, - { - "cells": [ - 1500, - 3000, - 3000, - 3000, - 4000, - 5000, - 5500, - 6500, - 8000, - 9500 - ], - "header": 11000 - }, - { - "cells": [ - 1000, - 2500, - 3000, - 3500, - 4000, - 4500, - 5500, - 7000, - 9000, - 11000 - ], - "header": 12000 - }, - { - "cells": [ - 1000, - 2500, - 3500, - 3500, - 3500, - 4500, - 5500, - 7000, - 9500, - 12500 - ], - "header": 13000 - }, - { - "cells": [ - 1500, - 2500, - 3000, - 3000, - 3500, - 4500, - 6000, - 8000, - 10500, - 13500 - ], - "header": 14000 - }, - { - "cells": [ - 1500, - 2000, - 3000, - 3000, - 3500, - 4500, - 6000, - 8500, - 11500, - 14500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_2B#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_2B#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_31_V_3B.json b/dcs-world-reference/latest/weapon_flight/GBU_31_V_3B.json index 934fe320..fb0bd65c 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_31_V_3B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_31_V_3B.json @@ -20,297 +20,541 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_3B#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, + "altitudesM": [ 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 7, - 4, - 14, - 19, - 24, - 26, - 33, - 20, - 44, - 8 - ], - "header": 400 - }, - { - "cells": [ - 2, - 12, - 12, - 17, - 23, - 29, - 34, - 39, - 43, - 22 - ], - "header": 500 - }, - { - "cells": [ - 10, - 13, - 12, - 18, - 21, - 28, - 34, - 39, - 9, - 18 - ], - "header": 600 - }, - { - "cells": [ - 7, - 14, - 12, - 17, - 24, - 29, - 35, - 40, - 44, - 40 - ], - "header": 700 - }, - { - "cells": [ - 8, - 15, - 12, - 18, - 22, - 30, - 23, - 40, - 44, - 43 - ], - "header": 800 - }, - { - "cells": [ - 5, - 4, - 11, - 24, - 29, - 30, - 35, - 41, - 45, - 33 - ], - "header": 900 - }, - { - "cells": [ - 5, - 3, - 13, - 26, - 29, - 31, - 36, - 41, - 45, - 45 - ], - "header": 1000 - }, - { - "cells": [ - 8, - 25, - 31, - 34, - 23, - 35, - 39, - 44, - 45, - 45 - ], - "header": 2000 - }, - { - "cells": [ - 24, - 43, - 26, - 35, - 36, - 39, - 43, - 45, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 22, - 8, - 45, - 40, - 40, - 42, - 45, - 45, - 45, - 45 - ], - "header": 4000 - }, - { - "cells": [ - 31, - 17, - 8, - 45, - 41, - 43, - 45, - 45, - 45, - 45 - ], - "header": 5000 - }, - { - "cells": [ - 44, - 24, - 8, - 45, - 44, - 45, - 45, - 45, - 45, - 45 - ], - "header": 6000 - }, - { - "cells": [ - 44, - 32, - 13, - 45, - 45, - 45, - 45, - 45, - 45, - 43 - ], - "header": 7000 - }, - { - "cells": [ - 45, - 41, - 23, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 8000 - }, - { - "cells": [ - 45, - 45, - 28, - 45, - 45, - 45, - 45, - 45, - 45, - 39 - ], - "header": 9000 - }, - { - "cells": [ - 45, - 45, - 37, - 45, - 45, - 45, - 45, - 45, - 45, - 39 - ], - "header": 10000 - }, - { - "cells": [ - 45, - 45, - 42, - 45, - 34, - 45, - 45, - 45, - 45, - 36 - ], - "header": 11000 - }, - { - "cells": [ - 45, - 45, - 44, - 45, - 45, - 45, - 45, - 45, - 45, - 37 - ], - "header": 12000 - } + "maxRangeM": [ + [ + 1030, + 1670, + 3050, + 5060, + 8020, + 14180, + 18710, + 22060, + 22680, + 23630 + ], + [ + 800, + 1400, + 3100, + 5220, + 8110, + 14510, + 19030, + 22800, + 26250, + 30670 + ], + [ + 1260, + 1520, + 3230, + 5280, + 9780, + 14830, + 19350, + 23120, + 26570, + 29750 + ], + [ + 1380, + 1650, + 3350, + 5450, + 8380, + 15150, + 19660, + 23440, + 26880, + 29760 + ], + [ + 1450, + 1675, + 3450, + 5550, + 8500, + 15450, + 19950, + 23750, + 27175, + 29750 + ], + [ + 1575, + 2200, + 3600, + 5675, + 8400, + 15750, + 20300, + 24050, + 27550, + 29775 + ], + [ + 1650, + 2600, + 3750, + 5825, + 8675, + 16075, + 20575, + 24375, + 27850, + 29775 + ], + [ + 2550, + 3550, + 4525, + 7150, + 10700, + 18875, + 23500, + 27375, + 29800, + 29825 + ], + [ + 2700, + 2750, + 6750, + 11150, + 16200, + 21350, + 26150, + 29750, + 29800, + 29850 + ], + [ + 4450, + 6000, + 7250, + 12400, + 18050, + 23500, + 27450, + 27450, + 27500, + 31300 + ], + [ + 5400, + 6900, + 9900, + 12800, + 19700, + 25500, + 28600, + 28600, + 28600, + 33900 + ], + [ + 5250, + 8000, + 9000, + 13000, + 20750, + 27000, + 29000, + 29000, + 29250, + 35000 + ], + [ + 7750, + 9250, + 11250, + 12750, + 21750, + 28000, + 34250, + 38750, + 38750, + 38750 + ], + [ + 8750, + 10250, + 12000, + 13250, + 22500, + 29000, + 33750, + 33750, + 33750, + 38750 + ], + [ + 10250, + 11750, + 13500, + 17000, + 23250, + 30000, + 36750, + 40000, + 40250, + 40250 + ], + [ + 11750, + 13500, + 14750, + 17250, + 23500, + 30500, + 37500, + 41750, + 41750, + 42000 + ], + [ + 13000, + 14500, + 16000, + 18000, + 23500, + 30500, + 38000, + 45500, + 46500, + 46500 + ], + [ + 14500, + 16000, + 17500, + 19000, + 24000, + 30500, + 38500, + 46500, + 46500, + 46500 + ], + [ + 15500, + 17500, + 19000, + 21000, + 24000, + 30500, + 38500, + 47000, + 56000, + 64500 + ], + [ + 17000, + 19500, + 21000, + 23000, + 24500, + 30500, + 38000, + 47000, + 56500, + 65500 + ], + [ + 19000, + 21000, + 23000, + 24000, + 26000, + 30000, + 38000, + 46500, + 56500, + 66000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_3B#/client/AspectDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 730, + 990, + 1250, + 1530, + 1830, + 2530, + 3230, + 3800, + 4180, + 17910 + ], + [ + 760, + 1040, + 1340, + 1620, + 1930, + 2570, + 3210, + 3800, + 4340, + 18220 + ], + [ + 830, + 1100, + 1410, + 1700, + 2120, + 2650, + 3280, + 3870, + 4410, + 4940 + ], + [ + 1010, + 1160, + 1470, + 1950, + 2090, + 2740, + 3370, + 3970, + 4530, + 5050 + ], + [ + 1100, + 1200, + 1525, + 1850, + 2150, + 2825, + 3450, + 4050, + 4650, + 5175 + ], + [ + 1250, + 1300, + 1575, + 1900, + 2225, + 2875, + 3525, + 4175, + 4775, + 5300 + ], + [ + 1300, + 2550, + 1625, + 1925, + 2275, + 2950, + 3600, + 4250, + 4875, + 5400 + ], + [ + 1825, + 1425, + 2700, + 2200, + 2625, + 3400, + 4050, + 4825, + 5650, + 6225 + ], + [ + 1100, + 1650, + 1750, + 2350, + 2900, + 3450, + 4100, + 4900, + 5750, + 6650 + ], + [ + 2350, + 4200, + 2200, + 2750, + 2750, + 3350, + 3900, + 4400, + 5250, + 6700 + ], + [ + 2200, + 4600, + 2700, + 2900, + 3600, + 4100, + 4500, + 5000, + 5700, + 6400 + ], + [ + 2000, + 4500, + 2750, + 3000, + 3750, + 4250, + 4750, + 5250, + 6000, + 6000 + ], + [ + 2000, + 3750, + 6500, + 3000, + 3750, + 4500, + 5250, + 6000, + 6750, + 8000 + ], + [ + 2000, + 3250, + 3000, + 3000, + 4000, + 4500, + 5250, + 5750, + 6750, + 8250 + ], + [ + 2000, + 3250, + 3250, + 3500, + 4000, + 4750, + 5500, + 6500, + 7750, + 8750 + ], + [ + 1750, + 3250, + 3500, + 3500, + 4250, + 4750, + 5500, + 6750, + 8250, + 9500 + ], + [ + 1500, + 3000, + 3000, + 3500, + 4000, + 4500, + 5500, + 7000, + 9000, + 10500 + ], + [ + 1000, + 2500, + 3000, + 3500, + 4000, + 4500, + 5500, + 7500, + 9500, + 11000 + ], + [ + 1000, + 2500, + 3500, + 3500, + 4000, + 4500, + 6000, + 8000, + 10500, + 13500 + ], + [ + 1500, + 2500, + 3000, + 3500, + 3500, + 4500, + 6000, + 8000, + 11500, + 14500 + ], + [ + 1500, + 2000, + 3000, + 3000, + 4000, + 5000, + 6000, + 8500, + 12500, + 15500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_3B#/client", + "speedsMs": [ 100, 150, 200, @@ -321,329 +565,249 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1030, - 1670, - 3050, - 5060, - 8020, - 14180, - 18710, - 22060, - 22680, - 23630 - ], - "header": 400 - }, - { - "cells": [ - 800, - 1400, - 3100, - 5220, - 8110, - 14510, - 19030, - 22800, - 26250, - 30670 - ], - "header": 500 - }, - { - "cells": [ - 1260, - 1520, - 3230, - 5280, - 9780, - 14830, - 19350, - 23120, - 26570, - 29750 - ], - "header": 600 - }, - { - "cells": [ - 1380, - 1650, - 3350, - 5450, - 8380, - 15150, - 19660, - 23440, - 26880, - 29760 - ], - "header": 700 - }, - { - "cells": [ - 1450, - 1675, - 3450, - 5550, - 8500, - 15450, - 19950, - 23750, - 27175, - 29750 - ], - "header": 800 - }, - { - "cells": [ - 1575, - 2200, - 3600, - 5675, - 8400, - 15750, - 20300, - 24050, - 27550, - 29775 - ], - "header": 900 - }, - { - "cells": [ - 1650, - 2600, - 3750, - 5825, - 8675, - 16075, - 20575, - 24375, - 27850, - 29775 - ], - "header": 1000 - }, - { - "cells": [ - 2550, - 3550, - 4525, - 7150, - 10700, - 18875, - 23500, - 27375, - 29800, - 29825 - ], - "header": 2000 - }, - { - "cells": [ - 2700, - 2750, - 6750, - 11150, - 16200, - 21350, - 26150, - 29750, - 29800, - 29850 - ], - "header": 3000 - }, - { - "cells": [ - 4450, - 6000, - 7250, - 12400, - 18050, - 23500, - 27450, - 27450, - 27500, - 31300 - ], - "header": 4000 - }, - { - "cells": [ - 5400, - 6900, - 9900, - 12800, - 19700, - 25500, - 28600, - 28600, - 28600, - 33900 - ], - "header": 5000 - }, - { - "cells": [ - 5250, - 8000, - 9000, - 13000, - 20750, - 27000, - 29000, - 29000, - 29250, - 35000 - ], - "header": 6000 - }, - { - "cells": [ - 7750, - 9250, - 11250, - 12750, - 21750, - 28000, - 34250, - 38750, - 38750, - 38750 - ], - "header": 7000 - }, - { - "cells": [ - 8750, - 10250, - 12000, - 13250, - 22500, - 29000, - 33750, - 33750, - 33750, - 38750 - ], - "header": 8000 - }, - { - "cells": [ - 10250, - 11750, - 13500, - 17000, - 23250, - 30000, - 36750, - 40000, - 40250, - 40250 - ], - "header": 9000 - }, - { - "cells": [ - 11750, - 13500, - 14750, - 17250, - 23500, - 30500, - 37500, - 41750, - 41750, - 42000 - ], - "header": 10000 - }, - { - "cells": [ - 13000, - 14500, - 16000, - 18000, - 23500, - 30500, - 38000, - 45500, - 46500, - 46500 - ], - "header": 11000 - }, - { - "cells": [ - 14500, - 16000, - 17500, - 19000, - 24000, - 30500, - 38500, - 46500, - 46500, - 46500 - ], - "header": 12000 - }, - { - "cells": [ - 15500, - 17500, - 19000, - 21000, - 24000, - 30500, - 38500, - 47000, - 56000, - 64500 - ], - "header": 13000 - }, - { - "cells": [ - 17000, - 19500, - 21000, - 23000, - 24500, - 30500, - 38000, - 47000, - 56500, - 65500 - ], - "header": 14000 - }, - { - "cells": [ - 19000, - 21000, - 23000, - 24000, - 26000, - 30000, - 38000, - 46500, - 56500, - 66000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_3B#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000 + ], + "aspectDeg": [ + [ + 7, + 4, + 14, + 19, + 24, + 26, + 33, + 20, + 44, + 8 + ], + [ + 2, + 12, + 12, + 17, + 23, + 29, + 34, + 39, + 43, + 22 + ], + [ + 10, + 13, + 12, + 18, + 21, + 28, + 34, + 39, + 9, + 18 + ], + [ + 7, + 14, + 12, + 17, + 24, + 29, + 35, + 40, + 44, + 40 + ], + [ + 8, + 15, + 12, + 18, + 22, + 30, + 23, + 40, + 44, + 43 + ], + [ + 5, + 4, + 11, + 24, + 29, + 30, + 35, + 41, + 45, + 33 + ], + [ + 5, + 3, + 13, + 26, + 29, + 31, + 36, + 41, + 45, + 45 + ], + [ + 8, + 25, + 31, + 34, + 23, + 35, + 39, + 44, + 45, + 45 + ], + [ + 24, + 43, + 26, + 35, + 36, + 39, + 43, + 45, + 45, + 45 + ], + [ + 22, + 8, + 45, + 40, + 40, + 42, + 45, + 45, + 45, + 45 + ], + [ + 31, + 17, + 8, + 45, + 41, + 43, + 45, + 45, + 45, + 45 + ], + [ + 44, + 24, + 8, + 45, + 44, + 45, + 45, + 45, + 45, + 45 + ], + [ + 44, + 32, + 13, + 45, + 45, + 45, + 45, + 45, + 45, + 43 + ], + [ + 45, + 41, + 23, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 28, + 45, + 45, + 45, + 45, + 45, + 45, + 39 + ], + [ + 45, + 45, + 37, + 45, + 45, + 45, + 45, + 45, + 45, + 39 + ], + [ + 45, + 45, + 42, + 45, + 34, + 45, + 45, + 45, + 45, + 36 + ], + [ + 45, + 45, + 44, + 45, + 45, + 45, + 45, + 45, + 45, + 37 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_3B#/client", + "speedsMs": [ 100, 150, 200, @@ -654,326 +818,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 730, - 990, - 1250, - 1530, - 1830, - 2530, - 3230, - 3800, - 4180, - 17910 - ], - "header": 400 - }, - { - "cells": [ - 760, - 1040, - 1340, - 1620, - 1930, - 2570, - 3210, - 3800, - 4340, - 18220 - ], - "header": 500 - }, - { - "cells": [ - 830, - 1100, - 1410, - 1700, - 2120, - 2650, - 3280, - 3870, - 4410, - 4940 - ], - "header": 600 - }, - { - "cells": [ - 1010, - 1160, - 1470, - 1950, - 2090, - 2740, - 3370, - 3970, - 4530, - 5050 - ], - "header": 700 - }, - { - "cells": [ - 1100, - 1200, - 1525, - 1850, - 2150, - 2825, - 3450, - 4050, - 4650, - 5175 - ], - "header": 800 - }, - { - "cells": [ - 1250, - 1300, - 1575, - 1900, - 2225, - 2875, - 3525, - 4175, - 4775, - 5300 - ], - "header": 900 - }, - { - "cells": [ - 1300, - 2550, - 1625, - 1925, - 2275, - 2950, - 3600, - 4250, - 4875, - 5400 - ], - "header": 1000 - }, - { - "cells": [ - 1825, - 1425, - 2700, - 2200, - 2625, - 3400, - 4050, - 4825, - 5650, - 6225 - ], - "header": 2000 - }, - { - "cells": [ - 1100, - 1650, - 1750, - 2350, - 2900, - 3450, - 4100, - 4900, - 5750, - 6650 - ], - "header": 3000 - }, - { - "cells": [ - 2350, - 4200, - 2200, - 2750, - 2750, - 3350, - 3900, - 4400, - 5250, - 6700 - ], - "header": 4000 - }, - { - "cells": [ - 2200, - 4600, - 2700, - 2900, - 3600, - 4100, - 4500, - 5000, - 5700, - 6400 - ], - "header": 5000 - }, - { - "cells": [ - 2000, - 4500, - 2750, - 3000, - 3750, - 4250, - 4750, - 5250, - 6000, - 6000 - ], - "header": 6000 - }, - { - "cells": [ - 2000, - 3750, - 6500, - 3000, - 3750, - 4500, - 5250, - 6000, - 6750, - 8000 - ], - "header": 7000 - }, - { - "cells": [ - 2000, - 3250, - 3000, - 3000, - 4000, - 4500, - 5250, - 5750, - 6750, - 8250 - ], - "header": 8000 - }, - { - "cells": [ - 2000, - 3250, - 3250, - 3500, - 4000, - 4750, - 5500, - 6500, - 7750, - 8750 - ], - "header": 9000 - }, - { - "cells": [ - 1750, - 3250, - 3500, - 3500, - 4250, - 4750, - 5500, - 6750, - 8250, - 9500 - ], - "header": 10000 - }, - { - "cells": [ - 1500, - 3000, - 3000, - 3500, - 4000, - 4500, - 5500, - 7000, - 9000, - 10500 - ], - "header": 11000 - }, - { - "cells": [ - 1000, - 2500, - 3000, - 3500, - 4000, - 4500, - 5500, - 7500, - 9500, - 11000 - ], - "header": 12000 - }, - { - "cells": [ - 1000, - 2500, - 3500, - 3500, - 4000, - 4500, - 6000, - 8000, - 10500, - 13500 - ], - "header": 13000 - }, - { - "cells": [ - 1500, - 2500, - 3000, - 3500, - 3500, - 4500, - 6000, - 8000, - 11500, - 14500 - ], - "header": 14000 - }, - { - "cells": [ - 1500, - 2000, - 3000, - 3000, - 4000, - 5000, - 6000, - 8500, - 12500, - 15500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_3B#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_3B#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_31_V_4B.json b/dcs-world-reference/latest/weapon_flight/GBU_31_V_4B.json index da786139..92f8f66d 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_31_V_4B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_31_V_4B.json @@ -20,675 +20,795 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_4B#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, + "altitudesM": [ 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 7, - 4, - 14, - 18, - 23, - 28, - 36, - 28, - 21, - 9 - ], - "header": 400 - }, - { - "cells": [ - 8, - 11, - 13, - 17, - 21, - 28, - 23, - 15, - 33, - 37 - ], - "header": 500 - }, - { - "cells": [ - 10, - 13, - 12, - 18, - 23, - 29, - 34, - 41, - 37, - 23 - ], - "header": 600 - }, - { - "cells": [ - 7, - 14, - 11, - 18, - 23, - 30, - 35, - 34, - 44, - 45 - ], - "header": 700 - }, - { - "cells": [ - 8, - 16, - 12, - 18, - 23, - 30, - 35, - 40, - 44, - 44 - ], - "header": 800 - }, - { - "cells": [ - 4, - 7, - 10, - 17, - 29, - 30, - 35, - 41, - 44, - 43 - ], - "header": 900 - }, - { - "cells": [ - 5, - 7, - 13, - 26, - 23, - 30, - 35, - 40, - 45, - 42 - ], - "header": 1000 - }, - { - "cells": [ - 8, - 25, - 25, - 30, - 30, - 35, - 39, - 43, - 45, - 45 - ], - "header": 2000 - }, - { - "cells": [ - 23, - 42, - 35, - 35, - 35, - 38, - 42, - 45, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 22, - 8, - 45, - 39, - 39, - 41, - 45, - 45, - 45, - 45 - ], - "header": 4000 - }, - { - "cells": [ - 30, - 17, - 8, - 45, - 41, - 43, - 45, - 45, - 45, - 45 - ], - "header": 5000 - }, - { - "cells": [ - 44, - 24, - 8, - 45, - 44, - 45, - 45, - 45, - 45, - 45 - ], - "header": 6000 - }, - { - "cells": [ - 44, - 32, - 17, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 7000 - }, - { - "cells": [ - 45, - 41, - 23, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 8000 - }, - { - "cells": [ - 45, - 45, - 29, - 45, - 45, - 45, - 45, - 45, - 45, - 38 - ], - "header": 9000 - }, - { - "cells": [ - 45, - 45, - 34, - 45, - 45, - 45, - 45, - 45, - 45, - 39 - ], - "header": 10000 - }, - { - "cells": [ - 45, - 45, - 42, - 45, - 45, - 45, - 45, - 45, - 45, - 39 - ], - "header": 11000 - }, - { - "cells": [ - 45, - 45, - 44, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 12000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 28, - 45, - 45, - 45, - 13 - ], - "header": 13000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 31, - 45, - 45, - 6 - ], - "header": 14000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 21, - 45, - 14, - 7 - ], - "header": 15000 - } + "aspectDeg": [ + [ + 7, + 4, + 14, + 18, + 23, + 28, + 36, + 28, + 21, + 9 + ], + [ + 8, + 11, + 13, + 17, + 21, + 28, + 23, + 15, + 33, + 37 + ], + [ + 10, + 13, + 12, + 18, + 23, + 29, + 34, + 41, + 37, + 23 + ], + [ + 7, + 14, + 11, + 18, + 23, + 30, + 35, + 34, + 44, + 45 + ], + [ + 8, + 16, + 12, + 18, + 23, + 30, + 35, + 40, + 44, + 44 + ], + [ + 4, + 7, + 10, + 17, + 29, + 30, + 35, + 41, + 44, + 43 + ], + [ + 5, + 7, + 13, + 26, + 23, + 30, + 35, + 40, + 45, + 42 + ], + [ + 8, + 25, + 25, + 30, + 30, + 35, + 39, + 43, + 45, + 45 + ], + [ + 23, + 42, + 35, + 35, + 35, + 38, + 42, + 45, + 45, + 45 + ], + [ + 22, + 8, + 45, + 39, + 39, + 41, + 45, + 45, + 45, + 45 + ], + [ + 30, + 17, + 8, + 45, + 41, + 43, + 45, + 45, + 45, + 45 + ], + [ + 44, + 24, + 8, + 45, + 44, + 45, + 45, + 45, + 45, + 45 + ], + [ + 44, + 32, + 17, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 41, + 23, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 29, + 45, + 45, + 45, + 45, + 45, + 45, + 38 + ], + [ + 45, + 45, + 34, + 45, + 45, + 45, + 45, + 45, + 45, + 39 + ], + [ + 45, + 45, + 42, + 45, + 45, + 45, + 45, + 45, + 45, + 39 + ], + [ + 45, + 45, + 44, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 28, + 45, + 45, + 45, + 13 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 31, + 45, + 45, + 6 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 21, + 45, + 14, + 7 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_4B#/client/AspectDistData" - }, - { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, - 400, - 450, - 500, - 550 + "maxRangeM": [ + [ + 1030, + 1670, + 3050, + 5060, + 8240, + 14110, + 16270, + 22020, + 24100, + 24130 + ], + [ + 1150, + 1400, + 3080, + 5210, + 9080, + 14430, + 18980, + 22770, + 26240, + 30620 + ], + [ + 1260, + 1520, + 3210, + 5260, + 8250, + 14760, + 19290, + 21160, + 26550, + 29800 + ], + [ + 1370, + 1650, + 3330, + 5390, + 8430, + 15080, + 19620, + 23410, + 26860, + 29800 + ], + [ + 1450, + 1775, + 3450, + 5575, + 8450, + 15375, + 19925, + 23700, + 27175, + 29800 + ], + [ + 1575, + 2075, + 3600, + 5675, + 8550, + 15675, + 20225, + 24000, + 27525, + 29825 + ], + [ + 1650, + 2575, + 3750, + 5825, + 8675, + 16000, + 20525, + 24325, + 27875, + 29825 + ], + [ + 2550, + 3550, + 5550, + 6725, + 13375, + 18825, + 23450, + 27350, + 29825, + 29875 + ], + [ + 2700, + 2750, + 6750, + 11250, + 16150, + 21300, + 25950, + 26000, + 26050, + 29900 + ], + [ + 4450, + 6000, + 7250, + 12550, + 18000, + 23450, + 27050, + 27050, + 27100, + 31450 + ], + [ + 5500, + 6900, + 9900, + 12900, + 19600, + 25400, + 30700, + 32800, + 32800, + 32900 + ], + [ + 5250, + 8000, + 9000, + 12500, + 20500, + 26750, + 32500, + 36500, + 36750, + 36500 + ], + [ + 7750, + 9250, + 9250, + 12750, + 21750, + 28000, + 34250, + 36500, + 36750, + 36750 + ], + [ + 8750, + 10250, + 12000, + 13500, + 22500, + 29000, + 32500, + 32750, + 32750, + 38750 + ], + [ + 10250, + 11750, + 13250, + 17000, + 23000, + 29750, + 33750, + 33750, + 34000, + 40750 + ], + [ + 11500, + 13250, + 14750, + 17250, + 23500, + 30250, + 35250, + 35250, + 35250, + 42000 + ], + [ + 13000, + 14500, + 16000, + 18000, + 23500, + 30500, + 38000, + 43000, + 43000, + 43500 + ], + [ + 14500, + 16000, + 17500, + 19000, + 23500, + 30500, + 38000, + 46000, + 54500, + 63000 + ], + [ + 15500, + 17500, + 19000, + 21000, + 23500, + 30500, + 38000, + 46500, + 55500, + 64500 + ], + [ + 17000, + 19000, + 21000, + 22500, + 24500, + 30000, + 38000, + 46500, + 56000, + 65500 + ], + [ + 18500, + 21000, + 23000, + 24000, + 26000, + 30000, + 37500, + 46500, + 56500, + 66000 + ] ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1030, - 1670, - 3050, - 5060, - 8240, - 14110, - 16270, - 22020, - 24100, - 24130 - ], - "header": 400 - }, - { - "cells": [ - 1150, - 1400, - 3080, - 5210, - 9080, - 14430, - 18980, - 22770, - 26240, - 30620 - ], - "header": 500 - }, - { - "cells": [ - 1260, - 1520, - 3210, - 5260, - 8250, - 14760, - 19290, - 21160, - 26550, - 29800 - ], - "header": 600 - }, - { - "cells": [ - 1370, - 1650, - 3330, - 5390, - 8430, - 15080, - 19620, - 23410, - 26860, - 29800 - ], - "header": 700 - }, - { - "cells": [ - 1450, - 1775, - 3450, - 5575, - 8450, - 15375, - 19925, - 23700, - 27175, - 29800 - ], - "header": 800 - }, - { - "cells": [ - 1575, - 2075, - 3600, - 5675, - 8550, - 15675, - 20225, - 24000, - 27525, - 29825 - ], - "header": 900 - }, - { - "cells": [ - 1650, - 2575, - 3750, - 5825, - 8675, - 16000, - 20525, - 24325, - 27875, - 29825 - ], - "header": 1000 - }, - { - "cells": [ - 2550, - 3550, - 5550, - 6725, - 13375, - 18825, - 23450, - 27350, - 29825, - 29875 - ], - "header": 2000 - }, - { - "cells": [ - 2700, - 2750, - 6750, - 11250, - 16150, - 21300, - 25950, - 26000, - 26050, - 29900 - ], - "header": 3000 - }, - { - "cells": [ - 4450, - 6000, - 7250, - 12550, - 18000, - 23450, - 27050, - 27050, - 27100, - 31450 - ], - "header": 4000 - }, - { - "cells": [ - 5500, - 6900, - 9900, - 12900, - 19600, - 25400, - 30700, - 32800, - 32800, - 32900 - ], - "header": 5000 - }, - { - "cells": [ - 5250, - 8000, - 9000, - 12500, - 20500, - 26750, - 32500, - 36500, - 36750, - 36500 - ], - "header": 6000 - }, - { - "cells": [ - 7750, - 9250, - 9250, - 12750, - 21750, - 28000, - 34250, - 36500, - 36750, - 36750 - ], - "header": 7000 - }, - { - "cells": [ - 8750, - 10250, - 12000, - 13500, - 22500, - 29000, - 32500, - 32750, - 32750, - 38750 - ], - "header": 8000 - }, - { - "cells": [ - 10250, - 11750, - 13250, - 17000, - 23000, - 29750, - 33750, - 33750, - 34000, - 40750 - ], - "header": 9000 - }, - { - "cells": [ - 11500, - 13250, - 14750, - 17250, - 23500, - 30250, - 35250, - 35250, - 35250, - 42000 - ], - "header": 10000 - }, - { - "cells": [ - 13000, - 14500, - 16000, - 18000, - 23500, - 30500, - 38000, - 43000, - 43000, - 43500 - ], - "header": 11000 - }, - { - "cells": [ - 14500, - 16000, - 17500, - 19000, - 23500, - 30500, - 38000, - 46000, - 54500, - 63000 - ], - "header": 12000 - }, - { - "cells": [ - 15500, - 17500, - 19000, - 21000, - 23500, - 30500, - 38000, - 46500, - 55500, - 64500 - ], - "header": 13000 - }, - { - "cells": [ - 17000, - 19000, - 21000, - 22500, - 24500, - 30000, - 38000, - 46500, - 56000, - 65500 - ], - "header": 14000 - }, - { - "cells": [ - 18500, - 21000, - 23000, - 24000, - 26000, - 30000, - 37500, - 46500, - 56500, - 66000 - ], - "header": 15000 - } + "minRangeM": [ + [ + 730, + 990, + 1250, + 1530, + 1850, + 2530, + 3070, + 3800, + 4280, + 4670 + ], + [ + 790, + 1040, + 1340, + 1630, + 2000, + 2570, + 3210, + 3790, + 4340, + 16850 + ], + [ + 830, + 1100, + 1410, + 1700, + 2020, + 2650, + 3280, + 3750, + 4410, + 4940 + ], + [ + 1020, + 1160, + 1470, + 1780, + 2100, + 2730, + 3360, + 3970, + 4530, + 5050 + ], + [ + 1100, + 1200, + 1525, + 1850, + 2175, + 2800, + 3450, + 4075, + 4650, + 5175 + ], + [ + 1250, + 1300, + 1575, + 1900, + 2225, + 2875, + 3525, + 4175, + 4775, + 5300 + ], + [ + 1300, + 1325, + 1625, + 1950, + 2275, + 2975, + 3600, + 4250, + 4875, + 5400 + ], + [ + 1825, + 1450, + 3100, + 2175, + 2825, + 3375, + 4025, + 4825, + 5625, + 6225 + ], + [ + 1100, + 1650, + 2050, + 2400, + 2950, + 3450, + 4150, + 4650, + 5450, + 6650 + ], + [ + 2350, + 4200, + 2200, + 2750, + 2800, + 3900, + 4400, + 4450, + 5250, + 6700 + ], + [ + 2300, + 4600, + 2700, + 2900, + 3600, + 4100, + 4700, + 5400, + 5200, + 6400 + ], + [ + 2000, + 4500, + 2750, + 3000, + 3750, + 4500, + 5000, + 5750, + 6500, + 6250 + ], + [ + 2000, + 3750, + 2750, + 3000, + 3750, + 4500, + 5250, + 6000, + 6750, + 7750 + ], + [ + 2000, + 3250, + 3000, + 3250, + 4000, + 4500, + 5250, + 5750, + 7000, + 8500 + ], + [ + 2000, + 3250, + 3250, + 3500, + 4000, + 4750, + 5250, + 6000, + 7250, + 9000 + ], + [ + 1750, + 3250, + 3500, + 3500, + 4250, + 4750, + 5500, + 6250, + 7750, + 9500 + ], + [ + 1500, + 3000, + 3000, + 3500, + 4000, + 4500, + 5500, + 7000, + 8500, + 10500 + ], + [ + 1000, + 2500, + 3000, + 3500, + 4000, + 4500, + 6000, + 7500, + 10000, + 12500 + ], + [ + 1000, + 2500, + 3500, + 3500, + 4000, + 4500, + 6000, + 8000, + 11000, + 13500 + ], + [ + 1500, + 2500, + 3500, + 3500, + 4000, + 5000, + 6000, + 8500, + 11500, + 14500 + ], + [ + 1500, + 2000, + 3000, + 3500, + 4000, + 5000, + 6000, + 9000, + 13000, + 15500 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_4B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_4B#/client", + "speedsMs": [ 100, 150, 200, @@ -699,326 +819,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 730, - 990, - 1250, - 1530, - 1850, - 2530, - 3070, - 3800, - 4280, - 4670 - ], - "header": 400 - }, - { - "cells": [ - 790, - 1040, - 1340, - 1630, - 2000, - 2570, - 3210, - 3790, - 4340, - 16850 - ], - "header": 500 - }, - { - "cells": [ - 830, - 1100, - 1410, - 1700, - 2020, - 2650, - 3280, - 3750, - 4410, - 4940 - ], - "header": 600 - }, - { - "cells": [ - 1020, - 1160, - 1470, - 1780, - 2100, - 2730, - 3360, - 3970, - 4530, - 5050 - ], - "header": 700 - }, - { - "cells": [ - 1100, - 1200, - 1525, - 1850, - 2175, - 2800, - 3450, - 4075, - 4650, - 5175 - ], - "header": 800 - }, - { - "cells": [ - 1250, - 1300, - 1575, - 1900, - 2225, - 2875, - 3525, - 4175, - 4775, - 5300 - ], - "header": 900 - }, - { - "cells": [ - 1300, - 1325, - 1625, - 1950, - 2275, - 2975, - 3600, - 4250, - 4875, - 5400 - ], - "header": 1000 - }, - { - "cells": [ - 1825, - 1450, - 3100, - 2175, - 2825, - 3375, - 4025, - 4825, - 5625, - 6225 - ], - "header": 2000 - }, - { - "cells": [ - 1100, - 1650, - 2050, - 2400, - 2950, - 3450, - 4150, - 4650, - 5450, - 6650 - ], - "header": 3000 - }, - { - "cells": [ - 2350, - 4200, - 2200, - 2750, - 2800, - 3900, - 4400, - 4450, - 5250, - 6700 - ], - "header": 4000 - }, - { - "cells": [ - 2300, - 4600, - 2700, - 2900, - 3600, - 4100, - 4700, - 5400, - 5200, - 6400 - ], - "header": 5000 - }, - { - "cells": [ - 2000, - 4500, - 2750, - 3000, - 3750, - 4500, - 5000, - 5750, - 6500, - 6250 - ], - "header": 6000 - }, - { - "cells": [ - 2000, - 3750, - 2750, - 3000, - 3750, - 4500, - 5250, - 6000, - 6750, - 7750 - ], - "header": 7000 - }, - { - "cells": [ - 2000, - 3250, - 3000, - 3250, - 4000, - 4500, - 5250, - 5750, - 7000, - 8500 - ], - "header": 8000 - }, - { - "cells": [ - 2000, - 3250, - 3250, - 3500, - 4000, - 4750, - 5250, - 6000, - 7250, - 9000 - ], - "header": 9000 - }, - { - "cells": [ - 1750, - 3250, - 3500, - 3500, - 4250, - 4750, - 5500, - 6250, - 7750, - 9500 - ], - "header": 10000 - }, - { - "cells": [ - 1500, - 3000, - 3000, - 3500, - 4000, - 4500, - 5500, - 7000, - 8500, - 10500 - ], - "header": 11000 - }, - { - "cells": [ - 1000, - 2500, - 3000, - 3500, - 4000, - 4500, - 6000, - 7500, - 10000, - 12500 - ], - "header": 12000 - }, - { - "cells": [ - 1000, - 2500, - 3500, - 3500, - 4000, - 4500, - 6000, - 8000, - 11000, - 13500 - ], - "header": 13000 - }, - { - "cells": [ - 1500, - 2500, - 3500, - 3500, - 4000, - 5000, - 6000, - 8500, - 11500, - 14500 - ], - "header": 14000 - }, - { - "cells": [ - 1500, - 2000, - 3000, - 3500, - 4000, - 5000, - 6000, - 9000, - 13000, - 15500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_4B#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_31_V_4B#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_32_V_2B.json b/dcs-world-reference/latest/weapon_flight/GBU_32_V_2B.json index b7be5e3c..037c4e6e 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_32_V_2B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_32_V_2B.json @@ -20,675 +20,795 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_32_V_2B#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, + "altitudesM": [ 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 2, - 5, - 15, - 19, - 25, - 31, - 37, - 43, - 21, - 32 - ], - "header": 400 - }, - { - "cells": [ - 9, - 11, - 15, - 19, - 25, - 32, - 40, - 44, - 28, - 41 - ], - "header": 500 - }, - { - "cells": [ - 9, - 15, - 14, - 21, - 25, - 23, - 40, - 42, - 43, - 43 - ], - "header": 600 - }, - { - "cells": [ - 10, - 17, - 16, - 20, - 25, - 33, - 39, - 45, - 45, - 42 - ], - "header": 700 - }, - { - "cells": [ - 4, - 18, - 13, - 20, - 27, - 33, - 39, - 43, - 45, - 44 - ], - "header": 800 - }, - { - "cells": [ - 14, - 20, - 16, - 22, - 26, - 34, - 39, - 43, - 45, - 45 - ], - "header": 900 - }, - { - "cells": [ - 16, - 21, - 14, - 20, - 27, - 34, - 40, - 44, - 45, - 45 - ], - "header": 1000 - }, - { - "cells": [ - 13, - 32, - 23, - 39, - 34, - 39, - 44, - 45, - 45, - 45 - ], - "header": 2000 - }, - { - "cells": [ - 19, - 45, - 32, - 40, - 41, - 44, - 45, - 45, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 36, - 10, - 45, - 44, - 44, - 45, - 45, - 45, - 45, - 45 - ], - "header": 4000 - }, - { - "cells": [ - 43, - 21, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 5000 - }, - { - "cells": [ - 45, - 25, - 17, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 6000 - }, - { - "cells": [ - 45, - 36, - 24, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 7000 - }, - { - "cells": [ - 45, - 43, - 27, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 8000 - }, - { - "cells": [ - 45, - 45, - 41, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 9000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 10000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 11000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 12000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 31, - 45, - 45, - 45, - 45 - ], - "header": 13000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 14000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 24, - 45, - 45, - 45 - ], - "header": 15000 - } + "aspectDeg": [ + [ + 2, + 5, + 15, + 19, + 25, + 31, + 37, + 43, + 21, + 32 + ], + [ + 9, + 11, + 15, + 19, + 25, + 32, + 40, + 44, + 28, + 41 + ], + [ + 9, + 15, + 14, + 21, + 25, + 23, + 40, + 42, + 43, + 43 + ], + [ + 10, + 17, + 16, + 20, + 25, + 33, + 39, + 45, + 45, + 42 + ], + [ + 4, + 18, + 13, + 20, + 27, + 33, + 39, + 43, + 45, + 44 + ], + [ + 14, + 20, + 16, + 22, + 26, + 34, + 39, + 43, + 45, + 45 + ], + [ + 16, + 21, + 14, + 20, + 27, + 34, + 40, + 44, + 45, + 45 + ], + [ + 13, + 32, + 23, + 39, + 34, + 39, + 44, + 45, + 45, + 45 + ], + [ + 19, + 45, + 32, + 40, + 41, + 44, + 45, + 45, + 45, + 45 + ], + [ + 36, + 10, + 45, + 44, + 44, + 45, + 45, + 45, + 45, + 45 + ], + [ + 43, + 21, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 25, + 17, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 36, + 24, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 43, + 27, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 41, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 31, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 24, + 45, + 45, + 45 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_32_V_2B#/client/AspectDistData" - }, - { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, - 400, - 450, - 500, - 550 + "maxRangeM": [ + [ + 1050, + 1790, + 3120, + 5280, + 9080, + 13160, + 15980, + 16000, + 16020, + 16040 + ], + [ + 1120, + 1300, + 3280, + 5450, + 8330, + 13460, + 16200, + 16220, + 18970, + 18990 + ], + [ + 980, + 1550, + 3380, + 5570, + 8700, + 13760, + 16670, + 18870, + 19800, + 21690 + ], + [ + 1390, + 1600, + 3480, + 5720, + 8850, + 14070, + 16510, + 16530, + 16560, + 22020 + ], + [ + 1500, + 1650, + 3625, + 5900, + 8800, + 14350, + 17250, + 19450, + 21250, + 23000 + ], + [ + 1575, + 1775, + 3775, + 5950, + 8925, + 14625, + 17525, + 19725, + 21525, + 23300 + ], + [ + 1675, + 1875, + 3925, + 5825, + 9050, + 14950, + 17850, + 20025, + 21850, + 23600 + ], + [ + 2400, + 3700, + 5475, + 7075, + 14050, + 17675, + 20625, + 22875, + 24750, + 26625 + ], + [ + 3650, + 4050, + 7650, + 11650, + 16250, + 20200, + 23250, + 25600, + 27600, + 29600 + ], + [ + 4700, + 6300, + 7900, + 13150, + 18350, + 22550, + 25800, + 28300, + 30400, + 32600 + ], + [ + 4700, + 7200, + 8500, + 15000, + 20100, + 24700, + 28200, + 30800, + 33100, + 35600 + ], + [ + 7000, + 8250, + 11000, + 14000, + 21500, + 26500, + 30250, + 33250, + 36000, + 38500 + ], + [ + 8500, + 9750, + 10250, + 16750, + 22750, + 28000, + 32250, + 35500, + 38500, + 41250 + ], + [ + 9750, + 11000, + 12750, + 17500, + 23750, + 29500, + 34250, + 37750, + 41000, + 44500 + ], + [ + 11500, + 12750, + 14000, + 15000, + 24250, + 30500, + 35500, + 39750, + 43750, + 46750 + ], + [ + 13000, + 14250, + 15750, + 18500, + 24750, + 31250, + 36750, + 41750, + 46000, + 50250 + ], + [ + 14500, + 15500, + 17000, + 19000, + 24500, + 31500, + 38000, + 43000, + 48000, + 53000 + ], + [ + 16000, + 17500, + 19000, + 20500, + 25000, + 31500, + 38500, + 44500, + 50000, + 55500 + ], + [ + 18000, + 19500, + 21000, + 22500, + 25000, + 31500, + 38500, + 46000, + 52000, + 58000 + ], + [ + 20000, + 21500, + 23000, + 24000, + 26000, + 31500, + 39000, + 46500, + 54000, + 60000 + ], + [ + 22000, + 23000, + 24500, + 26000, + 27500, + 31500, + 39000, + 47000, + 55000, + 62000 + ] ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1050, - 1790, - 3120, - 5280, - 9080, - 13160, - 15980, - 16000, - 16020, - 16040 - ], - "header": 400 - }, - { - "cells": [ - 1120, - 1300, - 3280, - 5450, - 8330, - 13460, - 16200, - 16220, - 18970, - 18990 - ], - "header": 500 - }, - { - "cells": [ - 980, - 1550, - 3380, - 5570, - 8700, - 13760, - 16670, - 18870, - 19800, - 21690 - ], - "header": 600 - }, - { - "cells": [ - 1390, - 1600, - 3480, - 5720, - 8850, - 14070, - 16510, - 16530, - 16560, - 22020 - ], - "header": 700 - }, - { - "cells": [ - 1500, - 1650, - 3625, - 5900, - 8800, - 14350, - 17250, - 19450, - 21250, - 23000 - ], - "header": 800 - }, - { - "cells": [ - 1575, - 1775, - 3775, - 5950, - 8925, - 14625, - 17525, - 19725, - 21525, - 23300 - ], - "header": 900 - }, - { - "cells": [ - 1675, - 1875, - 3925, - 5825, - 9050, - 14950, - 17850, - 20025, - 21850, - 23600 - ], - "header": 1000 - }, - { - "cells": [ - 2400, - 3700, - 5475, - 7075, - 14050, - 17675, - 20625, - 22875, - 24750, - 26625 - ], - "header": 2000 - }, - { - "cells": [ - 3650, - 4050, - 7650, - 11650, - 16250, - 20200, - 23250, - 25600, - 27600, - 29600 - ], - "header": 3000 - }, - { - "cells": [ - 4700, - 6300, - 7900, - 13150, - 18350, - 22550, - 25800, - 28300, - 30400, - 32600 - ], - "header": 4000 - }, - { - "cells": [ - 4700, - 7200, - 8500, - 15000, - 20100, - 24700, - 28200, - 30800, - 33100, - 35600 - ], - "header": 5000 - }, - { - "cells": [ - 7000, - 8250, - 11000, - 14000, - 21500, - 26500, - 30250, - 33250, - 36000, - 38500 - ], - "header": 6000 - }, - { - "cells": [ - 8500, - 9750, - 10250, - 16750, - 22750, - 28000, - 32250, - 35500, - 38500, - 41250 - ], - "header": 7000 - }, - { - "cells": [ - 9750, - 11000, - 12750, - 17500, - 23750, - 29500, - 34250, - 37750, - 41000, - 44500 - ], - "header": 8000 - }, - { - "cells": [ - 11500, - 12750, - 14000, - 15000, - 24250, - 30500, - 35500, - 39750, - 43750, - 46750 - ], - "header": 9000 - }, - { - "cells": [ - 13000, - 14250, - 15750, - 18500, - 24750, - 31250, - 36750, - 41750, - 46000, - 50250 - ], - "header": 10000 - }, - { - "cells": [ - 14500, - 15500, - 17000, - 19000, - 24500, - 31500, - 38000, - 43000, - 48000, - 53000 - ], - "header": 11000 - }, - { - "cells": [ - 16000, - 17500, - 19000, - 20500, - 25000, - 31500, - 38500, - 44500, - 50000, - 55500 - ], - "header": 12000 - }, - { - "cells": [ - 18000, - 19500, - 21000, - 22500, - 25000, - 31500, - 38500, - 46000, - 52000, - 58000 - ], - "header": 13000 - }, - { - "cells": [ - 20000, - 21500, - 23000, - 24000, - 26000, - 31500, - 39000, - 46500, - 54000, - 60000 - ], - "header": 14000 - }, - { - "cells": [ - 22000, - 23000, - 24500, - 26000, - 27500, - 31500, - 39000, - 47000, - 55000, - 62000 - ], - "header": 15000 - } + "minRangeM": [ + [ + 990, + 940, + 1180, + 1440, + 1870, + 2470, + 2990, + 3290, + 3560, + 3870 + ], + [ + 760, + 980, + 1260, + 1540, + 1880, + 2510, + 3000, + 3300, + 3750, + 4040 + ], + [ + 790, + 1050, + 1340, + 1610, + 1970, + 2580, + 3090, + 3540, + 3890, + 4310 + ], + [ + 840, + 1100, + 1390, + 1690, + 2040, + 2660, + 3150, + 3470, + 3780, + 4460 + ], + [ + 1250, + 1150, + 1450, + 1750, + 2100, + 2725, + 3250, + 3750, + 4200, + 4650 + ], + [ + 900, + 1175, + 1500, + 1800, + 2125, + 2775, + 3350, + 3850, + 4300, + 4775 + ], + [ + 925, + 1200, + 1525, + 1825, + 2200, + 2850, + 3425, + 3925, + 4425, + 4900 + ], + [ + 1725, + 1300, + 1700, + 2025, + 2625, + 3175, + 3775, + 4500, + 5200, + 5875 + ], + [ + 1750, + 1650, + 1550, + 2100, + 2550, + 3100, + 3750, + 4500, + 5450, + 6400 + ], + [ + 2100, + 4150, + 2100, + 2600, + 3150, + 2800, + 3400, + 4150, + 5200, + 6550 + ], + [ + 2000, + 4300, + 2300, + 2800, + 3300, + 3800, + 4300, + 4900, + 4500, + 6100 + ], + [ + 2000, + 2500, + 2500, + 3000, + 3500, + 4000, + 4500, + 5000, + 6000, + 5250 + ], + [ + 1750, + 3250, + 2500, + 2750, + 3500, + 4000, + 4500, + 5250, + 6000, + 5000 + ], + [ + 1750, + 3000, + 2500, + 3000, + 3500, + 4250, + 4750, + 5500, + 6500, + 7750 + ], + [ + 1500, + 2750, + 2750, + 2750, + 3500, + 4250, + 4750, + 5750, + 7000, + 8250 + ], + [ + 1250, + 2750, + 2500, + 3000, + 3500, + 4250, + 4750, + 5750, + 7250, + 8750 + ], + [ + 1000, + 2000, + 2500, + 3000, + 3000, + 4000, + 5000, + 6500, + 7500, + 9500 + ], + [ + 1500, + 2500, + 2500, + 3000, + 3000, + 4000, + 5000, + 6500, + 8000, + 10500 + ], + [ + 1500, + 2000, + 2500, + 3000, + 3000, + 4000, + 5000, + 6500, + 8500, + 11000 + ], + [ + 1500, + 1500, + 2500, + 2500, + 3500, + 4000, + 5000, + 7000, + 9500, + 12500 + ], + [ + 1500, + 1500, + 2500, + 3000, + 3500, + 4000, + 5000, + 7000, + 10500, + 13500 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_32_V_2B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_32_V_2B#/client", + "speedsMs": [ 100, 150, 200, @@ -699,326 +819,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 990, - 940, - 1180, - 1440, - 1870, - 2470, - 2990, - 3290, - 3560, - 3870 - ], - "header": 400 - }, - { - "cells": [ - 760, - 980, - 1260, - 1540, - 1880, - 2510, - 3000, - 3300, - 3750, - 4040 - ], - "header": 500 - }, - { - "cells": [ - 790, - 1050, - 1340, - 1610, - 1970, - 2580, - 3090, - 3540, - 3890, - 4310 - ], - "header": 600 - }, - { - "cells": [ - 840, - 1100, - 1390, - 1690, - 2040, - 2660, - 3150, - 3470, - 3780, - 4460 - ], - "header": 700 - }, - { - "cells": [ - 1250, - 1150, - 1450, - 1750, - 2100, - 2725, - 3250, - 3750, - 4200, - 4650 - ], - "header": 800 - }, - { - "cells": [ - 900, - 1175, - 1500, - 1800, - 2125, - 2775, - 3350, - 3850, - 4300, - 4775 - ], - "header": 900 - }, - { - "cells": [ - 925, - 1200, - 1525, - 1825, - 2200, - 2850, - 3425, - 3925, - 4425, - 4900 - ], - "header": 1000 - }, - { - "cells": [ - 1725, - 1300, - 1700, - 2025, - 2625, - 3175, - 3775, - 4500, - 5200, - 5875 - ], - "header": 2000 - }, - { - "cells": [ - 1750, - 1650, - 1550, - 2100, - 2550, - 3100, - 3750, - 4500, - 5450, - 6400 - ], - "header": 3000 - }, - { - "cells": [ - 2100, - 4150, - 2100, - 2600, - 3150, - 2800, - 3400, - 4150, - 5200, - 6550 - ], - "header": 4000 - }, - { - "cells": [ - 2000, - 4300, - 2300, - 2800, - 3300, - 3800, - 4300, - 4900, - 4500, - 6100 - ], - "header": 5000 - }, - { - "cells": [ - 2000, - 2500, - 2500, - 3000, - 3500, - 4000, - 4500, - 5000, - 6000, - 5250 - ], - "header": 6000 - }, - { - "cells": [ - 1750, - 3250, - 2500, - 2750, - 3500, - 4000, - 4500, - 5250, - 6000, - 5000 - ], - "header": 7000 - }, - { - "cells": [ - 1750, - 3000, - 2500, - 3000, - 3500, - 4250, - 4750, - 5500, - 6500, - 7750 - ], - "header": 8000 - }, - { - "cells": [ - 1500, - 2750, - 2750, - 2750, - 3500, - 4250, - 4750, - 5750, - 7000, - 8250 - ], - "header": 9000 - }, - { - "cells": [ - 1250, - 2750, - 2500, - 3000, - 3500, - 4250, - 4750, - 5750, - 7250, - 8750 - ], - "header": 10000 - }, - { - "cells": [ - 1000, - 2000, - 2500, - 3000, - 3000, - 4000, - 5000, - 6500, - 7500, - 9500 - ], - "header": 11000 - }, - { - "cells": [ - 1500, - 2500, - 2500, - 3000, - 3000, - 4000, - 5000, - 6500, - 8000, - 10500 - ], - "header": 12000 - }, - { - "cells": [ - 1500, - 2000, - 2500, - 3000, - 3000, - 4000, - 5000, - 6500, - 8500, - 11000 - ], - "header": 13000 - }, - { - "cells": [ - 1500, - 1500, - 2500, - 2500, - 3500, - 4000, - 5000, - 7000, - 9500, - 12500 - ], - "header": 14000 - }, - { - "cells": [ - 1500, - 1500, - 2500, - 3000, - 3500, - 4000, - 5000, - 7000, - 10500, - 13500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_32_V_2B#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_32_V_2B#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_38.json b/dcs-world-reference/latest/weapon_flight/GBU_38.json index 9453a144..802a1194 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_38.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_38.json @@ -20,267 +20,566 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_38#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 2, - 10, - 22, - 34, - 29, - 19, - 25, - 22, - 13, - 24 - ], - "header": 300 - }, - { - "cells": [ - 2, - 7, - 24, - 36, - 36, - 22, - 19, - 25, - 10, - 26 - ], - "header": 400 - }, - { - "cells": [ - 10, - 7, - 25, - 33, - 42, - 25, - 29, - 19, - 13, - 26 - ], - "header": 500 - }, - { - "cells": [ - 14, - 13, - 27, - 33, - 14, - 32, - 41, - 35, - 32, - 26 - ], - "header": 600 - }, - { - "cells": [ - 14, - 5, - 28, - 31, - 43, - 44, - 34, - 36, - 21, - 17 - ], - "header": 700 - }, - { - "cells": [ - 3, - 7, - 25, - 34, - 20, - 36, - 17, - 36, - 26, - 17 - ], - "header": 800 - }, - { - "cells": [ - 13, - 25, - 23, - 34, - 17, - 45, - 45, - 42, - 32, - 4 - ], - "header": 900 - }, - { - "cells": [ - 3, - 28, - 28, - 36, - 28, - 23, - 43, - 39, - 23, - 34 - ], - "header": 1000 - }, - { - "cells": [ - 24, - 26, - 20, - 29, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 2000 - }, - { - "cells": [ - 37, - 4, - 28, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 45, - 18, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 42 - ], - "header": 4000 - }, - { - "cells": [ - 45, - 28, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 37 - ], - "header": 5000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 41 - ], - "header": 6000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 20 - ], - "header": 7000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 24 - ], - "header": 8000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 24 - ], - "header": 9000 - } + "maxRangeM": [ + [ + 1000, + 1770, + 3830, + 6670, + 7310, + 7400, + 9560, + 9640, + 11870, + 15370 + ], + [ + 1180, + 1850, + 3850, + 5150, + 5170, + 5190, + 9110, + 14500, + 14870, + 15680 + ], + [ + 930, + 2010, + 4000, + 6860, + 7900, + 7920, + 7940, + 7960, + 7970, + 15590 + ], + [ + 1280, + 1900, + 4120, + 6930, + 14240, + 15470, + 15490, + 16820, + 17430, + 18160 + ], + [ + 1470, + 2000, + 4180, + 7050, + 9820, + 9840, + 9860, + 17410, + 17850, + 17460 + ], + [ + 1600, + 2250, + 4425, + 7150, + 14950, + 17200, + 17225, + 17425, + 17450, + 17475 + ], + [ + 1550, + 1900, + 4500, + 7250, + 15350, + 17400, + 17400, + 17425, + 17450, + 17475 + ], + [ + 1525, + 2125, + 4600, + 7325, + 13800, + 18400, + 19325, + 21050, + 24050, + 26700 + ], + [ + 2450, + 5100, + 8750, + 13075, + 18575, + 21925, + 24325, + 26625, + 28500, + 30725 + ], + [ + 4700, + 6600, + 11200, + 16200, + 22100, + 25250, + 28050, + 30550, + 32400, + 34250 + ], + [ + 4650, + 7300, + 13050, + 18550, + 24600, + 28250, + 31450, + 34200, + 36650, + 38350 + ], + [ + 6200, + 8000, + 12500, + 20700, + 27200, + 32000, + 35000, + 37000, + 39500, + 41500 + ], + [ + 7500, + 12500, + 15500, + 23000, + 29750, + 35000, + 38750, + 40750, + 42750, + 44250 + ], + [ + 14000, + 15000, + 17000, + 23750, + 31750, + 38000, + 42000, + 44500, + 46750, + 48750 + ], + [ + 16750, + 17500, + 19500, + 25000, + 33500, + 40250, + 45000, + 48000, + 50500, + 53000 + ], + [ + 19750, + 20500, + 21250, + 25750, + 34750, + 42500, + 47750, + 51250, + 54000, + 56500 + ], + [ + 22250, + 23750, + 25250, + 26750, + 35250, + 43750, + 50250, + 54500, + 57500, + 60500 + ], + [ + 25000, + 27000, + 28500, + 30000, + 36000, + 45000, + 52500, + 56500, + 60500, + 64000 + ], + [ + 27500, + 29000, + 31500, + 33000, + 36000, + 45500, + 53500, + 59000, + 63500, + 67500 + ], + [ + 28000, + 31000, + 34000, + 36000, + 38000, + 46000, + 54500, + 61500, + 59500, + 70500 + ], + [ + 29500, + 33500, + 36000, + 39000, + 41000, + 46000, + 55000, + 63000, + 69000, + 73500 + ], + [ + 30000, + 35000, + 38000, + 42000, + 45000, + 45500, + 55500, + 64500, + 71000, + 76500 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_38#/client/AspectDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 920, + 880, + 1150, + 1490, + 4430, + 5760, + 6660, + 7780, + 10410, + 10660 + ], + [ + 1110, + 970, + 1240, + 1470, + 1750, + 2040, + 2600, + 3190, + 3450, + 15200 + ], + [ + 880, + 1040, + 1320, + 1660, + 2010, + 2300, + 2590, + 2850, + 3110, + 13930 + ], + [ + 840, + 1090, + 1390, + 1730, + 2500, + 2900, + 3190, + 3560, + 3880, + 14420 + ], + [ + 880, + 1130, + 1440, + 1790, + 2290, + 2630, + 2940, + 3730, + 9990, + 4340 + ], + [ + 1300, + 1175, + 1525, + 1825, + 2700, + 3175, + 3525, + 3850, + 4150, + 4500 + ], + [ + 1375, + 1175, + 1550, + 1875, + 2750, + 3275, + 3625, + 3950, + 4275, + 4650 + ], + [ + 925, + 1225, + 1575, + 1925, + 2700, + 3400, + 3850, + 4300, + 4825, + 5375 + ], + [ + 1775, + 1400, + 1875, + 2350, + 3625, + 3975, + 4700, + 5375, + 5975, + 6625 + ], + [ + 1700, + 1050, + 1650, + 2200, + 2900, + 4050, + 5050, + 5950, + 6650, + 7450 + ], + [ + 2300, + 4750, + 2350, + 2850, + 3500, + 3200, + 5050, + 6150, + 7150, + 8050 + ], + [ + 2100, + 4700, + 2400, + 3100, + 3700, + 4500, + 4300, + 6100, + 7300, + 8400 + ], + [ + 2000, + 4500, + 2500, + 12750, + 4000, + 4750, + 5750, + 5250, + 7000, + 8250 + ], + [ + 2000, + 2500, + 2750, + 3250, + 4000, + 5000, + 6000, + 3000, + 6500, + 8500 + ], + [ + 2000, + 3000, + 3000, + 3500, + 4500, + 5000, + 5750, + 7000, + 3500, + 7750 + ], + [ + 1750, + 3000, + 3250, + 4000, + 4750, + 5500, + 6250, + 7250, + 3500, + 6000 + ], + [ + 2000, + 3500, + 3750, + 4250, + 5000, + 5750, + 6750, + 7500, + 3750, + 5000 + ], + [ + 2000, + 4000, + 4500, + 4500, + 5000, + 6000, + 7000, + 8000, + 4000, + 4500 + ], + [ + 2500, + 4000, + 4500, + 4500, + 5500, + 6000, + 7000, + 8500, + 4500, + 5000 + ], + [ + 2500, + 4000, + 5000, + 5500, + 5500, + 6500, + 7500, + 9500, + 4500, + 5500 + ], + [ + 2500, + 4500, + 5500, + 5500, + 6000, + 6500, + 8000, + 10000, + 4500, + 6500 + ], + [ + 2000, + 4500, + 6000, + 6000, + 6500, + 7000, + 8500, + 11000, + 5000, + 15500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_38#/client", + "speedsMs": [ 100, 150, 200, @@ -291,344 +590,223 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1000, - 1770, - 3830, - 6670, - 7310, - 7400, - 9560, - 9640, - 11870, - 15370 - ], - "header": 300 - }, - { - "cells": [ - 1180, - 1850, - 3850, - 5150, - 5170, - 5190, - 9110, - 14500, - 14870, - 15680 - ], - "header": 400 - }, - { - "cells": [ - 930, - 2010, - 4000, - 6860, - 7900, - 7920, - 7940, - 7960, - 7970, - 15590 - ], - "header": 500 - }, - { - "cells": [ - 1280, - 1900, - 4120, - 6930, - 14240, - 15470, - 15490, - 16820, - 17430, - 18160 - ], - "header": 600 - }, - { - "cells": [ - 1470, - 2000, - 4180, - 7050, - 9820, - 9840, - 9860, - 17410, - 17850, - 17460 - ], - "header": 700 - }, - { - "cells": [ - 1600, - 2250, - 4425, - 7150, - 14950, - 17200, - 17225, - 17425, - 17450, - 17475 - ], - "header": 800 - }, - { - "cells": [ - 1550, - 1900, - 4500, - 7250, - 15350, - 17400, - 17400, - 17425, - 17450, - 17475 - ], - "header": 900 - }, - { - "cells": [ - 1525, - 2125, - 4600, - 7325, - 13800, - 18400, - 19325, - 21050, - 24050, - 26700 - ], - "header": 1000 - }, - { - "cells": [ - 2450, - 5100, - 8750, - 13075, - 18575, - 21925, - 24325, - 26625, - 28500, - 30725 - ], - "header": 2000 - }, - { - "cells": [ - 4700, - 6600, - 11200, - 16200, - 22100, - 25250, - 28050, - 30550, - 32400, - 34250 - ], - "header": 3000 - }, - { - "cells": [ - 4650, - 7300, - 13050, - 18550, - 24600, - 28250, - 31450, - 34200, - 36650, - 38350 - ], - "header": 4000 - }, - { - "cells": [ - 6200, - 8000, - 12500, - 20700, - 27200, - 32000, - 35000, - 37000, - 39500, - 41500 - ], - "header": 5000 - }, - { - "cells": [ - 7500, - 12500, - 15500, - 23000, - 29750, - 35000, - 38750, - 40750, - 42750, - 44250 - ], - "header": 6000 - }, - { - "cells": [ - 14000, - 15000, - 17000, - 23750, - 31750, - 38000, - 42000, - 44500, - 46750, - 48750 - ], - "header": 7000 - }, - { - "cells": [ - 16750, - 17500, - 19500, - 25000, - 33500, - 40250, - 45000, - 48000, - 50500, - 53000 - ], - "header": 8000 - }, - { - "cells": [ - 19750, - 20500, - 21250, - 25750, - 34750, - 42500, - 47750, - 51250, - 54000, - 56500 - ], - "header": 9000 - }, - { - "cells": [ - 22250, - 23750, - 25250, - 26750, - 35250, - 43750, - 50250, - 54500, - 57500, - 60500 - ], - "header": 10000 - }, - { - "cells": [ - 25000, - 27000, - 28500, - 30000, - 36000, - 45000, - 52500, - 56500, - 60500, - 64000 - ], - "header": 11000 - }, - { - "cells": [ - 27500, - 29000, - 31500, - 33000, - 36000, - 45500, - 53500, - 59000, - 63500, - 67500 - ], - "header": 12000 - }, - { - "cells": [ - 28000, - 31000, - 34000, - 36000, - 38000, - 46000, - 54500, - 61500, - 59500, - 70500 - ], - "header": 13000 - }, - { - "cells": [ - 29500, - 33500, - 36000, - 39000, - 41000, - 46000, - 55000, - 63000, - 69000, - 73500 - ], - "header": 14000 - }, - { - "cells": [ - 30000, - 35000, - 38000, - 42000, - 45000, - 45500, - 55500, - 64500, - 71000, - 76500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_38#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 300, + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000 + ], + "aspectDeg": [ + [ + 2, + 10, + 22, + 34, + 29, + 19, + 25, + 22, + 13, + 24 + ], + [ + 2, + 7, + 24, + 36, + 36, + 22, + 19, + 25, + 10, + 26 + ], + [ + 10, + 7, + 25, + 33, + 42, + 25, + 29, + 19, + 13, + 26 + ], + [ + 14, + 13, + 27, + 33, + 14, + 32, + 41, + 35, + 32, + 26 + ], + [ + 14, + 5, + 28, + 31, + 43, + 44, + 34, + 36, + 21, + 17 + ], + [ + 3, + 7, + 25, + 34, + 20, + 36, + 17, + 36, + 26, + 17 + ], + [ + 13, + 25, + 23, + 34, + 17, + 45, + 45, + 42, + 32, + 4 + ], + [ + 3, + 28, + 28, + 36, + 28, + 23, + 43, + 39, + 23, + 34 + ], + [ + 24, + 26, + 20, + 29, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 37, + 4, + 28, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 18, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 42 + ], + [ + 45, + 28, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 37 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 41 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 20 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 24 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 24 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_38#/client", + "speedsMs": [ 100, 150, 200, @@ -639,341 +817,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 920, - 880, - 1150, - 1490, - 4430, - 5760, - 6660, - 7780, - 10410, - 10660 - ], - "header": 300 - }, - { - "cells": [ - 1110, - 970, - 1240, - 1470, - 1750, - 2040, - 2600, - 3190, - 3450, - 15200 - ], - "header": 400 - }, - { - "cells": [ - 880, - 1040, - 1320, - 1660, - 2010, - 2300, - 2590, - 2850, - 3110, - 13930 - ], - "header": 500 - }, - { - "cells": [ - 840, - 1090, - 1390, - 1730, - 2500, - 2900, - 3190, - 3560, - 3880, - 14420 - ], - "header": 600 - }, - { - "cells": [ - 880, - 1130, - 1440, - 1790, - 2290, - 2630, - 2940, - 3730, - 9990, - 4340 - ], - "header": 700 - }, - { - "cells": [ - 1300, - 1175, - 1525, - 1825, - 2700, - 3175, - 3525, - 3850, - 4150, - 4500 - ], - "header": 800 - }, - { - "cells": [ - 1375, - 1175, - 1550, - 1875, - 2750, - 3275, - 3625, - 3950, - 4275, - 4650 - ], - "header": 900 - }, - { - "cells": [ - 925, - 1225, - 1575, - 1925, - 2700, - 3400, - 3850, - 4300, - 4825, - 5375 - ], - "header": 1000 - }, - { - "cells": [ - 1775, - 1400, - 1875, - 2350, - 3625, - 3975, - 4700, - 5375, - 5975, - 6625 - ], - "header": 2000 - }, - { - "cells": [ - 1700, - 1050, - 1650, - 2200, - 2900, - 4050, - 5050, - 5950, - 6650, - 7450 - ], - "header": 3000 - }, - { - "cells": [ - 2300, - 4750, - 2350, - 2850, - 3500, - 3200, - 5050, - 6150, - 7150, - 8050 - ], - "header": 4000 - }, - { - "cells": [ - 2100, - 4700, - 2400, - 3100, - 3700, - 4500, - 4300, - 6100, - 7300, - 8400 - ], - "header": 5000 - }, - { - "cells": [ - 2000, - 4500, - 2500, - 12750, - 4000, - 4750, - 5750, - 5250, - 7000, - 8250 - ], - "header": 6000 - }, - { - "cells": [ - 2000, - 2500, - 2750, - 3250, - 4000, - 5000, - 6000, - 3000, - 6500, - 8500 - ], - "header": 7000 - }, - { - "cells": [ - 2000, - 3000, - 3000, - 3500, - 4500, - 5000, - 5750, - 7000, - 3500, - 7750 - ], - "header": 8000 - }, - { - "cells": [ - 1750, - 3000, - 3250, - 4000, - 4750, - 5500, - 6250, - 7250, - 3500, - 6000 - ], - "header": 9000 - }, - { - "cells": [ - 2000, - 3500, - 3750, - 4250, - 5000, - 5750, - 6750, - 7500, - 3750, - 5000 - ], - "header": 10000 - }, - { - "cells": [ - 2000, - 4000, - 4500, - 4500, - 5000, - 6000, - 7000, - 8000, - 4000, - 4500 - ], - "header": 11000 - }, - { - "cells": [ - 2500, - 4000, - 4500, - 4500, - 5500, - 6000, - 7000, - 8500, - 4500, - 5000 - ], - "header": 12000 - }, - { - "cells": [ - 2500, - 4000, - 5000, - 5500, - 5500, - 6500, - 7500, - 9500, - 4500, - 5500 - ], - "header": 13000 - }, - { - "cells": [ - 2500, - 4500, - 5500, - 5500, - 6000, - 6500, - 8000, - 10000, - 4500, - 6500 - ], - "header": 14000 - }, - { - "cells": [ - 2000, - 4500, - 6000, - 6000, - 6500, - 7000, - 8500, - 11000, - 5000, - 15500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_38#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_38#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_39.json b/dcs-world-reference/latest/weapon_flight/GBU_39.json index b0fbe207..7df767c0 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_39.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_39.json @@ -19,297 +19,466 @@ "operatingTime": 999, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_39#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 10500, - 19000, - 25400, - 31300, - 35100, - 37700, - 39600, - 41300 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 12600, - 20600, - 29800, - 32800, - 36700, - 39300, - 41300, - 43100 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 14100, - 22300, - 31600, - 34300, - 38200, - 40900, - 42700, - 44400 - ], - "header": 700 - }, - { - "cells": [ - 0, - 9400, - 16400, - 25000, - 34400, - 36600, - 40600, - 43200, - 45200, - 47000 - ], - "header": 1000 - }, - { - "cells": [ - 12200, - 18400, - 25200, - 34200, - 44000, - 44200, - 48200, - 51000, - 53200, - 55000 - ], - "header": 2000 - }, - { - "cells": [ - 21400, - 27400, - 34200, - 43400, - 51400, - 51400, - 55800, - 58800, - 61000, - 63200 - ], - "header": 3000 - }, - { - "cells": [ - 30000, - 36000, - 42500, - 52000, - 58500, - 58500, - 63000, - 66500, - 68500, - 71000 - ], - "header": 4000 - }, - { - "cells": [ - 38500, - 44500, - 52500, - 60500, - 65500, - 65500, - 70000, - 73500, - 76000, - 79000 - ], - "header": 5000 - }, - { - "cells": [ - 46500, - 53000, - 61000, - 68000, - 76500, - 76500, - 76500, - 81000, - 83500, - 86500 - ], - "header": 6000 - }, - { - "cells": [ - 54500, - 61000, - 68500, - 76000, - 83000, - 83000, - 83000, - 87000, - 90500, - 94000 - ], - "header": 7000 - }, - { - "cells": [ - 61500, - 67500, - 76500, - 83250, - 86250, - 88500, - 88500, - 93000, - 96750, - 100500 - ], - "header": 8000 - }, - { - "cells": [ - 69000, - 75750, - 84000, - 90000, - 90000, - 97500, - 99000, - 99000, - 102750, - 107250 - ], - "header": 9000 - }, - { - "cells": [ - 73500, - 78000, - 83250, - 87000, - 98250, - 99750, - 100500, - 104250, - 108750, - 113250 - ], - "header": 10000 - }, - { - "cells": [ - 87000, - 92250, - 97500, - 102750, - 105750, - 107250, - 108000, - 109500, - 114750, - 119250 - ], - "header": 11000 - }, - { - "cells": [ - 93000, - 99000, - 104000, - 109000, - 112000, - 114000, - 114000, - 114000, - 119000, - 124000 - ], - "header": 12000 - }, - { - "cells": [ - 100000, - 105000, - 110000, - 114000, - 117000, - 119000, - 120000, - 121000, - 121000, - 128000 - ], - "header": 13000 - }, - { - "cells": [ - 105000, - 111000, - 115000, - 120000, - 123000, - 125000, - 126000, - 126000, - 127000, - 130000 - ], - "header": 14000 - }, - { - "cells": [ - 111000, - 116000, - 121000, - 125000, - 128000, - 130000, - 130000, - 131000, - 132000, - 133000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 10500, + 19000, + 25400, + 31300, + 35100, + 37700, + 39600, + 41300 + ], + [ + 0, + 0, + 12600, + 20600, + 29800, + 32800, + 36700, + 39300, + 41300, + 43100 + ], + [ + 0, + 0, + 14100, + 22300, + 31600, + 34300, + 38200, + 40900, + 42700, + 44400 + ], + [ + 0, + 9400, + 16400, + 25000, + 34400, + 36600, + 40600, + 43200, + 45200, + 47000 + ], + [ + 12200, + 18400, + 25200, + 34200, + 44000, + 44200, + 48200, + 51000, + 53200, + 55000 + ], + [ + 21400, + 27400, + 34200, + 43400, + 51400, + 51400, + 55800, + 58800, + 61000, + 63200 + ], + [ + 30000, + 36000, + 42500, + 52000, + 58500, + 58500, + 63000, + 66500, + 68500, + 71000 + ], + [ + 38500, + 44500, + 52500, + 60500, + 65500, + 65500, + 70000, + 73500, + 76000, + 79000 + ], + [ + 46500, + 53000, + 61000, + 68000, + 76500, + 76500, + 76500, + 81000, + 83500, + 86500 + ], + [ + 54500, + 61000, + 68500, + 76000, + 83000, + 83000, + 83000, + 87000, + 90500, + 94000 + ], + [ + 61500, + 67500, + 76500, + 83250, + 86250, + 88500, + 88500, + 93000, + 96750, + 100500 + ], + [ + 69000, + 75750, + 84000, + 90000, + 90000, + 97500, + 99000, + 99000, + 102750, + 107250 + ], + [ + 73500, + 78000, + 83250, + 87000, + 98250, + 99750, + 100500, + 104250, + 108750, + 113250 + ], + [ + 87000, + 92250, + 97500, + 102750, + 105750, + 107250, + 108000, + 109500, + 114750, + 119250 + ], + [ + 93000, + 99000, + 104000, + 109000, + 112000, + 114000, + 114000, + 114000, + 119000, + 124000 + ], + [ + 100000, + 105000, + 110000, + 114000, + 117000, + 119000, + 120000, + 121000, + 121000, + 128000 + ], + [ + 105000, + 111000, + 115000, + 120000, + 123000, + 125000, + 126000, + 126000, + 127000, + 130000 + ], + [ + 111000, + 116000, + 121000, + 125000, + 128000, + 130000, + 130000, + 131000, + 132000, + 133000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_39#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 7800, + 8300, + 8800, + 9200, + 9500, + 11500, + 13800, + 15600 + ], + [ + 0, + 0, + 7900, + 8500, + 9100, + 9300, + 9600, + 11500, + 13800, + 16700 + ], + [ + 0, + 0, + 8000, + 8600, + 9200, + 9400, + 9700, + 10300, + 10600, + 11100 + ], + [ + 0, + 7600, + 8200, + 9000, + 9400, + 9600, + 11600, + 12400, + 12800, + 13200 + ], + [ + 7800, + 8200, + 8800, + 9400, + 10000, + 10000, + 10400, + 10600, + 11200, + 10800 + ], + [ + 8400, + 8800, + 9400, + 10000, + 10600, + 10600, + 10800, + 11000, + 11600, + 11400 + ], + [ + 9500, + 9500, + 10000, + 11000, + 11500, + 11500, + 12000, + 12000, + 12000, + 12000 + ], + [ + 10000, + 10500, + 11000, + 11500, + 12000, + 12000, + 12000, + 13500, + 12500, + 15000 + ], + [ + 11000, + 11500, + 11500, + 12000, + 12500, + 12500, + 12500, + 13000, + 13000, + 13000 + ], + [ + 12000, + 12000, + 12000, + 12500, + 13000, + 13000, + 13000, + 13500, + 13500, + 14000 + ], + [ + 11250, + 12000, + 13500, + 12750, + 13500, + 13500, + 13500, + 13500, + 14250, + 14250 + ], + [ + 12750, + 12750, + 13500, + 13500, + 13500, + 14250, + 14250, + 14250, + 14250, + 15000 + ], + [ + 12750, + 12750, + 12750, + 13500, + 14250, + 14250, + 14250, + 29250, + 15000, + 15000 + ], + [ + 13500, + 13500, + 14250, + 14250, + 15000, + 15000, + 15000, + 15000, + 15000, + 15750 + ], + [ + 13000, + 14000, + 14000, + 15000, + 15000, + 15000, + 15000, + 15000, + 15000, + 16000 + ], + [ + 14000, + 14000, + 15000, + 15000, + 15000, + 15000, + 15000, + 15000, + 15000, + 18000 + ], + [ + 14000, + 15000, + 15000, + 15000, + 16000, + 16000, + 16000, + 17000, + 18000, + 20000 + ], + [ + 15000, + 15000, + 15000, + 16000, + 16000, + 16000, + 17000, + 18000, + 20000, + 21000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_39#/client", + "speedsMs": [ 100, 150, 200, @@ -320,281 +489,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 7800, - 8300, - 8800, - 9200, - 9500, - 11500, - 13800, - 15600 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 7900, - 8500, - 9100, - 9300, - 9600, - 11500, - 13800, - 16700 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8000, - 8600, - 9200, - 9400, - 9700, - 10300, - 10600, - 11100 - ], - "header": 700 - }, - { - "cells": [ - 0, - 7600, - 8200, - 9000, - 9400, - 9600, - 11600, - 12400, - 12800, - 13200 - ], - "header": 1000 - }, - { - "cells": [ - 7800, - 8200, - 8800, - 9400, - 10000, - 10000, - 10400, - 10600, - 11200, - 10800 - ], - "header": 2000 - }, - { - "cells": [ - 8400, - 8800, - 9400, - 10000, - 10600, - 10600, - 10800, - 11000, - 11600, - 11400 - ], - "header": 3000 - }, - { - "cells": [ - 9500, - 9500, - 10000, - 11000, - 11500, - 11500, - 12000, - 12000, - 12000, - 12000 - ], - "header": 4000 - }, - { - "cells": [ - 10000, - 10500, - 11000, - 11500, - 12000, - 12000, - 12000, - 13500, - 12500, - 15000 - ], - "header": 5000 - }, - { - "cells": [ - 11000, - 11500, - 11500, - 12000, - 12500, - 12500, - 12500, - 13000, - 13000, - 13000 - ], - "header": 6000 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12500, - 13000, - 13000, - 13000, - 13500, - 13500, - 14000 - ], - "header": 7000 - }, - { - "cells": [ - 11250, - 12000, - 13500, - 12750, - 13500, - 13500, - 13500, - 13500, - 14250, - 14250 - ], - "header": 8000 - }, - { - "cells": [ - 12750, - 12750, - 13500, - 13500, - 13500, - 14250, - 14250, - 14250, - 14250, - 15000 - ], - "header": 9000 - }, - { - "cells": [ - 12750, - 12750, - 12750, - 13500, - 14250, - 14250, - 14250, - 29250, - 15000, - 15000 - ], - "header": 10000 - }, - { - "cells": [ - 13500, - 13500, - 14250, - 14250, - 15000, - 15000, - 15000, - 15000, - 15000, - 15750 - ], - "header": 11000 - }, - { - "cells": [ - 13000, - 14000, - 14000, - 15000, - 15000, - 15000, - 15000, - 15000, - 15000, - 16000 - ], - "header": 12000 - }, - { - "cells": [ - 14000, - 14000, - 15000, - 15000, - 15000, - 15000, - 15000, - 15000, - 15000, - 18000 - ], - "header": 13000 - }, - { - "cells": [ - 14000, - 15000, - 15000, - 15000, - 16000, - 16000, - 16000, - 17000, - 18000, - 20000 - ], - "header": 14000 - }, - { - "cells": [ - 15000, - 15000, - 15000, - 16000, - 16000, - 16000, - 17000, - 18000, - 20000, - 21000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_39#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_39#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_43.json b/dcs-world-reference/latest/weapon_flight/GBU_43.json index bc88af14..daffd831 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_43.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_43.json @@ -20,408 +20,312 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_43#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350 + "altitudesM": [ + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1050, - 1550, - 2050, - 2700, - 4250, - 5550 - ], - "header": 500 - }, - { - "cells": [ - 1200, - 1900, - 2700, - 4200, - 6250, - 7450 - ], - "header": 700 - }, - { - "cells": [ - 1550, - 2400, - 3600, - 5500, - 8900, - 10850 - ], - "header": 1000 - }, - { - "cells": [ - 2500, - 3950, - 5850, - 8600, - 12700, - 17850 - ], - "header": 2000 - }, - { - "cells": [ - 3400, - 5300, - 7600, - 10900, - 15500, - 20800 - ], - "header": 3000 - }, - { - "cells": [ - 4500, - 6500, - 9200, - 13000, - 18000, - 23500 - ], - "header": 4000 - }, - { - "cells": [ - 5500, - 7500, - 10500, - 14750, - 20000, - 25750 - ], - "header": 5000 - }, - { - "cells": [ - 6500, - 9000, - 11750, - 16000, - 21750, - 27750 - ], - "header": 6000 - }, - { - "cells": [ - 8000, - 10250, - 12750, - 17500, - 23250, - 29750 - ], - "header": 7000 - }, - { - "cells": [ - 9000, - 11000, - 13500, - 18000, - 24000, - 30500 - ], - "header": 8000 - }, - { - "cells": [ - 10500, - 13000, - 15500, - 19000, - 25000, - 32000 - ], - "header": 9000 - }, - { - "cells": [ - 11500, - 14500, - 16500, - 20000, - 26000, - 33000 - ], - "header": 10000 - }, - { - "cells": [ - 13000, - 16000, - 18500, - 21000, - 26500, - 33000 - ], - "header": 11000 - }, - { - "cells": [ - 14000, - 17000, - 20000, - 22000, - 26000, - 33000 - ], - "header": 12000 - }, - { - "cells": [ - 16000, - 19000, - 21000, - 24000, - 26000, - 33000 - ], - "header": 13000 - }, - { - "cells": [ - 18000, - 21000, - 23000, - 26000, - 28000, - 33000 - ], - "header": 14000 - }, - { - "cells": [ - 19000, - 22000, - 26000, - 28000, - 31000, - 33000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 1050, + 1550, + 2050, + 2700, + 4250, + 5550 + ], + [ + 1200, + 1900, + 2700, + 4200, + 6250, + 7450 + ], + [ + 1550, + 2400, + 3600, + 5500, + 8900, + 10850 + ], + [ + 2500, + 3950, + 5850, + 8600, + 12700, + 17850 + ], + [ + 3400, + 5300, + 7600, + 10900, + 15500, + 20800 + ], + [ + 4500, + 6500, + 9200, + 13000, + 18000, + 23500 + ], + [ + 5500, + 7500, + 10500, + 14750, + 20000, + 25750 + ], + [ + 6500, + 9000, + 11750, + 16000, + 21750, + 27750 + ], + [ + 8000, + 10250, + 12750, + 17500, + 23250, + 29750 + ], + [ + 9000, + 11000, + 13500, + 18000, + 24000, + 30500 + ], + [ + 10500, + 13000, + 15500, + 19000, + 25000, + 32000 + ], + [ + 11500, + 14500, + 16500, + 20000, + 26000, + 33000 + ], + [ + 13000, + 16000, + 18500, + 21000, + 26500, + 33000 + ], + [ + 14000, + 17000, + 20000, + 22000, + 26000, + 33000 + ], + [ + 16000, + 19000, + 21000, + 24000, + 26000, + 33000 + ], + [ + 18000, + 21000, + 23000, + 26000, + 28000, + 33000 + ], + [ + 19000, + 22000, + 26000, + 28000, + 31000, + 33000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_43#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 1000, + 1500, + 1950, + 2450, + 3000, + 3550 + ], + [ + 1150, + 1700, + 2200, + 2800, + 3500, + 4050 + ], + [ + 1300, + 1900, + 2550, + 3200, + 4000, + 4750 + ], + [ + 1500, + 2400, + 3150, + 4000, + 4850, + 5950 + ], + [ + 1500, + 2500, + 3400, + 4300, + 5300, + 6400 + ], + [ + 1400, + 2400, + 3400, + 4500, + 5600, + 6600 + ], + [ + 1250, + 2250, + 3250, + 4500, + 5500, + 6750 + ], + [ + 1250, + 2000, + 3250, + 4250, + 5500, + 6750 + ], + [ + 1250, + 1750, + 2750, + 4000, + 5500, + 6750 + ], + [ + 1500, + 1500, + 2500, + 3500, + 5000, + 6000 + ], + [ + 1500, + 2000, + 2000, + 3500, + 4500, + 6000 + ], + [ + 1500, + 2000, + 2000, + 2500, + 4000, + 5500 + ], + [ + 2000, + 2000, + 2500, + 2500, + 3500, + 5000 + ], + [ + 2000, + 2000, + 2000, + 2000, + 3000, + 4000 + ], + [ + 2000, + 2000, + 2000, + 3000, + 3000, + 4000 + ], + [ + 2000, + 2000, + 2000, + 3000, + 3000, + 3000 + ], + [ + 2000, + 2000, + 3000, + 3000, + 3000, + 3000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_43#/client", + "speedsMs": [ 100, 150, 200, 250, 300, 350 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1000, - 1500, - 1950, - 2450, - 3000, - 3550 - ], - "header": 500 - }, - { - "cells": [ - 1150, - 1700, - 2200, - 2800, - 3500, - 4050 - ], - "header": 700 - }, - { - "cells": [ - 1300, - 1900, - 2550, - 3200, - 4000, - 4750 - ], - "header": 1000 - }, - { - "cells": [ - 1500, - 2400, - 3150, - 4000, - 4850, - 5950 - ], - "header": 2000 - }, - { - "cells": [ - 1500, - 2500, - 3400, - 4300, - 5300, - 6400 - ], - "header": 3000 - }, - { - "cells": [ - 1400, - 2400, - 3400, - 4500, - 5600, - 6600 - ], - "header": 4000 - }, - { - "cells": [ - 1250, - 2250, - 3250, - 4500, - 5500, - 6750 - ], - "header": 5000 - }, - { - "cells": [ - 1250, - 2000, - 3250, - 4250, - 5500, - 6750 - ], - "header": 6000 - }, - { - "cells": [ - 1250, - 1750, - 2750, - 4000, - 5500, - 6750 - ], - "header": 7000 - }, - { - "cells": [ - 1500, - 1500, - 2500, - 3500, - 5000, - 6000 - ], - "header": 8000 - }, - { - "cells": [ - 1500, - 2000, - 2000, - 3500, - 4500, - 6000 - ], - "header": 9000 - }, - { - "cells": [ - 1500, - 2000, - 2000, - 2500, - 4000, - 5500 - ], - "header": 10000 - }, - { - "cells": [ - 2000, - 2000, - 2500, - 2500, - 3500, - 5000 - ], - "header": 11000 - }, - { - "cells": [ - 2000, - 2000, - 2000, - 2000, - 3000, - 4000 - ], - "header": 12000 - }, - { - "cells": [ - 2000, - 2000, - 2000, - 3000, - 3000, - 4000 - ], - "header": 13000 - }, - { - "cells": [ - 2000, - 2000, - 2000, - 3000, - 3000, - 3000 - ], - "header": 14000 - }, - { - "cells": [ - 2000, - 2000, - 3000, - 3000, - 3000, - 3000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_43#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_43#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_54_V_1B.json b/dcs-world-reference/latest/weapon_flight/GBU_54_V_1B.json index 44897b33..1594054d 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_54_V_1B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_54_V_1B.json @@ -20,252 +20,466 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_54_V_1B#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, - 300, - 350, + "altitudesM": [ 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 2, - 9, - 14, - 23, - 20, - 20, - 20, - 24, - 13, - 10 - ], - "header": 400 - }, - { - "cells": [ - 2, - 10, - 15, - 24, - 37, - 23, - 19, - 24, - 13, - 14 - ], - "header": 500 - }, - { - "cells": [ - 4, - 10, - 16, - 24, - 38, - 29, - 32, - 32, - 20, - 18 - ], - "header": 700 - }, - { - "cells": [ - 6, - 10, - 17, - 26, - 38, - 26, - 33, - 34, - 36, - 38 - ], - "header": 1000 - }, - { - "cells": [ - 8, - 10, - 24, - 29, - 38, - 20, - 28, - 34, - 45, - 45 - ], - "header": 2000 - }, - { - "cells": [ - 10, - 20, - 24, - 32, - 40, - 15, - 22, - 34, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 12, - 20, - 24, - 33, - 40, - 15, - 45, - 36, - 45, - 45 - ], - "header": 4000 - }, - { - "cells": [ - 14, - 20, - 36, - 40, - 40, - 40, - 45, - 36, - 45, - 45 - ], - "header": 5000 - }, - { - "cells": [ - 16, - 18, - 40, - 40, - 42, - 45, - 45, - 36, - 45, - 45 - ], - "header": 6000 - }, - { - "cells": [ - 18, - 38, - 45, - 35, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 7000 - }, - { - "cells": [ - 20, - 22, - 35, - 35, - 45, - 45, - 45, - 45, - 45, - 35 - ], - "header": 8000 - }, - { - "cells": [ - 20, - 22, - 28, - 28, - 43, - 45, - 45, - 45, - 45, - 35 - ], - "header": 9000 - }, - { - "cells": [ - 20, - 22, - 28, - 33, - 42, - 45, - 45, - 45, - 45, - 35 - ], - "header": 10000 - }, - { - "cells": [ - 20, - 22, - 28, - 34, - 36, - 38, - 45, - 45, - 45, - 45 - ], - "header": 11000 - }, - { - "cells": [ - 16, - 21, - 27, - 33, - 36, - 38, - 45, - 45, - 45, - 45 - ], - "header": 12000 - } + "maxRangeM": [ + [ + 1090, + 1890, + 3760, + 6310, + 7350, + 5760, + 16090, + 16910, + 16850, + 22820 + ], + [ + 1240, + 1960, + 3830, + 6140, + 8520, + 13590, + 13990, + 13620, + 22740, + 22790 + ], + [ + 1000, + 2120, + 3960, + 6680, + 9620, + 15840, + 15840, + 16160, + 22840, + 22840 + ], + [ + 1860, + 2380, + 4380, + 6920, + 10020, + 16100, + 20560, + 21900, + 21920, + 26160 + ], + [ + 2400, + 4850, + 4950, + 7850, + 11300, + 20200, + 22850, + 22900, + 22900, + 26750 + ], + [ + 4550, + 5950, + 8550, + 8600, + 12200, + 22900, + 26650, + 26700, + 26750, + 26750 + ], + [ + 3850, + 7050, + 9350, + 9400, + 13150, + 25750, + 25800, + 25850, + 25900, + 30350 + ], + [ + 7300, + 7400, + 11900, + 18700, + 18800, + 28500, + 30200, + 30300, + 30300, + 30400 + ], + [ + 5600, + 7300, + 13000, + 21100, + 20000, + 32000, + 32000, + 32000, + 32100, + 32200 + ], + [ + 6800, + 8700, + 15400, + 15400, + 15400, + 30500, + 30500, + 30500, + 30700, + 47600 + ], + [ + 8000, + 14200, + 18600, + 23200, + 27200, + 36200, + 36200, + 36200, + 36400, + 51200 + ], + [ + 9200, + 16400, + 20800, + 24200, + 31800, + 34200, + 34200, + 34200, + 34200, + 55000 + ], + [ + 15600, + 18000, + 23200, + 26400, + 32800, + 40200, + 42800, + 42800, + 42800, + 59000 + ], + [ + 16500, + 21000, + 25500, + 28500, + 33500, + 41000, + 48000, + 53500, + 58000, + 62500 + ], + [ + 20000, + 23000, + 26000, + 30500, + 34500, + 42500, + 49500, + 56000, + 61000, + 66500 + ], + [ + 27000, + 24500, + 29000, + 33000, + 37000, + 43000, + 51000, + 58000, + 64500, + 70000 + ], + [ + 21000, + 32000, + 35500, + 36500, + 39000, + 44000, + 52000, + 60000, + 67500, + 73500 + ], + [ + 23000, + 33000, + 39000, + 40000, + 42000, + 46500, + 53000, + 61500, + 69500, + 77000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_54_V_1B#/client/AspectDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 1020, + 1020, + 1290, + 1560, + 1800, + 2050, + 2200, + 2400, + 2600, + 2750 + ], + [ + 1180, + 1110, + 1400, + 1650, + 1970, + 2510, + 2400, + 2500, + 2750, + 2900 + ], + [ + 1100, + 1260, + 1580, + 1840, + 2200, + 2840, + 3140, + 9160, + 4060, + 4380 + ], + [ + 1040, + 1400, + 1760, + 2040, + 2420, + 3100, + 3680, + 4040, + 4420, + 5000 + ], + [ + 1250, + 1900, + 2050, + 2450, + 2800, + 3700, + 4400, + 5550, + 5350, + 6150 + ], + [ + 2550, + 2150, + 2150, + 2500, + 2850, + 3800, + 4700, + 5400, + 5950, + 6700 + ], + [ + 2550, + 2250, + 1900, + 2350, + 2700, + 3750, + 4400, + 5400, + 6150, + 7450 + ], + [ + 1400, + 1900, + 1500, + 2300, + 2900, + 3400, + 4000, + 5400, + 6400, + 7500 + ], + [ + 1800, + 1300, + 1600, + 2200, + 2400, + 3200, + 3300, + 4600, + 6200, + 7500 + ], + [ + 1200, + 1300, + 1700, + 1700, + 1700, + 2400, + 2400, + 2400, + 5600, + 8000 + ], + [ + 1200, + 1600, + 1800, + 2000, + 2200, + 2600, + 2600, + 2600, + 4200, + 7800 + ], + [ + 1400, + 1800, + 1800, + 2000, + 2400, + 2600, + 2600, + 2600, + 2600, + 7600 + ], + [ + 1800, + 1800, + 2000, + 2200, + 2400, + 3800, + 3000, + 3000, + 3000, + 7600 + ], + [ + 1500, + 2000, + 2000, + 2000, + 2500, + 3000, + 3000, + 3500, + 3500, + 7500 + ], + [ + 1500, + 2000, + 2000, + 2000, + 2500, + 3000, + 3000, + 3500, + 4000, + 7500 + ], + [ + 2000, + 2000, + 2500, + 2500, + 2500, + 3000, + 3500, + 3500, + 4000, + 6500 + ], + [ + 2000, + 2500, + 2500, + 2500, + 2500, + 3000, + 3500, + 3500, + 4000, + 7500 + ], + [ + 2000, + 2500, + 2500, + 2500, + 3000, + 3000, + 3500, + 4000, + 4000, + 10500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_54_V_1B#/client", + "speedsMs": [ 100, 150, 200, @@ -276,284 +490,210 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 1090, - 1890, - 3760, - 6310, - 7350, - 5760, - 16090, - 16910, - 16850, - 22820 - ], - "header": 400 - }, - { - "cells": [ - 1240, - 1960, - 3830, - 6140, - 8520, - 13590, - 13990, - 13620, - 22740, - 22790 - ], - "header": 500 - }, - { - "cells": [ - 1000, - 2120, - 3960, - 6680, - 9620, - 15840, - 15840, - 16160, - 22840, - 22840 - ], - "header": 700 - }, - { - "cells": [ - 1860, - 2380, - 4380, - 6920, - 10020, - 16100, - 20560, - 21900, - 21920, - 26160 - ], - "header": 1000 - }, - { - "cells": [ - 2400, - 4850, - 4950, - 7850, - 11300, - 20200, - 22850, - 22900, - 22900, - 26750 - ], - "header": 2000 - }, - { - "cells": [ - 4550, - 5950, - 8550, - 8600, - 12200, - 22900, - 26650, - 26700, - 26750, - 26750 - ], - "header": 3000 - }, - { - "cells": [ - 3850, - 7050, - 9350, - 9400, - 13150, - 25750, - 25800, - 25850, - 25900, - 30350 - ], - "header": 4000 - }, - { - "cells": [ - 7300, - 7400, - 11900, - 18700, - 18800, - 28500, - 30200, - 30300, - 30300, - 30400 - ], - "header": 5000 - }, - { - "cells": [ - 5600, - 7300, - 13000, - 21100, - 20000, - 32000, - 32000, - 32000, - 32100, - 32200 - ], - "header": 6000 - }, - { - "cells": [ - 6800, - 8700, - 15400, - 15400, - 15400, - 30500, - 30500, - 30500, - 30700, - 47600 - ], - "header": 7000 - }, - { - "cells": [ - 8000, - 14200, - 18600, - 23200, - 27200, - 36200, - 36200, - 36200, - 36400, - 51200 - ], - "header": 8000 - }, - { - "cells": [ - 9200, - 16400, - 20800, - 24200, - 31800, - 34200, - 34200, - 34200, - 34200, - 55000 - ], - "header": 9000 - }, - { - "cells": [ - 15600, - 18000, - 23200, - 26400, - 32800, - 40200, - 42800, - 42800, - 42800, - 59000 - ], - "header": 10000 - }, - { - "cells": [ - 16500, - 21000, - 25500, - 28500, - 33500, - 41000, - 48000, - 53500, - 58000, - 62500 - ], - "header": 11000 - }, - { - "cells": [ - 20000, - 23000, - 26000, - 30500, - 34500, - 42500, - 49500, - 56000, - 61000, - 66500 - ], - "header": 12000 - }, - { - "cells": [ - 27000, - 24500, - 29000, - 33000, - 37000, - 43000, - 51000, - 58000, - 64500, - 70000 - ], - "header": 13000 - }, - { - "cells": [ - 21000, - 32000, - 35500, - 36500, - 39000, - 44000, - 52000, - 60000, - 67500, - 73500 - ], - "header": 14000 - }, - { - "cells": [ - 23000, - 33000, - 39000, - 40000, - 42000, - 46500, - 53000, - 61500, - 69500, - 77000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_54_V_1B#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 400, + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000 + ], + "aspectDeg": [ + [ + 2, + 9, + 14, + 23, + 20, + 20, + 20, + 24, + 13, + 10 + ], + [ + 2, + 10, + 15, + 24, + 37, + 23, + 19, + 24, + 13, + 14 + ], + [ + 4, + 10, + 16, + 24, + 38, + 29, + 32, + 32, + 20, + 18 + ], + [ + 6, + 10, + 17, + 26, + 38, + 26, + 33, + 34, + 36, + 38 + ], + [ + 8, + 10, + 24, + 29, + 38, + 20, + 28, + 34, + 45, + 45 + ], + [ + 10, + 20, + 24, + 32, + 40, + 15, + 22, + 34, + 45, + 45 + ], + [ + 12, + 20, + 24, + 33, + 40, + 15, + 45, + 36, + 45, + 45 + ], + [ + 14, + 20, + 36, + 40, + 40, + 40, + 45, + 36, + 45, + 45 + ], + [ + 16, + 18, + 40, + 40, + 42, + 45, + 45, + 36, + 45, + 45 + ], + [ + 18, + 38, + 45, + 35, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 20, + 22, + 35, + 35, + 45, + 45, + 45, + 45, + 45, + 35 + ], + [ + 20, + 22, + 28, + 28, + 43, + 45, + 45, + 45, + 45, + 35 + ], + [ + 20, + 22, + 28, + 33, + 42, + 45, + 45, + 45, + 45, + 35 + ], + [ + 20, + 22, + 28, + 34, + 36, + 38, + 45, + 45, + 45, + 45 + ], + [ + 16, + 21, + 27, + 33, + 36, + 38, + 45, + 45, + 45, + 45 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_54_V_1B#/client", + "speedsMs": [ 100, 150, 200, @@ -564,281 +704,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 1020, - 1020, - 1290, - 1560, - 1800, - 2050, - 2200, - 2400, - 2600, - 2750 - ], - "header": 400 - }, - { - "cells": [ - 1180, - 1110, - 1400, - 1650, - 1970, - 2510, - 2400, - 2500, - 2750, - 2900 - ], - "header": 500 - }, - { - "cells": [ - 1100, - 1260, - 1580, - 1840, - 2200, - 2840, - 3140, - 9160, - 4060, - 4380 - ], - "header": 700 - }, - { - "cells": [ - 1040, - 1400, - 1760, - 2040, - 2420, - 3100, - 3680, - 4040, - 4420, - 5000 - ], - "header": 1000 - }, - { - "cells": [ - 1250, - 1900, - 2050, - 2450, - 2800, - 3700, - 4400, - 5550, - 5350, - 6150 - ], - "header": 2000 - }, - { - "cells": [ - 2550, - 2150, - 2150, - 2500, - 2850, - 3800, - 4700, - 5400, - 5950, - 6700 - ], - "header": 3000 - }, - { - "cells": [ - 2550, - 2250, - 1900, - 2350, - 2700, - 3750, - 4400, - 5400, - 6150, - 7450 - ], - "header": 4000 - }, - { - "cells": [ - 1400, - 1900, - 1500, - 2300, - 2900, - 3400, - 4000, - 5400, - 6400, - 7500 - ], - "header": 5000 - }, - { - "cells": [ - 1800, - 1300, - 1600, - 2200, - 2400, - 3200, - 3300, - 4600, - 6200, - 7500 - ], - "header": 6000 - }, - { - "cells": [ - 1200, - 1300, - 1700, - 1700, - 1700, - 2400, - 2400, - 2400, - 5600, - 8000 - ], - "header": 7000 - }, - { - "cells": [ - 1200, - 1600, - 1800, - 2000, - 2200, - 2600, - 2600, - 2600, - 4200, - 7800 - ], - "header": 8000 - }, - { - "cells": [ - 1400, - 1800, - 1800, - 2000, - 2400, - 2600, - 2600, - 2600, - 2600, - 7600 - ], - "header": 9000 - }, - { - "cells": [ - 1800, - 1800, - 2000, - 2200, - 2400, - 3800, - 3000, - 3000, - 3000, - 7600 - ], - "header": 10000 - }, - { - "cells": [ - 1500, - 2000, - 2000, - 2000, - 2500, - 3000, - 3000, - 3500, - 3500, - 7500 - ], - "header": 11000 - }, - { - "cells": [ - 1500, - 2000, - 2000, - 2000, - 2500, - 3000, - 3000, - 3500, - 4000, - 7500 - ], - "header": 12000 - }, - { - "cells": [ - 2000, - 2000, - 2500, - 2500, - 2500, - 3000, - 3500, - 3500, - 4000, - 6500 - ], - "header": 13000 - }, - { - "cells": [ - 2000, - 2500, - 2500, - 2500, - 2500, - 3000, - 3500, - 3500, - 4000, - 7500 - ], - "header": 14000 - }, - { - "cells": [ - 2000, - 2500, - 2500, - 2500, - 3000, - 3000, - 3500, - 4000, - 4000, - 10500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_54_V_1B#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/GBU_54_V_1B#/client", diff --git a/dcs-world-reference/latest/weapon_flight/GBU_8_B.json b/dcs-world-reference/latest/weapon_flight/GBU_8_B.json index beed8851..a95a3086 100644 --- a/dcs-world-reference/latest/weapon_flight/GBU_8_B.json +++ b/dcs-world-reference/latest/weapon_flight/GBU_8_B.json @@ -13,292 +13,453 @@ "maxAoaRad": 0.17, "sourcePath": "_G/weapons_table/weapons/bombs/GBU_8_B#/client/fm" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, + "altitudesM": [ + 100, 200, - 250, 300, - 350, 400, - 450, 500, - 550 + 600, + 700, + 800, + 900, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 650, - 850, - 1850, - 3900, - 5650, - 7000, - 8150, - 9200, - 10250 - ], - "header": 100 - }, - { - "cells": [ - 900, - 1150, - 2250, - 4400, - 6100, - 7400, - 8550, - 9550, - 10600 - ], - "header": 200 - }, - { - "cells": [ - 1100, - 1350, - 2550, - 4750, - 6400, - 7750, - 8850, - 9850, - 10900 - ], - "header": 300 - }, - { - "cells": [ - 1250, - 1550, - 2800, - 5050, - 6700, - 8000, - 9100, - 10150, - 11200 - ], - "header": 400 - }, - { - "cells": [ - 1350, - 1750, - 3050, - 5350, - 7000, - 8250, - 9400, - 10400, - 11450 - ], - "header": 500 - }, - { - "cells": [ - 1500, - 1900, - 3300, - 5600, - 7250, - 8500, - 9600, - 10600, - 11650 - ], - "header": 600 - }, - { - "cells": [ - 1600, - 2050, - 3550, - 5850, - 7500, - 8750, - 9850, - 10850, - 11900 - ], - "header": 700 - }, - { - "cells": [ - 1700, - 2200, - 3800, - 6100, - 7750, - 9000, - 10100, - 11100, - 12150 - ], - "header": 800 - }, - { - "cells": [ - 1800, - 2300, - 4050, - 6350, - 7950, - 9250, - 10300, - 11300, - 12350 - ], - "header": 900 - }, - { - "cells": [ - 1900, - 2450, - 4300, - 6600, - 8200, - 9450, - 10550, - 11500, - 12550 - ], - "header": 1000 - }, - { - "cells": [ - 3150, - 4350, - 7050, - 9100, - 10600, - 11750, - 12700, - 13650, - 14700 - ], - "header": 2000 - }, - { - "cells": [ - 4800, - 7100, - 9950, - 11750, - 13050, - 14100, - 15000, - 15900, - 16900 - ], - "header": 3000 - }, - { - "cells": [ - 6650, - 10050, - 12750, - 14350, - 15600, - 16550, - 17400, - 18200, - 19150 - ], - "header": 4000 - }, - { - "cells": [ - 8750, - 13000, - 15300, - 16900, - 18100, - 19000, - 20150, - 21500, - 22850 - ], - "header": 5000 - }, - { - "cells": [ - 11100, - 15600, - 17700, - 19350, - 20900, - 22100, - 23250, - 24400, - 25650 - ], - "header": 6000 - }, - { - "cells": [ - 13800, - 17800, - 19950, - 21600, - 22950, - 24100, - 25250, - 26450, - 27800 - ], - "header": 7000 - }, - { - "cells": [ - 16450, - 19750, - 21650, - 23150, - 24450, - 25700, - 26900, - 28200, - 29700 - ], - "header": 8000 - }, - { - "cells": [ - 18550, - 21100, - 22900, - 24400, - 25800, - 27050, - 28350, - 29800, - 31450 - ], - "header": 9000 - }, - { - "cells": [ - 19850, - 22100, - 23900, - 25400, - 26800, - 28150, - 29550, - 31200, - 33000 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 650, + 850, + 1850, + 3900, + 5650, + 7000, + 8150, + 9200, + 10250 + ], + [ + 900, + 1150, + 2250, + 4400, + 6100, + 7400, + 8550, + 9550, + 10600 + ], + [ + 1100, + 1350, + 2550, + 4750, + 6400, + 7750, + 8850, + 9850, + 10900 + ], + [ + 1250, + 1550, + 2800, + 5050, + 6700, + 8000, + 9100, + 10150, + 11200 + ], + [ + 1350, + 1750, + 3050, + 5350, + 7000, + 8250, + 9400, + 10400, + 11450 + ], + [ + 1500, + 1900, + 3300, + 5600, + 7250, + 8500, + 9600, + 10600, + 11650 + ], + [ + 1600, + 2050, + 3550, + 5850, + 7500, + 8750, + 9850, + 10850, + 11900 + ], + [ + 1700, + 2200, + 3800, + 6100, + 7750, + 9000, + 10100, + 11100, + 12150 + ], + [ + 1800, + 2300, + 4050, + 6350, + 7950, + 9250, + 10300, + 11300, + 12350 + ], + [ + 1900, + 2450, + 4300, + 6600, + 8200, + 9450, + 10550, + 11500, + 12550 + ], + [ + 3150, + 4350, + 7050, + 9100, + 10600, + 11750, + 12700, + 13650, + 14700 + ], + [ + 4800, + 7100, + 9950, + 11750, + 13050, + 14100, + 15000, + 15900, + 16900 + ], + [ + 6650, + 10050, + 12750, + 14350, + 15600, + 16550, + 17400, + 18200, + 19150 + ], + [ + 8750, + 13000, + 15300, + 16900, + 18100, + 19000, + 20150, + 21500, + 22850 + ], + [ + 11100, + 15600, + 17700, + 19350, + 20900, + 22100, + 23250, + 24400, + 25650 + ], + [ + 13800, + 17800, + 19950, + 21600, + 22950, + 24100, + 25250, + 26450, + 27800 + ], + [ + 16450, + 19750, + 21650, + 23150, + 24450, + 25700, + 26900, + 28200, + 29700 + ], + [ + 18550, + 21100, + 22900, + 24400, + 25800, + 27050, + 28350, + 29800, + 31450 + ], + [ + 19850, + 22100, + 23900, + 25400, + 26800, + 28150, + 29550, + 31200, + 33000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_8_B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 650, + 800, + 1000, + 1150, + 1300, + 1500, + 1600, + 1800, + 2000 + ], + [ + 900, + 1100, + 1300, + 1500, + 1700, + 1900, + 2000, + 2200, + 2450 + ], + [ + 1050, + 1350, + 1550, + 1800, + 1950, + 2200, + 2300, + 2500, + 2800 + ], + [ + 1200, + 1500, + 1750, + 2000, + 2200, + 2450, + 2550, + 2800, + 3100 + ], + [ + 1350, + 1650, + 1950, + 2200, + 2400, + 2650, + 2750, + 3000, + 3300 + ], + [ + 1450, + 1800, + 2100, + 2350, + 2600, + 2800, + 2950, + 3200, + 3550 + ], + [ + 1550, + 1900, + 2250, + 2500, + 2750, + 3000, + 3100, + 3400, + 3700 + ], + [ + 1650, + 2000, + 2350, + 2650, + 2900, + 3150, + 3250, + 3550, + 3900 + ], + [ + 1750, + 2150, + 2450, + 2750, + 3000, + 3250, + 3400, + 3700, + 4050 + ], + [ + 1850, + 2250, + 2550, + 2900, + 3150, + 3400, + 3550, + 3850, + 4200 + ], + [ + 2550, + 3250, + 3850, + 4250, + 4350, + 4350, + 4450, + 4850, + 5350 + ], + [ + 3050, + 3950, + 4800, + 5450, + 6100, + 6450, + 6500, + 6500, + 6500 + ], + [ + 3350, + 4500, + 5500, + 6350, + 7100, + 7800, + 8450, + 8650, + 8650 + ], + [ + 3650, + 4950, + 6100, + 7100, + 8000, + 8800, + 9550, + 10400, + 10800 + ], + [ + 3800, + 5300, + 6600, + 7750, + 8750, + 9750, + 10600, + 11550, + 12550 + ], + [ + 4050, + 5650, + 7050, + 8300, + 9450, + 10450, + 11500, + 12650, + 13850 + ], + [ + 4200, + 5950, + 7450, + 8850, + 10050, + 11200, + 12350, + 13650, + 15000 + ], + [ + 4350, + 6200, + 7850, + 9300, + 10700, + 11950, + 13250, + 14650, + 16150 + ], + [ + 4500, + 6400, + 8250, + 9800, + 11250, + 12650, + 14150, + 15600, + 17250 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/GBU_8_B#/client", + "speedsMs": [ 150, 200, 250, @@ -308,277 +469,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 650, - 800, - 1000, - 1150, - 1300, - 1500, - 1600, - 1800, - 2000 - ], - "header": 100 - }, - { - "cells": [ - 900, - 1100, - 1300, - 1500, - 1700, - 1900, - 2000, - 2200, - 2450 - ], - "header": 200 - }, - { - "cells": [ - 1050, - 1350, - 1550, - 1800, - 1950, - 2200, - 2300, - 2500, - 2800 - ], - "header": 300 - }, - { - "cells": [ - 1200, - 1500, - 1750, - 2000, - 2200, - 2450, - 2550, - 2800, - 3100 - ], - "header": 400 - }, - { - "cells": [ - 1350, - 1650, - 1950, - 2200, - 2400, - 2650, - 2750, - 3000, - 3300 - ], - "header": 500 - }, - { - "cells": [ - 1450, - 1800, - 2100, - 2350, - 2600, - 2800, - 2950, - 3200, - 3550 - ], - "header": 600 - }, - { - "cells": [ - 1550, - 1900, - 2250, - 2500, - 2750, - 3000, - 3100, - 3400, - 3700 - ], - "header": 700 - }, - { - "cells": [ - 1650, - 2000, - 2350, - 2650, - 2900, - 3150, - 3250, - 3550, - 3900 - ], - "header": 800 - }, - { - "cells": [ - 1750, - 2150, - 2450, - 2750, - 3000, - 3250, - 3400, - 3700, - 4050 - ], - "header": 900 - }, - { - "cells": [ - 1850, - 2250, - 2550, - 2900, - 3150, - 3400, - 3550, - 3850, - 4200 - ], - "header": 1000 - }, - { - "cells": [ - 2550, - 3250, - 3850, - 4250, - 4350, - 4350, - 4450, - 4850, - 5350 - ], - "header": 2000 - }, - { - "cells": [ - 3050, - 3950, - 4800, - 5450, - 6100, - 6450, - 6500, - 6500, - 6500 - ], - "header": 3000 - }, - { - "cells": [ - 3350, - 4500, - 5500, - 6350, - 7100, - 7800, - 8450, - 8650, - 8650 - ], - "header": 4000 - }, - { - "cells": [ - 3650, - 4950, - 6100, - 7100, - 8000, - 8800, - 9550, - 10400, - 10800 - ], - "header": 5000 - }, - { - "cells": [ - 3800, - 5300, - 6600, - 7750, - 8750, - 9750, - 10600, - 11550, - 12550 - ], - "header": 6000 - }, - { - "cells": [ - 4050, - 5650, - 7050, - 8300, - 9450, - 10450, - 11500, - 12650, - 13850 - ], - "header": 7000 - }, - { - "cells": [ - 4200, - 5950, - 7450, - 8850, - 10050, - 11200, - 12350, - 13650, - 15000 - ], - "header": 8000 - }, - { - "cells": [ - 4350, - 6200, - 7850, - 9300, - 10700, - 11950, - 13250, - 14650, - 16150 - ], - "header": 9000 - }, - { - "cells": [ - 4500, - 6400, - 8250, - 9800, - 11250, - 12650, - 14150, - 15600, - 17250 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/GBU_8_B#/client/MinLaunchDistData" + ] } ], "seeker": { diff --git a/dcs-world-reference/latest/weapon_flight/HB_AGM_78.json b/dcs-world-reference/latest/weapon_flight/HB_AGM_78.json index c90c521d..c9809a76 100644 --- a/dcs-world-reference/latest/weapon_flight/HB_AGM_78.json +++ b/dcs-world-reference/latest/weapon_flight/HB_AGM_78.json @@ -15,119 +15,102 @@ }, "batteryLifeS": 300, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000 + ], + "maxRangeM": [ + [ + 12000, + 13000, + 16000, + 16000, + 17000, + 17000 + ], + [ + 14000, + 17000, + 17000, + 17000, + 17000, + 17000 + ], + [ + 16000, + 17000, + 17000, + 17000, + 17000, + 17000 + ], + [ + 17000, + 17000, + 17000, + 17000, + 17000, + 17000 + ], + [ + 17000, + 17000, + 17000, + 17000, + 17000, + 17000 + ], + [ + 17000, + 17000, + 17000, + 17000, + 17000, + 17000 + ], + [ + 17000, + 17000, + 17000, + 17000, + 17000, + 17000 + ], + [ + 17000, + 17000, + 17000, + 17000, + 17000, + 17000 + ], + [ + 17000, + 17000, + 17000, + 17000, + 17000, + 17000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/HB_AGM_78#/client", + "speedsMs": [ 100, 150, 200, 250, 300, 350 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 12000, - 13000, - 16000, - 16000, - 17000, - 17000 - ], - "header": 1000 - }, - { - "cells": [ - 14000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 2000 - }, - { - "cells": [ - 16000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 3000 - }, - { - "cells": [ - 17000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 4000 - }, - { - "cells": [ - 17000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 5000 - }, - { - "cells": [ - 17000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 6000 - }, - { - "cells": [ - 17000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 7000 - }, - { - "cells": [ - 17000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 8000 - }, - { - "cells": [ - 17000, - 17000, - 17000, - 17000, - 17000, - 17000 - ], - "header": 9000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/HB_AGM_78#/client/LaunchDistData" + ] } ], "machMax": 2.5, diff --git a/dcs-world-reference/latest/weapon_flight/KAB_1500LG.json b/dcs-world-reference/latest/weapon_flight/KAB_1500LG.json index 0004efc6..5b2378fd 100644 --- a/dcs-world-reference/latest/weapon_flight/KAB_1500LG.json +++ b/dcs-world-reference/latest/weapon_flight/KAB_1500LG.json @@ -13,285 +13,436 @@ "maxAoaRad": 0.12217304763960307, "sourcePath": "_G/weapons_table/weapons/bombs/KAB_1500LG#/client/fm" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, - 400, - 450 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 850, - 1410, - 3050, - 3890, - 4840, - 5380, - 6100 - ], - "header": 100 - }, - { - "cells": [ - 720, - 1200, - 2440, - 4440, - 6120, - 7590, - 8530, - 9660 - ], - "header": 200 - }, - { - "cells": [ - 940, - 1490, - 2910, - 5100, - 7210, - 8970, - 10410, - 11670 - ], - "header": 300 - }, - { - "cells": [ - 1220, - 2020, - 3660, - 5940, - 8220, - 10280, - 12020, - 13720 - ], - "header": 500 - }, - { - "cells": [ - 1500, - 2520, - 4300, - 6660, - 8980, - 11040, - 12860, - 14700 - ], - "header": 700 - }, - { - "cells": [ - 1880, - 3200, - 5200, - 7620, - 9960, - 12020, - 13860, - 15720 - ], - "header": 1000 - }, - { - "cells": [ - 3050, - 5100, - 7700, - 10450, - 12800, - 14900, - 16400, - 17800 - ], - "header": 2000 - }, - { - "cells": [ - 4350, - 6850, - 9900, - 12950, - 15400, - 16950, - 18200, - 19550 - ], - "header": 3000 - }, - { - "cells": [ - 6000, - 8850, - 11750, - 15150, - 17050, - 18550, - 19800, - 21200 - ], - "header": 4000 - }, - { - "cells": [ - 8100, - 11000, - 13700, - 16800, - 18400, - 19800, - 21200, - 22600 - ], - "header": 5000 - }, - { - "cells": [ - 10300, - 13000, - 16100, - 18000, - 19500, - 21000, - 22500, - 24000 - ], - "header": 6000 - }, - { - "cells": [ - 12300, - 15100, - 17300, - 19000, - 20600, - 22200, - 23600, - 25400 - ], - "header": 7000 - }, - { - "cells": [ - 14000, - 16200, - 18000, - 19800, - 21400, - 23000, - 24600, - 26600 - ], - "header": 8000 - }, - { - "cells": [ - 14800, - 16600, - 18600, - 20400, - 22200, - 24000, - 25600, - 27800 - ], - "header": 9000 - }, - { - "cells": [ - 15400, - 17200, - 19200, - 21200, - 23200, - 24800, - 26800, - 28800 - ], - "header": 10000 - }, - { - "cells": [ - 15500, - 17500, - 20000, - 22000, - 23500, - 25000, - 27500, - 29500 - ], - "header": 11000 - }, - { - "cells": [ - 16000, - 18000, - 20500, - 22000, - 24000, - 26000, - 28500, - 30500 - ], - "header": 12000 - }, - { - "cells": [ - 16000, - 18500, - 20500, - 22500, - 24500, - 27000, - 29000, - 31000 - ], - "header": 13000 - }, - { - "cells": [ - 16500, - 18500, - 21000, - 22500, - 25000, - 27000, - 29500, - 32000 - ], - "header": 14000 - }, - { - "cells": [ - 16000, - 18500, - 21000, - 23000, - 25500, - 27500, - 30000, - 32500 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 850, + 1410, + 3050, + 3890, + 4840, + 5380, + 6100 + ], + [ + 720, + 1200, + 2440, + 4440, + 6120, + 7590, + 8530, + 9660 + ], + [ + 940, + 1490, + 2910, + 5100, + 7210, + 8970, + 10410, + 11670 + ], + [ + 1220, + 2020, + 3660, + 5940, + 8220, + 10280, + 12020, + 13720 + ], + [ + 1500, + 2520, + 4300, + 6660, + 8980, + 11040, + 12860, + 14700 + ], + [ + 1880, + 3200, + 5200, + 7620, + 9960, + 12020, + 13860, + 15720 + ], + [ + 3050, + 5100, + 7700, + 10450, + 12800, + 14900, + 16400, + 17800 + ], + [ + 4350, + 6850, + 9900, + 12950, + 15400, + 16950, + 18200, + 19550 + ], + [ + 6000, + 8850, + 11750, + 15150, + 17050, + 18550, + 19800, + 21200 + ], + [ + 8100, + 11000, + 13700, + 16800, + 18400, + 19800, + 21200, + 22600 + ], + [ + 10300, + 13000, + 16100, + 18000, + 19500, + 21000, + 22500, + 24000 + ], + [ + 12300, + 15100, + 17300, + 19000, + 20600, + 22200, + 23600, + 25400 + ], + [ + 14000, + 16200, + 18000, + 19800, + 21400, + 23000, + 24600, + 26600 + ], + [ + 14800, + 16600, + 18600, + 20400, + 22200, + 24000, + 25600, + 27800 + ], + [ + 15400, + 17200, + 19200, + 21200, + 23200, + 24800, + 26800, + 28800 + ], + [ + 15500, + 17500, + 20000, + 22000, + 23500, + 25000, + 27500, + 29500 + ], + [ + 16000, + 18000, + 20500, + 22000, + 24000, + 26000, + 28500, + 30500 + ], + [ + 16000, + 18500, + 20500, + 22500, + 24500, + 27000, + 29000, + 31000 + ], + [ + 16500, + 18500, + 21000, + 22500, + 25000, + 27000, + 29500, + 32000 + ], + [ + 16000, + 18500, + 21000, + 23000, + 25500, + 27500, + 30000, + 32500 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/KAB_1500LG#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 660, + 840, + 1030, + 1180, + 1330, + 1460, + 1730 + ], + [ + 620, + 870, + 1100, + 1320, + 1510, + 1690, + 1830, + 2200 + ], + [ + 730, + 1030, + 1290, + 1530, + 1740, + 1930, + 2080, + 2520 + ], + [ + 900, + 1260, + 1560, + 1840, + 2060, + 2260, + 2440, + 2960 + ], + [ + 1040, + 1440, + 1780, + 2040, + 2300, + 2500, + 2720, + 3280 + ], + [ + 1180, + 1640, + 2020, + 2320, + 2580, + 2800, + 3000, + 3660 + ], + [ + 1400, + 1950, + 2450, + 2850, + 3150, + 3400, + 3700, + 4550 + ], + [ + 1550, + 2050, + 2600, + 3100, + 3450, + 3750, + 4100, + 5200 + ], + [ + 1500, + 1950, + 2550, + 3100, + 3500, + 3850, + 4300, + 5750 + ], + [ + 1300, + 1700, + 2300, + 3100, + 3600, + 4100, + 4800, + 6400 + ], + [ + 900, + 1400, + 2300, + 3100, + 3800, + 4200, + 5400, + 7100 + ], + [ + 800, + 1400, + 2100, + 3100, + 3800, + 4400, + 6000, + 8000 + ], + [ + 800, + 1200, + 2200, + 3000, + 3800, + 4600, + 6800, + 9000 + ], + [ + 800, + 1200, + 2000, + 3000, + 4000, + 4600, + 7200, + 10000 + ], + [ + 800, + 1400, + 2000, + 3000, + 4000, + 4800, + 8000, + 10800 + ], + [ + 1000, + 1000, + 1500, + 2500, + 4000, + 5500, + 9000, + 12000 + ], + [ + 1000, + 1000, + 2000, + 2500, + 4500, + 6500, + 10000, + 14000 + ], + [ + 1000, + 1000, + 2000, + 3000, + 4500, + 8000, + 12500, + 15500 + ], + [ + 1000, + 1000, + 2000, + 3000, + 5000, + 10500, + 14000, + 17000 + ], + [ + 1000, + 1000, + 2000, + 3500, + 6500, + 12000, + 15500, + 18500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/KAB_1500LG#/client", + "speedsMs": [ 100, 150, 200, @@ -300,271 +451,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 660, - 840, - 1030, - 1180, - 1330, - 1460, - 1730 - ], - "header": 100 - }, - { - "cells": [ - 620, - 870, - 1100, - 1320, - 1510, - 1690, - 1830, - 2200 - ], - "header": 200 - }, - { - "cells": [ - 730, - 1030, - 1290, - 1530, - 1740, - 1930, - 2080, - 2520 - ], - "header": 300 - }, - { - "cells": [ - 900, - 1260, - 1560, - 1840, - 2060, - 2260, - 2440, - 2960 - ], - "header": 500 - }, - { - "cells": [ - 1040, - 1440, - 1780, - 2040, - 2300, - 2500, - 2720, - 3280 - ], - "header": 700 - }, - { - "cells": [ - 1180, - 1640, - 2020, - 2320, - 2580, - 2800, - 3000, - 3660 - ], - "header": 1000 - }, - { - "cells": [ - 1400, - 1950, - 2450, - 2850, - 3150, - 3400, - 3700, - 4550 - ], - "header": 2000 - }, - { - "cells": [ - 1550, - 2050, - 2600, - 3100, - 3450, - 3750, - 4100, - 5200 - ], - "header": 3000 - }, - { - "cells": [ - 1500, - 1950, - 2550, - 3100, - 3500, - 3850, - 4300, - 5750 - ], - "header": 4000 - }, - { - "cells": [ - 1300, - 1700, - 2300, - 3100, - 3600, - 4100, - 4800, - 6400 - ], - "header": 5000 - }, - { - "cells": [ - 900, - 1400, - 2300, - 3100, - 3800, - 4200, - 5400, - 7100 - ], - "header": 6000 - }, - { - "cells": [ - 800, - 1400, - 2100, - 3100, - 3800, - 4400, - 6000, - 8000 - ], - "header": 7000 - }, - { - "cells": [ - 800, - 1200, - 2200, - 3000, - 3800, - 4600, - 6800, - 9000 - ], - "header": 8000 - }, - { - "cells": [ - 800, - 1200, - 2000, - 3000, - 4000, - 4600, - 7200, - 10000 - ], - "header": 9000 - }, - { - "cells": [ - 800, - 1400, - 2000, - 3000, - 4000, - 4800, - 8000, - 10800 - ], - "header": 10000 - }, - { - "cells": [ - 1000, - 1000, - 1500, - 2500, - 4000, - 5500, - 9000, - 12000 - ], - "header": 11000 - }, - { - "cells": [ - 1000, - 1000, - 2000, - 2500, - 4500, - 6500, - 10000, - 14000 - ], - "header": 12000 - }, - { - "cells": [ - 1000, - 1000, - 2000, - 3000, - 4500, - 8000, - 12500, - 15500 - ], - "header": 13000 - }, - { - "cells": [ - 1000, - 1000, - 2000, - 3000, - 5000, - 10500, - 14000, - 17000 - ], - "header": 14000 - }, - { - "cells": [ - 1000, - 1000, - 2000, - 3500, - 6500, - 12000, - 15500, - 18500 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/KAB_1500LG#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/KAB_1500LG#/client", diff --git a/dcs-world-reference/latest/weapon_flight/KD_20.json b/dcs-world-reference/latest/weapon_flight/KD_20.json index ed17f03f..35e9009e 100644 --- a/dcs-world-reference/latest/weapon_flight/KD_20.json +++ b/dcs-world-reference/latest/weapon_flight/KD_20.json @@ -15,102 +15,73 @@ }, "batteryLifeS": 10000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 125, - 175, - 250 + "altitudesM": [ + 500, + 2000, + 7000, + 12500 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 2500000, - 2520000 - ], - "header": 500 - }, - { - "cells": [ - 2500000, - 2500000, - 2510000, - 2540000 - ], - "header": 2000 - }, - { - "cells": [ - 2540000, - 2550000, - 2550000, - 2560000 - ], - "header": 7000 - }, - { - "cells": [ - 2570000, - 2570000, - 2580000, - 2590000 - ], - "header": 12500 - } + "maxRangeM": [ + [ + 0, + 0, + 2500000, + 2520000 + ], + [ + 2500000, + 2500000, + 2510000, + 2540000 + ], + [ + 2540000, + 2550000, + 2550000, + 2560000 + ], + [ + 2570000, + 2570000, + 2580000, + 2590000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/KD_20#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 20000, + 21000 + ], + [ + 24000, + 25000, + 26000, + 27000 + ], + [ + 15000, + 15000, + 16000, + 17000 + ], + [ + 16000, + 18000, + 19000, + 20000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/KD_20#/client", + "speedsMs": [ 100, 125, 175, 250 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 20000, - 21000 - ], - "header": 500 - }, - { - "cells": [ - 24000, - 25000, - 26000, - 27000 - ], - "header": 2000 - }, - { - "cells": [ - 15000, - 15000, - 16000, - 17000 - ], - "header": 7000 - }, - { - "cells": [ - 16000, - 18000, - 19000, - 20000 - ], - "header": 12500 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/KD_20#/client/MinLaunchDistData" + ] } ], "machMax": 0.9, diff --git a/dcs-world-reference/latest/weapon_flight/KD_63.json b/dcs-world-reference/latest/weapon_flight/KD_63.json index bebf0ed8..2da4a81a 100644 --- a/dcs-world-reference/latest/weapon_flight/KD_63.json +++ b/dcs-world-reference/latest/weapon_flight/KD_63.json @@ -20,194 +20,289 @@ }, "batteryLifeS": 1850, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, - 400, - 450 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 8000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 183100, - 186950, - 189075, - 191400, - 192850, - 194625 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 183350, - 187225, - 188925, - 191250, - 193125, - 194825 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 183600, - 187025, - 189300, - 191525, - 193325, - 194950 - ], - "header": 300 - }, - { - "cells": [ - 0, - 179575, - 183675, - 187650, - 189950, - 192000, - 193675, - 195275 - ], - "header": 500 - }, - { - "cells": [ - 0, - 180200, - 184550, - 188150, - 190350, - 192200, - 193850, - 195450 - ], - "header": 700 - }, - { - "cells": [ - 0, - 181000, - 185750, - 188700, - 190700, - 192450, - 194050, - 195700 - ], - "header": 1000 - }, - { - "cells": [ - 180700, - 185100, - 188200, - 190500, - 192450, - 194050, - 195500, - 197050 - ], - "header": 2000 - }, - { - "cells": [ - 183500, - 187200, - 190000, - 192200, - 194200, - 195800, - 197200, - 198700 - ], - "header": 3000 - }, - { - "cells": [ - 185400, - 188800, - 191700, - 193900, - 195800, - 197600, - 198900, - 200500 - ], - "header": 4000 - }, - { - "cells": [ - 186800, - 190300, - 193000, - 195300, - 197400, - 199300, - 200700, - 202300 - ], - "header": 5000 - }, - { - "cells": [ - 187750, - 191500, - 194250, - 196500, - 198750, - 200750, - 202250, - 204000 - ], - "header": 6000 - }, - { - "cells": [ - 190500, - 194000, - 196500, - 199000, - 201500, - 203500, - 205500, - 207500 - ], - "header": 8000 - }, - { - "cells": [ - 193000, - 195500, - 199000, - 201000, - 203500, - 206000, - 208500, - 211500 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 0, + 0, + 183100, + 186950, + 189075, + 191400, + 192850, + 194625 + ], + [ + 0, + 0, + 183350, + 187225, + 188925, + 191250, + 193125, + 194825 + ], + [ + 0, + 0, + 183600, + 187025, + 189300, + 191525, + 193325, + 194950 + ], + [ + 0, + 179575, + 183675, + 187650, + 189950, + 192000, + 193675, + 195275 + ], + [ + 0, + 180200, + 184550, + 188150, + 190350, + 192200, + 193850, + 195450 + ], + [ + 0, + 181000, + 185750, + 188700, + 190700, + 192450, + 194050, + 195700 + ], + [ + 180700, + 185100, + 188200, + 190500, + 192450, + 194050, + 195500, + 197050 + ], + [ + 183500, + 187200, + 190000, + 192200, + 194200, + 195800, + 197200, + 198700 + ], + [ + 185400, + 188800, + 191700, + 193900, + 195800, + 197600, + 198900, + 200500 + ], + [ + 186800, + 190300, + 193000, + 195300, + 197400, + 199300, + 200700, + 202300 + ], + [ + 187750, + 191500, + 194250, + 196500, + 198750, + 200750, + 202250, + 204000 + ], + [ + 190500, + 194000, + 196500, + 199000, + 201500, + 203500, + 205500, + 207500 + ], + [ + 193000, + 195500, + 199000, + 201000, + 203500, + 206000, + 208500, + 211500 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/KD_63#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 23850, + 22950, + 23200, + 22975, + 16675, + 17525 + ], + [ + 0, + 0, + 23350, + 22375, + 16000, + 16600, + 17075, + 17500 + ], + [ + 0, + 0, + 22725, + 15475, + 16175, + 16525, + 17100, + 17250 + ], + [ + 0, + 23900, + 15125, + 15800, + 16275, + 16850, + 17300, + 17800 + ], + [ + 0, + 22850, + 15250, + 15850, + 16400, + 16900, + 17350, + 17700 + ], + [ + 0, + 14650, + 15450, + 15950, + 16500, + 16950, + 17350, + 17850 + ], + [ + 14250, + 15250, + 16050, + 16700, + 17250, + 17650, + 18100, + 18650 + ], + [ + 14500, + 15600, + 16300, + 17100, + 17900, + 18500, + 19000, + 19500 + ], + [ + 14100, + 15500, + 16500, + 17300, + 18300, + 18900, + 19500, + 20000 + ], + [ + 14000, + 15100, + 16300, + 17300, + 18400, + 19100, + 19700, + 20400 + ], + [ + 14250, + 15000, + 16250, + 17250, + 18500, + 19250, + 19750, + 21000 + ], + [ + 14500, + 14500, + 16000, + 17500, + 18500, + 19000, + 20000, + 21500 + ], + [ + 14500, + 15000, + 15000, + 15000, + 15500, + 19500, + 15500, + 22500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/KD_63#/client", + "speedsMs": [ 100, 150, 200, @@ -216,180 +311,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 23850, - 22950, - 23200, - 22975, - 16675, - 17525 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 23350, - 22375, - 16000, - 16600, - 17075, - 17500 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 22725, - 15475, - 16175, - 16525, - 17100, - 17250 - ], - "header": 300 - }, - { - "cells": [ - 0, - 23900, - 15125, - 15800, - 16275, - 16850, - 17300, - 17800 - ], - "header": 500 - }, - { - "cells": [ - 0, - 22850, - 15250, - 15850, - 16400, - 16900, - 17350, - 17700 - ], - "header": 700 - }, - { - "cells": [ - 0, - 14650, - 15450, - 15950, - 16500, - 16950, - 17350, - 17850 - ], - "header": 1000 - }, - { - "cells": [ - 14250, - 15250, - 16050, - 16700, - 17250, - 17650, - 18100, - 18650 - ], - "header": 2000 - }, - { - "cells": [ - 14500, - 15600, - 16300, - 17100, - 17900, - 18500, - 19000, - 19500 - ], - "header": 3000 - }, - { - "cells": [ - 14100, - 15500, - 16500, - 17300, - 18300, - 18900, - 19500, - 20000 - ], - "header": 4000 - }, - { - "cells": [ - 14000, - 15100, - 16300, - 17300, - 18400, - 19100, - 19700, - 20400 - ], - "header": 5000 - }, - { - "cells": [ - 14250, - 15000, - 16250, - 17250, - 18500, - 19250, - 19750, - 21000 - ], - "header": 6000 - }, - { - "cells": [ - 14500, - 14500, - 16000, - 17500, - 18500, - 19000, - 20000, - 21500 - ], - "header": 8000 - }, - { - "cells": [ - 14500, - 15000, - 15000, - 15000, - 15500, - 19500, - 15500, - 22500 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/KD_63#/client/MinLaunchDistData" + ] } ], "machMax": 0.9, diff --git a/dcs-world-reference/latest/weapon_flight/KD_63B.json b/dcs-world-reference/latest/weapon_flight/KD_63B.json index 95fe6bb7..0fe2eac0 100644 --- a/dcs-world-reference/latest/weapon_flight/KD_63B.json +++ b/dcs-world-reference/latest/weapon_flight/KD_63B.json @@ -20,194 +20,289 @@ }, "batteryLifeS": 1850, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, - 400, - 450 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 8000, + 10000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 183100, - 186950, - 189075, - 191400, - 192850, - 194625 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 183350, - 187225, - 188925, - 191250, - 193125, - 194825 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 183600, - 187025, - 189300, - 191525, - 193325, - 194950 - ], - "header": 300 - }, - { - "cells": [ - 0, - 179575, - 183675, - 187650, - 189950, - 192000, - 193675, - 195275 - ], - "header": 500 - }, - { - "cells": [ - 0, - 180200, - 184550, - 188150, - 190350, - 192200, - 193850, - 195450 - ], - "header": 700 - }, - { - "cells": [ - 0, - 181000, - 185750, - 188700, - 190700, - 192450, - 194050, - 195700 - ], - "header": 1000 - }, - { - "cells": [ - 180700, - 185100, - 188200, - 190500, - 192450, - 194050, - 195500, - 197050 - ], - "header": 2000 - }, - { - "cells": [ - 183500, - 187200, - 190000, - 192200, - 194200, - 195800, - 197200, - 198700 - ], - "header": 3000 - }, - { - "cells": [ - 185400, - 188800, - 191700, - 193900, - 195800, - 197600, - 198900, - 200500 - ], - "header": 4000 - }, - { - "cells": [ - 186800, - 190300, - 193000, - 195300, - 197400, - 199300, - 200700, - 202300 - ], - "header": 5000 - }, - { - "cells": [ - 187750, - 191500, - 194250, - 196500, - 198750, - 200750, - 202250, - 204000 - ], - "header": 6000 - }, - { - "cells": [ - 190500, - 194000, - 196500, - 199000, - 201500, - 203500, - 205500, - 207500 - ], - "header": 8000 - }, - { - "cells": [ - 193000, - 195500, - 199000, - 201000, - 203500, - 206000, - 208500, - 211500 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 0, + 0, + 183100, + 186950, + 189075, + 191400, + 192850, + 194625 + ], + [ + 0, + 0, + 183350, + 187225, + 188925, + 191250, + 193125, + 194825 + ], + [ + 0, + 0, + 183600, + 187025, + 189300, + 191525, + 193325, + 194950 + ], + [ + 0, + 179575, + 183675, + 187650, + 189950, + 192000, + 193675, + 195275 + ], + [ + 0, + 180200, + 184550, + 188150, + 190350, + 192200, + 193850, + 195450 + ], + [ + 0, + 181000, + 185750, + 188700, + 190700, + 192450, + 194050, + 195700 + ], + [ + 180700, + 185100, + 188200, + 190500, + 192450, + 194050, + 195500, + 197050 + ], + [ + 183500, + 187200, + 190000, + 192200, + 194200, + 195800, + 197200, + 198700 + ], + [ + 185400, + 188800, + 191700, + 193900, + 195800, + 197600, + 198900, + 200500 + ], + [ + 186800, + 190300, + 193000, + 195300, + 197400, + 199300, + 200700, + 202300 + ], + [ + 187750, + 191500, + 194250, + 196500, + 198750, + 200750, + 202250, + 204000 + ], + [ + 190500, + 194000, + 196500, + 199000, + 201500, + 203500, + 205500, + 207500 + ], + [ + 193000, + 195500, + 199000, + 201000, + 203500, + 206000, + 208500, + 211500 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/KD_63B#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 23850, + 22950, + 23200, + 22975, + 16675, + 17525 + ], + [ + 0, + 0, + 23350, + 22375, + 16000, + 16600, + 17075, + 17500 + ], + [ + 0, + 0, + 22725, + 15475, + 16175, + 16525, + 17100, + 17250 + ], + [ + 0, + 23900, + 15125, + 15800, + 16275, + 16850, + 17300, + 17800 + ], + [ + 0, + 22850, + 15250, + 15850, + 16400, + 16900, + 17350, + 17700 + ], + [ + 0, + 14650, + 15450, + 15950, + 16500, + 16950, + 17350, + 17850 + ], + [ + 14250, + 15250, + 16050, + 16700, + 17250, + 17650, + 18100, + 18650 + ], + [ + 14500, + 15600, + 16300, + 17100, + 17900, + 18500, + 19000, + 19500 + ], + [ + 14100, + 15500, + 16500, + 17300, + 18300, + 18900, + 19500, + 20000 + ], + [ + 14000, + 15100, + 16300, + 17300, + 18400, + 19100, + 19700, + 20400 + ], + [ + 14250, + 15000, + 16250, + 17250, + 18500, + 19250, + 19750, + 21000 + ], + [ + 14500, + 14500, + 16000, + 17500, + 18500, + 19000, + 20000, + 21500 + ], + [ + 14500, + 15000, + 15000, + 15000, + 15500, + 19500, + 15500, + 22500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/KD_63B#/client", + "speedsMs": [ 100, 150, 200, @@ -216,180 +311,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 23850, - 22950, - 23200, - 22975, - 16675, - 17525 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 23350, - 22375, - 16000, - 16600, - 17075, - 17500 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 22725, - 15475, - 16175, - 16525, - 17100, - 17250 - ], - "header": 300 - }, - { - "cells": [ - 0, - 23900, - 15125, - 15800, - 16275, - 16850, - 17300, - 17800 - ], - "header": 500 - }, - { - "cells": [ - 0, - 22850, - 15250, - 15850, - 16400, - 16900, - 17350, - 17700 - ], - "header": 700 - }, - { - "cells": [ - 0, - 14650, - 15450, - 15950, - 16500, - 16950, - 17350, - 17850 - ], - "header": 1000 - }, - { - "cells": [ - 14250, - 15250, - 16050, - 16700, - 17250, - 17650, - 18100, - 18650 - ], - "header": 2000 - }, - { - "cells": [ - 14500, - 15600, - 16300, - 17100, - 17900, - 18500, - 19000, - 19500 - ], - "header": 3000 - }, - { - "cells": [ - 14100, - 15500, - 16500, - 17300, - 18300, - 18900, - 19500, - 20000 - ], - "header": 4000 - }, - { - "cells": [ - 14000, - 15100, - 16300, - 17300, - 18400, - 19100, - 19700, - 20400 - ], - "header": 5000 - }, - { - "cells": [ - 14250, - 15000, - 16250, - 17250, - 18500, - 19250, - 19750, - 21000 - ], - "header": 6000 - }, - { - "cells": [ - 14500, - 14500, - 16000, - 17500, - 18500, - 19000, - 20000, - 21500 - ], - "header": 8000 - }, - { - "cells": [ - 14500, - 15000, - 15000, - 15000, - 15500, - 19500, - 15500, - 22500 - ], - "header": 10000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/KD_63B#/client/MinLaunchDistData" + ] } ], "machMax": 0.9, diff --git a/dcs-world-reference/latest/weapon_flight/Kh25MP_PRGS1VP.json b/dcs-world-reference/latest/weapon_flight/Kh25MP_PRGS1VP.json index f610cd93..325d25a3 100644 --- a/dcs-world-reference/latest/weapon_flight/Kh25MP_PRGS1VP.json +++ b/dcs-world-reference/latest/weapon_flight/Kh25MP_PRGS1VP.json @@ -193,285 +193,436 @@ "yawMaxRad": 0.5235987755982988 }, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, - 400, - 450 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 23600, - 24600, - 25400, - 26400, - 27200, - 28200, - 29000, - 30000 - ], - "header": 100 - }, - { - "cells": [ - 23800, - 24600, - 25600, - 26600, - 27400, - 28400, - 29200, - 30200 - ], - "header": 200 - }, - { - "cells": [ - 23800, - 24600, - 25600, - 26600, - 27400, - 28400, - 29400, - 30200 - ], - "header": 300 - }, - { - "cells": [ - 24000, - 25000, - 26000, - 26800, - 27800, - 28800, - 29600, - 30600 - ], - "header": 500 - }, - { - "cells": [ - 24400, - 24800, - 26000, - 26800, - 28000, - 28800, - 30000, - 30400 - ], - "header": 700 - }, - { - "cells": [ - 24400, - 25200, - 26400, - 27200, - 28400, - 29200, - 30000, - 30800 - ], - "header": 1000 - }, - { - "cells": [ - 25200, - 26400, - 27600, - 28400, - 29200, - 30400, - 31600, - 32400 - ], - "header": 2000 - }, - { - "cells": [ - 26400, - 27600, - 28800, - 29600, - 30800, - 32000, - 33200, - 34000 - ], - "header": 3000 - }, - { - "cells": [ - 27000, - 28200, - 29400, - 30600, - 32400, - 33600, - 34200, - 35400 - ], - "header": 4000 - }, - { - "cells": [ - 28200, - 29400, - 31200, - 32400, - 33600, - 34800, - 36000, - 37200 - ], - "header": 5000 - }, - { - "cells": [ - 29400, - 31200, - 32400, - 34200, - 34800, - 36000, - 37200, - 39000 - ], - "header": 6000 - }, - { - "cells": [ - 30000, - 32000, - 33000, - 35000, - 36000, - 37000, - 39000, - 40000 - ], - "header": 7000 - }, - { - "cells": [ - 31000, - 33000, - 34000, - 36000, - 38000, - 39000, - 41000, - 42000 - ], - "header": 8000 - }, - { - "cells": [ - 32000, - 34000, - 36000, - 37000, - 39000, - 41000, - 41000, - 43000 - ], - "header": 9000 - }, - { - "cells": [ - 31000, - 32000, - 37000, - 39000, - 41000, - 41000, - 43000, - 45000 - ], - "header": 10000 - }, - { - "cells": [ - 31500, - 33000, - 33000, - 34500, - 42000, - 42000, - 45000, - 46500 - ], - "header": 11000 - }, - { - "cells": [ - 31500, - 33000, - 34500, - 36000, - 42000, - 43500, - 46500, - 48000 - ], - "header": 12000 - }, - { - "cells": [ - 33000, - 34500, - 36000, - 37500, - 37500, - 39000, - 40500, - 42000 - ], - "header": 13000 - }, - { - "cells": [ - 34500, - 36000, - 37500, - 37500, - 39000, - 40500, - 42000, - 42000 - ], - "header": 14000 - }, - { - "cells": [ - 34500, - 36000, - 37500, - 39000, - 40500, - 42000, - 42000, - 42000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 23600, + 24600, + 25400, + 26400, + 27200, + 28200, + 29000, + 30000 + ], + [ + 23800, + 24600, + 25600, + 26600, + 27400, + 28400, + 29200, + 30200 + ], + [ + 23800, + 24600, + 25600, + 26600, + 27400, + 28400, + 29400, + 30200 + ], + [ + 24000, + 25000, + 26000, + 26800, + 27800, + 28800, + 29600, + 30600 + ], + [ + 24400, + 24800, + 26000, + 26800, + 28000, + 28800, + 30000, + 30400 + ], + [ + 24400, + 25200, + 26400, + 27200, + 28400, + 29200, + 30000, + 30800 + ], + [ + 25200, + 26400, + 27600, + 28400, + 29200, + 30400, + 31600, + 32400 + ], + [ + 26400, + 27600, + 28800, + 29600, + 30800, + 32000, + 33200, + 34000 + ], + [ + 27000, + 28200, + 29400, + 30600, + 32400, + 33600, + 34200, + 35400 + ], + [ + 28200, + 29400, + 31200, + 32400, + 33600, + 34800, + 36000, + 37200 + ], + [ + 29400, + 31200, + 32400, + 34200, + 34800, + 36000, + 37200, + 39000 + ], + [ + 30000, + 32000, + 33000, + 35000, + 36000, + 37000, + 39000, + 40000 + ], + [ + 31000, + 33000, + 34000, + 36000, + 38000, + 39000, + 41000, + 42000 + ], + [ + 32000, + 34000, + 36000, + 37000, + 39000, + 41000, + 41000, + 43000 + ], + [ + 31000, + 32000, + 37000, + 39000, + 41000, + 41000, + 43000, + 45000 + ], + [ + 31500, + 33000, + 33000, + 34500, + 42000, + 42000, + 45000, + 46500 + ], + [ + 31500, + 33000, + 34500, + 36000, + 42000, + 43500, + 46500, + 48000 + ], + [ + 33000, + 34500, + 36000, + 37500, + 37500, + 39000, + 40500, + 42000 + ], + [ + 34500, + 36000, + 37500, + 37500, + 39000, + 40500, + 42000, + 42000 + ], + [ + 34500, + 36000, + 37500, + 39000, + 40500, + 42000, + 42000, + 42000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/Kh25MP_PRGS1VP#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 7400, + 7600, + 7600, + 7600, + 7800, + 8000, + 8400, + 9000 + ], + [ + 7400, + 7600, + 7600, + 7800, + 7800, + 8000, + 8400, + 8800 + ], + [ + 7400, + 7600, + 7600, + 7800, + 7800, + 7800, + 8200, + 8600 + ], + [ + 7600, + 7600, + 7600, + 7800, + 7800, + 8000, + 8000, + 8200 + ], + [ + 7600, + 7600, + 7600, + 8000, + 8000, + 8000, + 8000, + 8000 + ], + [ + 7600, + 7600, + 7600, + 8000, + 8000, + 8000, + 8000, + 8000 + ], + [ + 7600, + 7600, + 8000, + 8000, + 8000, + 8000, + 8400, + 8400 + ], + [ + 7600, + 8000, + 8000, + 8000, + 8000, + 8400, + 8400, + 8400 + ], + [ + 7800, + 7800, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400 + ], + [ + 7800, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400 + ], + [ + 8400, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400, + 9000 + ], + [ + 8000, + 8000, + 8000, + 9000, + 9000, + 9000, + 9000, + 9600 + ], + [ + 8000, + 8000, + 8000, + 9000, + 9000, + 9000, + 9000, + 10000 + ], + [ + 8000, + 8000, + 8000, + 8000, + 9000, + 9000, + 9000, + 10000 + ], + [ + 8000, + 8000, + 9000, + 9000, + 9000, + 9000, + 9000, + 10000 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 9000, + 9600, + 10500 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 9600, + 10000, + 10500 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 10500, + 10500, + 10500 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 12000, + 12000, + 12000 + ], + [ + 9000, + 9000, + 9000, + 10500, + 10500, + 12000, + 12000, + 12000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/Kh25MP_PRGS1VP#/client", + "speedsMs": [ 100, 150, 200, @@ -480,271 +631,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 7400, - 7600, - 7600, - 7600, - 7800, - 8000, - 8400, - 9000 - ], - "header": 100 - }, - { - "cells": [ - 7400, - 7600, - 7600, - 7800, - 7800, - 8000, - 8400, - 8800 - ], - "header": 200 - }, - { - "cells": [ - 7400, - 7600, - 7600, - 7800, - 7800, - 7800, - 8200, - 8600 - ], - "header": 300 - }, - { - "cells": [ - 7600, - 7600, - 7600, - 7800, - 7800, - 8000, - 8000, - 8200 - ], - "header": 500 - }, - { - "cells": [ - 7600, - 7600, - 7600, - 8000, - 8000, - 8000, - 8000, - 8000 - ], - "header": 700 - }, - { - "cells": [ - 7600, - 7600, - 7600, - 8000, - 8000, - 8000, - 8000, - 8000 - ], - "header": 1000 - }, - { - "cells": [ - 7600, - 7600, - 8000, - 8000, - 8000, - 8000, - 8400, - 8400 - ], - "header": 2000 - }, - { - "cells": [ - 7600, - 8000, - 8000, - 8000, - 8000, - 8400, - 8400, - 8400 - ], - "header": 3000 - }, - { - "cells": [ - 7800, - 7800, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400 - ], - "header": 4000 - }, - { - "cells": [ - 7800, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400 - ], - "header": 5000 - }, - { - "cells": [ - 8400, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400, - 9000 - ], - "header": 6000 - }, - { - "cells": [ - 8000, - 8000, - 8000, - 9000, - 9000, - 9000, - 9000, - 9600 - ], - "header": 7000 - }, - { - "cells": [ - 8000, - 8000, - 8000, - 9000, - 9000, - 9000, - 9000, - 10000 - ], - "header": 8000 - }, - { - "cells": [ - 8000, - 8000, - 8000, - 8000, - 9000, - 9000, - 9000, - 10000 - ], - "header": 9000 - }, - { - "cells": [ - 8000, - 8000, - 9000, - 9000, - 9000, - 9000, - 9000, - 10000 - ], - "header": 10000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 9000, - 9600, - 10500 - ], - "header": 11000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 9600, - 10000, - 10500 - ], - "header": 12000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 10500, - 10500, - 10500 - ], - "header": 13000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 12000, - 12000, - 12000 - ], - "header": 14000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 10500, - 10500, - 12000, - 12000, - 12000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/Kh25MP_PRGS1VP#/client/MinLaunchDistData" + ] } ], "machMax": 2.65, diff --git a/dcs-world-reference/latest/weapon_flight/LD-10.json b/dcs-world-reference/latest/weapon_flight/LD-10.json index e962ea85..9ec74a87 100644 --- a/dcs-world-reference/latest/weapon_flight/LD-10.json +++ b/dcs-world-reference/latest/weapon_flight/LD-10.json @@ -262,272 +262,415 @@ }, "batteryLifeS": 400, "killDistanceM": 7, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, - 300, - 350, 400, - 450 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 9650, - 11460, - 12150, - 12320, - 11970, - 12020, - 12050, - 14660 - ], - "header": 100 - }, - { - "cells": [ - 14820, - 15710, - 16630, - 17450, - 18170, - 18330, - 19070, - 19230 - ], - "header": 200 - }, - { - "cells": [ - 18710, - 19580, - 20350, - 21100, - 21670, - 21680, - 22380, - 22390 - ], - "header": 400 - }, - { - "cells": [ - 20590, - 21490, - 22360, - 23060, - 23070, - 23740, - 24360, - 24370 - ], - "header": 700 - }, - { - "cells": [ - 22800, - 23625, - 24400, - 24875, - 24875, - 25575, - 26200, - 26225 - ], - "header": 1000 - }, - { - "cells": [ - 28975, - 29850, - 30700, - 31200, - 31225, - 31775, - 32600, - 32375 - ], - "header": 2000 - }, - { - "cells": [ - 32500, - 33475, - 34325, - 34700, - 34725, - 35325, - 35875, - 35875 - ], - "header": 3000 - }, - { - "cells": [ - 36100, - 36925, - 37775, - 38325, - 38150, - 38800, - 39425, - 39425 - ], - "header": 4000 - }, - { - "cells": [ - 39650, - 40500, - 41300, - 41950, - 42100, - 42200, - 42900, - 42900 - ], - "header": 5000 - }, - { - "cells": [ - 43250, - 44100, - 45000, - 45800, - 45800, - 45850, - 46700, - 46750 - ], - "header": 6000 - }, - { - "cells": [ - 46800, - 47700, - 48600, - 49400, - 49600, - 49600, - 50200, - 51000 - ], - "header": 7000 - }, - { - "cells": [ - 50500, - 51000, - 52000, - 53000, - 53500, - 53500, - 53750, - 54500 - ], - "header": 8000 - }, - { - "cells": [ - 54000, - 55000, - 55750, - 56750, - 57750, - 58000, - 58000, - 58250 - ], - "header": 9000 - }, - { - "cells": [ - 57750, - 58750, - 59750, - 60500, - 61500, - 62500, - 62500, - 62500 - ], - "header": 10000 - }, - { - "cells": [ - 61750, - 62750, - 63500, - 64500, - 65500, - 66250, - 66750, - 66750 - ], - "header": 11000 - }, - { - "cells": [ - 65750, - 66750, - 67750, - 68500, - 69500, - 70250, - 71250, - 72000 - ], - "header": 12000 - }, - { - "cells": [ - 69500, - 70500, - 71500, - 72500, - 73000, - 74000, - 75000, - 76000 - ], - "header": 13000 - }, - { - "cells": [ - 73500, - 74500, - 75500, - 76500, - 77500, - 78500, - 79500, - 80500 - ], - "header": 14000 - }, - { - "cells": [ - 78000, - 79000, - 79500, - 80500, - 81500, - 82500, - 83500, - 84500 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 9650, + 11460, + 12150, + 12320, + 11970, + 12020, + 12050, + 14660 + ], + [ + 14820, + 15710, + 16630, + 17450, + 18170, + 18330, + 19070, + 19230 + ], + [ + 18710, + 19580, + 20350, + 21100, + 21670, + 21680, + 22380, + 22390 + ], + [ + 20590, + 21490, + 22360, + 23060, + 23070, + 23740, + 24360, + 24370 + ], + [ + 22800, + 23625, + 24400, + 24875, + 24875, + 25575, + 26200, + 26225 + ], + [ + 28975, + 29850, + 30700, + 31200, + 31225, + 31775, + 32600, + 32375 + ], + [ + 32500, + 33475, + 34325, + 34700, + 34725, + 35325, + 35875, + 35875 + ], + [ + 36100, + 36925, + 37775, + 38325, + 38150, + 38800, + 39425, + 39425 + ], + [ + 39650, + 40500, + 41300, + 41950, + 42100, + 42200, + 42900, + 42900 + ], + [ + 43250, + 44100, + 45000, + 45800, + 45800, + 45850, + 46700, + 46750 + ], + [ + 46800, + 47700, + 48600, + 49400, + 49600, + 49600, + 50200, + 51000 + ], + [ + 50500, + 51000, + 52000, + 53000, + 53500, + 53500, + 53750, + 54500 + ], + [ + 54000, + 55000, + 55750, + 56750, + 57750, + 58000, + 58000, + 58250 + ], + [ + 57750, + 58750, + 59750, + 60500, + 61500, + 62500, + 62500, + 62500 + ], + [ + 61750, + 62750, + 63500, + 64500, + 65500, + 66250, + 66750, + 66750 + ], + [ + 65750, + 66750, + 67750, + 68500, + 69500, + 70250, + 71250, + 72000 + ], + [ + 69500, + 70500, + 71500, + 72500, + 73000, + 74000, + 75000, + 76000 + ], + [ + 73500, + 74500, + 75500, + 76500, + 77500, + 78500, + 79500, + 80500 + ], + [ + 78000, + 79000, + 79500, + 80500, + 81500, + 82500, + 83500, + 84500 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/LD-10#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 9590, + 8200, + 7780, + 7540, + 2420, + 3160, + 3570, + 4040 + ], + [ + 3860, + 3500, + 3460, + 3920, + 4250, + 4480, + 4710, + 4870 + ], + [ + 3860, + 4080, + 4340, + 4540, + 4720, + 4880, + 5070, + 5190 + ], + [ + 4190, + 4390, + 4570, + 4730, + 4850, + 5040, + 5220, + 5340 + ], + [ + 4375, + 4550, + 4675, + 4800, + 4950, + 5125, + 5325, + 5425 + ], + [ + 4475, + 4625, + 4775, + 4925, + 5000, + 5175, + 5400, + 5425 + ], + [ + 4375, + 4450, + 4700, + 4775, + 4875, + 5050, + 5400, + 5450 + ], + [ + 4375, + 4450, + 4700, + 5100, + 5100, + 5100, + 5400, + 5500 + ], + [ + 4000, + 4450, + 4700, + 5000, + 5550, + 5050, + 5400, + 5500 + ], + [ + 4100, + 4450, + 4700, + 4950, + 5150, + 5350, + 5600, + 5750 + ], + [ + 3700, + 4100, + 4400, + 4700, + 5000, + 5100, + 5400, + 5750 + ], + [ + 3700, + 4100, + 4500, + 4750, + 5000, + 5000, + 5250, + 5750 + ], + [ + 3700, + 4250, + 4500, + 4750, + 5000, + 5250, + 5500, + 5750 + ], + [ + 3750, + 4250, + 4500, + 5000, + 5250, + 5250, + 5500, + 5750 + ], + [ + 4000, + 4500, + 4750, + 5000, + 5250, + 5500, + 5750, + 6000 + ], + [ + 4500, + 4500, + 5000, + 5250, + 5500, + 5750, + 6250, + 6500 + ], + [ + 4500, + 5000, + 5500, + 5500, + 6000, + 6000, + 6500, + 6500 + ], + [ + 5000, + 5000, + 5000, + 5500, + 6000, + 6500, + 7000, + 7000 + ], + [ + 5500, + 5500, + 5500, + 6000, + 6500, + 6500, + 7000, + 7000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/LD-10#/client", + "speedsMs": [ 100, 150, 200, @@ -536,258 +679,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 9590, - 8200, - 7780, - 7540, - 2420, - 3160, - 3570, - 4040 - ], - "header": 100 - }, - { - "cells": [ - 3860, - 3500, - 3460, - 3920, - 4250, - 4480, - 4710, - 4870 - ], - "header": 200 - }, - { - "cells": [ - 3860, - 4080, - 4340, - 4540, - 4720, - 4880, - 5070, - 5190 - ], - "header": 400 - }, - { - "cells": [ - 4190, - 4390, - 4570, - 4730, - 4850, - 5040, - 5220, - 5340 - ], - "header": 700 - }, - { - "cells": [ - 4375, - 4550, - 4675, - 4800, - 4950, - 5125, - 5325, - 5425 - ], - "header": 1000 - }, - { - "cells": [ - 4475, - 4625, - 4775, - 4925, - 5000, - 5175, - 5400, - 5425 - ], - "header": 2000 - }, - { - "cells": [ - 4375, - 4450, - 4700, - 4775, - 4875, - 5050, - 5400, - 5450 - ], - "header": 3000 - }, - { - "cells": [ - 4375, - 4450, - 4700, - 5100, - 5100, - 5100, - 5400, - 5500 - ], - "header": 4000 - }, - { - "cells": [ - 4000, - 4450, - 4700, - 5000, - 5550, - 5050, - 5400, - 5500 - ], - "header": 5000 - }, - { - "cells": [ - 4100, - 4450, - 4700, - 4950, - 5150, - 5350, - 5600, - 5750 - ], - "header": 6000 - }, - { - "cells": [ - 3700, - 4100, - 4400, - 4700, - 5000, - 5100, - 5400, - 5750 - ], - "header": 7000 - }, - { - "cells": [ - 3700, - 4100, - 4500, - 4750, - 5000, - 5000, - 5250, - 5750 - ], - "header": 8000 - }, - { - "cells": [ - 3700, - 4250, - 4500, - 4750, - 5000, - 5250, - 5500, - 5750 - ], - "header": 9000 - }, - { - "cells": [ - 3750, - 4250, - 4500, - 5000, - 5250, - 5250, - 5500, - 5750 - ], - "header": 10000 - }, - { - "cells": [ - 4000, - 4500, - 4750, - 5000, - 5250, - 5500, - 5750, - 6000 - ], - "header": 11000 - }, - { - "cells": [ - 4500, - 4500, - 5000, - 5250, - 5500, - 5750, - 6250, - 6500 - ], - "header": 12000 - }, - { - "cells": [ - 4500, - 5000, - 5500, - 5500, - 6000, - 6000, - 6500, - 6500 - ], - "header": 13000 - }, - { - "cells": [ - 5000, - 5000, - 5000, - 5500, - 6000, - 6500, - 7000, - 7000 - ], - "header": 14000 - }, - { - "cells": [ - 5500, - 5500, - 5500, - 6000, - 6500, - 6500, - 7000, - 7000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/LD-10#/client/MinLaunchDistData" + ] } ], "machMax": 4, diff --git a/dcs-world-reference/latest/weapon_flight/LS_6.json b/dcs-world-reference/latest/weapon_flight/LS_6.json index 559ac24b..11af9157 100644 --- a/dcs-world-reference/latest/weapon_flight/LS_6.json +++ b/dcs-world-reference/latest/weapon_flight/LS_6.json @@ -15,297 +15,466 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 12000, - 19200, - 18200, - 24200, - 26200, - 27600, - 28400, - 28600 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 13400, - 20600, - 21600, - 26800, - 30000, - 32000, - 33400, - 34400 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 15000, - 22200, - 23400, - 28400, - 31600, - 33600, - 35000, - 36200 - ], - "header": 700 - }, - { - "cells": [ - 0, - 11000, - 17200, - 24400, - 32400, - 31000, - 34400, - 36400, - 37800, - 39000 - ], - "header": 1000 - }, - { - "cells": [ - 13000, - 18600, - 24600, - 31600, - 40000, - 38000, - 41600, - 43800, - 45400, - 47000 - ], - "header": 2000 - }, - { - "cells": [ - 20400, - 26000, - 32000, - 37200, - 42400, - 44000, - 47600, - 50000, - 52000, - 54800 - ], - "header": 3000 - }, - { - "cells": [ - 28400, - 32800, - 38800, - 44400, - 48800, - 49200, - 53200, - 56000, - 58000, - 60400 - ], - "header": 4000 - }, - { - "cells": [ - 35200, - 40000, - 45200, - 50800, - 55600, - 54800, - 59200, - 61600, - 64400, - 66800 - ], - "header": 5000 - }, - { - "cells": [ - 41600, - 46400, - 52000, - 57200, - 62000, - 64800, - 64400, - 67200, - 70000, - 72800 - ], - "header": 6000 - }, - { - "cells": [ - 48000, - 52800, - 57600, - 64000, - 68000, - 70400, - 68800, - 72000, - 74400, - 81600 - ], - "header": 7000 - }, - { - "cells": [ - 53600, - 58400, - 64800, - 70400, - 73600, - 76000, - 73600, - 76800, - 80800, - 87200 - ], - "header": 8000 - }, - { - "cells": [ - 60000, - 64800, - 71200, - 76000, - 80000, - 81600, - 83200, - 81600, - 84400, - 90400 - ], - "header": 9000 - }, - { - "cells": [ - 65600, - 67200, - 70400, - 72800, - 74400, - 76000, - 76800, - 86400, - 89600, - 94400 - ], - "header": 10000 - }, - { - "cells": [ - 73200, - 78000, - 80400, - 84000, - 86400, - 87600, - 88800, - 90000, - 93600, - 98400 - ], - "header": 11000 - }, - { - "cells": [ - 79200, - 82800, - 86400, - 90000, - 92400, - 92400, - 92400, - 93600, - 97200, - 102000 - ], - "header": 12000 - }, - { - "cells": [ - 84000, - 87600, - 92400, - 93600, - 96000, - 97200, - 98400, - 98400, - 99600, - 104400 - ], - "header": 13000 - }, - { - "cells": [ - 88800, - 92400, - 96000, - 99600, - 102000, - 103200, - 103200, - 104400, - 104400, - 106800 - ], - "header": 14000 - }, - { - "cells": [ - 93000, - 98000, - 101000, - 104000, - 106000, - 108000, - 108000, - 109000, - 112000, - 115000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 12000, + 19200, + 18200, + 24200, + 26200, + 27600, + 28400, + 28600 + ], + [ + 0, + 0, + 13400, + 20600, + 21600, + 26800, + 30000, + 32000, + 33400, + 34400 + ], + [ + 0, + 0, + 15000, + 22200, + 23400, + 28400, + 31600, + 33600, + 35000, + 36200 + ], + [ + 0, + 11000, + 17200, + 24400, + 32400, + 31000, + 34400, + 36400, + 37800, + 39000 + ], + [ + 13000, + 18600, + 24600, + 31600, + 40000, + 38000, + 41600, + 43800, + 45400, + 47000 + ], + [ + 20400, + 26000, + 32000, + 37200, + 42400, + 44000, + 47600, + 50000, + 52000, + 54800 + ], + [ + 28400, + 32800, + 38800, + 44400, + 48800, + 49200, + 53200, + 56000, + 58000, + 60400 + ], + [ + 35200, + 40000, + 45200, + 50800, + 55600, + 54800, + 59200, + 61600, + 64400, + 66800 + ], + [ + 41600, + 46400, + 52000, + 57200, + 62000, + 64800, + 64400, + 67200, + 70000, + 72800 + ], + [ + 48000, + 52800, + 57600, + 64000, + 68000, + 70400, + 68800, + 72000, + 74400, + 81600 + ], + [ + 53600, + 58400, + 64800, + 70400, + 73600, + 76000, + 73600, + 76800, + 80800, + 87200 + ], + [ + 60000, + 64800, + 71200, + 76000, + 80000, + 81600, + 83200, + 81600, + 84400, + 90400 + ], + [ + 65600, + 67200, + 70400, + 72800, + 74400, + 76000, + 76800, + 86400, + 89600, + 94400 + ], + [ + 73200, + 78000, + 80400, + 84000, + 86400, + 87600, + 88800, + 90000, + 93600, + 98400 + ], + [ + 79200, + 82800, + 86400, + 90000, + 92400, + 92400, + 92400, + 93600, + 97200, + 102000 + ], + [ + 84000, + 87600, + 92400, + 93600, + 96000, + 97200, + 98400, + 98400, + 99600, + 104400 + ], + [ + 88800, + 92400, + 96000, + 99600, + 102000, + 103200, + 103200, + 104400, + 104400, + 106800 + ], + [ + 93000, + 98000, + 101000, + 104000, + 106000, + 108000, + 108000, + 109000, + 112000, + 115000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/LS_6#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 8400, + 9000, + 9000, + 9600, + 9800, + 9800, + 10000, + 10000 + ], + [ + 0, + 0, + 8600, + 9200, + 9400, + 9800, + 10000, + 10200, + 10400, + 10400 + ], + [ + 0, + 0, + 8800, + 9400, + 9400, + 10000, + 10200, + 10400, + 10600, + 10600 + ], + [ + 0, + 8400, + 9000, + 9600, + 10200, + 10200, + 10400, + 10600, + 10800, + 10800 + ], + [ + 8600, + 9000, + 9600, + 10200, + 11000, + 10800, + 11200, + 11400, + 11400, + 11600 + ], + [ + 9200, + 9600, + 10400, + 10800, + 11200, + 11600, + 11600, + 12000, + 12000, + 12000 + ], + [ + 10000, + 10400, + 10800, + 11600, + 12000, + 12000, + 12400, + 12400, + 12800, + 12800 + ], + [ + 10800, + 11200, + 11600, + 12000, + 12400, + 12400, + 12800, + 12800, + 13200, + 13600 + ], + [ + 11200, + 11600, + 12000, + 12400, + 13200, + 13200, + 13200, + 13600, + 13600, + 14000 + ], + [ + 12000, + 12000, + 12800, + 13600, + 13600, + 13600, + 13600, + 14400, + 14400, + 14000 + ], + [ + 12800, + 12800, + 13600, + 13600, + 14400, + 14400, + 14400, + 14400, + 15200, + 14600 + ], + [ + 12800, + 13600, + 14400, + 14400, + 15200, + 15200, + 15200, + 15200, + 15800, + 15800 + ], + [ + 13600, + 13600, + 13600, + 14400, + 14400, + 14400, + 14400, + 15200, + 16000, + 16000 + ], + [ + 13200, + 14400, + 14400, + 14400, + 14400, + 14400, + 15600, + 15600, + 15600, + 15600 + ], + [ + 14400, + 14400, + 14400, + 15600, + 15600, + 15600, + 15600, + 15600, + 15600, + 16800 + ], + [ + 14400, + 14400, + 15600, + 15600, + 15600, + 15600, + 15600, + 15600, + 15600, + 16800 + ], + [ + 15600, + 15600, + 15600, + 15600, + 16800, + 16800, + 16800, + 16800, + 16800, + 13200 + ], + [ + 15600, + 15600, + 15600, + 16800, + 16800, + 16800, + 16800, + 16800, + 16800, + 18000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/LS_6#/client", + "speedsMs": [ 100, 150, 200, @@ -316,281 +485,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 8400, - 9000, - 9000, - 9600, - 9800, - 9800, - 10000, - 10000 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 8600, - 9200, - 9400, - 9800, - 10000, - 10200, - 10400, - 10400 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8800, - 9400, - 9400, - 10000, - 10200, - 10400, - 10600, - 10600 - ], - "header": 700 - }, - { - "cells": [ - 0, - 8400, - 9000, - 9600, - 10200, - 10200, - 10400, - 10600, - 10800, - 10800 - ], - "header": 1000 - }, - { - "cells": [ - 8600, - 9000, - 9600, - 10200, - 11000, - 10800, - 11200, - 11400, - 11400, - 11600 - ], - "header": 2000 - }, - { - "cells": [ - 9200, - 9600, - 10400, - 10800, - 11200, - 11600, - 11600, - 12000, - 12000, - 12000 - ], - "header": 3000 - }, - { - "cells": [ - 10000, - 10400, - 10800, - 11600, - 12000, - 12000, - 12400, - 12400, - 12800, - 12800 - ], - "header": 4000 - }, - { - "cells": [ - 10800, - 11200, - 11600, - 12000, - 12400, - 12400, - 12800, - 12800, - 13200, - 13600 - ], - "header": 5000 - }, - { - "cells": [ - 11200, - 11600, - 12000, - 12400, - 13200, - 13200, - 13200, - 13600, - 13600, - 14000 - ], - "header": 6000 - }, - { - "cells": [ - 12000, - 12000, - 12800, - 13600, - 13600, - 13600, - 13600, - 14400, - 14400, - 14000 - ], - "header": 7000 - }, - { - "cells": [ - 12800, - 12800, - 13600, - 13600, - 14400, - 14400, - 14400, - 14400, - 15200, - 14600 - ], - "header": 8000 - }, - { - "cells": [ - 12800, - 13600, - 14400, - 14400, - 15200, - 15200, - 15200, - 15200, - 15800, - 15800 - ], - "header": 9000 - }, - { - "cells": [ - 13600, - 13600, - 13600, - 14400, - 14400, - 14400, - 14400, - 15200, - 16000, - 16000 - ], - "header": 10000 - }, - { - "cells": [ - 13200, - 14400, - 14400, - 14400, - 14400, - 14400, - 15600, - 15600, - 15600, - 15600 - ], - "header": 11000 - }, - { - "cells": [ - 14400, - 14400, - 14400, - 15600, - 15600, - 15600, - 15600, - 15600, - 15600, - 16800 - ], - "header": 12000 - }, - { - "cells": [ - 14400, - 14400, - 15600, - 15600, - 15600, - 15600, - 15600, - 15600, - 15600, - 16800 - ], - "header": 13000 - }, - { - "cells": [ - 15600, - 15600, - 15600, - 15600, - 16800, - 16800, - 16800, - 16800, - 16800, - 13200 - ], - "header": 14000 - }, - { - "cells": [ - 15600, - 15600, - 15600, - 16800, - 16800, - 16800, - 16800, - 16800, - 16800, - 18000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/LS_6#/client/MinLaunchDistData" + ] } ], "machMax": 1.7, diff --git a/dcs-world-reference/latest/weapon_flight/LS_6_100.json b/dcs-world-reference/latest/weapon_flight/LS_6_100.json index 01954df1..fcc35abb 100644 --- a/dcs-world-reference/latest/weapon_flight/LS_6_100.json +++ b/dcs-world-reference/latest/weapon_flight/LS_6_100.json @@ -20,222 +20,466 @@ "operatingTime": 9000, "sourcePath": "_G/weapons_table/weapons/bombs/LS_6_100#/client/autopilot" }, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "AspectDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 24, - 28, - 30, - 30, - 25, - 25, - 20 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 6, - 44, - 45, - 45, - 45, - 20, - 20, - 18 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 16, - 40, - 45, - 45, - 45, - 45, - 45, - 40 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 24, - 45, - 45, - 45, - 45, - 45, - 45, - 42 - ], - "header": 1000 - }, - { - "cells": [ - 0, - 27, - 42, - 45, - 45, - 45, - 45, - 45, - 45, - 42 - ], - "header": 2000 - }, - { - "cells": [ - 0, - 42, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 3000 - }, - { - "cells": [ - 33, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 4000 - }, - { - "cells": [ - 36, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 5000 - }, - { - "cells": [ - 37, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 6000 - }, - { - "cells": [ - 38, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 7000 - }, - { - "cells": [ - 39, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 8000 - }, - { - "cells": [ - 42, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 9000 - }, - { - "cells": [ - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45, - 45 - ], - "header": 10000 - } + "maxRangeM": [ + [ + 0, + 0, + 0, + 7900, + 8000, + 7900, + 9500, + 9500, + 9600, + 16900 + ], + [ + 0, + 0, + 7700, + 10900, + 13000, + 14100, + 15000, + 15700, + 16600, + 18000 + ], + [ + 0, + 0, + 8500, + 12400, + 14100, + 14800, + 15200, + 15200, + 15200, + 18400 + ], + [ + 0, + 0, + 9600, + 14200, + 18200, + 18200, + 18200, + 18200, + 18200, + 18800 + ], + [ + 0, + 8400, + 13600, + 19200, + 24600, + 27800, + 29400, + 30200, + 30800, + 31600 + ], + [ + 0, + 11000, + 16800, + 23400, + 29400, + 32800, + 34400, + 35400, + 36000, + 36800 + ], + [ + 9500, + 13000, + 19500, + 27000, + 33500, + 37500, + 39000, + 40000, + 41000, + 41500 + ], + [ + 11500, + 15500, + 22500, + 30500, + 38000, + 42000, + 43500, + 44500, + 45500, + 46500 + ], + [ + 13000, + 18000, + 25000, + 34000, + 42000, + 46000, + 48000, + 49000, + 50000, + 51000 + ], + [ + 16500, + 21000, + 27500, + 37000, + 45500, + 50000, + 52500, + 53500, + 54500, + 56000 + ], + [ + 23250, + 23250, + 29250, + 39000, + 48750, + 53250, + 56250, + 57750, + 59250, + 60750 + ], + [ + 27750, + 27750, + 30750, + 41250, + 51750, + 57750, + 60750, + 61500, + 63000, + 64500 + ], + [ + 31500, + 31500, + 33750, + 43500, + 54000, + 60750, + 63750, + 66000, + 67500, + 69000 + ], + [ + 34500, + 36000, + 37500, + 45000, + 56250, + 63000, + 67500, + 69000, + 71250, + 73500 + ], + [ + 36000, + 39000, + 41000, + 47000, + 58000, + 66000, + 70000, + 73000, + 75000, + 77000 + ], + [ + 36000, + 42000, + 45000, + 48000, + 60000, + 68000, + 74000, + 77000, + 78000, + 81000 + ], + [ + 37000, + 46000, + 48000, + 51000, + 62000, + 71000, + 77000, + 80000, + 83000, + 85000 + ], + [ + 38000, + 48000, + 50000, + 55000, + 64000, + 74000, + 80000, + 83000, + 86000, + 88000 + ] ], - "sourcePath": "_G/weapons_table/weapons/bombs/LS_6_100#/client/AspectDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 0, + 7600, + 7900, + 7600, + 7700, + 8100, + 8700, + 13500 + ], + [ + 0, + 0, + 7600, + 7800, + 8000, + 8100, + 8200, + 8300, + 8400, + 17000 + ], + [ + 0, + 0, + 7600, + 8000, + 8100, + 8200, + 8200, + 8200, + 8200, + 13800 + ], + [ + 0, + 0, + 7600, + 8000, + 8400, + 8400, + 8400, + 8400, + 8400, + 8600 + ], + [ + 0, + 7600, + 8000, + 8600, + 9000, + 9400, + 9400, + 9600, + 9600, + 9600 + ], + [ + 0, + 7800, + 8400, + 9000, + 9400, + 9800, + 10000, + 10000, + 10000, + 10200 + ], + [ + 8000, + 8000, + 9000, + 9500, + 10000, + 10500, + 10500, + 10500, + 10500, + 11000 + ], + [ + 8000, + 8500, + 9000, + 10000, + 10500, + 11000, + 11000, + 11000, + 11000, + 11000 + ], + [ + 8000, + 8500, + 9500, + 10000, + 11000, + 11000, + 11500, + 11500, + 11500, + 11500 + ], + [ + 8500, + 9000, + 9500, + 10500, + 11000, + 11500, + 12000, + 12000, + 12000, + 12000 + ], + [ + 9000, + 9000, + 9750, + 10500, + 11250, + 12000, + 12000, + 12000, + 12750, + 12750 + ], + [ + 9750, + 9750, + 9750, + 10500, + 12000, + 12000, + 12750, + 12750, + 12750, + 12750 + ], + [ + 9750, + 9750, + 10500, + 11250, + 12000, + 12750, + 12750, + 12750, + 13500, + 13500 + ], + [ + 10500, + 10500, + 10500, + 11250, + 12000, + 12750, + 13500, + 13500, + 13500, + 13500 + ], + [ + 10000, + 10000, + 10000, + 11000, + 12000, + 13000, + 13000, + 13000, + 14000, + 14000 + ], + [ + 10000, + 11000, + 11000, + 11000, + 12000, + 13000, + 13000, + 14000, + 14000, + 14000 + ], + [ + 10000, + 11000, + 11000, + 11000, + 12000, + 13000, + 14000, + 14000, + 14000, + 14000 + ], + [ + 10000, + 11000, + 11000, + 12000, + 13000, + 13000, + 14000, + 14000, + 15000, + 15000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/LS_6_100#/client", + "speedsMs": [ 100, 150, 200, @@ -246,284 +490,184 @@ 450, 500, 550 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 7900, - 8000, - 7900, - 9500, - 9500, - 9600, - 16900 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 7700, - 10900, - 13000, - 14100, - 15000, - 15700, - 16600, - 18000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8500, - 12400, - 14100, - 14800, - 15200, - 15200, - 15200, - 18400 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 9600, - 14200, - 18200, - 18200, - 18200, - 18200, - 18200, - 18800 - ], - "header": 1000 - }, - { - "cells": [ - 0, - 8400, - 13600, - 19200, - 24600, - 27800, - 29400, - 30200, - 30800, - 31600 - ], - "header": 2000 - }, - { - "cells": [ - 0, - 11000, - 16800, - 23400, - 29400, - 32800, - 34400, - 35400, - 36000, - 36800 - ], - "header": 3000 - }, - { - "cells": [ - 9500, - 13000, - 19500, - 27000, - 33500, - 37500, - 39000, - 40000, - 41000, - 41500 - ], - "header": 4000 - }, - { - "cells": [ - 11500, - 15500, - 22500, - 30500, - 38000, - 42000, - 43500, - 44500, - 45500, - 46500 - ], - "header": 5000 - }, - { - "cells": [ - 13000, - 18000, - 25000, - 34000, - 42000, - 46000, - 48000, - 49000, - 50000, - 51000 - ], - "header": 6000 - }, - { - "cells": [ - 16500, - 21000, - 27500, - 37000, - 45500, - 50000, - 52500, - 53500, - 54500, - 56000 - ], - "header": 7000 - }, - { - "cells": [ - 23250, - 23250, - 29250, - 39000, - 48750, - 53250, - 56250, - 57750, - 59250, - 60750 - ], - "header": 8000 - }, - { - "cells": [ - 27750, - 27750, - 30750, - 41250, - 51750, - 57750, - 60750, - 61500, - 63000, - 64500 - ], - "header": 9000 - }, - { - "cells": [ - 31500, - 31500, - 33750, - 43500, - 54000, - 60750, - 63750, - 66000, - 67500, - 69000 - ], - "header": 10000 - }, - { - "cells": [ - 34500, - 36000, - 37500, - 45000, - 56250, - 63000, - 67500, - 69000, - 71250, - 73500 - ], - "header": 11000 - }, - { - "cells": [ - 36000, - 39000, - 41000, - 47000, - 58000, - 66000, - 70000, - 73000, - 75000, - 77000 - ], - "header": 12000 - }, - { - "cells": [ - 36000, - 42000, - 45000, - 48000, - 60000, - 68000, - 74000, - 77000, - 78000, - 81000 - ], - "header": 13000 - }, - { - "cells": [ - 37000, - 46000, - 48000, - 51000, - 62000, - 71000, - 77000, - 80000, - 83000, - 85000 - ], - "header": 14000 - }, - { - "cells": [ - 38000, - 48000, - 50000, - 55000, - 64000, - 74000, - 80000, - 83000, - 86000, - 88000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/LS_6_100#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 300, + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000 + ], + "aspectDeg": [ + [ + 0, + 0, + 0, + 24, + 28, + 30, + 30, + 25, + 25, + 20 + ], + [ + 0, + 0, + 6, + 44, + 45, + 45, + 45, + 20, + 20, + 18 + ], + [ + 0, + 0, + 16, + 40, + 45, + 45, + 45, + 45, + 45, + 40 + ], + [ + 0, + 0, + 24, + 45, + 45, + 45, + 45, + 45, + 45, + 42 + ], + [ + 0, + 27, + 42, + 45, + 45, + 45, + 45, + 45, + 45, + 42 + ], + [ + 0, + 42, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 33, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 36, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 37, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 38, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 39, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 42, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ], + [ + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45, + 45 + ] + ], + "sourcePath": "_G/weapons_table/weapons/bombs/LS_6_100#/client", + "speedsMs": [ 100, 150, 200, @@ -534,281 +678,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 7600, - 7900, - 7600, - 7700, - 8100, - 8700, - 13500 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 7600, - 7800, - 8000, - 8100, - 8200, - 8300, - 8400, - 17000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 7600, - 8000, - 8100, - 8200, - 8200, - 8200, - 8200, - 13800 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 7600, - 8000, - 8400, - 8400, - 8400, - 8400, - 8400, - 8600 - ], - "header": 1000 - }, - { - "cells": [ - 0, - 7600, - 8000, - 8600, - 9000, - 9400, - 9400, - 9600, - 9600, - 9600 - ], - "header": 2000 - }, - { - "cells": [ - 0, - 7800, - 8400, - 9000, - 9400, - 9800, - 10000, - 10000, - 10000, - 10200 - ], - "header": 3000 - }, - { - "cells": [ - 8000, - 8000, - 9000, - 9500, - 10000, - 10500, - 10500, - 10500, - 10500, - 11000 - ], - "header": 4000 - }, - { - "cells": [ - 8000, - 8500, - 9000, - 10000, - 10500, - 11000, - 11000, - 11000, - 11000, - 11000 - ], - "header": 5000 - }, - { - "cells": [ - 8000, - 8500, - 9500, - 10000, - 11000, - 11000, - 11500, - 11500, - 11500, - 11500 - ], - "header": 6000 - }, - { - "cells": [ - 8500, - 9000, - 9500, - 10500, - 11000, - 11500, - 12000, - 12000, - 12000, - 12000 - ], - "header": 7000 - }, - { - "cells": [ - 9000, - 9000, - 9750, - 10500, - 11250, - 12000, - 12000, - 12000, - 12750, - 12750 - ], - "header": 8000 - }, - { - "cells": [ - 9750, - 9750, - 9750, - 10500, - 12000, - 12000, - 12750, - 12750, - 12750, - 12750 - ], - "header": 9000 - }, - { - "cells": [ - 9750, - 9750, - 10500, - 11250, - 12000, - 12750, - 12750, - 12750, - 13500, - 13500 - ], - "header": 10000 - }, - { - "cells": [ - 10500, - 10500, - 10500, - 11250, - 12000, - 12750, - 13500, - 13500, - 13500, - 13500 - ], - "header": 11000 - }, - { - "cells": [ - 10000, - 10000, - 10000, - 11000, - 12000, - 13000, - 13000, - 13000, - 14000, - 14000 - ], - "header": 12000 - }, - { - "cells": [ - 10000, - 11000, - 11000, - 11000, - 12000, - 13000, - 13000, - 14000, - 14000, - 14000 - ], - "header": 13000 - }, - { - "cells": [ - 10000, - 11000, - 11000, - 11000, - 12000, - 13000, - 14000, - 14000, - 14000, - 14000 - ], - "header": 14000 - }, - { - "cells": [ - 10000, - 11000, - 11000, - 12000, - 13000, - 13000, - 14000, - 14000, - 15000, - 15000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/bombs/LS_6_100#/client/MinLaunchDistData" + ] } ], "sourcePath": "_G/weapons_table/weapons/bombs/LS_6_100#/client", diff --git a/dcs-world-reference/latest/weapon_flight/LS_6_500.json b/dcs-world-reference/latest/weapon_flight/LS_6_500.json index dc4fdfa0..b0d41b4a 100644 --- a/dcs-world-reference/latest/weapon_flight/LS_6_500.json +++ b/dcs-world-reference/latest/weapon_flight/LS_6_500.json @@ -15,297 +15,466 @@ }, "batteryLifeS": 9999, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 250, + "altitudesM": [ 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 9800, - 16800, - 18000, - 23200, - 26600, - 29000, - 30800, - 32600 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 11400, - 18200, - 21200, - 26400, - 30400, - 32800, - 34800, - 36600 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 12600, - 19400, - 22800, - 28200, - 31800, - 34200, - 36200, - 38000 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 14600, - 21400, - 29200, - 30000, - 33600, - 36200, - 38000, - 40000 - ], - "header": 1000 - }, - { - "cells": [ - 10400, - 15000, - 21200, - 28200, - 36200, - 35800, - 39600, - 42200, - 44400, - 46600 - ], - "header": 2000 - }, - { - "cells": [ - 16400, - 21600, - 27600, - 33600, - 40000, - 41200, - 45200, - 48000, - 50400, - 52800 - ], - "header": 3000 - }, - { - "cells": [ - 23200, - 28400, - 34000, - 40000, - 45200, - 46800, - 50800, - 53600, - 56000, - 58400 - ], - "header": 4000 - }, - { - "cells": [ - 29600, - 34400, - 40000, - 46000, - 51600, - 51600, - 55600, - 58400, - 61200, - 64400 - ], - "header": 5000 - }, - { - "cells": [ - 36000, - 40400, - 46000, - 52400, - 57200, - 60400, - 60400, - 63200, - 66000, - 69200 - ], - "header": 6000 - }, - { - "cells": [ - 40800, - 46400, - 51200, - 57600, - 62400, - 64800, - 64800, - 67200, - 70400, - 73600 - ], - "header": 7000 - }, - { - "cells": [ - 47200, - 52000, - 56800, - 63200, - 67200, - 70400, - 68000, - 72000, - 74400, - 74800 - ], - "header": 8000 - }, - { - "cells": [ - 52000, - 56800, - 62400, - 68000, - 72800, - 74400, - 68000, - 75200, - 75200, - 75800 - ], - "header": 9000 - }, - { - "cells": [ - 56800, - 60800, - 64800, - 67200, - 69600, - 71200, - 72000, - 77600, - 57600, - 85600 - ], - "header": 10000 - }, - { - "cells": [ - 63600, - 68400, - 70800, - 75600, - 78000, - 79200, - 80400, - 81600, - 85200, - 88800 - ], - "header": 11000 - }, - { - "cells": [ - 68400, - 72000, - 75600, - 79200, - 80400, - 82800, - 84000, - 84000, - 87600, - 91200 - ], - "header": 12000 - }, - { - "cells": [ - 72000, - 75600, - 80400, - 82800, - 85200, - 86400, - 87600, - 88800, - 90000, - 92400 - ], - "header": 13000 - }, - { - "cells": [ - 75600, - 80400, - 82800, - 86400, - 88800, - 90000, - 91200, - 92400, - 92400, - 95400 - ], - "header": 14000 - }, - { - "cells": [ - 79200, - 82800, - 86400, - 90000, - 92400, - 92400, - 93600, - 94800, - 96000, - 97400 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 0, + 0, + 9800, + 16800, + 18000, + 23200, + 26600, + 29000, + 30800, + 32600 + ], + [ + 0, + 0, + 11400, + 18200, + 21200, + 26400, + 30400, + 32800, + 34800, + 36600 + ], + [ + 0, + 0, + 12600, + 19400, + 22800, + 28200, + 31800, + 34200, + 36200, + 38000 + ], + [ + 0, + 0, + 14600, + 21400, + 29200, + 30000, + 33600, + 36200, + 38000, + 40000 + ], + [ + 10400, + 15000, + 21200, + 28200, + 36200, + 35800, + 39600, + 42200, + 44400, + 46600 + ], + [ + 16400, + 21600, + 27600, + 33600, + 40000, + 41200, + 45200, + 48000, + 50400, + 52800 + ], + [ + 23200, + 28400, + 34000, + 40000, + 45200, + 46800, + 50800, + 53600, + 56000, + 58400 + ], + [ + 29600, + 34400, + 40000, + 46000, + 51600, + 51600, + 55600, + 58400, + 61200, + 64400 + ], + [ + 36000, + 40400, + 46000, + 52400, + 57200, + 60400, + 60400, + 63200, + 66000, + 69200 + ], + [ + 40800, + 46400, + 51200, + 57600, + 62400, + 64800, + 64800, + 67200, + 70400, + 73600 + ], + [ + 47200, + 52000, + 56800, + 63200, + 67200, + 70400, + 68000, + 72000, + 74400, + 74800 + ], + [ + 52000, + 56800, + 62400, + 68000, + 72800, + 74400, + 68000, + 75200, + 75200, + 75800 + ], + [ + 56800, + 60800, + 64800, + 67200, + 69600, + 71200, + 72000, + 77600, + 57600, + 85600 + ], + [ + 63600, + 68400, + 70800, + 75600, + 78000, + 79200, + 80400, + 81600, + 85200, + 88800 + ], + [ + 68400, + 72000, + 75600, + 79200, + 80400, + 82800, + 84000, + 84000, + 87600, + 91200 + ], + [ + 72000, + 75600, + 80400, + 82800, + 85200, + 86400, + 87600, + 88800, + 90000, + 92400 + ], + [ + 75600, + 80400, + 82800, + 86400, + 88800, + 90000, + 91200, + 92400, + 92400, + 95400 + ], + [ + 79200, + 82800, + 86400, + 90000, + 92400, + 92400, + 93600, + 94800, + 96000, + 97400 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/LS_6_500#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 0, + 0, + 8200, + 8800, + 9000, + 9400, + 9800, + 10000, + 10200, + 10200 + ], + [ + 0, + 0, + 8400, + 9000, + 9200, + 9800, + 10000, + 10400, + 10400, + 10600 + ], + [ + 0, + 0, + 8400, + 9200, + 9400, + 10000, + 10200, + 10400, + 10600, + 10800 + ], + [ + 0, + 0, + 8600, + 9200, + 10000, + 10000, + 10400, + 10600, + 10800, + 11000 + ], + [ + 8200, + 8800, + 9200, + 10000, + 10600, + 10600, + 11000, + 11200, + 11400, + 11600 + ], + [ + 8800, + 9200, + 10000, + 10400, + 11200, + 11200, + 11600, + 11600, + 12000, + 12000 + ], + [ + 9600, + 10000, + 10400, + 11200, + 11600, + 11600, + 12000, + 12400, + 12400, + 12800 + ], + [ + 10000, + 10400, + 11200, + 11600, + 12000, + 12000, + 12400, + 12800, + 12800, + 13200 + ], + [ + 10800, + 11200, + 11600, + 12000, + 12400, + 12800, + 12800, + 13200, + 13200, + 13600 + ], + [ + 11200, + 12000, + 12000, + 12800, + 13600, + 13600, + 13600, + 13600, + 13600, + 14400 + ], + [ + 12000, + 12000, + 12800, + 13600, + 13600, + 13600, + 13600, + 14400, + 14400, + 12000 + ], + [ + 12000, + 12800, + 13600, + 13600, + 14400, + 14400, + 13600, + 14400, + 12800, + 12800 + ], + [ + 12800, + 12800, + 13600, + 13600, + 13600, + 14400, + 14400, + 14400, + 12800, + 15200 + ], + [ + 13200, + 13200, + 13200, + 14400, + 14400, + 14400, + 14400, + 14400, + 14400, + 15600 + ], + [ + 13200, + 13200, + 14400, + 14400, + 14400, + 14400, + 14400, + 14400, + 14400, + 15600 + ], + [ + 13200, + 14400, + 14400, + 14400, + 14400, + 14400, + 14400, + 15600, + 15600, + 15600 + ], + [ + 14400, + 14400, + 14400, + 14400, + 15600, + 15600, + 15600, + 15600, + 15600, + 15600 + ], + [ + 14400, + 14400, + 14400, + 15600, + 15600, + 15600, + 15600, + 16800, + 18000, + 16800 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/LS_6_500#/client", + "speedsMs": [ 100, 150, 200, @@ -316,281 +485,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 8200, - 8800, - 9000, - 9400, - 9800, - 10000, - 10200, - 10200 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 8400, - 9000, - 9200, - 9800, - 10000, - 10400, - 10400, - 10600 - ], - "header": 500 - }, - { - "cells": [ - 0, - 0, - 8400, - 9200, - 9400, - 10000, - 10200, - 10400, - 10600, - 10800 - ], - "header": 700 - }, - { - "cells": [ - 0, - 0, - 8600, - 9200, - 10000, - 10000, - 10400, - 10600, - 10800, - 11000 - ], - "header": 1000 - }, - { - "cells": [ - 8200, - 8800, - 9200, - 10000, - 10600, - 10600, - 11000, - 11200, - 11400, - 11600 - ], - "header": 2000 - }, - { - "cells": [ - 8800, - 9200, - 10000, - 10400, - 11200, - 11200, - 11600, - 11600, - 12000, - 12000 - ], - "header": 3000 - }, - { - "cells": [ - 9600, - 10000, - 10400, - 11200, - 11600, - 11600, - 12000, - 12400, - 12400, - 12800 - ], - "header": 4000 - }, - { - "cells": [ - 10000, - 10400, - 11200, - 11600, - 12000, - 12000, - 12400, - 12800, - 12800, - 13200 - ], - "header": 5000 - }, - { - "cells": [ - 10800, - 11200, - 11600, - 12000, - 12400, - 12800, - 12800, - 13200, - 13200, - 13600 - ], - "header": 6000 - }, - { - "cells": [ - 11200, - 12000, - 12000, - 12800, - 13600, - 13600, - 13600, - 13600, - 13600, - 14400 - ], - "header": 7000 - }, - { - "cells": [ - 12000, - 12000, - 12800, - 13600, - 13600, - 13600, - 13600, - 14400, - 14400, - 12000 - ], - "header": 8000 - }, - { - "cells": [ - 12000, - 12800, - 13600, - 13600, - 14400, - 14400, - 13600, - 14400, - 12800, - 12800 - ], - "header": 9000 - }, - { - "cells": [ - 12800, - 12800, - 13600, - 13600, - 13600, - 14400, - 14400, - 14400, - 12800, - 15200 - ], - "header": 10000 - }, - { - "cells": [ - 13200, - 13200, - 13200, - 14400, - 14400, - 14400, - 14400, - 14400, - 14400, - 15600 - ], - "header": 11000 - }, - { - "cells": [ - 13200, - 13200, - 14400, - 14400, - 14400, - 14400, - 14400, - 14400, - 14400, - 15600 - ], - "header": 12000 - }, - { - "cells": [ - 13200, - 14400, - 14400, - 14400, - 14400, - 14400, - 14400, - 15600, - 15600, - 15600 - ], - "header": 13000 - }, - { - "cells": [ - 14400, - 14400, - 14400, - 14400, - 15600, - 15600, - 15600, - 15600, - 15600, - 15600 - ], - "header": 14000 - }, - { - "cells": [ - 14400, - 14400, - 14400, - 15600, - 15600, - 15600, - 15600, - 16800, - 18000, - 16800 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/LS_6_500#/client/MinLaunchDistData" + ] } ], "machMax": 1.7, diff --git a/dcs-world-reference/latest/weapon_flight/Rb 04E (for A.I.).json b/dcs-world-reference/latest/weapon_flight/Rb 04E (for A.I.).json index b2da798c..eaba2a2a 100644 --- a/dcs-world-reference/latest/weapon_flight/Rb 04E (for A.I.).json +++ b/dcs-world-reference/latest/weapon_flight/Rb 04E (for A.I.).json @@ -15,9 +15,168 @@ }, "batteryLifeS": 4500, "killDistanceM": 1, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 100, + 200, + 300, + 500, + 600, + 800, + 900, + 1000, + 2000, + 4000, + 6000, + 8000, + 10000, + 12000 + ], + "maxRangeM": [ + [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + [ + 0, + 0, + 0, + 20000, + 24000, + 26000, + 32000, + 32000 + ], + [ + 0, + 0, + 20000, + 20000, + 24000, + 26000, + 32000, + 32000 + ], + [ + 0, + 0, + 20000, + 20000, + 24000, + 26000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ], + [ + 0, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000, + 32000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/Rb 04E (for A.I.)#/client", + "speedsMs": [ 50, 75, 100, @@ -26,193 +185,7 @@ 200, 250, 300 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 0, - 20000, - 24000, - 26000, - 32000, - 32000 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 20000, - 20000, - 24000, - 26000, - 32000, - 32000 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 20000, - 20000, - 24000, - 26000, - 32000, - 32000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 600 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 800 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 900 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 1000 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 2000 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 4000 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 6000 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 8000 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 10000 - }, - { - "cells": [ - 0, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000, - 32000 - ], - "header": 12000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/Rb 04E (for A.I.)#/client/LaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/Rb 15F (for A.I.).json b/dcs-world-reference/latest/weapon_flight/Rb 15F (for A.I.).json index fcd93348..237e7c8f 100644 --- a/dcs-world-reference/latest/weapon_flight/Rb 15F (for A.I.).json +++ b/dcs-world-reference/latest/weapon_flight/Rb 15F (for A.I.).json @@ -15,9 +15,168 @@ }, "batteryLifeS": 100000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 100, + 200, + 300, + 500, + 600, + 800, + 900, + 1000, + 2000, + 4000, + 6000, + 8000, + 10000, + 12000 + ], + "maxRangeM": [ + [ + 0, + 0, + 0, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 0, + 0, + 0, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 0, + 0, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 0, + 0, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 0, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 0, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/Rb 15F (for A.I.)#/client", + "speedsMs": [ 50, 75, 100, @@ -26,317 +185,112 @@ 200, 250, 300 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 0, - 0, - 0, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 100 - }, - { - "cells": [ - 0, - 0, - 0, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 200 - }, - { - "cells": [ - 0, - 0, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 300 - }, - { - "cells": [ - 0, - 0, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 500 - }, - { - "cells": [ - 0, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 600 - }, - { - "cells": [ - 0, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 800 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 900 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 1000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 2000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 4000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 6000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 8000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 10000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 12000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/Rb 15F (for A.I.)#/client/LaunchDistData" + ] }, { - "columnHeaders": [ + "altitudesM": [ + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000 + ], + "minRangeM": [ + [ + 5000, + 5000, + 6000, + 6000, + 7000, + 7000 + ], + [ + 5000, + 6000, + 7000, + 8000, + 8000, + 9000 + ], + [ + 5000, + 7000, + 18000, + 19000, + 20000, + 20000 + ], + [ + 5000, + 27000, + 29000, + 31000, + 32000, + 33000 + ], + [ + 5000, + 38000, + 41000, + 43000, + 44000, + 45000 + ], + [ + 47000, + 50000, + 53000, + 56000, + 57000, + 59000 + ], + [ + 60000, + 63000, + 66000, + 69000, + 71000, + 73000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ], + [ + 70000, + 70000, + 70000, + 70000, + 70000, + 70000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/Rb 15F (for A.I.)#/client", + "speedsMs": [ 50, 100, 150, 200, 250, 300 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 5000, - 5000, - 6000, - 6000, - 7000, - 7000 - ], - "header": 3000 - }, - { - "cells": [ - 5000, - 6000, - 7000, - 8000, - 8000, - 9000 - ], - "header": 4000 - }, - { - "cells": [ - 5000, - 7000, - 18000, - 19000, - 20000, - 20000 - ], - "header": 5000 - }, - { - "cells": [ - 5000, - 27000, - 29000, - 31000, - 32000, - 33000 - ], - "header": 6000 - }, - { - "cells": [ - 5000, - 38000, - 41000, - 43000, - 44000, - 45000 - ], - "header": 7000 - }, - { - "cells": [ - 47000, - 50000, - 53000, - 56000, - 57000, - 59000 - ], - "header": 8000 - }, - { - "cells": [ - 60000, - 63000, - 66000, - 69000, - 71000, - 73000 - ], - "header": 9000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 10000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 11000 - }, - { - "cells": [ - 70000, - 70000, - 70000, - 70000, - 70000, - 70000 - ], - "header": 12000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/Rb 15F (for A.I.)#/client/MinLaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/Rb_04.json b/dcs-world-reference/latest/weapon_flight/Rb_04.json index 3fe62238..ac62178c 100644 --- a/dcs-world-reference/latest/weapon_flight/Rb_04.json +++ b/dcs-world-reference/latest/weapon_flight/Rb_04.json @@ -20,9 +20,104 @@ }, "batteryLifeS": 100000, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ + 100, + 200, + 400, + 700, + 1000, + 2000, + 3000, + 5000, + 7000 + ], + "maxRangeM": [ + [ + 27420, + 30870, + 33400, + 34780, + 35760, + 36530, + 36720 + ], + [ + 28960, + 31320, + 33560, + 34870, + 35810, + 36550, + 37270 + ], + [ + 30200, + 31925, + 33825, + 35025, + 35925, + 36675, + 37375 + ], + [ + 31425, + 32625, + 34225, + 35325, + 36175, + 36900, + 37575 + ], + [ + 32225, + 33175, + 34600, + 35625, + 36425, + 37125, + 37800 + ], + [ + 33975, + 34600, + 35675, + 36550, + 37300, + 37950, + 38650 + ], + [ + 35150, + 35650, + 36600, + 37350, + 38100, + 38750, + 39450 + ], + [ + 37100, + 37600, + 38400, + 39200, + 39850, + 40550, + 41350 + ], + [ + 39100, + 39600, + 40300, + 41100, + 41900, + 42600, + 43900 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/Rb_04#/client", + "speedsMs": [ 125, 150, 200, @@ -30,119 +125,7 @@ 300, 350, 400 - ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 27420, - 30870, - 33400, - 34780, - 35760, - 36530, - 36720 - ], - "header": 100 - }, - { - "cells": [ - 28960, - 31320, - 33560, - 34870, - 35810, - 36550, - 37270 - ], - "header": 200 - }, - { - "cells": [ - 30200, - 31925, - 33825, - 35025, - 35925, - 36675, - 37375 - ], - "header": 400 - }, - { - "cells": [ - 31425, - 32625, - 34225, - 35325, - 36175, - 36900, - 37575 - ], - "header": 700 - }, - { - "cells": [ - 32225, - 33175, - 34600, - 35625, - 36425, - 37125, - 37800 - ], - "header": 1000 - }, - { - "cells": [ - 33975, - 34600, - 35675, - 36550, - 37300, - 37950, - 38650 - ], - "header": 2000 - }, - { - "cells": [ - 35150, - 35650, - 36600, - 37350, - 38100, - 38750, - 39450 - ], - "header": 3000 - }, - { - "cells": [ - 37100, - 37600, - 38400, - 39200, - 39850, - 40550, - 41350 - ], - "header": 5000 - }, - { - "cells": [ - 39100, - 39600, - 40300, - 41100, - 41900, - 42600, - 43900 - ], - "header": 7000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/Rb_04#/client/LaunchDistData" + ] } ], "machMax": 0.95, diff --git a/dcs-world-reference/latest/weapon_flight/SPIKE_ER.json b/dcs-world-reference/latest/weapon_flight/SPIKE_ER.json index 4a9c1ddf..23584329 100644 --- a/dcs-world-reference/latest/weapon_flight/SPIKE_ER.json +++ b/dcs-world-reference/latest/weapon_flight/SPIKE_ER.json @@ -15,252 +15,187 @@ }, "batteryLifeS": 150, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 0, - 50, + "altitudesM": [ 100, - 150, - 200 + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 100 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 200 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 300 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 400 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 500 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 600 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 700 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 800 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 900 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 1000 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 2000 - } + "maxRangeM": [ + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ER#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 150, + 200, + 300, + 350, + 450 + ], + [ + 200, + 300, + 400, + 500, + 550 + ], + [ + 300, + 400, + 450, + 550, + 650 + ], + [ + 350, + 450, + 550, + 650, + 700 + ], + [ + 450, + 450, + 550, + 650, + 750 + ], + [ + 550, + 500, + 700, + 800, + 900 + ], + [ + 600, + 550, + 750, + 850, + 950 + ], + [ + 700, + 600, + 800, + 900, + 950 + ], + [ + 800, + 650, + 850, + 950, + 1000 + ], + [ + 850, + 750, + 900, + 1000, + 1050 + ], + [ + 1700, + 1350, + 1700, + 1700, + 1700 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ER#/client", + "speedsMs": [ 0, 50, 100, 150, 200 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 150, - 200, - 300, - 350, - 450 - ], - "header": 100 - }, - { - "cells": [ - 200, - 300, - 400, - 500, - 550 - ], - "header": 200 - }, - { - "cells": [ - 300, - 400, - 450, - 550, - 650 - ], - "header": 300 - }, - { - "cells": [ - 350, - 450, - 550, - 650, - 700 - ], - "header": 400 - }, - { - "cells": [ - 450, - 450, - 550, - 650, - 750 - ], - "header": 500 - }, - { - "cells": [ - 550, - 500, - 700, - 800, - 900 - ], - "header": 600 - }, - { - "cells": [ - 600, - 550, - 750, - 850, - 950 - ], - "header": 700 - }, - { - "cells": [ - 700, - 600, - 800, - 900, - 950 - ], - "header": 800 - }, - { - "cells": [ - 800, - 650, - 850, - 950, - 1000 - ], - "header": 900 - }, - { - "cells": [ - 850, - 750, - 900, - 1000, - 1050 - ], - "header": 1000 - }, - { - "cells": [ - 1700, - 1350, - 1700, - 1700, - 1700 - ], - "header": 2000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ER#/client/MinLaunchDistData" + ] } ], "machMax": 0.7, diff --git a/dcs-world-reference/latest/weapon_flight/SPIKE_ER2.json b/dcs-world-reference/latest/weapon_flight/SPIKE_ER2.json index 9460ab1b..68cb0e89 100644 --- a/dcs-world-reference/latest/weapon_flight/SPIKE_ER2.json +++ b/dcs-world-reference/latest/weapon_flight/SPIKE_ER2.json @@ -15,252 +15,187 @@ }, "batteryLifeS": 150, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 0, - 50, + "altitudesM": [ 100, - 150, - 200 + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 16000, - 16000, - 16000, - 15500, - 16000 - ], - "header": 100 - }, - { - "cells": [ - 16000, - 16000, - 15500, - 15500, - 16000 - ], - "header": 200 - }, - { - "cells": [ - 16000, - 15000, - 15500, - 15500, - 16000 - ], - "header": 300 - }, - { - "cells": [ - 16000, - 15000, - 15500, - 15500, - 16000 - ], - "header": 400 - }, - { - "cells": [ - 14500, - 15000, - 15500, - 16000, - 16000 - ], - "header": 500 - }, - { - "cells": [ - 14500, - 15000, - 15500, - 16000, - 16000 - ], - "header": 600 - }, - { - "cells": [ - 14500, - 15000, - 15500, - 15500, - 16000 - ], - "header": 700 - }, - { - "cells": [ - 14500, - 15000, - 15500, - 16000, - 16000 - ], - "header": 800 - }, - { - "cells": [ - 14500, - 15000, - 16000, - 16000, - 16000 - ], - "header": 900 - }, - { - "cells": [ - 16000, - 16000, - 16000, - 16000, - 16000 - ], - "header": 1000 - }, - { - "cells": [ - 16000, - 16000, - 16000, - 16000, - 16000 - ], - "header": 2000 - } + "maxRangeM": [ + [ + 16000, + 16000, + 16000, + 15500, + 16000 + ], + [ + 16000, + 16000, + 15500, + 15500, + 16000 + ], + [ + 16000, + 15000, + 15500, + 15500, + 16000 + ], + [ + 16000, + 15000, + 15500, + 15500, + 16000 + ], + [ + 14500, + 15000, + 15500, + 16000, + 16000 + ], + [ + 14500, + 15000, + 15500, + 16000, + 16000 + ], + [ + 14500, + 15000, + 15500, + 15500, + 16000 + ], + [ + 14500, + 15000, + 15500, + 16000, + 16000 + ], + [ + 14500, + 15000, + 16000, + 16000, + 16000 + ], + [ + 16000, + 16000, + 16000, + 16000, + 16000 + ], + [ + 16000, + 16000, + 16000, + 16000, + 16000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ER2#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 150, + 250, + 300, + 400, + 450 + ], + [ + 300, + 350, + 450, + 500, + 550 + ], + [ + 400, + 450, + 500, + 600, + 650 + ], + [ + 500, + 550, + 600, + 650, + 700 + ], + [ + 550, + 600, + 650, + 700, + 750 + ], + [ + 650, + 700, + 700, + 750, + 800 + ], + [ + 700, + 750, + 750, + 800, + 800 + ], + [ + 750, + 800, + 800, + 850, + 850 + ], + [ + 800, + 850, + 850, + 900, + 900 + ], + [ + 800, + 950, + 950, + 950, + 1000 + ], + [ + 1400, + 1450, + 1500, + 1500, + 1500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ER2#/client", + "speedsMs": [ 0, 50, 100, 150, 200 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 150, - 250, - 300, - 400, - 450 - ], - "header": 100 - }, - { - "cells": [ - 300, - 350, - 450, - 500, - 550 - ], - "header": 200 - }, - { - "cells": [ - 400, - 450, - 500, - 600, - 650 - ], - "header": 300 - }, - { - "cells": [ - 500, - 550, - 600, - 650, - 700 - ], - "header": 400 - }, - { - "cells": [ - 550, - 600, - 650, - 700, - 750 - ], - "header": 500 - }, - { - "cells": [ - 650, - 700, - 700, - 750, - 800 - ], - "header": 600 - }, - { - "cells": [ - 700, - 750, - 750, - 800, - 800 - ], - "header": 700 - }, - { - "cells": [ - 750, - 800, - 800, - 850, - 850 - ], - "header": 800 - }, - { - "cells": [ - 800, - 850, - 850, - 900, - 900 - ], - "header": 900 - }, - { - "cells": [ - 800, - 950, - 950, - 950, - 1000 - ], - "header": 1000 - }, - { - "cells": [ - 1400, - 1450, - 1500, - 1500, - 1500 - ], - "header": 2000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ER2#/client/MinLaunchDistData" + ] } ], "machMax": 0.7, diff --git a/dcs-world-reference/latest/weapon_flight/SPIKE_ERA.json b/dcs-world-reference/latest/weapon_flight/SPIKE_ERA.json index ac4c1038..ee61d36f 100644 --- a/dcs-world-reference/latest/weapon_flight/SPIKE_ERA.json +++ b/dcs-world-reference/latest/weapon_flight/SPIKE_ERA.json @@ -15,252 +15,187 @@ }, "batteryLifeS": 150, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 0, - 50, + "altitudesM": [ 100, - 150, - 200 + 200, + 300, + 400, + 500, + 600, + 700, + 800, + 900, + 1000, + 2000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 100 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 200 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 300 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 400 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 500 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 600 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 700 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 800 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 900 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 1000 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000 - ], - "header": 2000 - } + "maxRangeM": [ + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ERA#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 150, + 200, + 300, + 350, + 450 + ], + [ + 200, + 300, + 400, + 500, + 550 + ], + [ + 300, + 400, + 450, + 550, + 650 + ], + [ + 350, + 450, + 550, + 650, + 700 + ], + [ + 450, + 450, + 550, + 650, + 750 + ], + [ + 550, + 500, + 700, + 800, + 900 + ], + [ + 600, + 550, + 750, + 850, + 950 + ], + [ + 700, + 600, + 800, + 900, + 950 + ], + [ + 800, + 650, + 850, + 950, + 1000 + ], + [ + 850, + 750, + 900, + 1000, + 1050 + ], + [ + 1700, + 1350, + 1700, + 1700, + 1700 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ERA#/client", + "speedsMs": [ 0, 50, 100, 150, 200 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 150, - 200, - 300, - 350, - 450 - ], - "header": 100 - }, - { - "cells": [ - 200, - 300, - 400, - 500, - 550 - ], - "header": 200 - }, - { - "cells": [ - 300, - 400, - 450, - 550, - 650 - ], - "header": 300 - }, - { - "cells": [ - 350, - 450, - 550, - 650, - 700 - ], - "header": 400 - }, - { - "cells": [ - 450, - 450, - 550, - 650, - 750 - ], - "header": 500 - }, - { - "cells": [ - 550, - 500, - 700, - 800, - 900 - ], - "header": 600 - }, - { - "cells": [ - 600, - 550, - 750, - 850, - 950 - ], - "header": 700 - }, - { - "cells": [ - 700, - 600, - 800, - 900, - 950 - ], - "header": 800 - }, - { - "cells": [ - 800, - 650, - 850, - 950, - 1000 - ], - "header": 900 - }, - { - "cells": [ - 850, - 750, - 900, - 1000, - 1050 - ], - "header": 1000 - }, - { - "cells": [ - 1700, - 1350, - 1700, - 1700, - 1700 - ], - "header": 2000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/SPIKE_ERA#/client/MinLaunchDistData" + ] } ], "machMax": 0.7, diff --git a/dcs-world-reference/latest/weapon_flight/X_22.json b/dcs-world-reference/latest/weapon_flight/X_22.json index 919be634..6d89d581 100644 --- a/dcs-world-reference/latest/weapon_flight/X_22.json +++ b/dcs-world-reference/latest/weapon_flight/X_22.json @@ -1,120 +1,168 @@ { "batteryLifeS": 1800, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 100, - 150, - 200, - 300, - 350, - 400, - 450 + "altitudesM": [ + 1000, + 3000, + 4500, + 5500, + 7500, + 10000, + 12000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 130000, - 130000, - 130000, - 130000, - 130000, - 130000, - 130000 - ], - "header": 1000 - }, - { - "cells": [ - 215000, - 220000, - 225000, - 225000, - 225000, - 225000, - 225000 - ], - "header": 3000 - }, - { - "cells": [ - 245000, - 250000, - 255000, - 260000, - 265000, - 270000, - 275000 - ], - "header": 4500 - }, - { - "cells": [ - 305000, - 305000, - 305000, - 305000, - 305000, - 305000, - 305000 - ], - "header": 5500 - }, - { - "cells": [ - 355000, - 355000, - 355000, - 355000, - 355000, - 355000, - 355000 - ], - "header": 7500 - }, - { - "cells": [ - 412000, - 412000, - 412000, - 412000, - 412000, - 412000, - 412000 - ], - "header": 10000 - }, - { - "cells": [ - 450000, - 450000, - 450000, - 450000, - 450000, - 450000, - 450000 - ], - "header": 12000 - }, - { - "cells": [ - 500000, - 500000, - 500000, - 500000, - 500000, - 500000, - 500000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 130000, + 130000, + 130000, + 130000, + 130000, + 130000, + 130000 + ], + [ + 215000, + 220000, + 225000, + 225000, + 225000, + 225000, + 225000 + ], + [ + 245000, + 250000, + 255000, + 260000, + 265000, + 270000, + 275000 + ], + [ + 305000, + 305000, + 305000, + 305000, + 305000, + 305000, + 305000 + ], + [ + 355000, + 355000, + 355000, + 355000, + 355000, + 355000, + 355000 + ], + [ + 412000, + 412000, + 412000, + 412000, + 412000, + 412000, + 412000 + ], + [ + 450000, + 450000, + 450000, + 450000, + 450000, + 450000, + 450000 + ], + [ + 500000, + 500000, + 500000, + 500000, + 500000, + 500000, + 500000 + ] ], - "sourcePath": "_G/rockets/X_22#/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 80000, + 80000, + 80000, + 80000, + 80000, + 80000, + 80000 + ], + [ + 80000, + 80000, + 80000, + 80000, + 80000, + 80000, + 80000 + ], + [ + 80000, + 80000, + 80000, + 80000, + 80000, + 80000, + 80000 + ], + [ + 180000, + 180000, + 180000, + 180000, + 180000, + 180000, + 180000 + ], + [ + 180000, + 180000, + 180000, + 180000, + 180000, + 180000, + 180000 + ], + [ + 180000, + 180000, + 180000, + 180000, + 180000, + 180000, + 180000 + ], + [ + 180000, + 180000, + 180000, + 180000, + 180000, + 180000, + 180000 + ], + [ + 180000, + 180000, + 180000, + 180000, + 180000, + 180000, + 180000 + ] + ], + "sourcePath": "_G/rockets/X_22#", + "speedsMs": [ 100, 150, 200, @@ -122,107 +170,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 80000, - 80000, - 80000, - 80000, - 80000, - 80000, - 80000 - ], - "header": 1000 - }, - { - "cells": [ - 80000, - 80000, - 80000, - 80000, - 80000, - 80000, - 80000 - ], - "header": 3000 - }, - { - "cells": [ - 80000, - 80000, - 80000, - 80000, - 80000, - 80000, - 80000 - ], - "header": 4500 - }, - { - "cells": [ - 180000, - 180000, - 180000, - 180000, - 180000, - 180000, - 180000 - ], - "header": 5500 - }, - { - "cells": [ - 180000, - 180000, - 180000, - 180000, - 180000, - 180000, - 180000 - ], - "header": 7500 - }, - { - "cells": [ - 180000, - 180000, - 180000, - 180000, - 180000, - 180000, - 180000 - ], - "header": 10000 - }, - { - "cells": [ - 180000, - 180000, - 180000, - 180000, - 180000, - 180000, - 180000 - ], - "header": 12000 - }, - { - "cells": [ - 180000, - 180000, - 180000, - 180000, - 180000, - 180000, - 180000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/rockets/X_22#/MinLaunchDistData" + ] } ], "machMax": 3.5, diff --git a/dcs-world-reference/latest/weapon_flight/X_25ML.json b/dcs-world-reference/latest/weapon_flight/X_25ML.json index aa7f6a21..a9d47a4b 100644 --- a/dcs-world-reference/latest/weapon_flight/X_25ML.json +++ b/dcs-world-reference/latest/weapon_flight/X_25ML.json @@ -193,144 +193,206 @@ "yawMaxRad": 0.6981317007977318 }, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, + "altitudesM": [ + 100, 200, - 250, 300, - 350, - 400, - 450 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 11450, - 11450, - 11450, - 11450, - 11450, - 11450, - 11500 - ], - "header": 100 - }, - { - "cells": [ - 11400, - 11400, - 11400, - 11400, - 11450, - 11500, - 11500 - ], - "header": 200 - }, - { - "cells": [ - 11400, - 11400, - 11400, - 11400, - 11400, - 11450, - 11450 - ], - "header": 300 - }, - { - "cells": [ - 11400, - 11400, - 11400, - 11400, - 11400, - 11450, - 11500 - ], - "header": 500 - }, - { - "cells": [ - 11300, - 11300, - 11300, - 11300, - 11300, - 11300, - 11400 - ], - "header": 700 - }, - { - "cells": [ - 11300, - 11300, - 11300, - 11300, - 11300, - 11400, - 11500 - ], - "header": 1000 - }, - { - "cells": [ - 11200, - 11200, - 11200, - 11200, - 11200, - 11300, - 11400 - ], - "header": 2000 - }, - { - "cells": [ - 11100, - 11000, - 11100, - 11000, - 11100, - 11200, - 11200 - ], - "header": 3000 - }, - { - "cells": [ - 10800, - 10800, - 10800, - 10800, - 10900, - 11000, - 11000 - ], - "header": 4000 - }, - { - "cells": [ - 10400, - 10400, - 10500, - 10400, - 10600, - 10600, - 10700 - ], - "header": 5000 - } + "maxRangeM": [ + [ + 11450, + 11450, + 11450, + 11450, + 11450, + 11450, + 11500 + ], + [ + 11400, + 11400, + 11400, + 11400, + 11450, + 11500, + 11500 + ], + [ + 11400, + 11400, + 11400, + 11400, + 11400, + 11450, + 11450 + ], + [ + 11400, + 11400, + 11400, + 11400, + 11400, + 11450, + 11500 + ], + [ + 11300, + 11300, + 11300, + 11300, + 11300, + 11300, + 11400 + ], + [ + 11300, + 11300, + 11300, + 11300, + 11300, + 11400, + 11500 + ], + [ + 11200, + 11200, + 11200, + 11200, + 11200, + 11300, + 11400 + ], + [ + 11100, + 11000, + 11100, + 11000, + 11100, + 11200, + 11200 + ], + [ + 10800, + 10800, + 10800, + 10800, + 10900, + 11000, + 11000 + ], + [ + 10400, + 10400, + 10500, + 10400, + 10600, + 10600, + 10700 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_25ML#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 2000, + 2000, + 2000, + 2000, + 2000, + 2250, + 2550 + ], + [ + 2000, + 2000, + 2000, + 2000, + 2200, + 2280, + 2650 + ], + [ + 2000, + 2000, + 2000, + 2000, + 2350, + 2700, + 3050 + ], + [ + 2000, + 2000, + 2000, + 2000, + 2350, + 3050, + 3450 + ], + [ + 2000, + 2000, + 2000, + 2000, + 2350, + 2350, + 2400 + ], + [ + 2000, + 2200, + 2200, + 2200, + 2350, + 2700, + 4200 + ], + [ + 2320, + 2320, + 2480, + 2640, + 2800, + 3700, + 4300 + ], + [ + 2720, + 2900, + 2900, + 2900, + 3000, + 4100, + 5000 + ], + [ + 3760, + 3800, + 3800, + 3400, + 4500, + 5000, + 5500 + ], + [ + 4480, + 3600, + 3600, + 3800, + 4700, + 5500, + 6100 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/X_25ML#/client", + "speedsMs": [ 150, 200, 250, @@ -338,131 +400,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 2000, - 2000, - 2000, - 2000, - 2000, - 2250, - 2550 - ], - "header": 100 - }, - { - "cells": [ - 2000, - 2000, - 2000, - 2000, - 2200, - 2280, - 2650 - ], - "header": 200 - }, - { - "cells": [ - 2000, - 2000, - 2000, - 2000, - 2350, - 2700, - 3050 - ], - "header": 300 - }, - { - "cells": [ - 2000, - 2000, - 2000, - 2000, - 2350, - 3050, - 3450 - ], - "header": 500 - }, - { - "cells": [ - 2000, - 2000, - 2000, - 2000, - 2350, - 2350, - 2400 - ], - "header": 700 - }, - { - "cells": [ - 2000, - 2200, - 2200, - 2200, - 2350, - 2700, - 4200 - ], - "header": 1000 - }, - { - "cells": [ - 2320, - 2320, - 2480, - 2640, - 2800, - 3700, - 4300 - ], - "header": 2000 - }, - { - "cells": [ - 2720, - 2900, - 2900, - 2900, - 3000, - 4100, - 5000 - ], - "header": 3000 - }, - { - "cells": [ - 3760, - 3800, - 3800, - 3400, - 4500, - 5000, - 5500 - ], - "header": 4000 - }, - { - "cells": [ - 4480, - 3600, - 3600, - 3800, - 4700, - 5500, - 6100 - ], - "header": 5000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_25ML#/client/MinLaunchDistData" + ] } ], "machMax": 2.5, diff --git a/dcs-world-reference/latest/weapon_flight/X_25MP.json b/dcs-world-reference/latest/weapon_flight/X_25MP.json index a017770a..998ce73e 100644 --- a/dcs-world-reference/latest/weapon_flight/X_25MP.json +++ b/dcs-world-reference/latest/weapon_flight/X_25MP.json @@ -193,285 +193,436 @@ "yawMaxRad": 0.5235987755982988 }, "killDistanceM": 5, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, 200, - 250, 300, - 350, - 400, - 450 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 23600, - 24600, - 25400, - 26400, - 27200, - 28200, - 29000, - 30000 - ], - "header": 100 - }, - { - "cells": [ - 23800, - 24600, - 25600, - 26600, - 27400, - 28400, - 29200, - 30200 - ], - "header": 200 - }, - { - "cells": [ - 23800, - 24600, - 25600, - 26600, - 27400, - 28400, - 29400, - 30200 - ], - "header": 300 - }, - { - "cells": [ - 24000, - 25000, - 26000, - 26800, - 27800, - 28800, - 29600, - 30600 - ], - "header": 500 - }, - { - "cells": [ - 24400, - 24800, - 26000, - 26800, - 28000, - 28800, - 30000, - 30400 - ], - "header": 700 - }, - { - "cells": [ - 24400, - 25200, - 26400, - 27200, - 28400, - 29200, - 30000, - 30800 - ], - "header": 1000 - }, - { - "cells": [ - 25200, - 26400, - 27600, - 28400, - 29200, - 30400, - 31600, - 32400 - ], - "header": 2000 - }, - { - "cells": [ - 26400, - 27600, - 28800, - 29600, - 30800, - 32000, - 33200, - 34000 - ], - "header": 3000 - }, - { - "cells": [ - 27000, - 28200, - 29400, - 30600, - 32400, - 33600, - 34200, - 35400 - ], - "header": 4000 - }, - { - "cells": [ - 28200, - 29400, - 31200, - 32400, - 33600, - 34800, - 36000, - 37200 - ], - "header": 5000 - }, - { - "cells": [ - 29400, - 31200, - 32400, - 34200, - 34800, - 36000, - 37200, - 39000 - ], - "header": 6000 - }, - { - "cells": [ - 30000, - 32000, - 33000, - 35000, - 36000, - 37000, - 39000, - 40000 - ], - "header": 7000 - }, - { - "cells": [ - 31000, - 33000, - 34000, - 36000, - 38000, - 39000, - 41000, - 42000 - ], - "header": 8000 - }, - { - "cells": [ - 32000, - 34000, - 36000, - 37000, - 39000, - 41000, - 41000, - 43000 - ], - "header": 9000 - }, - { - "cells": [ - 31000, - 32000, - 37000, - 39000, - 41000, - 41000, - 43000, - 45000 - ], - "header": 10000 - }, - { - "cells": [ - 31500, - 33000, - 33000, - 34500, - 42000, - 42000, - 45000, - 46500 - ], - "header": 11000 - }, - { - "cells": [ - 31500, - 33000, - 34500, - 36000, - 42000, - 43500, - 46500, - 48000 - ], - "header": 12000 - }, - { - "cells": [ - 33000, - 34500, - 36000, - 37500, - 37500, - 39000, - 40500, - 42000 - ], - "header": 13000 - }, - { - "cells": [ - 34500, - 36000, - 37500, - 37500, - 39000, - 40500, - 42000, - 42000 - ], - "header": 14000 - }, - { - "cells": [ - 34500, - 36000, - 37500, - 39000, - 40500, - 42000, - 42000, - 42000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 23600, + 24600, + 25400, + 26400, + 27200, + 28200, + 29000, + 30000 + ], + [ + 23800, + 24600, + 25600, + 26600, + 27400, + 28400, + 29200, + 30200 + ], + [ + 23800, + 24600, + 25600, + 26600, + 27400, + 28400, + 29400, + 30200 + ], + [ + 24000, + 25000, + 26000, + 26800, + 27800, + 28800, + 29600, + 30600 + ], + [ + 24400, + 24800, + 26000, + 26800, + 28000, + 28800, + 30000, + 30400 + ], + [ + 24400, + 25200, + 26400, + 27200, + 28400, + 29200, + 30000, + 30800 + ], + [ + 25200, + 26400, + 27600, + 28400, + 29200, + 30400, + 31600, + 32400 + ], + [ + 26400, + 27600, + 28800, + 29600, + 30800, + 32000, + 33200, + 34000 + ], + [ + 27000, + 28200, + 29400, + 30600, + 32400, + 33600, + 34200, + 35400 + ], + [ + 28200, + 29400, + 31200, + 32400, + 33600, + 34800, + 36000, + 37200 + ], + [ + 29400, + 31200, + 32400, + 34200, + 34800, + 36000, + 37200, + 39000 + ], + [ + 30000, + 32000, + 33000, + 35000, + 36000, + 37000, + 39000, + 40000 + ], + [ + 31000, + 33000, + 34000, + 36000, + 38000, + 39000, + 41000, + 42000 + ], + [ + 32000, + 34000, + 36000, + 37000, + 39000, + 41000, + 41000, + 43000 + ], + [ + 31000, + 32000, + 37000, + 39000, + 41000, + 41000, + 43000, + 45000 + ], + [ + 31500, + 33000, + 33000, + 34500, + 42000, + 42000, + 45000, + 46500 + ], + [ + 31500, + 33000, + 34500, + 36000, + 42000, + 43500, + 46500, + 48000 + ], + [ + 33000, + 34500, + 36000, + 37500, + 37500, + 39000, + 40500, + 42000 + ], + [ + 34500, + 36000, + 37500, + 37500, + 39000, + 40500, + 42000, + 42000 + ], + [ + 34500, + 36000, + 37500, + 39000, + 40500, + 42000, + 42000, + 42000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_25MP#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 7400, + 7600, + 7600, + 7600, + 7800, + 8000, + 8400, + 9000 + ], + [ + 7400, + 7600, + 7600, + 7800, + 7800, + 8000, + 8400, + 8800 + ], + [ + 7400, + 7600, + 7600, + 7800, + 7800, + 7800, + 8200, + 8600 + ], + [ + 7600, + 7600, + 7600, + 7800, + 7800, + 8000, + 8000, + 8200 + ], + [ + 7600, + 7600, + 7600, + 8000, + 8000, + 8000, + 8000, + 8000 + ], + [ + 7600, + 7600, + 7600, + 8000, + 8000, + 8000, + 8000, + 8000 + ], + [ + 7600, + 7600, + 8000, + 8000, + 8000, + 8000, + 8400, + 8400 + ], + [ + 7600, + 8000, + 8000, + 8000, + 8000, + 8400, + 8400, + 8400 + ], + [ + 7800, + 7800, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400 + ], + [ + 7800, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400 + ], + [ + 8400, + 8400, + 8400, + 8400, + 8400, + 8400, + 8400, + 9000 + ], + [ + 8000, + 8000, + 8000, + 9000, + 9000, + 9000, + 9000, + 9600 + ], + [ + 8000, + 8000, + 8000, + 9000, + 9000, + 9000, + 9000, + 10000 + ], + [ + 8000, + 8000, + 8000, + 8000, + 9000, + 9000, + 9000, + 10000 + ], + [ + 8000, + 8000, + 9000, + 9000, + 9000, + 9000, + 9000, + 10000 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 9000, + 9600, + 10500 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 9600, + 10000, + 10500 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 10500, + 10500, + 10500 + ], + [ + 9000, + 9000, + 9000, + 9000, + 9000, + 12000, + 12000, + 12000 + ], + [ + 9000, + 9000, + 9000, + 10500, + 10500, + 12000, + 12000, + 12000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/X_25MP#/client", + "speedsMs": [ 100, 150, 200, @@ -480,271 +631,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 7400, - 7600, - 7600, - 7600, - 7800, - 8000, - 8400, - 9000 - ], - "header": 100 - }, - { - "cells": [ - 7400, - 7600, - 7600, - 7800, - 7800, - 8000, - 8400, - 8800 - ], - "header": 200 - }, - { - "cells": [ - 7400, - 7600, - 7600, - 7800, - 7800, - 7800, - 8200, - 8600 - ], - "header": 300 - }, - { - "cells": [ - 7600, - 7600, - 7600, - 7800, - 7800, - 8000, - 8000, - 8200 - ], - "header": 500 - }, - { - "cells": [ - 7600, - 7600, - 7600, - 8000, - 8000, - 8000, - 8000, - 8000 - ], - "header": 700 - }, - { - "cells": [ - 7600, - 7600, - 7600, - 8000, - 8000, - 8000, - 8000, - 8000 - ], - "header": 1000 - }, - { - "cells": [ - 7600, - 7600, - 8000, - 8000, - 8000, - 8000, - 8400, - 8400 - ], - "header": 2000 - }, - { - "cells": [ - 7600, - 8000, - 8000, - 8000, - 8000, - 8400, - 8400, - 8400 - ], - "header": 3000 - }, - { - "cells": [ - 7800, - 7800, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400 - ], - "header": 4000 - }, - { - "cells": [ - 7800, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400 - ], - "header": 5000 - }, - { - "cells": [ - 8400, - 8400, - 8400, - 8400, - 8400, - 8400, - 8400, - 9000 - ], - "header": 6000 - }, - { - "cells": [ - 8000, - 8000, - 8000, - 9000, - 9000, - 9000, - 9000, - 9600 - ], - "header": 7000 - }, - { - "cells": [ - 8000, - 8000, - 8000, - 9000, - 9000, - 9000, - 9000, - 10000 - ], - "header": 8000 - }, - { - "cells": [ - 8000, - 8000, - 8000, - 8000, - 9000, - 9000, - 9000, - 10000 - ], - "header": 9000 - }, - { - "cells": [ - 8000, - 8000, - 9000, - 9000, - 9000, - 9000, - 9000, - 10000 - ], - "header": 10000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 9000, - 9600, - 10500 - ], - "header": 11000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 9600, - 10000, - 10500 - ], - "header": 12000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 10500, - 10500, - 10500 - ], - "header": 13000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 9000, - 9000, - 12000, - 12000, - 12000 - ], - "header": 14000 - }, - { - "cells": [ - 9000, - 9000, - 9000, - 10500, - 10500, - 12000, - 12000, - 12000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_25MP#/client/MinLaunchDistData" + ] } ], "machMax": 2.65, diff --git a/dcs-world-reference/latest/weapon_flight/X_29L.json b/dcs-world-reference/latest/weapon_flight/X_29L.json index c12181b8..2c1d62bc 100644 --- a/dcs-world-reference/latest/weapon_flight/X_29L.json +++ b/dcs-world-reference/latest/weapon_flight/X_29L.json @@ -193,144 +193,206 @@ "yawMaxRad": 0.6981317007977318 }, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, + "altitudesM": [ + 100, 200, - 250, 300, - 350, - 400, - 450 + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 11450, - 11450, - 11450, - 11450, - 11450, - 11450, - 11450 - ], - "header": 100 - }, - { - "cells": [ - 11400, - 11400, - 11400, - 11400, - 11450, - 11450, - 11450 - ], - "header": 200 - }, - { - "cells": [ - 11400, - 11400, - 11400, - 11400, - 11400, - 11450, - 11450 - ], - "header": 300 - }, - { - "cells": [ - 11400, - 11400, - 11400, - 11400, - 11450, - 11450, - 11450 - ], - "header": 500 - }, - { - "cells": [ - 11300, - 11300, - 11300, - 11300, - 11400, - 11400, - 11400 - ], - "header": 700 - }, - { - "cells": [ - 11300, - 11300, - 11300, - 11400, - 11300, - 11400, - 11400 - ], - "header": 1000 - }, - { - "cells": [ - 11300, - 11300, - 11300, - 11300, - 11300, - 11300, - 11400 - ], - "header": 2000 - }, - { - "cells": [ - 11100, - 11100, - 11200, - 11100, - 11200, - 11200, - 11200 - ], - "header": 3000 - }, - { - "cells": [ - 10900, - 10900, - 10900, - 10900, - 10900, - 10900, - 11000 - ], - "header": 4000 - }, - { - "cells": [ - 10600, - 10500, - 10600, - 10500, - 10600, - 10600, - 10600 - ], - "header": 5000 - } + "maxRangeM": [ + [ + 11450, + 11450, + 11450, + 11450, + 11450, + 11450, + 11450 + ], + [ + 11400, + 11400, + 11400, + 11400, + 11450, + 11450, + 11450 + ], + [ + 11400, + 11400, + 11400, + 11400, + 11400, + 11450, + 11450 + ], + [ + 11400, + 11400, + 11400, + 11400, + 11450, + 11450, + 11450 + ], + [ + 11300, + 11300, + 11300, + 11300, + 11400, + 11400, + 11400 + ], + [ + 11300, + 11300, + 11300, + 11400, + 11300, + 11400, + 11400 + ], + [ + 11300, + 11300, + 11300, + 11300, + 11300, + 11300, + 11400 + ], + [ + 11100, + 11100, + 11200, + 11100, + 11200, + 11200, + 11200 + ], + [ + 10900, + 10900, + 10900, + 10900, + 10900, + 10900, + 11000 + ], + [ + 10600, + 10500, + 10600, + 10500, + 10600, + 10600, + 10600 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_29L#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 2500, + 2500, + 2500, + 2500, + 2500, + 2500, + 2500 + ], + [ + 2500, + 2500, + 2500, + 2500, + 2500, + 2500, + 2500 + ], + [ + 2500, + 2500, + 2500, + 2500, + 2500, + 2500, + 2750 + ], + [ + 2500, + 2500, + 2500, + 2500, + 2600, + 2900, + 3150 + ], + [ + 2500, + 2500, + 2500, + 2500, + 2600, + 2800, + 3500 + ], + [ + 2500, + 2500, + 2500, + 2500, + 2100, + 3200, + 3700 + ], + [ + 2700, + 2800, + 2700, + 2900, + 3300, + 4000, + 4600 + ], + [ + 3400, + 3500, + 3900, + 3500, + 3900, + 4800, + 5500 + ], + [ + 4700, + 4700, + 4500, + 4100, + 4600, + 5300, + 5800 + ], + [ + 5400, + 5000, + 5700, + 4800, + 5300, + 5900, + 6400 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/X_29L#/client", + "speedsMs": [ 150, 200, 250, @@ -338,131 +400,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 2500, - 2500, - 2500, - 2500, - 2500, - 2500, - 2500 - ], - "header": 100 - }, - { - "cells": [ - 2500, - 2500, - 2500, - 2500, - 2500, - 2500, - 2500 - ], - "header": 200 - }, - { - "cells": [ - 2500, - 2500, - 2500, - 2500, - 2500, - 2500, - 2750 - ], - "header": 300 - }, - { - "cells": [ - 2500, - 2500, - 2500, - 2500, - 2600, - 2900, - 3150 - ], - "header": 500 - }, - { - "cells": [ - 2500, - 2500, - 2500, - 2500, - 2600, - 2800, - 3500 - ], - "header": 700 - }, - { - "cells": [ - 2500, - 2500, - 2500, - 2500, - 2100, - 3200, - 3700 - ], - "header": 1000 - }, - { - "cells": [ - 2700, - 2800, - 2700, - 2900, - 3300, - 4000, - 4600 - ], - "header": 2000 - }, - { - "cells": [ - 3400, - 3500, - 3900, - 3500, - 3900, - 4800, - 5500 - ], - "header": 3000 - }, - { - "cells": [ - 4700, - 4700, - 4500, - 4100, - 4600, - 5300, - 5800 - ], - "header": 4000 - }, - { - "cells": [ - 5400, - 5000, - 5700, - 4800, - 5300, - 5900, - 6400 - ], - "header": 5000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_29L#/client/MinLaunchDistData" + ] } ], "machMax": 1.8, diff --git a/dcs-world-reference/latest/weapon_flight/X_29T.json b/dcs-world-reference/latest/weapon_flight/X_29T.json index fe64d524..d3b9feca 100644 --- a/dcs-world-reference/latest/weapon_flight/X_29T.json +++ b/dcs-world-reference/latest/weapon_flight/X_29T.json @@ -192,76 +192,178 @@ "yawMaxRad": 0.5235987755982988 }, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ + "altitudesM": [ 100, - 150, - 200 + 200, + 300, + 500, + 700, + 1000, + 2000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 10900, - 12500, - 12000 - ], - "header": 100 - }, - { - "cells": [ - 11800, - 11800, - 12000 - ], - "header": 200 - }, - { - "cells": [ - 11000, - 11600, - 12000 - ], - "header": 300 - }, - { - "cells": [ - 11000, - 11800, - 12000 - ], - "header": 500 - }, - { - "cells": [ - 11200, - 12000, - 12000 - ], - "header": 700 - }, - { - "cells": [ - 11600, - 12000, - 12000 - ], - "header": 1000 - }, - { - "cells": [ - 12000, - 12000, - 12000 - ], - "header": 2000 - } + "maxRangeM": [ + [ + 10900, + 12500, + 12000 + ], + [ + 11800, + 11800, + 12000 + ], + [ + 11000, + 11600, + 12000 + ], + [ + 11000, + 11800, + 12000 + ], + [ + 11200, + 12000, + 12000 + ], + [ + 11600, + 12000, + 12000 + ], + [ + 12000, + 12000, + 12000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_29T#/client/LaunchDistData" + "sourcePath": "_G/weapons_table/weapons/missiles/X_29T#/client", + "speedsMs": [ + 100, + 150, + 200 + ] }, { - "columnHeaders": [ + "altitudesM": [ + 100, + 200, + 300, + 500, + 700, + 1000, + 2000, + 3000, + 4000, + 5000 + ], + "minRangeM": [ + [ + 2600, + 2700, + 2700, + 2700, + 2700, + 2700, + 2700, + 2700 + ], + [ + 2600, + 2600, + 2700, + 2700, + 2700, + 2700, + 2700, + 2700 + ], + [ + 2600, + 2600, + 2800, + 2800, + 2800, + 2800, + 2800, + 3000 + ], + [ + 2600, + 2600, + 2800, + 2800, + 2800, + 2800, + 3200, + 3200 + ], + [ + 2600, + 2600, + 2800, + 2800, + 2800, + 2800, + 3000, + 3600 + ], + [ + 2600, + 2800, + 2800, + 5600, + 2800, + 3000, + 3200, + 3800 + ], + [ + 3000, + 3000, + 3000, + 3500, + 3000, + 3500, + 4500, + 4500 + ], + [ + 3500, + 3500, + 4500, + 4500, + 4000, + 4500, + 4500, + 5500 + ], + [ + 4500, + 4500, + 4500, + 5000, + 4500, + 4500, + 5500, + 6000 + ], + [ + 5000, + 5000, + 5000, + 5500, + 4500, + 5500, + 6000, + 6500 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/X_29T#/client", + "speedsMs": [ 100, 150, 200, @@ -270,141 +372,7 @@ 350, 400, 450 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 2600, - 2700, - 2700, - 2700, - 2700, - 2700, - 2700, - 2700 - ], - "header": 100 - }, - { - "cells": [ - 2600, - 2600, - 2700, - 2700, - 2700, - 2700, - 2700, - 2700 - ], - "header": 200 - }, - { - "cells": [ - 2600, - 2600, - 2800, - 2800, - 2800, - 2800, - 2800, - 3000 - ], - "header": 300 - }, - { - "cells": [ - 2600, - 2600, - 2800, - 2800, - 2800, - 2800, - 3200, - 3200 - ], - "header": 500 - }, - { - "cells": [ - 2600, - 2600, - 2800, - 2800, - 2800, - 2800, - 3000, - 3600 - ], - "header": 700 - }, - { - "cells": [ - 2600, - 2800, - 2800, - 5600, - 2800, - 3000, - 3200, - 3800 - ], - "header": 1000 - }, - { - "cells": [ - 3000, - 3000, - 3000, - 3500, - 3000, - 3500, - 4500, - 4500 - ], - "header": 2000 - }, - { - "cells": [ - 3500, - 3500, - 4500, - 4500, - 4000, - 4500, - 4500, - 5500 - ], - "header": 3000 - }, - { - "cells": [ - 4500, - 4500, - 4500, - 5000, - 4500, - 4500, - 5500, - 6000 - ], - "header": 4000 - }, - { - "cells": [ - 5000, - 5000, - 5000, - 5500, - 4500, - 5500, - 6000, - 6500 - ], - "header": 5000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/X_29T#/client/MinLaunchDistData" + ] } ], "machMax": 1.4, diff --git a/dcs-world-reference/latest/weapon_flight/YJ-12.json b/dcs-world-reference/latest/weapon_flight/YJ-12.json index 67976979..677b36a2 100644 --- a/dcs-world-reference/latest/weapon_flight/YJ-12.json +++ b/dcs-world-reference/latest/weapon_flight/YJ-12.json @@ -20,306 +20,476 @@ }, "batteryLifeS": 1850, "killDistanceM": 0, - "launchTables": [ + "launchEnvelopes": [ { - "columnHeaders": [ - 150, + "altitudesM": [ + 100, 200, - 250, 300, - 350, - 400, - 450, 500, - 550 + 700, + 1000, + 2000, + 3000, + 4000, + 5000, + 6000, + 7000, + 8000, + 9000, + 10000, + 11000, + 12000, + 13000, + 14000, + 15000 ], - "key": "LaunchDistData", - "rows": [ - { - "cells": [ - 105000, - 105000, - 106000, - 106000, - 106000, - 107000, - 114000, - 116000, - 117000 - ], - "header": 100 - }, - { - "cells": [ - 106000, - 107000, - 107000, - 107000, - 107000, - 108000, - 115000, - 117000, - 119000 - ], - "header": 200 - }, - { - "cells": [ - 107000, - 108000, - 108000, - 108000, - 109000, - 110000, - 117000, - 119000, - 120000 - ], - "header": 300 - }, - { - "cells": [ - 110000, - 110000, - 110000, - 110000, - 111000, - 118000, - 121000, - 122000, - 123000 - ], - "header": 500 - }, - { - "cells": [ - 112000, - 112000, - 112000, - 113000, - 113000, - 122000, - 124000, - 125000, - 127000 - ], - "header": 700 - }, - { - "cells": [ - 115000, - 115000, - 115000, - 115000, - 124000, - 128000, - 129000, - 130000, - 131000 - ], - "header": 1000 - }, - { - "cells": [ - 128000, - 128000, - 128000, - 141000, - 143000, - 145000, - 146000, - 147000, - 148000 - ], - "header": 2000 - }, - { - "cells": [ - 142000, - 142000, - 158000, - 160000, - 162000, - 164000, - 164000, - 166000, - 166000 - ], - "header": 3000 - }, - { - "cells": [ - 160000, - 174000, - 180000, - 184000, - 184000, - 186000, - 186000, - 188000, - 188000 - ], - "header": 4000 - }, - { - "cells": [ - 180000, - 204000, - 208000, - 210000, - 210000, - 212000, - 214000, - 214000, - 216000 - ], - "header": 5000 - }, - { - "cells": [ - 204000, - 236000, - 238000, - 240000, - 242000, - 242000, - 244000, - 246000, - 246000 - ], - "header": 6000 - }, - { - "cells": [ - 262000, - 268000, - 272000, - 274000, - 274000, - 276000, - 278000, - 278000, - 280000 - ], - "header": 7000 - }, - { - "cells": [ - 298000, - 304000, - 308000, - 310000, - 312000, - 312000, - 314000, - 316000, - 318000 - ], - "header": 8000 - }, - { - "cells": [ - 338000, - 344000, - 348000, - 350000, - 352000, - 354000, - 356000, - 358000, - 358000 - ], - "header": 9000 - }, - { - "cells": [ - 405000, - 405000, - 405000, - 405000, - 405000, - 405000, - 410000, - 410000, - 410000 - ], - "header": 10000 - }, - { - "cells": [ - 405000, - 405000, - 405000, - 405000, - 405000, - 410000, - 410000, - 410000, - 410000 - ], - "header": 11000 - }, - { - "cells": [ - 405000, - 405000, - 405000, - 410000, - 410000, - 410000, - 410000, - 410000, - 415000 - ], - "header": 12000 - }, - { - "cells": [ - 405000, - 405000, - 405000, - 405000, - 410000, - 410000, - 415000, - 415000, - 415000 - ], - "header": 13000 - }, - { - "cells": [ - 405000, - 405000, - 405000, - 410000, - 410000, - 415000, - 415000, - 415000, - 415000 - ], - "header": 14000 - }, - { - "cells": [ - 405000, - 405000, - 410000, - 410000, - 410000, - 415000, - 415000, - 415000, - 420000 - ], - "header": 15000 - } + "maxRangeM": [ + [ + 105000, + 105000, + 106000, + 106000, + 106000, + 107000, + 114000, + 116000, + 117000 + ], + [ + 106000, + 107000, + 107000, + 107000, + 107000, + 108000, + 115000, + 117000, + 119000 + ], + [ + 107000, + 108000, + 108000, + 108000, + 109000, + 110000, + 117000, + 119000, + 120000 + ], + [ + 110000, + 110000, + 110000, + 110000, + 111000, + 118000, + 121000, + 122000, + 123000 + ], + [ + 112000, + 112000, + 112000, + 113000, + 113000, + 122000, + 124000, + 125000, + 127000 + ], + [ + 115000, + 115000, + 115000, + 115000, + 124000, + 128000, + 129000, + 130000, + 131000 + ], + [ + 128000, + 128000, + 128000, + 141000, + 143000, + 145000, + 146000, + 147000, + 148000 + ], + [ + 142000, + 142000, + 158000, + 160000, + 162000, + 164000, + 164000, + 166000, + 166000 + ], + [ + 160000, + 174000, + 180000, + 184000, + 184000, + 186000, + 186000, + 188000, + 188000 + ], + [ + 180000, + 204000, + 208000, + 210000, + 210000, + 212000, + 214000, + 214000, + 216000 + ], + [ + 204000, + 236000, + 238000, + 240000, + 242000, + 242000, + 244000, + 246000, + 246000 + ], + [ + 262000, + 268000, + 272000, + 274000, + 274000, + 276000, + 278000, + 278000, + 280000 + ], + [ + 298000, + 304000, + 308000, + 310000, + 312000, + 312000, + 314000, + 316000, + 318000 + ], + [ + 338000, + 344000, + 348000, + 350000, + 352000, + 354000, + 356000, + 358000, + 358000 + ], + [ + 405000, + 405000, + 405000, + 405000, + 405000, + 405000, + 410000, + 410000, + 410000 + ], + [ + 405000, + 405000, + 405000, + 405000, + 405000, + 410000, + 410000, + 410000, + 410000 + ], + [ + 405000, + 405000, + 405000, + 410000, + 410000, + 410000, + 410000, + 410000, + 415000 + ], + [ + 405000, + 405000, + 405000, + 405000, + 410000, + 410000, + 415000, + 415000, + 415000 + ], + [ + 405000, + 405000, + 405000, + 410000, + 410000, + 415000, + 415000, + 415000, + 415000 + ], + [ + 405000, + 405000, + 410000, + 410000, + 410000, + 415000, + 415000, + 415000, + 420000 + ] ], - "sourcePath": "_G/weapons_table/weapons/missiles/YJ-12#/client/LaunchDistData" - }, - { - "columnHeaders": [ + "minRangeM": [ + [ + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 13000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 13000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 13000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 12000, + 12000, + 13000, + 13000, + 13000 + ], + [ + 12000, + 12000, + 12000, + 12000, + 13000, + 13000, + 13000, + 14000, + 14000 + ], + [ + 12000, + 12000, + 13000, + 13000, + 13000, + 13000, + 14000, + 14000, + 14000 + ], + [ + 13000, + 13000, + 14000, + 15000, + 15000, + 15000, + 16000, + 16000, + 17000 + ], + [ + 14000, + 14000, + 16000, + 16000, + 16000, + 16000, + 18000, + 18000, + 18000 + ], + [ + 16000, + 16000, + 18000, + 18000, + 20000, + 20000, + 20000, + 20000, + 22000 + ], + [ + 18000, + 18000, + 20000, + 22000, + 22000, + 22000, + 22000, + 24000, + 24000 + ], + [ + 20000, + 20000, + 20000, + 22000, + 22000, + 24000, + 24000, + 26000, + 26000 + ], + [ + 22000, + 24000, + 24000, + 24000, + 26000, + 26000, + 26000, + 28000, + 28000 + ], + [ + 24000, + 26000, + 28000, + 28000, + 30000, + 30000, + 32000, + 32000, + 34000 + ], + [ + 28000, + 30000, + 32000, + 32000, + 34000, + 34000, + 34000, + 36000, + 36000 + ], + [ + 30000, + 35000, + 35000, + 35000, + 35000, + 35000, + 40000, + 40000, + 40000 + ], + [ + 35000, + 35000, + 35000, + 35000, + 35000, + 40000, + 40000, + 40000, + 40000 + ], + [ + 35000, + 35000, + 35000, + 40000, + 40000, + 40000, + 40000, + 40000, + 45000 + ], + [ + 35000, + 35000, + 35000, + 35000, + 40000, + 40000, + 40000, + 40000, + 45000 + ], + [ + 35000, + 35000, + 35000, + 40000, + 40000, + 40000, + 40000, + 45000, + 45000 + ], + [ + 35000, + 35000, + 40000, + 40000, + 40000, + 40000, + 45000, + 45000, + 45000 + ] + ], + "sourcePath": "_G/weapons_table/weapons/missiles/YJ-12#/client", + "speedsMs": [ 150, 200, 250, @@ -329,291 +499,7 @@ 450, 500, 550 - ], - "key": "MinLaunchDistData", - "rows": [ - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 13000 - ], - "header": 100 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 13000 - ], - "header": 200 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 13000 - ], - "header": 300 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 12000, - 12000, - 13000, - 13000, - 13000 - ], - "header": 500 - }, - { - "cells": [ - 12000, - 12000, - 12000, - 12000, - 13000, - 13000, - 13000, - 14000, - 14000 - ], - "header": 700 - }, - { - "cells": [ - 12000, - 12000, - 13000, - 13000, - 13000, - 13000, - 14000, - 14000, - 14000 - ], - "header": 1000 - }, - { - "cells": [ - 13000, - 13000, - 14000, - 15000, - 15000, - 15000, - 16000, - 16000, - 17000 - ], - "header": 2000 - }, - { - "cells": [ - 14000, - 14000, - 16000, - 16000, - 16000, - 16000, - 18000, - 18000, - 18000 - ], - "header": 3000 - }, - { - "cells": [ - 16000, - 16000, - 18000, - 18000, - 20000, - 20000, - 20000, - 20000, - 22000 - ], - "header": 4000 - }, - { - "cells": [ - 18000, - 18000, - 20000, - 22000, - 22000, - 22000, - 22000, - 24000, - 24000 - ], - "header": 5000 - }, - { - "cells": [ - 20000, - 20000, - 20000, - 22000, - 22000, - 24000, - 24000, - 26000, - 26000 - ], - "header": 6000 - }, - { - "cells": [ - 22000, - 24000, - 24000, - 24000, - 26000, - 26000, - 26000, - 28000, - 28000 - ], - "header": 7000 - }, - { - "cells": [ - 24000, - 26000, - 28000, - 28000, - 30000, - 30000, - 32000, - 32000, - 34000 - ], - "header": 8000 - }, - { - "cells": [ - 28000, - 30000, - 32000, - 32000, - 34000, - 34000, - 34000, - 36000, - 36000 - ], - "header": 9000 - }, - { - "cells": [ - 30000, - 35000, - 35000, - 35000, - 35000, - 35000, - 40000, - 40000, - 40000 - ], - "header": 10000 - }, - { - "cells": [ - 35000, - 35000, - 35000, - 35000, - 35000, - 40000, - 40000, - 40000, - 40000 - ], - "header": 11000 - }, - { - "cells": [ - 35000, - 35000, - 35000, - 40000, - 40000, - 40000, - 40000, - 40000, - 45000 - ], - "header": 12000 - }, - { - "cells": [ - 35000, - 35000, - 35000, - 35000, - 40000, - 40000, - 40000, - 40000, - 45000 - ], - "header": 13000 - }, - { - "cells": [ - 35000, - 35000, - 35000, - 40000, - 40000, - 40000, - 40000, - 45000, - 45000 - ], - "header": 14000 - }, - { - "cells": [ - 35000, - 35000, - 40000, - 40000, - 40000, - 40000, - 45000, - 45000, - 45000 - ], - "header": 15000 - } - ], - "sourcePath": "_G/weapons_table/weapons/missiles/YJ-12#/client/MinLaunchDistData" + ] } ], "machMax": 3.5, diff --git a/dcs-world-schema/types/entities/WeaponFlight.record.yaml b/dcs-world-schema/types/entities/WeaponFlight.record.yaml index 9e516142..b2a67bfa 100644 --- a/dcs-world-schema/types/entities/WeaponFlight.record.yaml +++ b/dcs-world-schema/types/entities/WeaponFlight.record.yaml @@ -3,7 +3,7 @@ globals: {} types: Entity.WeaponFlight: kind: record - description: "A weapon's flight configuration as DCS configures it (its configured inputs, not computed performance): aerodynamics, motor stages, autopilot, seeker, gimbal, proximity fuze and launch tables. Read from the `client` block of the weapon's `weapons_table` record (with that record's own plain keys), else from its flat `_G/rockets`, `_G/bombs` or `_G/torpedoes` record. Keys without a field here are only in the `_G` dump." + description: "A weapon's flight configuration as DCS configures it (its configured inputs, not computed performance): aerodynamics, motor stages, autopilot, seeker, gimbal, proximity fuze and launch envelopes. Read from the `client` block of the weapon's `weapons_table` record (with that record's own plain keys), else from its flat `_G/rockets`, `_G/bombs` or `_G/torpedoes` record. Keys without a field here are only in the `_G` dump." fields: weapon: type: string @@ -30,9 +30,9 @@ types: pnCoefficients: type: Entity.WeaponPnCoefficient[] description: "Optional proportional navigation gain by distance to target (`PN_coeffs`)." - launchTables: - type: Entity.WeaponLaunchTable[] - description: "Optional launch range tables (`LaunchDistData`, `MinLaunchDistData`...), sorted by key; tables of another layout are not typed." + launchEnvelopes: + type: Entity.WeaponLaunchEnvelope[] + description: "Optional launch envelopes from `LaunchDistData`, `MinLaunchDistData` and `AspectDistData`: one per distinct pair of altitude and speed axes, in that key order. Tables of another layout are not typed." aerodynamics: type: Entity.WeaponAerodynamics description: "Optional flight model (`fm`)." @@ -65,35 +65,29 @@ types: description: "Proportional navigation gain." required: [distanceM, gain] - Entity.WeaponLaunchTable: + Entity.WeaponLaunchEnvelope: kind: record - description: "A launch range table laid out as `{rows, cols, column headers, then per row its header and cells}`." + description: "Launch tables of a weapon that share the same axes. Each DCS table is laid out `{rows, cols, column headers, then per row its header and cells}`; rows are launch altitude, columns launch true airspeed. Values and order are as DCS gives them." fields: - key: - type: string - description: "The DCS key (`LaunchDistData`, `MinLaunchDistData`, `AspectDistData`, `RmaxData`...)." sourcePath: type: string - description: "Dump path and pointer of the table." - columnHeaders: + description: "Dump path and pointer of the block holding the tables; each table is at `/`." + altitudesM: type: number[] - description: "Column headers, in DCS order." - rows: - type: Entity.WeaponLaunchTableRow[] - description: "Rows, in DCS order." - required: [key, sourcePath, columnHeaders, rows] - - Entity.WeaponLaunchTableRow: - kind: record - description: "One row of a launch table." - fields: - header: - type: number - description: "Row header; unit not stated." - cells: + description: "Launch altitude in metres of each row (the row headers)." + speedsMs: type: number[] - description: "One cell per column header; unit not stated." - required: [header, cells] + description: "Launch true airspeed in m/s of each column (the column headers)." + maxRangeM: + type: number[][] + description: "Optional maximum launch range in metres, indexed [altitude][speed] (`LaunchDistData`)." + minRangeM: + type: number[][] + description: "Optional minimum launch range in metres, indexed [altitude][speed] (`MinLaunchDistData`)." + aspectDeg: + type: number[][] + description: "Optional aspect angle in degrees, indexed [altitude][speed] (`AspectDistData`)." + required: [sourcePath, altitudesM, speedsMs] Entity.WeaponAerodynamics: kind: record diff --git a/docs/weapon-flight.md b/docs/weapon-flight.md index 68170986..2f53d7c2 100644 --- a/docs/weapon-flight.md +++ b/docs/weapon-flight.md @@ -27,7 +27,7 @@ only what the scripts give. | `rangeMaxM` | `Range_max` (AI) | m | | `machMax` | `Mach_max` | | | `pnCoefficients` | `PN_coeffs` | `distanceM`, `gain` pairs | -| `launchTables` | `LaunchDistData`, `MinLaunchDistData`, ... | see below | +| `launchEnvelopes` | `LaunchDistData`, `MinLaunchDistData`, `AspectDistData` | see below | | `aerodynamics` | `fm` | | | `motorStages` | `boost`, `march`, `march2`, `engine`, ... | | | `autopilot` | `autopilot`, else `ap` | | @@ -93,12 +93,14 @@ are not stages. `batteryLifeS` and the blocks' `operatingTime` are separate limits; none of them is the others. -## Launch tables +## Launch envelopes -`LaunchDistData` and its relatives are `{rows, cols, column headers, then each row's header and -cells}`. `launchTables` holds the ones that decode that way as `columnHeaders` and `rows` -(`header`, `cells`), in DCS order. DCS doesn't say what the axes are. These are the ranges the -AI launches at, not computed missile performance. +`LaunchDistData`, `MinLaunchDistData` and `AspectDistData` are `{rows, cols, column headers, +then each row's header and cells}`. Rows are launch altitude in metres, columns launch true +airspeed in m/s. `launchEnvelopes` holds them as `altitudesM`, `speedsMs` and grids indexed +`[altitude][speed]`: `maxRangeM` and `minRangeM` in metres, `aspectDeg` in degrees, in DCS order. +Tables with the same axes share an envelope; a weapon whose tables have different axes gets one +envelope per axes pair. `RmaxData`, `LoftData`, `LaunchDistData2` and the like are only in the dump. ## Not typed diff --git a/tools/datamine/coverage.py b/tools/datamine/coverage.py index 3e5cd48c..9aa7fbe7 100644 --- a/tools/datamine/coverage.py +++ b/tools/datamine/coverage.py @@ -1194,9 +1194,7 @@ def tp(rel: str) -> dict[str, Any] | None: ) SERIES = ("weapon_flight", "aircraft_flight") # Record fields that are not typed DCS values. -_STRUCTURAL = frozenset( - {"sourcePath", "sourcePaths", "weapon", "aircraft", "stage", "key"} -) +_STRUCTURAL = frozenset({"sourcePath", "sourcePaths", "weapon", "aircraft", "stage"}) _DROP: Any = object() # a value the default reading leaves out @@ -1437,7 +1435,7 @@ def weapon(self, rec: dict[str, Any]) -> None: sp = rec["sourcePath"] path, keys = split_source_path(sp) sources = [sp, f"{path}#"] if keys else [sp] - skip = {*weapon_flight.BLOCKS, "pnCoefficients", "launchTables"} + skip = {*weapon_flight.BLOCKS, "pnCoefficients", "launchEnvelopes"} covered = self.block("top", rec, weapon_flight.TOP, sources, False, skip) if covered is None: return @@ -1451,20 +1449,23 @@ def weapon(self, rec: dict[str, Any]) -> None: pn = rec["pnCoefficients"] flat = [len(pn), *(x for e in pn for x in (e["distanceM"], e["gain"]))] self.same(found[0], flat, found[1]) - for t in rec.get("launchTables", []): - covered.add(t["key"]) - try: - node = self.dumps.resolve(t["sourcePath"]) - anchors = _anchors( - self.dumps.file(split_source_path(t["sourcePath"])[0]) - ) - except (KeyError, ValueError) as e: - self.fail(t["sourcePath"], "unresolved", str(e)) - continue - flat = [len(t["rows"]), len(t["columnHeaders"]), *t["columnHeaders"]] - for row in t["rows"]: - flat += [row["header"], *row["cells"]] - self.same(t["sourcePath"], flat, plain(node, self.dumps, anchors)) + for env in rec.get("launchEnvelopes", []): + alts, speeds = env["altitudesM"], env["speedsMs"] + for key, grid in weapon_flight.LAUNCH_TABLES: + if grid not in env: + continue + covered.add(key) + at = env["sourcePath"] + pointer(key) + try: + node = self.dumps.resolve(at) + anchors = _anchors(self.dumps.file(split_source_path(at)[0])) + except (KeyError, ValueError) as e: + self.fail(at, "unresolved", str(e)) + continue + flat = [len(alts), len(speeds), *speeds] + for alt, row in zip(alts, env[grid], strict=True): + flat += [alt, *row] + self.same(at, flat, plain(node, self.dumps, anchors)) typed_blocks: set[str] = set() variant, anchors = tables[0][1], tables[0][2] for name in weapon_flight.BLOCKS: diff --git a/tools/datamine/tests/test_coverage.py b/tools/datamine/tests/test_coverage.py index b07a5e09..df484357 100644 --- a/tools/datamine/tests/test_coverage.py +++ b/tools/datamine/tests/test_coverage.py @@ -306,6 +306,8 @@ def _weapon_data( "\tclient = {\n" "\t\tLife_Time = 60, ModelData = { 1, 2, 3 },\n" "\t\tPN_coeffs = { 2, 5000, 1, 10000, 0.5 },\n" + "\t\tLaunchDistData = { 2, 2, 100, 165, 50, 8400, 11000, 2000, 14000, 15500 },\n" + "\t\tMinLaunchDistData = { 2, 2, 100, 165, 50, 2000, 2300, 2000, 1000, 1200 },\n" "\t\tfm = {\n\t\t\tCx0 = { 0.4, 0.5 },\n\t\t\tgetter = nil,\n\t\t\tmystery = 3\n\t\t},\n" "\t\tboost = { impulse = 200, fuel_mass = 10, work_time = 2 },\n" "\t\tcontroller = { boost_start = 0.5 },\n" @@ -327,8 +329,8 @@ def test_typed_weapon_complete(tmp_path: Path) -> None: assert rep.failures == [], [f.json() for f in rep.failures] assert rep.records == {"weapon_flight": 1} # Life_Time, KillDistance (record top), PN_coeffs, Cx0, 3 stage values, - # startTime. - assert rep.values == {"weapon_flight": 8} + # startTime, LaunchDistData, MinLaunchDistData. + assert rep.values == {"weapon_flight": 10} assert rep.typed["weapon_flight aerodynamics/Cx0"] == 1 assert rep.typed["weapon_flight top/KillDistance"] == 1 assert rep.typed["weapon_flight top/PN_coeffs"] == 1 @@ -349,6 +351,10 @@ def _wrong_value(flight: dict[str, Any]) -> None: flight["aerodynamics"]["cx0"] = [9, 9] +def _wrong_envelope(flight: dict[str, Any]) -> None: + flight["launchEnvelopes"][0]["minRangeM"][1][0] = 9 + + def _bad_path(flight: dict[str, Any]) -> None: flight["motorStages"][0]["sourcePath"] = f"{M1}#/client/gone" @@ -365,6 +371,16 @@ def test_typed_value_differing_from_dump_fails(tmp_path: Path) -> None: assert rep.failed() +def test_typed_launch_envelope_checked_per_table(tmp_path: Path) -> None: + rep = run_typed(*_weapon_data(tmp_path)) + assert rep.typed["weapon_flight top/LaunchDistData"] == 1 + assert rep.failures == [] + rep = run_typed(*_weapon_data(tmp_path, _wrong_envelope)) + assert [(f.kind, f.source_path) for f in rep.failures] == [ + ("differs", f"{M1}#/client/MinLaunchDistData") + ] + + def test_typed_unresolved_and_unmapped_fail(tmp_path: Path) -> None: rep = run_typed(*_weapon_data(tmp_path, _bad_path)) assert [(f.kind, f.source_path) for f in rep.failures] == [ diff --git a/tools/datamine/tests/test_weapon_flight.py b/tools/datamine/tests/test_weapon_flight.py index ae7b111b..d89882dc 100644 --- a/tools/datamine/tests/test_weapon_flight.py +++ b/tools/datamine/tests/test_weapon_flight.py @@ -153,7 +153,7 @@ def test_aim_120c_record(tmp_path: Path) -> None: # Only named fields: nothing raw. assert set(rec) <= { "weapon", "sourcePaths", "sourcePath", "batteryLifeS", "killDistanceM", - "rangeMaxM", "machMax", "pnCoefficients", "launchTables", "aerodynamics", + "rangeMaxM", "machMax", "pnCoefficients", "launchEnvelopes", "aerodynamics", "motorStages", "autopilot", "seeker", "gimbal", "proximityFuze", } # fmt: skip # The public fields read client and report the server difference. @@ -235,7 +235,7 @@ def test_sd_10_pn_coefficients(tmp_path: Path) -> None: ) -def test_rockets_only_missile_and_launch_table(tmp_path: Path) -> None: +def test_rockets_only_missile_and_launch_envelope(tmp_path: Path) -> None: g = tmp_path / "_G" # AIM-9M exists only in _G/rockets (excerpt of _G/rockets/AIM_9.lua). _legacy( @@ -265,13 +265,84 @@ def test_rockets_only_missile_and_launch_table(tmp_path: Path) -> None: "killDistanceM": 8, } # AspectDistData has no {rows, cols, ...} layout: only in the dump. - (table,) = records["AGM_86"]["launchTables"] - assert table["key"] == "MinLaunchDistData" - assert table["columnHeaders"] == [100, 125, 175, 250] - assert table["rows"][0] == {"header": 500, "cells": [0, 19500, 20500, 22000]} - assert table["rows"][3] == { - "header": 13000, - "cells": [93000, 93000, 102000, 105000], + (env,) = records["AGM_86"]["launchEnvelopes"] + assert env == { + "sourcePath": "_G/rockets/AGM_86#", + "altitudesM": [500, 2000, 7000, 13000], + "speedsMs": [100, 125, 175, 250], + "minRangeM": [ + [0, 19500, 20500, 22000], + [23500, 25000, 27500, 30500], + [53000, 53500, 58500, 63500], + [93000, 93000, 102000, 105000], + ], + } + + +# AGM-65E: _G/weapons_table/weapons/missiles/AGM_65E.lua (excerpt). +AGM_65E_TABLES = ( + "LaunchDistData = { 4, 5, 100, 165, 230, 300, 400, 50, 8400, 11000, 12000, 13000, 13000, " + "2000, 14000, 15500, 17000, 18000, 18000, 5000, 22000, 23000, 23500, 24500, 26800, " + "10000, 25600, 26800, 28000, 28700, 29800 }, " + "MinLaunchDistData = { 4, 5, 100, 165, 230, 300, 400, 50, 2000, 2300, 2500, 2700, 3000, " + "2000, 1000, 1200, 1400, 1600, 3000, 5000, 3000, 3000, 3000, 3000, 4000, " + "10000, 6000, 6000, 6000, 6000, 6000 }" +) +# X-29T: _G/weapons_table/weapons/missiles/X_29T.lua (excerpt); its two +# tables have different axes. +X_29T_TABLES = ( + "LaunchDistData = { 7, 3, 100, 150, 200, 100, 10900, 12500, 12000, 200, 11800, 11800, " + "12000, 300, 11000, 11600, 12000, 500, 11000, 11800, 12000, 700, 11200, 12000, 12000, " + "1000, 11600, 12000, 12000, 2000, 12000, 12000, 12000 }, " + "MinLaunchDistData = { 2, 8, 100, 150, 200, 250, 300, 350, 400, 450, " + "100, 2600, 2700, 2700, 2700, 2700, 2700, 2700, 2700, " + "200, 2600, 2600, 2700, 2700, 2700, 2700, 2700, 2700 }" +) + + +def test_launch_envelope_combines_tables_with_same_axes(tmp_path: Path) -> None: + g = tmp_path / "_G" + _wt_missile(g, "AGM_65E", AGM_65E_TABLES) + path = "_G/weapons_table/weapons/missiles/AGM_65E#/client" + (env,) = _flight(g)["AGM_65E"]["launchEnvelopes"] + assert env == { + "sourcePath": path, + "altitudesM": [50, 2000, 5000, 10000], + "speedsMs": [100, 165, 230, 300, 400], + "maxRangeM": [ + [8400, 11000, 12000, 13000, 13000], + [14000, 15500, 17000, 18000, 18000], + [22000, 23000, 23500, 24500, 26800], + [25600, 26800, 28000, 28700, 29800], + ], + "minRangeM": [ + [2000, 2300, 2500, 2700, 3000], + [1000, 1200, 1400, 1600, 3000], + [3000, 3000, 3000, 3000, 4000], + [6000, 6000, 6000, 6000, 6000], + ], + } + + +def test_launch_envelopes_split_on_different_axes(tmp_path: Path) -> None: + g = tmp_path / "_G" + # MinLaunchDistData cut to its first two rows (the dump has ten). + _wt_missile(g, "X_29T", X_29T_TABLES) + path = "_G/weapons_table/weapons/missiles/X_29T#/client" + max_env, min_env = _flight(g)["X_29T"]["launchEnvelopes"] + assert max_env["sourcePath"] == min_env["sourcePath"] == path + assert max_env["altitudesM"] == [100, 200, 300, 500, 700, 1000, 2000] + assert max_env["speedsMs"] == [100, 150, 200] + assert max_env["maxRangeM"][0] == [10900, 12500, 12000] + assert "minRangeM" not in max_env + assert min_env == { + "sourcePath": path, + "altitudesM": [100, 200], + "speedsMs": [100, 150, 200, 250, 300, 350, 400, 450], + "minRangeM": [ + [2600, 2700, 2700, 2700, 2700, 2700, 2700, 2700], + [2600, 2600, 2700, 2700, 2700, 2700, 2700, 2700], + ], } diff --git a/tools/datamine/weapon_flight.py b/tools/datamine/weapon_flight.py index 11ab02ad..42fa4137 100644 --- a/tools/datamine/weapon_flight.py +++ b/tools/datamine/weapon_flight.py @@ -92,8 +92,13 @@ F("Range_max", "rangeMaxM", unit="m"), F("Mach_max", "machMax"), ) -LAUNCH_TABLE = re.compile( - r"^(?:Min)?LaunchDistData\d*$|^AspectDistData$|^(?:Rmax|Rmin|Loft)Data\d*$" +# Launch envelope tables (DCS key, envelope field), in envelope field order. +# Rows are launch altitude (m), columns launch TAS (m/s): the AJS37 entry's +# Weapons.lua labels them `Alt` and `TAS`. +LAUNCH_TABLES = ( + ("LaunchDistData", "maxRangeM"), + ("MinLaunchDistData", "minRangeM"), + ("AspectDistData", "aspectDeg"), ) # The typed record fields holding a block, in schema order. BLOCKS = ( @@ -134,9 +139,10 @@ def _block(view: dict[str, Any], name: str, specs: tuple[F, ...], path: str) -> return {"sourcePath": path + pointer(name), **typed} if typed else None -def _launch_table(key: str, value: Any, path: str) -> dict[str, Any] | None: - """``Entity.WeaponLaunchTable`` of a ``{rows, cols, cols column headers, - then per row its header and cols cells}`` list; None for another layout.""" +def _launch_table(value: Any) -> tuple[list[Any], list[Any], list[list[Any]]] | None: + """(row headers, column headers, cells by row) of a ``{rows, cols, cols + column headers, then per row its header and cols cells}`` list; None for + another layout.""" if not isinstance(value, list) or len(value) < 2: return None v: list[Any] = value @@ -151,18 +157,33 @@ def _launch_table(key: str, value: Any, path: str) -> dict[str, Any] | None: ): return None r, c = int(rows), int(cols) - return { - "key": key, - "sourcePath": path, - "columnHeaders": v[2 : 2 + c], - "rows": [ - { - "header": v[2 + c + i * (c + 1)], - "cells": v[3 + c + i * (c + 1) : 2 + c + (i + 1) * (c + 1)], - } - for i in range(r) - ], - } + body = [v[2 + c + i * (c + 1) : 2 + c + (i + 1) * (c + 1)] for i in range(r)] + return [row[0] for row in body], v[2 : 2 + c], [row[1:] for row in body] + + +def _launch_envelopes(view: dict[str, Any], path: str) -> list[dict[str, Any]]: + """``Entity.WeaponLaunchEnvelope`` list: the tables of ``LAUNCH_TABLES`` + that decode, one envelope per distinct (altitudes, speeds) axes pair, in + ``LAUNCH_TABLES`` order of each pair's first table.""" + out: list[dict[str, Any]] = [] + for key, field in LAUNCH_TABLES: + table = _launch_table(view.get(key)) + if table is None: + continue + altitudes, speeds, cells = table + env = next( + ( + e + for e in out + if e["altitudesM"] == altitudes and e["speedsMs"] == speeds + ), + None, + ) + if env is None: + env = {"sourcePath": path, "altitudesM": altitudes, "speedsMs": speeds} + out.append(env) + env[field] = cells + return out def _pn_entries(value: Any) -> list[dict[str, Any]] | None: @@ -228,13 +249,8 @@ def flight(weapon: str, sources: list[Source]) -> dict[str, Any] | None: out: dict[str, Any] = typed_block(view, TOP) if (pn := _pn_entries(view.get("PN_coeffs"))) is not None: out["pnCoefficients"] = pn - tables = [ - t - for k in sorted(k for k in view if isinstance(k, str) and LAUNCH_TABLE.match(k)) - if (t := _launch_table(k, view[k], path + pointer(k))) is not None - ] - if tables: - out["launchTables"] = tables + if envelopes := _launch_envelopes(view, path): + out["launchEnvelopes"] = envelopes blocks: dict[str, Any] = { "aerodynamics": _block(view, "fm", AERODYNAMICS, path), "motorStages": _stages(view, path) or None, From 349b37aeaea73bcf86e4ef3f90281aefd4328412 Mon Sep 17 00:00:00 2001 From: YoloWingPixie Date: Sun, 4 Oct 2026 16:48:01 -0700 Subject: [PATCH 02/38] feat(package): make the SQLite self-describing and searchable - Add schema_types, ref_paths, search and an FTS5 index - Add the Lua API as api_symbols and api_type_uses - Add site:dev and site:build tasks --- CHANGELOG.md | 7 + Taskfile.yml | 16 + tools/package/api_docs.py | 824 +++++++++++++++++++++++++++++ tools/package/sqlite.py | 259 ++++++++- tools/package/tests/test_sqlite.py | 215 +++++++- 5 files changed, 1315 insertions(+), 6 deletions(-) create mode 100644 tools/package/api_docs.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b06a5c7..46eb20d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- SQLite: `schema_types` (every entity type with its fields), `ref_paths` (every reference), a `search` table with an FTS5 index, and the Lua API (`api_symbols`, `api_type_uses`). +- Reference site in `site/`: search, record pages, compare and the Lua API, read live from the SQLite in the browser. + +### Changed +- Breaking: `weapon_flight.launchTables` is replaced by `launchEnvelopes`: maximum and minimum launch range (m) and aspect (deg) by launch altitude (m) and true airspeed (m/s). + ## [0.5.0] - 2026-10-04 ### Added diff --git a/Taskfile.yml b/Taskfile.yml index 198b5be8..24d41258 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -472,6 +472,7 @@ tasks: dcs-world-reference/latest/ (needs Node >= 20.10 and Go >= 1.24) deps: - build:jsonschema + - build:envs cmds: - "uv run python -m tools.package.build" - "uv run python -m tools.package.sqlite" @@ -486,6 +487,7 @@ tasks: Build dist/dcs-world-reference--dcs.sqlite deps: - build:jsonschema + - build:envs cmds: - "uv run python -m tools.package.bundles" - "uv run python -m tools.package.sqlite" @@ -608,3 +610,17 @@ tasks: - "datamine:id-types:check" - lint - "package:test" + + site:dev: + desc: "Run the reference site prototype (site/) dev server on :3210" + dir: site + cmds: + - corepack pnpm install + - corepack pnpm dev + + site:build: + desc: "Build the reference site prototype as a static export into site/out (SITE_BASE_PATH for GitHub Pages)" + dir: site + cmds: + - corepack pnpm install + - corepack pnpm build diff --git a/tools/package/api_docs.py b/tools/package/api_docs.py new file mode 100644 index 00000000..9711f974 --- /dev/null +++ b/tools/package/api_docs.py @@ -0,0 +1,824 @@ +"""The Lua API documentation as database rows (``tools.package.sqlite``). + +From the merged API specs (mission scripting, plus one per other Lua +environment: hooks, export, server) this builds what the reference site renders +its ``/api/...`` pages from, ready to show: + +* ``api_symbols``: one row per page (a global, a nested namespace like + ``trigger.action``, or a type like ``DcsTask.Task.Orbit``) and one per member + shown on it, in display order. ``section`` is the environment of a global + (``mission``, ``hooks``, ``export``, ``server``) or ``types`` for the mission + types; ``page`` the page's path, ``name`` the member (``''`` for the page row + itself), ``path`` the dotted symbol path (``Unit.getByName``), ``parent`` the + page a page sits under, ``summary`` the first sentence and ``members`` a + page's member and value count (listings read these through an index without + the entries). ``entry`` is JSON: descriptions, params, returns, + Lua-style signature tokens (``["Unit.getByName(name: string): ", {"r": + "Unit"}, "?"]``, a ``{"r": name}`` token naming a type), and on page rows + the member groups, inheritance (``inherits``, ``subclasses``, ``inherited``: + members declared by an ancestor, with the ancestor's page), enum values + (``values``, with ``ref``: the reference record id a ``DcsId`` value names + in ``valuesSeries``) and ``links`` (type name -> site path). +* ``api_type_uses``: the functions taking or returning each type ("used by"). +* rows of the ``search`` table with ``series = 'api'``, ``id`` the site path. + +Pure: no I/O; rows come out in a deterministic order. +""" + +from __future__ import annotations + +import json +import re +from dataclasses import dataclass, field +from typing import Any + +from tools.spec_types import ( + DCS_DB_PREFIX, + ENTITY_PREFIX, + Array, + Literal, + Map, + Primitive, + Ref, + TypeNode, + TypeRefError, + Union, + parse_type, +) + +API_SERIES = "api" # the ``search.series`` value of API rows +SECTIONS = ("mission", "hooks", "export", "server", "types") +SECTION_LABEL = { + "mission": "Mission scripting", + "hooks": "Hooks (GameGUI)", + "export": "Export", + "server": "Server", + "types": "Types", +} +ENV_TAG = {"MissionScripting": "mission", "GameGUI": "hooks", "Server": "server"} +# Sections whose descriptions are generated dump notes: searched by name only. +GENERATED_SECTIONS = frozenset({"hooks", "export", "server"}) + +# DcsId enums whose values are ids of a reference series (record URLs +# ///); theatre airbase enums are matched by pattern below. +DCSID_SERIES = { + "DcsId.AircraftType": "aircraft", + "DcsId.HelicopterType": "aircraft", + "DcsId.GroundUnitType": "ground_vehicles", + "DcsId.ShipType": "ships", + "DcsId.StructureType": "structures", + "DcsId.PersonnelType": "personnel", + "DcsId.WeaponType": "weapons", + "DcsId.SensorName": "sensors", + "DcsId.Attribute": "attributes", + "DcsId.Skill": "skills", + "DcsId.FormationId": "formations", +} +_THEATRE = re.compile(r"^DcsId\.Theatre\.([^.]+)\.(AirdromeId|AirbaseName)$") +# Enums listed value by value in search (world.event.S_EVENT_SHOT): small, not DcsId. +SEARCH_ENUM_MAX = 200 + +Json = dict[str, Any] +Token = str | dict[str, str] + + +def page_href(section: str, name: str) -> str: + """``/api/Unit/``, ``/api/trigger/action/``, ``/api/types/DcsTask/Task/Orbit/``: + dots become path segments (a dotted last segment reads as a file name).""" + path = "/".join(_quote(p) for p in name.split(".")) + return f"/api/{path}/" if section == "mission" else f"/api/{section}/{path}/" + + +def _quote(segment: str) -> str: + return re.sub(r"[^A-Za-z0-9_\-~]", lambda m: f"%{ord(m.group()):02X}", segment) + + +def summarize(text: str | None) -> str | None: + """First sentence, at most ~180 characters.""" + if not text: + return None + flat = " ".join(text.split()) + m = re.match(r"^(.+?[.!?])(\s|$)", flat) + first = m.group(1) if m else flat + return first if len(first) <= 180 else first[:177].rstrip() + "…" + + +def name_words(name: str) -> str: + """``getByName`` -> ``get by name``, ``S_EVENT_SHOT`` -> ``s event shot``.""" + s = re.sub(r"([a-z0-9])([A-Z])", r"\1 \2", name) + s = re.sub(r"([A-Z]+)([A-Z][a-z])", r"\1 \2", s) + return " ".join(re.sub(r"[_.:]+", " ", s).lower().split()) + + +# Type tokens ----------------------------------------------------------------- + + +def _is_null(n: TypeNode) -> bool: + return isinstance(n, Primitive) and n.name in ("nil", "void") + + +def _emit(n: TypeNode, nested: bool, out: list[Token]) -> None: + if isinstance(n, Primitive): + out.append("nil" if n.name == "void" else n.name) + elif isinstance(n, Ref): + out.append({"r": n.name}) + elif isinstance(n, Literal): + out.append(f'"{n.value}"') + elif isinstance(n, Array): + if isinstance(n.item, Union): + out.append("(") + _emit(n.item, False, out) + out.append(")[]") + else: + _emit(n.item, True, out) + out.append("[]") + elif isinstance(n, Map): + out.append("map<") + _emit(n.key, False, out) + out.append(", ") + _emit(n.value, False, out) + out.append(">") + else: + rest = [m for m in n.members if not _is_null(m)] + nullable = 0 < len(rest) < len(n.members) + wrap = nullable and (len(rest) > 1 or nested) + if wrap: + out.append("(") + for i, m in enumerate(rest): + if i: + out.append(" | ") + _emit(m, nullable or nested, out) + if wrap: + out.append(")") + if nullable: + out.append("?") + if not rest: + out.append("nil") + + +def _merge(tokens: list[Token]) -> list[Token]: + out: list[Token] = [] + for t in tokens: + if isinstance(t, str) and out and isinstance(out[-1], str): + out[-1] += t + else: + out.append(t) + return out + + +def type_tokens(ref: str) -> list[Token]: + """A typeRef in Lua style (``T | nil`` is ``T?``), type names as ``{"r": name}``.""" + try: + node = parse_type(ref) + except TypeRefError: + return [ref] + out: list[Token] = [] + _emit(node, False, out) + return _merge(out) + + +def tokens_text(tokens: list[Token]) -> str: + return "".join(t if isinstance(t, str) else t["r"] for t in tokens) + + +def signature_tokens( + qualified: str, params: list[Json] | None, returns: list[str] +) -> list[Token]: + """``Unit.getByName(name: string): Unit?``; ``(...)`` when unknown.""" + out: list[Token] = [qualified] + if params is None: + return [f"{qualified}(...)"] + out.append("(") + for i, p in enumerate(params): + if i: + out.append(", ") + out.append(f"{p['name']}{'?' if p.get('optional') else ''}: ") + out.extend(type_tokens(p["type"])) + out.append(")") + shown = [r for r in returns if r != "void"] + if shown: + out.append(": ") + for i, r in enumerate(shown): + if i: + out.append(", ") + out.extend(type_tokens(r)) + return _merge(out) + + +def _ref_names(tokens: list[Token]) -> list[str]: + return [t["r"] for t in tokens if isinstance(t, dict)] + + +# Model ----------------------------------------------------------------------- + + +@dataclass +class Member: + kind: str # function | field | constant | namespace + name: str + anchor: str + qualified: str + group: str = "" + data: Json = field(default_factory=dict) + type_refs: list[str] = field(default_factory=list) + texts: list[str] = field(default_factory=list) + + +@dataclass +class Page: + section: str + name: str + kind: str + data: Json = field(default_factory=dict) + groups: list[tuple[str, str]] = field(default_factory=list) + members: list[Member] = field(default_factory=list) + inherits: list[str] = field(default_factory=list) + parent: str = "" + refs: list[str] = field(default_factory=list) + + @property + def href(self) -> str: + return page_href(self.section, self.name) + + +def _env_list(v: Any) -> list[str] | None: + if not isinstance(v, list) or "All" in v: + return None + out = list(dict.fromkeys(ENV_TAG[x] for x in v if x in ENV_TAG)) + return out or None + + +def _examples(v: Any) -> list[Json] | None: + if not isinstance(v, list): + return None + out = [] + for e in v: + if isinstance(e, dict) and str(e.get("code", "")).strip(): + ex: Json = {"code": str(e["code"]).rstrip()} + if isinstance(e.get("description"), str) and e["description"].strip(): + ex["description"] = e["description"].strip() + out.append(ex) + return out or None + + +def _common(data: Json, d: Json) -> None: + desc = d.get("description") + if isinstance(desc, str) and desc.strip(): + data["description"] = desc.strip() + data["summary"] = summarize(desc) + if isinstance(d.get("addedVersion"), str): + data["addedVersion"] = d["addedVersion"] + if env := _env_list(d.get("environment")): + data["environment"] = env + if d.get("deprecated") is True: + data["deprecated"] = True + if ex := _examples(d.get("examples")): + data["examples"] = ex + + +def _anchor(name: str) -> str: + return re.sub(r"[^A-Za-z0-9_.-]+", "_", name) or "_" + + +def _sort_key(name: str) -> tuple[str, str]: + return (name.lower(), name) + + +def _member( + name: str, d: Json, owner: str, call: str, required: bool | None = None +) -> Member: + is_fn = "returns" in d or "params" in d + unknown_fn = not is_fn and d.get("type") == "function" + fn = is_fn or unknown_fn + m = Member( + kind="function" if fn else "field", + name=name, + anchor=_anchor(name), + qualified=f"{owner}{call if fn else '.'}{name}", + ) + data = m.data + if is_fn: + params = [] + for p in d.get("params") or []: + if not isinstance(p, dict): + continue + param: Json = {"name": str(p["name"]), "type": str(p.get("type", "any"))} + if p.get("optional") is True: + param["optional"] = True + if "default" in p: + param["default"] = json.dumps(p["default"], ensure_ascii=False) + if isinstance(p.get("description"), str) and p["description"].strip(): + param["description"] = p["description"].strip() + m.texts.append(param["description"]) + param["t"] = type_tokens(param["type"]) + m.type_refs.append(param["type"]) + params.append(param) + r = d.get("returns") + returns = ( + [str(x) for x in r] + if isinstance(r, list) + else [r] + if isinstance(r, str) + else ["void"] + ) + data["call"] = call + data["params"] = params + data["returns"] = [type_tokens(x) for x in returns if x != "void"] + data["sig"] = signature_tokens(m.qualified, params, returns) + m.type_refs.extend(returns) + if isinstance(d.get("returnValueExample"), str): + data["returnValueExample"] = d["returnValueExample"] + elif unknown_fn: + data["call"] = call + data["params"] = None + data["sig"] = signature_tokens(m.qualified, None, []) + else: + t = "table" if d.get("kind") == "table" else str(d.get("type", "any")) + data["type"] = type_tokens(t) + m.type_refs.append(t) + if d.get("readonly") is True: + data["readonly"] = True + if required is not None: + data["required"] = required + if isinstance(d.get("fields"), dict): + req = set(d.get("required") or []) + subs = [ + _member(n, sd, f"{owner}.{name}", ".", n in req) + for n, sd in d["fields"].items() + if isinstance(sd, dict) + ] + subs.sort(key=lambda x: _sort_key(x.name)) + data["fields"] = [{"name": s.name, **s.data} for s in subs] + for s in subs: + m.type_refs.extend(s.type_refs) + m.texts.extend(s.texts) + _common(data, d) + if "description" in data: + m.texts.append(data["description"]) + return m + + +def _members(mapping: Any, owner: str, call: str) -> list[Member]: + if not isinstance(mapping, dict): + return [] + out = [ + _member(n, d, owner, call) for n, d in mapping.items() if isinstance(d, dict) + ] + return sorted(out, key=lambda m: _sort_key(m.name)) + + +def _add_group(page: Page, gid: str, title: str, members: list[Member]) -> None: + if not members: + return + taken = {m.anchor.lower() for m in page.members} + for m in members: + anchor, n = m.anchor, 2 + while anchor.lower() in taken: + anchor, n = f"{m.anchor}-{n}", n + 1 + m.anchor = anchor + taken.add(anchor.lower()) + m.group = gid + page.groups.append((gid, title)) + page.members.extend(members) + + +def _split(ms: list[Member]) -> tuple[list[Member], list[Member]]: + return [m for m in ms if m.kind == "function"], [ + m for m in ms if m.kind != "function" + ] + + +def _new_page(section: str, name: str, kind: str, d: Json) -> Page: + p = Page(section, name, kind) + _common(p.data, d) + return p + + +def _global_pages(section: str, globals_: dict[str, Any]) -> list[Page]: + out: list[Page] = [] + for name, d in globals_.items(): + if not isinstance(d, dict): + continue + kind = str(d.get("kind")) + page = _new_page(section, name, kind, d) + page.inherits = [str(x) for x in d.get("inherits") or []] + statics = _split(_members(d.get("static"), name, ".")) + inst = _split(_members(d.get("instance"), name, ":")) + props: list[Member] = [] + namespaces: list[Member] = [] + required = set(d.get("required") or []) + for pname, pd in (d.get("properties") or {}).items(): + if not isinstance(pd, dict): + continue + if isinstance(pd.get("static"), dict) or isinstance( + pd.get("instance"), dict + ): + ns_name = f"{name}.{pname}" + ns = _new_page(section, ns_name, "namespace", pd) + ns.parent = name + fns, fields = _split(_members(pd.get("static"), ns_name, ".")) + _add_group(ns, "functions", "Functions", fns) + _add_group(ns, "fields", "Fields", fields) + _add_group( + ns, "methods", "Methods", _members(pd.get("instance"), ns_name, ":") + ) + out.append(ns) + m = Member("namespace", pname, _anchor(pname), ns_name) + _common(m.data, pd) + m.data["href"] = ns.href + namespaces.append(m) + else: + props.append( + _member( + pname, pd, name, ".", (pname in required) if required else None + ) + ) + constants = [ + Member("constant", k, _anchor(k), f"{name}.{k}", data={"value": v}) + for k, v in (d.get("constants") or {}).items() + ] + constants.sort(key=lambda m: _sort_key(m.name)) + if kind == "class": + _add_group(page, "static-functions", "Static functions", statics[0]) + _add_group(page, "static-fields", "Static fields", statics[1]) + _add_group(page, "methods", "Methods", inst[0]) + _add_group(page, "fields", "Fields", inst[1]) + else: + _add_group( + page, + "functions", + "Functions", + sorted(statics[0] + inst[0], key=lambda m: _sort_key(m.name)), + ) + _add_group( + page, + "fields", + "Fields", + sorted(statics[1] + inst[1], key=lambda m: _sort_key(m.name)), + ) + _add_group( + page, + "namespaces", + "Namespaces", + sorted(namespaces, key=lambda m: _sort_key(m.name)), + ) + _add_group( + page, + "properties", + "Properties", + sorted(props, key=lambda m: _sort_key(m.name)), + ) + _add_group(page, "constants", "Constants", constants) + if isinstance(d.get("arrayOf"), str): + page.data["arrayOf"] = type_tokens(f"{d['arrayOf']}[]") + page.refs.append(d["arrayOf"]) + out.append(page) + return out + + +def _value_ref( + name: str, values: dict[str, Any], types: dict[str, Any] +) -> tuple[str, Any] | None: + """``(series, record id of a value)`` for an enum naming reference records.""" + if name in DCSID_SERIES: + series = DCSID_SERIES[name] + if series == "formations": + return series, lambda k, v: k + return series, lambda k, v: str(v) + m = _THEATRE.match(name) + if not m: + return None + theatre, which = m.groups() + if which == "AirdromeId": + return "airbases", lambda k, v: f"{theatre}.{v}" + ids = (types.get(f"DcsId.Theatre.{theatre}.AirdromeId") or {}).get("values") or {} + return "airbases", lambda k, v: f"{theatre}.{ids[v]}" if v in ids else None + + +def _type_pages(types: dict[str, Any]) -> list[Page]: + out: list[Page] = [] + for name, d in types.items(): + if not isinstance(d, dict): + continue + kind = str(d.get("kind")) + page = _new_page("types", name, kind, d) + if kind == "enum" and isinstance(d.get("values"), dict): + linker = _value_ref(name, d["values"], types) + values = [] + for k, v in d["values"].items(): + row: Json = {"key": k, "value": v} + if linker and (rid := linker[1](k, v)) is not None: + row["ref"] = rid + values.append(row) + page.data["values"] = values + if linker: + page.data["valuesSeries"] = linker[0] + if isinstance(d.get("fields"), dict): + req = set(d.get("required") or []) + has_req = isinstance(d.get("required"), list) + fields = [ + _member(n, fd, name, ".", (n in req) if has_req else None) + for n, fd in d["fields"].items() + if isinstance(fd, dict) + ] + _add_group( + page, "fields", "Fields", fields + ) # schema order (id before params) + if isinstance(d.get("anyOf"), list): + page.data["anyOf"] = [type_tokens(str(t)) for t in d["anyOf"]] + page.refs.extend(str(t) for t in d["anyOf"]) + if isinstance(d.get("arrayOf"), str): + page.data["arrayOf"] = type_tokens(f"{d['arrayOf']}[]") + page.refs.append(d["arrayOf"]) + out.append(page) + return out + + +@dataclass +class ApiRows: + symbols: list[tuple[Any, ...]] # api_symbols rows + uses: list[tuple[str, str, str, str]] # api_type_uses rows + search: list[tuple[str, str, str, str, str]] # search rows (series 'api') + counts: dict[str, int] + + +def _api_types(spec: Json) -> dict[str, Any]: + return { + n: t + for n, t in (spec.get("types") or {}).items() + if not n.startswith((ENTITY_PREFIX, DCS_DB_PREFIX)) + } + + +def build_rows(mission: Json, envs: dict[str, Json]) -> ApiRows: + """Rows of the API tables from the merged mission spec and the env specs.""" + types = _api_types(mission) + pages = _global_pages("mission", mission.get("globals") or {}) + for env in ("hooks", "export", "server"): + if env in envs: + pages += _global_pages(env, envs[env].get("globals") or {}) + pages += _type_pages(types) + index = {(p.section, p.name): p for p in pages} + + def find(section: str, name: str) -> Page | None: + env = "mission" if section == "types" else section + return ( + index.get(("types", name)) + or index.get((env, name)) + or (index.get(("mission", name)) if env != "mission" else None) + ) + + def resolve(section: str, name: str) -> str | None: + if page := find(section, name): + return page.href + owner, _, member = name.rpartition(".") + env = "mission" if section == "types" else section + if owner and (p := index.get((env, owner))): + for m in p.members: + if m.name == member: + return m.data.get("href") or f"{p.href}#{m.anchor}" + return None + + # Inheritance: nearest declaring ancestor wins; own members shadow. + subclasses: dict[tuple[str, str], list[Page]] = {} + for page in pages: + if not page.inherits: + continue + + def anc_of(name: str, section: str = page.section) -> Page | None: + return index.get((section, name)) or index.get(("types", name)) + + page.data["inherits"] = [ + {"name": n, **({"href": a.href} if (a := anc_of(n)) else {})} + for n in page.inherits + ] + seen = {m.name for m in page.members} + visited = {page.name} + queue = list(page.inherits) + inherited = [] + while queue: + name = queue.pop(0) + if name in visited: + continue + visited.add(name) + anc = anc_of(name) + if not anc: + continue + items = [] + for m in anc.members: + if m.kind == "namespace" or m.name in seen: + continue + seen.add(m.name) + call = ( + "." + if m.kind != "function" + else ":" + if anc.section == "types" + else m.data.get("call", ".") + ) + item: Json = { + "name": m.name, + "qualified": f"{page.name}{call}{m.name}", + "anchor": m.anchor, + } + if m.data.get("summary"): + item["summary"] = m.data["summary"] + items.append(item) + if items: + inherited.append({"from": anc.name, "href": anc.href, "members": items}) + queue.extend(anc.inherits) + subclasses.setdefault((anc.section, anc.name), []).append(page) + if inherited: + page.data["inherited"] = inherited + for key, subs in subclasses.items(): + index[key].data["subclasses"] = [ + {"name": s.name, "href": s.href} + for s in sorted(subs, key=lambda s: _sort_key(s.name)) + ] + + # Links, used-by, get/set pairs. + uses: dict[tuple[str, str, str], str] = {} + for page in pages: + names: list[str] = [] + for m in page.members: + _add_names(names, m.type_refs) + if m.kind == "function": + for r in m.type_refs: + for n in _ref_names(type_tokens(r)): + target = find(page.section, n) + if target: + uses[(target.section, target.name, m.qualified)] = ( + f"{page.href}#{m.anchor}" + ) + by_group: dict[str, dict[str, Member]] = {} + for m in page.members: + if m.kind == "function": + by_group.setdefault(m.group, {})[m.name] = m + for fns in by_group.values(): + for m in fns.values(): + stem = m.name[3:] if m.name.startswith("get") else None + other = fns.get(f"set{stem}") if stem else None + if other: + m.data["related"] = [ + { + "label": other.qualified, + "href": f"{page.href}#{other.anchor}", + } + ] + other.data["related"] = [ + {"label": m.qualified, "href": f"{page.href}#{m.anchor}"} + ] + _add_names(names, page.refs) + names.extend(n for n in page.inherits if n not in names) + texts = [page.data.get("description", "")] + [ + t for m in page.members for t in m.texts + ] + for t in texts: + for n in re.findall(r"`([A-Za-z_][A-Za-z0-9_.]*)`", t or ""): + if n not in names and n != page.name: + names.append(n) + links = {} + for n in names: + if href := resolve(page.section, n): + links[n] = href + page.data["links"] = links + + # Rows ---------------------------------------------------------------- + symbols: list[tuple[Any, ...]] = [] + search: list[tuple[str, str, str, str, str]] = [] + order = {s: i for i, s in enumerate(SECTIONS)} + + def search_row( + href: str, + path: str, + kind: str, + section: str, + summary: str, + text: str, + name: str, + ) -> None: + meta = f"{kind} · {SECTION_LABEL[section]}" + subtitle = f"{meta} · {summary}" if summary else meta + keywords = " ".join( + dict.fromkeys(filter(None, [name_words(name), name_words(path), text])) + ) + search.append((API_SERIES, href, path, subtitle, keywords)) + + for page in sorted(pages, key=lambda p: (order[p.section], p.name)): + generated = page.section in GENERATED_SECTIONS + entry = { + "kind": page.kind, + **page.data, + "groups": [{"id": g, "title": t} for g, t in page.groups], + } + if page.parent: + entry["parent"] = { + "name": page.parent, + "href": page_href(page.section, page.parent), + } + symbols.append( + ( + page.section, + page.name, + "", + page.name, + page.kind, + page.parent, + page.data.get("summary") or "", + len(page.members) + len(page.data.get("values") or []), + _json(entry), + ) + ) + search_row( + page.href, + page.name, + "global" if page.kind == "singleton" else page.kind, + page.section, + page.data.get("summary") or "", + "" if generated else page.data.get("description", ""), + page.name.split(".")[-1], + ) + for m in page.members: + mkind = ( + "method" + if m.kind == "function" and m.data.get("call") == ":" + else m.kind + ) + entry = { + "kind": m.kind, + "anchor": m.anchor, + "qualified": m.qualified, + "group": m.group, + **m.data, + } + path = m.qualified.replace(":", ".") + symbols.append( + ( + page.section, + page.name, + m.name, + path, + mkind, + page.name, + m.data.get("summary") or "", + 0, + _json(entry), + ) + ) + if m.kind == "namespace" or page.section == "types": + continue # namespaces have their page; record fields are found via their type + summary = (m.data.get("summary") or "") if not generated else "" + if not summary and "value" in m.data: + summary = f"= {json.dumps(m.data['value'], ensure_ascii=False)}" + search_row( + f"{page.href}#{m.anchor}", + m.qualified, + mkind, + page.section, + summary, + "" if generated else " ".join(m.texts), + m.name, + ) + values = page.data.get("values") + if ( + values + and not page.name.startswith("DcsId.") + and len(values) <= SEARCH_ENUM_MAX + ): + for v in values: + search_row( + f"{page.href}#v-{_quote(str(v['key']))}", + f"{page.name}.{v['key']}", + "constant", + page.section, + f"= {json.dumps(v['value'], ensure_ascii=False)}", + "", + str(v["key"]), + ) + + use_rows = sorted( + (section, name, label, href) for (section, name, label), href in uses.items() + ) + counts = { + "pages": len(pages), + "classes": sum(p.kind == "class" for p in pages), + "globals": sum( + p.section != "types" and p.kind in ("singleton", "namespace") for p in pages + ), + "types": sum(p.section == "types" for p in pages), + "enums": sum(p.kind == "enum" for p in pages), + "functions": sum(m.kind == "function" for p in pages for m in p.members), + } + return ApiRows(symbols, use_rows, sorted(search), counts) + + +def _add_names(names: list[str], refs: list[str]) -> None: + """Append the type names ``refs`` mention to ``names`` (once each).""" + for r in refs: + for n in _ref_names(type_tokens(r)): + if n not in names: + names.append(n) + + +def _json(value: Any) -> str: + return json.dumps(value, ensure_ascii=False, separators=(",", ":")) diff --git a/tools/package/sqlite.py b/tools/package/sqlite.py index 83570645..13c373cc 100644 --- a/tools/package/sqlite.py +++ b/tools/package/sqlite.py @@ -23,6 +23,27 @@ (table, type, key, record count) and ``docs`` (the schema's table and column descriptions). +For clients that read the file over HTTP range requests (the reference site), +the database also describes itself and indexes what such a client queries: + +* ``schema_types``: every JSON Schema definition (``name``, ``kind``: record, + enum, array or other, and the ``definition`` as JSON: fields, descriptions, + enum values and ``x-values`` constant names, ``x-ref`` targets); +* ``ref_paths``: every reference path, one row per link table or scalar ref + column (``series``, ``path`` like ``stations[].accepts[].clsid``, + ``target``, the ``table_name`` and its source and target id columns), so + reverse references are plain ``SELECT``s; +* ``search`` (``series``, ``id``, display ``name``, ``subtitle``, + ``keywords``) and its FTS5 index ``search_fts``; +* the Lua API docs (``tools.package.api_docs``): ``api_symbols`` (every page + and member, render-ready JSON), ``api_type_uses`` (used-by) and ``search`` + rows of ``series = 'api'`` (``id`` the site path), from the merged API + schema and the per-environment schemas (``task merge:json build:envs``); +* an index on every scalar ref column and one covering each series' scalar + columns (browse tables read it instead of whole rows); +* pages of ``PAGE_SIZE`` bytes, small enough that one range request fetches + little beyond what a lookup needs. + Rows are inserted in key order and the file is written afresh, so the bytes depend only on the data (and the SQLite library version). @@ -49,9 +70,15 @@ fail, load_json, ) +from tools.package.api_docs import ApiRows, build_rows from tools.package.bundles import BUNDLE_DIR JSON = "JSON" # column kind: TEXT holding JSON +PAGE_SIZE = 4096 # range-request clients fetch whole pages +# Display-name fields, first present wins (else the key). +NAME_FIELDS = ("displayName", "name", "natoDesignation", "callsign", "countryName") +KEYWORD_MAX = 48 # longest scalar text kept as a search keyword +API_ENVS = ("hooks", "export", "server") # env schemas besides the mission one SQL_TYPES = {"string": "TEXT", "number": "NUMERIC", "integer": "INTEGER"} @@ -137,12 +164,92 @@ def _descriptions(document: dict[str, Any], type_name: str) -> dict[str, str]: return out +def schema_kind(node: dict[str, Any]) -> str: + if node.get("type") == "object" or "properties" in node: + return "record" + if "enum" in node: + return "enum" + if node.get("type") == "array": + return "array" + return "other" + + +def name_variants(*names: str) -> list[str]: + """``AIM-120C`` -> ``aim120c``, ``aim 120c``, ``aim 120 c``: searches for + "aim120", "aim 120" and "120" all meet a token.""" + out: dict[str, None] = {} + for name in names: + lower = name.lower() + squashed = "".join(c for c in lower if c.isalnum()) + spaced = " ".join("".join(c if c.isalnum() else " " for c in lower).split()) + split = "" + for i, c in enumerate(spaced): + prev = spaced[i - 1] if i else " " + if (c.isdigit() and prev.isalpha()) or (c.isalpha() and prev.isdigit()): + split += " " + split += c + for v in (squashed, spaced, split): + if v: + out[v] = None + return list(out) + + +def search_rows( + series: dict[str, dict[str, Any]], + document: dict[str, Any], + companions: set[str], +) -> list[tuple[str, str, str, str, str]]: + """``(series, id, name, subtitle, keywords)`` of every record, except those + of companion series (keyed by a reference to another series' record, like + ``weapon_flight``: found through that record).""" + rows = [] + for s in SERIES.values(): + if s.name in companions: + continue + props = document["definitions"][s.type_name]["properties"] + kinds = {f: column_kind(document, sub) for f, sub in props.items()} + enums = [ + f + for f, sub in props.items() + if kinds[f] == "TEXT" and "enum" in _deref(document, sub) + ] + [f for f in props if f.endswith("Name") and f[:-4] in props] + for key, record in series[s.name].items(): + name = next( + ( + str(record[f]) + for f in NAME_FIELDS + if isinstance(record.get(f), str) and record[f] + ), + key, + ) + subtitle = " · ".join( + dict.fromkeys( + str(record[f]) + for f in enums + if isinstance(record.get(f), str | int) + ) + ) + words = [ + str(v) + for f, v in record.items() + if kinds.get(f) == "TEXT" + and isinstance(v, str) + and len(v) <= KEYWORD_MAX + and f != s.id_field + ] + variants = name_variants(name) if name == key else name_variants(name, key) + keywords = " ".join(dict.fromkeys([key, *variants, *words])) + rows.append((s.name, key, name, subtitle, keywords)) + return rows + + def build( series: dict[str, dict[str, Any]], manifest: dict[str, Any], document: dict[str, Any], version: str, output: Path, + api: ApiRows | None = None, ) -> dict[str, int]: """Write the database to ``output`` (replacing it); ``{table: rows}``.""" all_rules = rules(document) @@ -159,6 +266,7 @@ def build( tmp = output.with_name(output.name + ".tmp") tmp.unlink(missing_ok=True) db = sqlite3.connect(tmp) + db.execute(f"PRAGMA page_size = {PAGE_SIZE}") # Tables reference tables created after them: enforce by one check at the end. db.execute("PRAGMA foreign_keys = OFF") counts: dict[str, int] = {} @@ -236,6 +344,17 @@ def create(table: str, columns: list[str], rows: list[tuple[Any, ...]]) -> None: row.append(value) rows.append(tuple(row)) create(s.name, columns, rows) + for field in kinds: + if (s.name, field) in scalar_refs: + db.execute( + f"CREATE INDEX {q(s.name + '__' + field)} ON {q(s.name)} ({q(field)})" + ) + scalar = [f for f, k in kinds.items() if k != JSON and f != s.id_field] + if scalar: + cols = ", ".join(q(f) for f in [s.id_field, *scalar]) + db.execute( + f"CREATE INDEX {q(s.name + '__scalars')} ON {q(s.name)} ({cols})" + ) docs.extend( (s.name, field, text) for field, text in _descriptions(document, s.type_name).items() @@ -279,6 +398,123 @@ def create(table: str, columns: list[str], rows: list[tuple[Any, ...]]) -> None: (table, "", f"References of {rule.series}.{rule.label} to {rule.target}.") ) + ref_paths = [ + ( + link_table(rule), + rule.series, + rule.label, + rule.target, + ref_column(rule.series), + ref_column(rule.target), + ) + for rule in link_rules + ] + [ + (series_name, series_name, field, target, key_column(series_name), field) + for (series_name, field), target in scalar_refs.items() + ] + create( + "ref_paths", + [ + "table_name TEXT NOT NULL", + "series TEXT NOT NULL", + "path TEXT NOT NULL", + "target TEXT NOT NULL", + "source_column TEXT NOT NULL", + "target_column TEXT NOT NULL", + "PRIMARY KEY (series, path)", + ], + sorted(ref_paths, key=lambda r: (r[1], r[2])), + ) + create( + "schema_types", + ["name TEXT PRIMARY KEY", "kind TEXT NOT NULL", "definition TEXT NOT NULL"], + sorted( + # Field order as the schema declares it (renderers list fields in it). + ( + name, + schema_kind(node), + json.dumps(node, ensure_ascii=False, separators=(",", ":")), + ) + for name, node in document["definitions"].items() + ), + ) + create( + "search", + [ + "series TEXT NOT NULL", + "id TEXT NOT NULL", + "name TEXT NOT NULL", + "subtitle TEXT NOT NULL", + "keywords TEXT NOT NULL", + "PRIMARY KEY (series, id)", + ], + sorted( + search_rows( + series, + document, + {n for n, f in scalar_refs if f == SERIES[n].id_field}, + ) + + (api.search if api else []) + ), + ) + # Names by series without the keywords: link labels read this index only. + db.execute("CREATE INDEX search__names ON search (series, id, name)") + db.execute( + "CREATE VIRTUAL TABLE search_fts USING fts5(" + "name, keywords, subtitle, content='search', content_rowid='rowid'," + " tokenize='unicode61 remove_diacritics 2')" + ) + db.execute("INSERT INTO search_fts(search_fts) VALUES ('rebuild')") + db.execute("INSERT INTO search_fts(search_fts) VALUES ('optimize')") + + if api is not None: + create( + "api_symbols", + [ + "section TEXT NOT NULL", + "page TEXT NOT NULL", + "name TEXT NOT NULL", + "path TEXT NOT NULL", + "kind TEXT NOT NULL", + "parent TEXT NOT NULL", + "summary TEXT NOT NULL", + "members INTEGER NOT NULL", + "entry TEXT NOT NULL", + "PRIMARY KEY (section, page, name)", + ], + api.symbols, # display order: a page row, then its members + ) + db.execute("CREATE INDEX api_symbols__path ON api_symbols (path)") + # The page listing (API home) reads this index only. + db.execute( + "CREATE INDEX api_symbols__pages ON api_symbols" + " (name, section, page, kind, parent, members, summary) WHERE name = ''" + ) + create( + "api_type_uses", + [ + "section TEXT NOT NULL", + "type TEXT NOT NULL", + "label TEXT NOT NULL", + "href TEXT NOT NULL", + "PRIMARY KEY (section, type, label)", + ], + api.uses, + ) + docs.extend( + [ + ( + "api_symbols", + "", + "Lua API pages and their members (tools/package/api_docs.py).", + ), + ( + "api_type_uses", + "", + "Lua API functions taking or returning each type.", + ), + ] + ) create( "unresolved_refs", [ @@ -317,12 +553,33 @@ def main() -> int: parser.add_argument("--bundles", type=Path, default=BUNDLE_DIR) parser.add_argument("--schema", type=Path, default=JSON_SCHEMA_PATH) parser.add_argument("--output", type=Path, help="Default: dist/.") + parser.add_argument( + "--api-schema", + type=Path, + default=DIST_DIR / "dcs-world-api-schema.json", + help="Merged API schema; dcs-world-api--schema.json beside it.", + ) + parser.add_argument( + "--no-api", action="store_true", help="Leave out the Lua API docs." + ) args = parser.parse_args() manifest = load_json(args.bundles / MANIFEST) series = {name: load_json(args.bundles / f"{name}.json") for name in SERIES} version = (REPO_ROOT / "VERSION").read_text(encoding="utf-8").strip() output = args.output or DIST_DIR / sqlite_name(version, manifest["dcsVersion"]) - counts = build(series, manifest, load_json(args.schema), version, output) + api = None + if not args.no_api: + if not args.api_schema.exists(): + fail(f"{args.api_schema} missing: run `task merge:json build:envs`") + envs = {} + for env in API_ENVS: + path = args.api_schema.with_name(f"dcs-world-api-{env}-schema.json") + if path.exists(): + envs[env] = load_json(path) + elif env != "server": + fail(f"{path} missing: run `task build:envs`") + api = build_rows(load_json(args.api_schema), envs) + counts = build(series, manifest, load_json(args.schema), version, output, api) size = output.stat().st_size print(f"Wrote {len(counts)} tables ({size / 1e6:.1f} MB) to {output}") return 0 diff --git a/tools/package/tests/test_sqlite.py b/tools/package/tests/test_sqlite.py index 2d71ec56..1cf209b2 100644 --- a/tools/package/tests/test_sqlite.py +++ b/tools/package/tests/test_sqlite.py @@ -30,7 +30,7 @@ ) from tools.export_jsonschema import export from tools.merge import merge_tree -from tools.package import bundles +from tools.package import api_docs, bundles from tools.package import sqlite as sqlite_db from tools.package.cookbook import snippets @@ -41,6 +41,20 @@ class Built: series: dict[str, dict[str, Any]] manifest: dict[str, Any] document: dict[str, Any] + api: api_docs.ApiRows | None = None + + +def _api_rows() -> api_docs.ApiRows: + """The API docs rows from the schema sources, merged as ``task merge:json`` + and ``task build:envs`` merge them.""" + root = str(REPO_ROOT / "dcs-world-schema") + mission, _ = merge_tree(root) + envs = {} + for env in ("hooks", "export", "server"): + merged, count = merge_tree(root, subdirs=[f"globals/{env}"]) + if count: + envs[env] = merged + return api_docs.build_rows(mission, envs) def _build( @@ -49,9 +63,10 @@ def _build( series: dict[str, Any], manifest: dict[str, Any], document: dict[str, Any], + api: api_docs.ApiRows | None = None, ) -> Path: out = tmp / name - sqlite_db.build(series, manifest, document, "0.0.0", out) + sqlite_db.build(series, manifest, document, "0.0.0", out, api) return out @@ -71,8 +86,9 @@ def built(tmp_path_factory: pytest.TempPathFactory) -> Built: made = bundles.build(REFERENCE_DATA_DIR / LATEST, tmp / "bundles") merged, _ = merge_tree(str(REPO_ROOT / "dcs-world-schema")) document = export(merged["types"]) - path = _build(tmp, "a.sqlite", made.series, made.manifest, document) - return Built(path, made.series, made.manifest, document) + api = _api_rows() + path = _build(tmp, "a.sqlite", made.series, made.manifest, document, api) + return Built(path, made.series, made.manifest, document, api) @pytest.fixture(scope="module") @@ -170,7 +186,9 @@ def test_docs(db: sqlite3.Connection) -> None: def test_deterministic(built: Built, tmp_path: Path) -> None: if os.environ.get("DCS_REF_SQLITE"): pytest.skip("checked when building") - again = _build(tmp_path, "b.sqlite", built.series, built.manifest, built.document) + again = _build( + tmp_path, "b.sqlite", built.series, built.manifest, built.document, _api_rows() + ) assert again.read_bytes() == built.path.read_bytes() @@ -201,3 +219,190 @@ def test_sql_snippet(db: sqlite3.Connection, recipe: str) -> None: minimum, text = EXPECTED[recipe] assert len(rows) >= minimum, rows assert text in str(rows), rows + + +def test_self_description(db: sqlite3.Connection, built: Built) -> None: + """Range-request clients render from ``schema_types`` and ``ref_paths``.""" + kinds = dict(db.execute("SELECT name, kind FROM schema_types").fetchall()) + assert set(kinds) == set(built.document["definitions"]) + assert kinds["Entity.Aircraft"] == "record" + assert kinds["Entity.AircraftKind"] == "enum" + (definition,) = db.execute( + "SELECT definition FROM schema_types WHERE name = 'Entity.Station'" + ).fetchone() + assert "accepts" in json.loads(definition)["properties"] + paths = { + (s, p): (t, table) + for s, p, t, table in db.execute( + "SELECT series, path, target, table_name FROM ref_paths" + ) + } + assert paths[("aircraft", "stations[].accepts[].clsid")] == ( + "stores", + "aircraft__stations_accepts_clsid", + ) + assert paths[("weapons", "warhead")] == ("warheads", "weapons") + # Every link table is described, so reverse references need no schema walk. + links = {t for t in _tables(db) if "__" in t} + assert links <= {table for _, table in paths.values()} + + +def test_reverse_reference_queries(db: sqlite3.Connection) -> None: + rows = db.execute( + "SELECT table_name, source_column, target_column FROM ref_paths" + " WHERE target = 'stores' AND series = 'aircraft'" + ).fetchall() + found = set() + for table, src, dst in rows: + found |= { + r[0] + for r in db.execute( + f'SELECT "{src}" FROM "{table}" WHERE "{dst}" = ?', + ("{5CE2FF2A-645A-4197-B48D-8720AC69394F}",), + ) + } + assert "F-16C_50" in found + plan = " ".join( + str(r) + for r in db.execute( + "EXPLAIN QUERY PLAN SELECT id FROM weapons WHERE warhead = 'AIM_120C'" + ) + ) + assert "INDEX" in plan + + +def test_search(db: sqlite3.Connection, built: Built) -> None: + count = db.execute( + "SELECT count(*) FROM search WHERE series != ?", (api_docs.API_SERIES,) + ).fetchone()[0] + assert count == sum( + len(b) + for n, b in built.series.items() + if n not in ("weapon_flight", "aircraft_flight") + ) + hits = db.execute( + "SELECT s.series, s.id, s.name FROM search_fts f" + " JOIN search s ON s.rowid = f.rowid" + " WHERE search_fts MATCH ? ORDER BY rank LIMIT 20", + ('"aim120c"*',), + ).fetchall() + assert ("weapons", "AIM_120C", "AIM-120C") in hits + (name,) = db.execute( + "SELECT name FROM search WHERE series = 'aircraft' AND id = 'F-16C_50'" + ).fetchone() + assert name == built.series["aircraft"]["F-16C_50"]["displayName"] + + +def test_page_size(db: sqlite3.Connection) -> None: + assert db.execute("PRAGMA page_size").fetchone()[0] == sqlite_db.PAGE_SIZE + + +def _symbol(db: sqlite3.Connection, section: str, page: str, name: str = "") -> Any: + row = db.execute( + "SELECT entry FROM api_symbols WHERE section = ? AND page = ? AND name = ?", + (section, page, name), + ).fetchone() + assert row, (section, page, name) + return json.loads(row[0]) + + +def test_api_symbols(db: sqlite3.Connection) -> None: + sections = dict( + db.execute( + "SELECT section, count(*) FROM api_symbols WHERE name = '' GROUP BY section" + ) + ) + assert ( + sections["mission"] >= 25 + and sections["hooks"] >= 20 + and sections["export"] >= 3 + ) + assert sections["types"] > 300 + classes = db.execute( + "SELECT count(*) FROM api_symbols WHERE kind = 'class'" + ).fetchone()[0] + assert classes == 10 + # Reference-data types are not part of the Lua API. + assert not db.execute( + "SELECT 1 FROM api_symbols WHERE page LIKE 'Entity.%' OR page LIKE 'DcsDb.%'" + ).fetchone() + get_by_name = _symbol(db, "mission", "Unit", "getByName") + assert ( + api_docs.tokens_text(get_by_name["sig"]) + == "Unit.getByName(name: string): Unit?" + ) + assert {"r": "Unit"} in get_by_name["sig"] + out_text = _symbol(db, "mission", "trigger.action", "outText") + assert api_docs.tokens_text(out_text["sig"]) == ( + "trigger.action.outText(text: string, displayTime: number, clearview?: boolean)" + ) + (path,) = db.execute( + "SELECT path FROM api_symbols WHERE section = 'mission' AND page = 'Controller'" + " AND name = 'setTask'" + ).fetchone() + assert path == "Controller.setTask" + # A page's rows are stored together, page row first (one range read). + rows = db.execute( + "SELECT name FROM api_symbols WHERE section = 'mission' AND page = 'Unit' ORDER BY rowid" + ).fetchall() + assert rows[0] == ("",) and len(rows) > 40 + + +def test_api_inheritance_and_links(db: sqlite3.Connection) -> None: + unit = _symbol(db, "mission", "Unit") + origin = {g["from"]: g for g in unit["inherited"]} + assert origin["Object"]["href"] == "/api/Object/" + assert any(m["qualified"] == "Unit:isExist" for m in origin["Object"]["members"]) + # Unit declares getCoalition itself: not listed again as inherited. + assert "CoalitionObject" not in origin + assert {"name": "CoalitionObject", "href": "/api/types/CoalitionObject/"} in unit[ + "inherits" + ] + assert unit["links"]["Unit.Category"] == "/api/types/Unit/Category/" + obj = _symbol(db, "mission", "Object") + assert "Unit" in {s["name"] for s in obj["subclasses"]} + uses = db.execute( + "SELECT label, href FROM api_type_uses WHERE section = 'types' AND type = 'Vec3'" + ).fetchall() + assert ("Unit:getPoint", "/api/Object/#getPoint") not in uses + assert ("Object:getPoint", "/api/Object/#getPoint") in uses + + +def test_api_enum_values_name_records(db: sqlite3.Connection) -> None: + weapons = _symbol(db, "types", "DcsId.WeaponType") + assert weapons["valuesSeries"] == "weapons" + refs = [v["ref"] for v in weapons["values"]] + found = db.execute( + f"SELECT count(*) FROM weapons WHERE id IN ({','.join('?' * len(refs))})", refs + ).fetchone()[0] + assert found > 400 + batumi = next( + v + for v in _symbol(db, "types", "DcsId.Theatre.Caucasus.AirbaseName")["values"] + if v["key"] == "Batumi" + ) + assert db.execute( + "SELECT name FROM airbases WHERE id = ?", (batumi["ref"],) + ).fetchone() + + +def test_api_search(db: sqlite3.Connection, built: Built) -> None: + def hits(match: str) -> list[str]: + return [ + r[0] + for r in db.execute( + "SELECT s.name FROM search_fts f JOIN search s ON s.rowid = f.rowid" + " WHERE search_fts MATCH ? AND s.series = 'api'" + " ORDER BY bm25(search_fts, 8.0, 2.0, 1.0) LIMIT 10", + (match,), + ) + ] + + assert hits('"outtext"*')[0] == "trigger.action.outText" + assert "Unit.getByName" in hits('"getbyname"*') + assert hits('"controller"* "settask"*')[0] == "Controller:setTask" + if built.api: + api = db.execute("SELECT count(*) FROM search WHERE series = 'api'").fetchone()[ + 0 + ] + assert api == len(built.api.search) From 1b19991c11cf6850f4935d1b1919a519dab17096 Mon Sep 17 00:00:00 2001 From: YoloWingPixie Date: Sun, 4 Oct 2026 16:48:14 -0700 Subject: [PATCH 03/38] feat(site): add a reference site that reads the SQLite live - Static shell queries the release SQLite by HTTP range requests - Search, record pages, compare, units switch and Lua API docs - Hand-written overlays in site/content; stale ones are reported - Pages workflow publishes the shell and the release SQLite --- .github/workflows/pages.yml | 130 + .gitignore | 7 + site/biome.json | 43 + site/content/api/Controller.setTask.md | 30 + site/content/api/README.md | 6 + site/content/api/Unit.getByName.md | 18 + site/content/api/trigger.action.outText.md | 19 + site/content/reference/README.md | 10 + .../weapon_flight/_fields/aerodynamics.cx0.md | 2 + .../weapon_flight/_fields/batteryLifeS.md | 2 + site/content/reference/weapons/AGM_114.md | 3 + site/content/reference/weapons/AGM_114K.md | 3 + site/content/reference/weapons/AGM_154.md | 3 + site/content/reference/weapons/AGM_154A.md | 3 + site/content/reference/weapons/AGM_154B.md | 3 + site/content/reference/weapons/AGM_45A.md | 3 + site/content/reference/weapons/AGM_45B.md | 3 + site/content/reference/weapons/AGM_65A.md | 3 + site/content/reference/weapons/AGM_65B.md | 3 + site/content/reference/weapons/AGM_65D.md | 3 + site/content/reference/weapons/AGM_65E.md | 3 + site/content/reference/weapons/AGM_65F.md | 3 + site/content/reference/weapons/AGM_65G.md | 3 + site/content/reference/weapons/AGM_65H.md | 3 + site/content/reference/weapons/AGM_65K.md | 3 + site/content/reference/weapons/AGM_65L.md | 3 + site/content/reference/weapons/AGM_84A.md | 3 + site/content/reference/weapons/AGM_84D.md | 3 + site/content/reference/weapons/AGM_84E.md | 3 + site/content/reference/weapons/AGM_84H.md | 3 + site/content/reference/weapons/AGM_88.md | 3 + site/content/reference/weapons/AIM-7E-2.md | 3 + site/content/reference/weapons/AIM-7E.md | 3 + site/content/reference/weapons/AIM-7F.md | 3 + site/content/reference/weapons/AIM-7MH.md | 3 + site/content/reference/weapons/AIM-7P.md | 3 + site/content/reference/weapons/AIM-9E.md | 3 + site/content/reference/weapons/AIM-9J.md | 3 + site/content/reference/weapons/AIM-9JULI.md | 3 + site/content/reference/weapons/AIM-9L.md | 3 + site/content/reference/weapons/AIM-9P.md | 3 + site/content/reference/weapons/AIM-9P3.md | 3 + site/content/reference/weapons/AIM-9P5.md | 3 + site/content/reference/weapons/AIM_120.md | 3 + site/content/reference/weapons/AIM_120C.md | 11 + site/content/reference/weapons/AIM_54.md | 3 + .../content/reference/weapons/AIM_54A_Mk47.md | 3 + .../content/reference/weapons/AIM_54A_Mk60.md | 3 + .../content/reference/weapons/AIM_54C_Mk47.md | 3 + .../content/reference/weapons/AIM_54C_Mk60.md | 3 + site/content/reference/weapons/AIM_7.md | 3 + site/content/reference/weapons/AIM_9.md | 3 + site/content/reference/weapons/AIM_9X.md | 3 + site/content/reference/weapons/GAR-8.md | 3 + site/content/reference/weapons/GBU_10.md | 3 + site/content/reference/weapons/GBU_11.md | 3 + site/content/reference/weapons/GBU_12.md | 3 + .../content/reference/weapons/GBU_15_V_1_B.md | 3 + .../reference/weapons/GBU_15_V_31_B.md | 3 + site/content/reference/weapons/GBU_16.md | 3 + site/content/reference/weapons/GBU_24.md | 3 + site/content/reference/weapons/GBU_24E.md | 3 + site/content/reference/weapons/GBU_27.md | 3 + site/content/reference/weapons/GBU_28.md | 3 + site/content/reference/weapons/GBU_31.md | 3 + site/content/reference/weapons/GBU_31_V_2B.md | 3 + site/content/reference/weapons/GBU_31_V_3B.md | 3 + site/content/reference/weapons/GBU_31_V_4B.md | 3 + site/content/reference/weapons/GBU_32_V_2B.md | 3 + site/content/reference/weapons/GBU_38.md | 3 + site/content/reference/weapons/HB-AIM-7E-2.md | 3 + site/content/reference/weapons/HB-AIM-7E.md | 3 + .../reference/weapons/HB_F4E_GBU15V1.md | 3 + .../reference/weapons/Kh25MP_PRGS1VP.md | 3 + site/content/reference/weapons/P_27P.md | 3 + site/content/reference/weapons/P_27PE.md | 3 + site/content/reference/weapons/P_27T.md | 3 + site/content/reference/weapons/P_27TE.md | 3 + site/content/reference/weapons/P_33E.md | 3 + site/content/reference/weapons/P_60.md | 3 + site/content/reference/weapons/P_73.md | 3 + site/content/reference/weapons/P_77.md | 3 + site/content/reference/weapons/R-60.md | 3 + site/content/reference/weapons/X_25ML.md | 3 + site/content/reference/weapons/X_25MP.md | 3 + site/content/reference/weapons/X_25MR.md | 3 + site/content/reference/weapons/X_29L.md | 3 + site/content/reference/weapons/X_29T.md | 3 + site/content/reference/weapons/X_29TE.md | 3 + site/content/reference/weapons/X_31A.md | 3 + site/content/reference/weapons/X_31P.md | 3 + site/content/reference/weapons/X_58.md | 3 + site/content/reference/weapons/_index.md | 8 + site/e2e/api.spec.ts | 87 + site/e2e/reference.spec.ts | 146 ++ site/next-env.d.ts | 7 + site/next.config.ts | 15 + site/package.json | 48 + site/playwright.config.ts | 19 + site/pnpm-lock.yaml | 1827 ++++++++++++++ site/pnpm-workspace.yaml | 3 + site/scripts/build-api-overlays.ts | 53 + site/scripts/build-overlays.ts | 39 + site/scripts/check-api-overlays.ts | 29 + site/scripts/check-overlays.ts | 59 + site/scripts/copy-sqlite-assets.ts | 44 + site/scripts/lib/overlays.ts | 173 ++ site/scripts/lib/schema.ts | 16 + site/scripts/serve-out.mjs | 65 + site/src/app/compare/page.tsx | 15 + site/src/app/globals.css | 2106 +++++++++++++++++ site/src/app/layout.tsx | 65 + site/src/app/not-found.tsx | 13 + site/src/app/page.tsx | 35 + site/src/app/reference/page.tsx | 20 + site/src/app/search/page.tsx | 16 + site/src/components/Markdown.tsx | 49 + site/src/components/MarkdownSource.tsx | 21 + site/src/components/api/api-home.tsx | 243 ++ site/src/components/api/api-link.tsx | 55 + site/src/components/api/api-page-view.tsx | 340 +++ site/src/components/api/api-shell.tsx | 99 + site/src/components/api/api.css | 648 +++++ site/src/components/api/enum-table.tsx | 118 + site/src/components/api/member-entry.tsx | 278 +++ site/src/components/api/type-ref.tsx | 69 + site/src/components/browse-view.tsx | 563 +++++ site/src/components/command-palette.tsx | 108 + site/src/components/compare-buttons.tsx | 58 + site/src/components/compare-view.tsx | 1335 +++++++++++ site/src/components/field-menu.tsx | 336 +++ site/src/components/field-view.tsx | 204 ++ site/src/components/global-search.tsx | 269 +++ site/src/components/header.tsx | 165 ++ site/src/components/home-search.tsx | 31 + site/src/components/line-chart.tsx | 289 +++ site/src/components/record/blocks.tsx | 682 ++++++ site/src/components/record/envelope.tsx | 201 ++ site/src/components/record/record-group.tsx | 263 ++ site/src/components/record/record-view.tsx | 497 ++++ site/src/components/ref-link.tsx | 78 + site/src/components/reference-shell.tsx | 78 + site/src/components/search-results-page.tsx | 33 + site/src/components/series-directory.tsx | 93 + site/src/components/toast.tsx | 39 + site/src/lib/api/client.ts | 63 + site/src/lib/api/db.ts | 182 ++ site/src/lib/api/overlays.ts | 94 + site/src/lib/api/routes.ts | 37 + site/src/lib/api/search-provider.ts | 57 + site/src/lib/api/types.ts | 142 ++ site/src/lib/catalog.test.ts | 132 ++ site/src/lib/catalog.ts | 511 ++++ site/src/lib/client-data.ts | 139 ++ site/src/lib/compare-store.ts | 140 ++ site/src/lib/db/browser.ts | 73 + site/src/lib/db/reference.ts | 697 ++++++ site/src/lib/db/schema.ts | 108 + site/src/lib/format-field.ts | 133 ++ site/src/lib/markdown.ts | 88 + site/src/lib/names.ts | 135 ++ site/src/lib/nav.ts | 50 + site/src/lib/overlays.test.ts | 81 + site/src/lib/pack.ts | 92 + site/src/lib/search/README.md | 51 + site/src/lib/search/client.ts | 133 ++ site/src/lib/search/engine.ts | 66 + site/src/lib/search/reference-sources.ts | 101 + site/src/lib/search/sources.test.ts | 51 + site/src/lib/search/sources.ts | 19 + site/src/lib/search/types.ts | 60 + site/src/lib/series-display.ts | 128 + site/src/lib/series.ts | 338 +++ site/src/lib/types.ts | 143 ++ site/src/lib/unit-system.ts | 59 + site/src/lib/units.test.ts | 99 + site/src/lib/units.ts | 189 ++ site/src/styles/browse.css | 171 ++ site/src/styles/compare.css | 26 + site/src/styles/record.css | 573 +++++ site/src/styles/search.css | 148 ++ site/src/ui/icons.tsx | 90 + site/tests/api/api.test.ts | 141 ++ site/tests/reference/db.ts | 28 + site/tests/reference/reference.test.ts | 137 ++ site/tsconfig.json | 33 + site/vitest.config.ts | 7 + 187 files changed, 18416 insertions(+) create mode 100644 .github/workflows/pages.yml create mode 100644 site/biome.json create mode 100644 site/content/api/Controller.setTask.md create mode 100644 site/content/api/README.md create mode 100644 site/content/api/Unit.getByName.md create mode 100644 site/content/api/trigger.action.outText.md create mode 100644 site/content/reference/README.md create mode 100644 site/content/reference/weapon_flight/_fields/aerodynamics.cx0.md create mode 100644 site/content/reference/weapon_flight/_fields/batteryLifeS.md create mode 100644 site/content/reference/weapons/AGM_114.md create mode 100644 site/content/reference/weapons/AGM_114K.md create mode 100644 site/content/reference/weapons/AGM_154.md create mode 100644 site/content/reference/weapons/AGM_154A.md create mode 100644 site/content/reference/weapons/AGM_154B.md create mode 100644 site/content/reference/weapons/AGM_45A.md create mode 100644 site/content/reference/weapons/AGM_45B.md create mode 100644 site/content/reference/weapons/AGM_65A.md create mode 100644 site/content/reference/weapons/AGM_65B.md create mode 100644 site/content/reference/weapons/AGM_65D.md create mode 100644 site/content/reference/weapons/AGM_65E.md create mode 100644 site/content/reference/weapons/AGM_65F.md create mode 100644 site/content/reference/weapons/AGM_65G.md create mode 100644 site/content/reference/weapons/AGM_65H.md create mode 100644 site/content/reference/weapons/AGM_65K.md create mode 100644 site/content/reference/weapons/AGM_65L.md create mode 100644 site/content/reference/weapons/AGM_84A.md create mode 100644 site/content/reference/weapons/AGM_84D.md create mode 100644 site/content/reference/weapons/AGM_84E.md create mode 100644 site/content/reference/weapons/AGM_84H.md create mode 100644 site/content/reference/weapons/AGM_88.md create mode 100644 site/content/reference/weapons/AIM-7E-2.md create mode 100644 site/content/reference/weapons/AIM-7E.md create mode 100644 site/content/reference/weapons/AIM-7F.md create mode 100644 site/content/reference/weapons/AIM-7MH.md create mode 100644 site/content/reference/weapons/AIM-7P.md create mode 100644 site/content/reference/weapons/AIM-9E.md create mode 100644 site/content/reference/weapons/AIM-9J.md create mode 100644 site/content/reference/weapons/AIM-9JULI.md create mode 100644 site/content/reference/weapons/AIM-9L.md create mode 100644 site/content/reference/weapons/AIM-9P.md create mode 100644 site/content/reference/weapons/AIM-9P3.md create mode 100644 site/content/reference/weapons/AIM-9P5.md create mode 100644 site/content/reference/weapons/AIM_120.md create mode 100644 site/content/reference/weapons/AIM_120C.md create mode 100644 site/content/reference/weapons/AIM_54.md create mode 100644 site/content/reference/weapons/AIM_54A_Mk47.md create mode 100644 site/content/reference/weapons/AIM_54A_Mk60.md create mode 100644 site/content/reference/weapons/AIM_54C_Mk47.md create mode 100644 site/content/reference/weapons/AIM_54C_Mk60.md create mode 100644 site/content/reference/weapons/AIM_7.md create mode 100644 site/content/reference/weapons/AIM_9.md create mode 100644 site/content/reference/weapons/AIM_9X.md create mode 100644 site/content/reference/weapons/GAR-8.md create mode 100644 site/content/reference/weapons/GBU_10.md create mode 100644 site/content/reference/weapons/GBU_11.md create mode 100644 site/content/reference/weapons/GBU_12.md create mode 100644 site/content/reference/weapons/GBU_15_V_1_B.md create mode 100644 site/content/reference/weapons/GBU_15_V_31_B.md create mode 100644 site/content/reference/weapons/GBU_16.md create mode 100644 site/content/reference/weapons/GBU_24.md create mode 100644 site/content/reference/weapons/GBU_24E.md create mode 100644 site/content/reference/weapons/GBU_27.md create mode 100644 site/content/reference/weapons/GBU_28.md create mode 100644 site/content/reference/weapons/GBU_31.md create mode 100644 site/content/reference/weapons/GBU_31_V_2B.md create mode 100644 site/content/reference/weapons/GBU_31_V_3B.md create mode 100644 site/content/reference/weapons/GBU_31_V_4B.md create mode 100644 site/content/reference/weapons/GBU_32_V_2B.md create mode 100644 site/content/reference/weapons/GBU_38.md create mode 100644 site/content/reference/weapons/HB-AIM-7E-2.md create mode 100644 site/content/reference/weapons/HB-AIM-7E.md create mode 100644 site/content/reference/weapons/HB_F4E_GBU15V1.md create mode 100644 site/content/reference/weapons/Kh25MP_PRGS1VP.md create mode 100644 site/content/reference/weapons/P_27P.md create mode 100644 site/content/reference/weapons/P_27PE.md create mode 100644 site/content/reference/weapons/P_27T.md create mode 100644 site/content/reference/weapons/P_27TE.md create mode 100644 site/content/reference/weapons/P_33E.md create mode 100644 site/content/reference/weapons/P_60.md create mode 100644 site/content/reference/weapons/P_73.md create mode 100644 site/content/reference/weapons/P_77.md create mode 100644 site/content/reference/weapons/R-60.md create mode 100644 site/content/reference/weapons/X_25ML.md create mode 100644 site/content/reference/weapons/X_25MP.md create mode 100644 site/content/reference/weapons/X_25MR.md create mode 100644 site/content/reference/weapons/X_29L.md create mode 100644 site/content/reference/weapons/X_29T.md create mode 100644 site/content/reference/weapons/X_29TE.md create mode 100644 site/content/reference/weapons/X_31A.md create mode 100644 site/content/reference/weapons/X_31P.md create mode 100644 site/content/reference/weapons/X_58.md create mode 100644 site/content/reference/weapons/_index.md create mode 100644 site/e2e/api.spec.ts create mode 100644 site/e2e/reference.spec.ts create mode 100644 site/next-env.d.ts create mode 100644 site/next.config.ts create mode 100644 site/package.json create mode 100644 site/playwright.config.ts create mode 100644 site/pnpm-lock.yaml create mode 100644 site/pnpm-workspace.yaml create mode 100644 site/scripts/build-api-overlays.ts create mode 100644 site/scripts/build-overlays.ts create mode 100644 site/scripts/check-api-overlays.ts create mode 100644 site/scripts/check-overlays.ts create mode 100644 site/scripts/copy-sqlite-assets.ts create mode 100644 site/scripts/lib/overlays.ts create mode 100644 site/scripts/lib/schema.ts create mode 100644 site/scripts/serve-out.mjs create mode 100644 site/src/app/compare/page.tsx create mode 100644 site/src/app/globals.css create mode 100644 site/src/app/layout.tsx create mode 100644 site/src/app/not-found.tsx create mode 100644 site/src/app/page.tsx create mode 100644 site/src/app/reference/page.tsx create mode 100644 site/src/app/search/page.tsx create mode 100644 site/src/components/Markdown.tsx create mode 100644 site/src/components/MarkdownSource.tsx create mode 100644 site/src/components/api/api-home.tsx create mode 100644 site/src/components/api/api-link.tsx create mode 100644 site/src/components/api/api-page-view.tsx create mode 100644 site/src/components/api/api-shell.tsx create mode 100644 site/src/components/api/api.css create mode 100644 site/src/components/api/enum-table.tsx create mode 100644 site/src/components/api/member-entry.tsx create mode 100644 site/src/components/api/type-ref.tsx create mode 100644 site/src/components/browse-view.tsx create mode 100644 site/src/components/command-palette.tsx create mode 100644 site/src/components/compare-buttons.tsx create mode 100644 site/src/components/compare-view.tsx create mode 100644 site/src/components/field-menu.tsx create mode 100644 site/src/components/field-view.tsx create mode 100644 site/src/components/global-search.tsx create mode 100644 site/src/components/header.tsx create mode 100644 site/src/components/home-search.tsx create mode 100644 site/src/components/line-chart.tsx create mode 100644 site/src/components/record/blocks.tsx create mode 100644 site/src/components/record/envelope.tsx create mode 100644 site/src/components/record/record-group.tsx create mode 100644 site/src/components/record/record-view.tsx create mode 100644 site/src/components/ref-link.tsx create mode 100644 site/src/components/reference-shell.tsx create mode 100644 site/src/components/search-results-page.tsx create mode 100644 site/src/components/series-directory.tsx create mode 100644 site/src/components/toast.tsx create mode 100644 site/src/lib/api/client.ts create mode 100644 site/src/lib/api/db.ts create mode 100644 site/src/lib/api/overlays.ts create mode 100644 site/src/lib/api/routes.ts create mode 100644 site/src/lib/api/search-provider.ts create mode 100644 site/src/lib/api/types.ts create mode 100644 site/src/lib/catalog.test.ts create mode 100644 site/src/lib/catalog.ts create mode 100644 site/src/lib/client-data.ts create mode 100644 site/src/lib/compare-store.ts create mode 100644 site/src/lib/db/browser.ts create mode 100644 site/src/lib/db/reference.ts create mode 100644 site/src/lib/db/schema.ts create mode 100644 site/src/lib/format-field.ts create mode 100644 site/src/lib/markdown.ts create mode 100644 site/src/lib/names.ts create mode 100644 site/src/lib/nav.ts create mode 100644 site/src/lib/overlays.test.ts create mode 100644 site/src/lib/pack.ts create mode 100644 site/src/lib/search/README.md create mode 100644 site/src/lib/search/client.ts create mode 100644 site/src/lib/search/engine.ts create mode 100644 site/src/lib/search/reference-sources.ts create mode 100644 site/src/lib/search/sources.test.ts create mode 100644 site/src/lib/search/sources.ts create mode 100644 site/src/lib/search/types.ts create mode 100644 site/src/lib/series-display.ts create mode 100644 site/src/lib/series.ts create mode 100644 site/src/lib/types.ts create mode 100644 site/src/lib/unit-system.ts create mode 100644 site/src/lib/units.test.ts create mode 100644 site/src/lib/units.ts create mode 100644 site/src/styles/browse.css create mode 100644 site/src/styles/compare.css create mode 100644 site/src/styles/record.css create mode 100644 site/src/styles/search.css create mode 100644 site/src/ui/icons.tsx create mode 100644 site/tests/api/api.test.ts create mode 100644 site/tests/reference/db.ts create mode 100644 site/tests/reference/reference.test.ts create mode 100644 site/tsconfig.json create mode 100644 site/vitest.config.ts diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 00000000..3d3ac045 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,130 @@ +name: Reference site (GitHub Pages) + +# The site is a static shell that queries the released SQLite database in the browser +# (HTTP range requests). A data update only swaps the .sqlite: the shell is rebuilt only +# when site/ or the API schema changed (cached by content hash). +# +# Runs after a release (CD workflow) or by hand with a release tag. Repository settings: +# Settings -> Pages -> Source: "GitHub Actions"; the github-pages environment must allow +# the default branch (and tags, for manual runs on a tag). + +on: + workflow_run: + workflows: ["DCS World Schema CD"] + types: [completed] + branches: [main] + workflow_dispatch: + inputs: + tag: + description: "Release tag whose .sqlite to publish (default: latest release)" + required: false + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + shell: + name: Build the site shell + if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} + runs-on: ubuntu-latest + outputs: + key: ${{ steps.key.outputs.key }} + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.workflow_run.head_sha || github.sha }} + + - name: Shell cache key + id: key + run: echo "key=site-shell-${{ hashFiles('site/**', '!site/node_modules/**', '!site/out/**', '!site/.next/**', 'dcs-world-schema/**') }}" >> "$GITHUB_OUTPUT" + + - name: Restore a shell built from the same sources + id: cache + uses: actions/cache@v4 + with: + path: site/out + key: ${{ steps.key.outputs.key }} + + - name: Set up Node + if: steps.cache.outputs.cache-hit != 'true' + uses: actions/setup-node@v4 + with: + node-version: "22" + + - name: Set up Python, uv and Task (API docs read the merged schema) + if: steps.cache.outputs.cache-hit != 'true' + run: | + pip install uv + sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b ~/.local/bin + echo "$HOME/.local/bin" >> "$GITHUB_PATH" + + - name: Build the shell (no database) + if: steps.cache.outputs.cache-hit != 'true' + env: + SITE_SQLITE: none + SITE_BASE_PATH: /${{ github.event.repository.name }} + run: | + task uv:sync + task merge + corepack enable + cd site + pnpm install --frozen-lockfile + pnpm build + + - name: Hand the shell to the deploy job + uses: actions/upload-artifact@v4 + with: + name: site-shell + path: site/out + retention-days: 1 + + deploy: + name: Publish shell + database + needs: shell + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - uses: actions/download-artifact@v4 + with: + name: site-shell + path: site + + - name: Fetch the release's database + env: + GH_TOKEN: ${{ github.token }} + TAG: ${{ inputs.tag }} + run: | + mkdir -p release + if [ -n "$TAG" ]; then + gh release download "$TAG" --repo "$GITHUB_REPOSITORY" --pattern 'dcs-world-reference-*-dcs*.sqlite' --dir release + else + gh release download --repo "$GITHUB_REPOSITORY" --pattern 'dcs-world-reference-*-dcs*.sqlite' --dir release + fi + files=(release/*.sqlite) + if [ "${#files[@]}" -ne 1 ]; then + echo "::error::expected one .sqlite asset, got ${#files[@]}" + exit 1 + fi + mkdir -p site/data + # A stable URL the shell reads, and the versioned file for direct downloads. + cp "${files[0]}" site/data/reference.sqlite + cp "${files[0]}" "site/data/$(basename "${files[0]}")" + touch site/.nojekyll + ls -l site/data + + - uses: actions/configure-pages@v5 + + - uses: actions/upload-pages-artifact@v3 + with: + path: site + + - id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index 214cb90f..7c07d3ba 100644 --- a/.gitignore +++ b/.gitignore @@ -176,3 +176,10 @@ packages/lua/dcs_world_reference/*.lua packages/go/data/ packages/go/*_gen.go packages/go/*_gen_test.go + +# reference site prototype (site/): generated data and test output +site/public/data/ +site/test-results/ +site/playwright-report/ +site/public/sqlite/ +site/public/overlays/ diff --git a/site/biome.json b/site/biome.json new file mode 100644 index 00000000..d23f53a0 --- /dev/null +++ b/site/biome.json @@ -0,0 +1,43 @@ +{ + "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", + "files": { + "includes": [ + "**", + "!.next", + "!out", + "!node_modules", + "!public/data", + "!public/overlays", + "!public/sqlite", + "!playwright-report", + "!test-results", + "!*.tsbuildinfo", + "!next-env.d.ts" + ] + }, + "formatter": { + "enabled": true, + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100 + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "suspicious": { + "noExplicitAny": "error" + }, + "style": { + "noNonNullAssertion": "error", + "noDescendingSpecificity": "off" + }, + "a11y": { + "noNoninteractiveTabindex": "off" + }, + "complexity": { + "noImportantStyles": "off" + } + } + } +} diff --git a/site/content/api/Controller.setTask.md b/site/content/api/Controller.setTask.md new file mode 100644 index 00000000..baf800d9 --- /dev/null +++ b/site/content/api/Controller.setTask.md @@ -0,0 +1,30 @@ +--- +seeAlso: + - Controller.pushTask + - Controller.resetTask + - DcsTask.Task.Orbit +--- + +## Example + +Make an airborne group orbit a point at 6000 m. `setTask` replaces the current task; +`pushTask` stacks one on top of it. + +```lua +local group = Group.getByName("CAP North") +local point = trigger.misc.getZone("CAP North").point +group:getController():setTask({ + id = "Orbit", + params = { + pattern = "Circle", + point = { x = point.x, y = point.z }, + altitude = 6000, + speed = 220, + }, +}) +``` + +## Notes + +The task table's `id` is case-sensitive (`"Orbit"`, not `"orbit"`). Ground groups ignore air +tasks without an error. diff --git a/site/content/api/README.md b/site/content/api/README.md new file mode 100644 index 00000000..dae77aaa --- /dev/null +++ b/site/content/api/README.md @@ -0,0 +1,6 @@ +# Lua API overlays + +Hand-written notes layered on the Lua API docs, which the site reads from the reference database. One file per symbol, named by its path: `Unit.md`, `Unit.getByName.md`, `trigger.action.outText.md`, `DcsTask.Task.Orbit.md`. +Optional frontmatter: `summary`, `description` (replace the schema's), `seeAlso` (list of symbol paths), `deprecated` (true or a message), `since`, and `symbol` / `section` (`mission`, `hooks`, `export`, `server`, `types`) when the file name cannot say it. +The Markdown body (Notes, Examples in ```lua fences, Caveats) renders below the generated entry, marked as hand-written, and is searchable. +`pnpm build:api` compiles them to `public/overlays/api.json` and fails only on unknown frontmatter keys or bad Markdown. Overlays whose symbol is gone are ignored by the site; `pnpm check:overlays ` lists them. diff --git a/site/content/api/Unit.getByName.md b/site/content/api/Unit.getByName.md new file mode 100644 index 00000000..f8ea1e68 --- /dev/null +++ b/site/content/api/Unit.getByName.md @@ -0,0 +1,18 @@ +--- +seeAlso: + - Group.getByName + - StaticObject.getByName +--- + +## Caveats + +Returns `nil` for a unit that is dead, already removed or not spawned yet (late activation +groups return their units only after `Group:activate`). Check the result, and prefer +`Unit:isExist()` before calling methods on a unit you looked up earlier: + +```lua +local unit = Unit.getByName("Pilot #001") +if unit and unit:isExist() then + env.info(unit:getTypeName()) +end +``` diff --git a/site/content/api/trigger.action.outText.md b/site/content/api/trigger.action.outText.md new file mode 100644 index 00000000..2f61aacb --- /dev/null +++ b/site/content/api/trigger.action.outText.md @@ -0,0 +1,19 @@ +--- +seeAlso: + - trigger.action.outTextForCoalition + - trigger.action.outTextForGroup + - trigger.action.outTextForUnit +--- + +## Example + +Show a ten-second message to everyone, replacing what is on screen: + +```lua +trigger.action.outText("Bandits, bullseye 090 for 30", 10, true) +``` + +## Notes + +- `displayTime` is in seconds. Messages stack top to bottom unless `clearview` is `true`. +- Use `\n` for line breaks; long single lines are not wrapped. diff --git a/site/content/reference/README.md b/site/content/reference/README.md new file mode 100644 index 00000000..f71b6266 --- /dev/null +++ b/site/content/reference/README.md @@ -0,0 +1,10 @@ +Hand-written notes layered on the reference, which the site reads live from the released +SQLite database. They ship with the site (scripts/build-overlays.ts); never edit the data. + +- `/_index.md`: intro on the series' browse page. +- `/.md`: note on a record page (empty body is fine for aliases only). +- `/_fields/.md`: note on a field (tooltip, compare header); write `*` as `+`. + +Frontmatter: `aliases` (records only; extra search terms) and `seeAlso` (URLs or `{label, href}`). +Unknown frontmatter keys fail the build. Overlays whose record or field is gone from the +data are ignored by the site; `pnpm check:overlays ` lists them. diff --git a/site/content/reference/weapon_flight/_fields/aerodynamics.cx0.md b/site/content/reference/weapon_flight/_fields/aerodynamics.cx0.md new file mode 100644 index 00000000..a0aba804 --- /dev/null +++ b/site/content/reference/weapon_flight/_fields/aerodynamics.cx0.md @@ -0,0 +1,2 @@ +Drag coefficient at zero angle of attack, one sample per `machStep` from Mach 0. The hump +near Mach 1 is the transonic drag rise; a lower curve keeps more energy at range. diff --git a/site/content/reference/weapon_flight/_fields/batteryLifeS.md b/site/content/reference/weapon_flight/_fields/batteryLifeS.md new file mode 100644 index 00000000..c5152c4f --- /dev/null +++ b/site/content/reference/weapon_flight/_fields/batteryLifeS.md @@ -0,0 +1,2 @@ +How long the missile's onboard power lasts after launch (`Life_Time`). When it runs out the +seeker and control surfaces stop, so it caps time of flight regardless of motor or energy. diff --git a/site/content/reference/weapons/AGM_114.md b/site/content/reference/weapons/AGM_114.md new file mode 100644 index 00000000..436f7abf --- /dev/null +++ b/site/content/reference/weapons/AGM_114.md @@ -0,0 +1,3 @@ +--- +aliases: [Hellfire] +--- diff --git a/site/content/reference/weapons/AGM_114K.md b/site/content/reference/weapons/AGM_114K.md new file mode 100644 index 00000000..436f7abf --- /dev/null +++ b/site/content/reference/weapons/AGM_114K.md @@ -0,0 +1,3 @@ +--- +aliases: [Hellfire] +--- diff --git a/site/content/reference/weapons/AGM_154.md b/site/content/reference/weapons/AGM_154.md new file mode 100644 index 00000000..57201d03 --- /dev/null +++ b/site/content/reference/weapons/AGM_154.md @@ -0,0 +1,3 @@ +--- +aliases: [JSOW] +--- diff --git a/site/content/reference/weapons/AGM_154A.md b/site/content/reference/weapons/AGM_154A.md new file mode 100644 index 00000000..57201d03 --- /dev/null +++ b/site/content/reference/weapons/AGM_154A.md @@ -0,0 +1,3 @@ +--- +aliases: [JSOW] +--- diff --git a/site/content/reference/weapons/AGM_154B.md b/site/content/reference/weapons/AGM_154B.md new file mode 100644 index 00000000..57201d03 --- /dev/null +++ b/site/content/reference/weapons/AGM_154B.md @@ -0,0 +1,3 @@ +--- +aliases: [JSOW] +--- diff --git a/site/content/reference/weapons/AGM_45A.md b/site/content/reference/weapons/AGM_45A.md new file mode 100644 index 00000000..0ee566be --- /dev/null +++ b/site/content/reference/weapons/AGM_45A.md @@ -0,0 +1,3 @@ +--- +aliases: [Shrike] +--- diff --git a/site/content/reference/weapons/AGM_45B.md b/site/content/reference/weapons/AGM_45B.md new file mode 100644 index 00000000..0ee566be --- /dev/null +++ b/site/content/reference/weapons/AGM_45B.md @@ -0,0 +1,3 @@ +--- +aliases: [Shrike] +--- diff --git a/site/content/reference/weapons/AGM_65A.md b/site/content/reference/weapons/AGM_65A.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65A.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65B.md b/site/content/reference/weapons/AGM_65B.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65B.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65D.md b/site/content/reference/weapons/AGM_65D.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65D.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65E.md b/site/content/reference/weapons/AGM_65E.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65E.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65F.md b/site/content/reference/weapons/AGM_65F.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65F.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65G.md b/site/content/reference/weapons/AGM_65G.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65G.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65H.md b/site/content/reference/weapons/AGM_65H.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65H.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65K.md b/site/content/reference/weapons/AGM_65K.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65K.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_65L.md b/site/content/reference/weapons/AGM_65L.md new file mode 100644 index 00000000..c53d9d32 --- /dev/null +++ b/site/content/reference/weapons/AGM_65L.md @@ -0,0 +1,3 @@ +--- +aliases: [Maverick] +--- diff --git a/site/content/reference/weapons/AGM_84A.md b/site/content/reference/weapons/AGM_84A.md new file mode 100644 index 00000000..3f7d57f2 --- /dev/null +++ b/site/content/reference/weapons/AGM_84A.md @@ -0,0 +1,3 @@ +--- +aliases: [Harpoon SLAM] +--- diff --git a/site/content/reference/weapons/AGM_84D.md b/site/content/reference/weapons/AGM_84D.md new file mode 100644 index 00000000..3f7d57f2 --- /dev/null +++ b/site/content/reference/weapons/AGM_84D.md @@ -0,0 +1,3 @@ +--- +aliases: [Harpoon SLAM] +--- diff --git a/site/content/reference/weapons/AGM_84E.md b/site/content/reference/weapons/AGM_84E.md new file mode 100644 index 00000000..3f7d57f2 --- /dev/null +++ b/site/content/reference/weapons/AGM_84E.md @@ -0,0 +1,3 @@ +--- +aliases: [Harpoon SLAM] +--- diff --git a/site/content/reference/weapons/AGM_84H.md b/site/content/reference/weapons/AGM_84H.md new file mode 100644 index 00000000..3f7d57f2 --- /dev/null +++ b/site/content/reference/weapons/AGM_84H.md @@ -0,0 +1,3 @@ +--- +aliases: [Harpoon SLAM] +--- diff --git a/site/content/reference/weapons/AGM_88.md b/site/content/reference/weapons/AGM_88.md new file mode 100644 index 00000000..5250f564 --- /dev/null +++ b/site/content/reference/weapons/AGM_88.md @@ -0,0 +1,3 @@ +--- +aliases: [HARM] +--- diff --git a/site/content/reference/weapons/AIM-7E-2.md b/site/content/reference/weapons/AIM-7E-2.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/AIM-7E-2.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/AIM-7E.md b/site/content/reference/weapons/AIM-7E.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/AIM-7E.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/AIM-7F.md b/site/content/reference/weapons/AIM-7F.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/AIM-7F.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/AIM-7MH.md b/site/content/reference/weapons/AIM-7MH.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/AIM-7MH.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/AIM-7P.md b/site/content/reference/weapons/AIM-7P.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/AIM-7P.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/AIM-9E.md b/site/content/reference/weapons/AIM-9E.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM-9E.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM-9J.md b/site/content/reference/weapons/AIM-9J.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM-9J.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM-9JULI.md b/site/content/reference/weapons/AIM-9JULI.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM-9JULI.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM-9L.md b/site/content/reference/weapons/AIM-9L.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM-9L.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM-9P.md b/site/content/reference/weapons/AIM-9P.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM-9P.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM-9P3.md b/site/content/reference/weapons/AIM-9P3.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM-9P3.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM-9P5.md b/site/content/reference/weapons/AIM-9P5.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM-9P5.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM_120.md b/site/content/reference/weapons/AIM_120.md new file mode 100644 index 00000000..beb8d0af --- /dev/null +++ b/site/content/reference/weapons/AIM_120.md @@ -0,0 +1,3 @@ +--- +aliases: [AMRAAM] +--- diff --git a/site/content/reference/weapons/AIM_120C.md b/site/content/reference/weapons/AIM_120C.md new file mode 100644 index 00000000..b8665dd1 --- /dev/null +++ b/site/content/reference/weapons/AIM_120C.md @@ -0,0 +1,11 @@ +--- +aliases: [AMRAAM] +--- + +The AIM-120C is the Advanced Medium-Range Air-to-Air Missile most Western fighters in +DCS carry. Its flight model has a single boost stage; compare its +[zero-lift drag](/compare/?s=weapons&f=flight.aerodynamics.cx0&r=AIM_120C,AIM_120) with +the AIM-120B to see the clipped-fin airframe. + +DCS states its maximum range (`rangeKm`) separately from the AI's `Range_max` +(`flight.rangeMaxM`); neither is a launch envelope. diff --git a/site/content/reference/weapons/AIM_54.md b/site/content/reference/weapons/AIM_54.md new file mode 100644 index 00000000..5755b5cc --- /dev/null +++ b/site/content/reference/weapons/AIM_54.md @@ -0,0 +1,3 @@ +--- +aliases: [Phoenix] +--- diff --git a/site/content/reference/weapons/AIM_54A_Mk47.md b/site/content/reference/weapons/AIM_54A_Mk47.md new file mode 100644 index 00000000..5755b5cc --- /dev/null +++ b/site/content/reference/weapons/AIM_54A_Mk47.md @@ -0,0 +1,3 @@ +--- +aliases: [Phoenix] +--- diff --git a/site/content/reference/weapons/AIM_54A_Mk60.md b/site/content/reference/weapons/AIM_54A_Mk60.md new file mode 100644 index 00000000..5755b5cc --- /dev/null +++ b/site/content/reference/weapons/AIM_54A_Mk60.md @@ -0,0 +1,3 @@ +--- +aliases: [Phoenix] +--- diff --git a/site/content/reference/weapons/AIM_54C_Mk47.md b/site/content/reference/weapons/AIM_54C_Mk47.md new file mode 100644 index 00000000..5755b5cc --- /dev/null +++ b/site/content/reference/weapons/AIM_54C_Mk47.md @@ -0,0 +1,3 @@ +--- +aliases: [Phoenix] +--- diff --git a/site/content/reference/weapons/AIM_54C_Mk60.md b/site/content/reference/weapons/AIM_54C_Mk60.md new file mode 100644 index 00000000..5755b5cc --- /dev/null +++ b/site/content/reference/weapons/AIM_54C_Mk60.md @@ -0,0 +1,3 @@ +--- +aliases: [Phoenix] +--- diff --git a/site/content/reference/weapons/AIM_7.md b/site/content/reference/weapons/AIM_7.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/AIM_7.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/AIM_9.md b/site/content/reference/weapons/AIM_9.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM_9.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/AIM_9X.md b/site/content/reference/weapons/AIM_9X.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/AIM_9X.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/GAR-8.md b/site/content/reference/weapons/GAR-8.md new file mode 100644 index 00000000..0c384148 --- /dev/null +++ b/site/content/reference/weapons/GAR-8.md @@ -0,0 +1,3 @@ +--- +aliases: [Sidewinder] +--- diff --git a/site/content/reference/weapons/GBU_10.md b/site/content/reference/weapons/GBU_10.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_10.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_11.md b/site/content/reference/weapons/GBU_11.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_11.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_12.md b/site/content/reference/weapons/GBU_12.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_12.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_15_V_1_B.md b/site/content/reference/weapons/GBU_15_V_1_B.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_15_V_1_B.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_15_V_31_B.md b/site/content/reference/weapons/GBU_15_V_31_B.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_15_V_31_B.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_16.md b/site/content/reference/weapons/GBU_16.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_16.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_24.md b/site/content/reference/weapons/GBU_24.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_24.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_24E.md b/site/content/reference/weapons/GBU_24E.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_24E.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_27.md b/site/content/reference/weapons/GBU_27.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_27.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_28.md b/site/content/reference/weapons/GBU_28.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/GBU_28.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/GBU_31.md b/site/content/reference/weapons/GBU_31.md new file mode 100644 index 00000000..57256636 --- /dev/null +++ b/site/content/reference/weapons/GBU_31.md @@ -0,0 +1,3 @@ +--- +aliases: [JDAM] +--- diff --git a/site/content/reference/weapons/GBU_31_V_2B.md b/site/content/reference/weapons/GBU_31_V_2B.md new file mode 100644 index 00000000..57256636 --- /dev/null +++ b/site/content/reference/weapons/GBU_31_V_2B.md @@ -0,0 +1,3 @@ +--- +aliases: [JDAM] +--- diff --git a/site/content/reference/weapons/GBU_31_V_3B.md b/site/content/reference/weapons/GBU_31_V_3B.md new file mode 100644 index 00000000..57256636 --- /dev/null +++ b/site/content/reference/weapons/GBU_31_V_3B.md @@ -0,0 +1,3 @@ +--- +aliases: [JDAM] +--- diff --git a/site/content/reference/weapons/GBU_31_V_4B.md b/site/content/reference/weapons/GBU_31_V_4B.md new file mode 100644 index 00000000..57256636 --- /dev/null +++ b/site/content/reference/weapons/GBU_31_V_4B.md @@ -0,0 +1,3 @@ +--- +aliases: [JDAM] +--- diff --git a/site/content/reference/weapons/GBU_32_V_2B.md b/site/content/reference/weapons/GBU_32_V_2B.md new file mode 100644 index 00000000..57256636 --- /dev/null +++ b/site/content/reference/weapons/GBU_32_V_2B.md @@ -0,0 +1,3 @@ +--- +aliases: [JDAM] +--- diff --git a/site/content/reference/weapons/GBU_38.md b/site/content/reference/weapons/GBU_38.md new file mode 100644 index 00000000..57256636 --- /dev/null +++ b/site/content/reference/weapons/GBU_38.md @@ -0,0 +1,3 @@ +--- +aliases: [JDAM] +--- diff --git a/site/content/reference/weapons/HB-AIM-7E-2.md b/site/content/reference/weapons/HB-AIM-7E-2.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/HB-AIM-7E-2.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/HB-AIM-7E.md b/site/content/reference/weapons/HB-AIM-7E.md new file mode 100644 index 00000000..f5bf67c4 --- /dev/null +++ b/site/content/reference/weapons/HB-AIM-7E.md @@ -0,0 +1,3 @@ +--- +aliases: [Sparrow] +--- diff --git a/site/content/reference/weapons/HB_F4E_GBU15V1.md b/site/content/reference/weapons/HB_F4E_GBU15V1.md new file mode 100644 index 00000000..4741aae7 --- /dev/null +++ b/site/content/reference/weapons/HB_F4E_GBU15V1.md @@ -0,0 +1,3 @@ +--- +aliases: [Paveway] +--- diff --git a/site/content/reference/weapons/Kh25MP_PRGS1VP.md b/site/content/reference/weapons/Kh25MP_PRGS1VP.md new file mode 100644 index 00000000..22eba350 --- /dev/null +++ b/site/content/reference/weapons/Kh25MP_PRGS1VP.md @@ -0,0 +1,3 @@ +--- +aliases: [Karen] +--- diff --git a/site/content/reference/weapons/P_27P.md b/site/content/reference/weapons/P_27P.md new file mode 100644 index 00000000..95fc2b0a --- /dev/null +++ b/site/content/reference/weapons/P_27P.md @@ -0,0 +1,3 @@ +--- +aliases: [Alamo] +--- diff --git a/site/content/reference/weapons/P_27PE.md b/site/content/reference/weapons/P_27PE.md new file mode 100644 index 00000000..95fc2b0a --- /dev/null +++ b/site/content/reference/weapons/P_27PE.md @@ -0,0 +1,3 @@ +--- +aliases: [Alamo] +--- diff --git a/site/content/reference/weapons/P_27T.md b/site/content/reference/weapons/P_27T.md new file mode 100644 index 00000000..95fc2b0a --- /dev/null +++ b/site/content/reference/weapons/P_27T.md @@ -0,0 +1,3 @@ +--- +aliases: [Alamo] +--- diff --git a/site/content/reference/weapons/P_27TE.md b/site/content/reference/weapons/P_27TE.md new file mode 100644 index 00000000..95fc2b0a --- /dev/null +++ b/site/content/reference/weapons/P_27TE.md @@ -0,0 +1,3 @@ +--- +aliases: [Alamo] +--- diff --git a/site/content/reference/weapons/P_33E.md b/site/content/reference/weapons/P_33E.md new file mode 100644 index 00000000..eca49a8c --- /dev/null +++ b/site/content/reference/weapons/P_33E.md @@ -0,0 +1,3 @@ +--- +aliases: [Amos] +--- diff --git a/site/content/reference/weapons/P_60.md b/site/content/reference/weapons/P_60.md new file mode 100644 index 00000000..2f97da57 --- /dev/null +++ b/site/content/reference/weapons/P_60.md @@ -0,0 +1,3 @@ +--- +aliases: [Aphid] +--- diff --git a/site/content/reference/weapons/P_73.md b/site/content/reference/weapons/P_73.md new file mode 100644 index 00000000..b5d7f101 --- /dev/null +++ b/site/content/reference/weapons/P_73.md @@ -0,0 +1,3 @@ +--- +aliases: [Archer] +--- diff --git a/site/content/reference/weapons/P_77.md b/site/content/reference/weapons/P_77.md new file mode 100644 index 00000000..8f1329f2 --- /dev/null +++ b/site/content/reference/weapons/P_77.md @@ -0,0 +1,3 @@ +--- +aliases: [Adder] +--- diff --git a/site/content/reference/weapons/R-60.md b/site/content/reference/weapons/R-60.md new file mode 100644 index 00000000..2f97da57 --- /dev/null +++ b/site/content/reference/weapons/R-60.md @@ -0,0 +1,3 @@ +--- +aliases: [Aphid] +--- diff --git a/site/content/reference/weapons/X_25ML.md b/site/content/reference/weapons/X_25ML.md new file mode 100644 index 00000000..22eba350 --- /dev/null +++ b/site/content/reference/weapons/X_25ML.md @@ -0,0 +1,3 @@ +--- +aliases: [Karen] +--- diff --git a/site/content/reference/weapons/X_25MP.md b/site/content/reference/weapons/X_25MP.md new file mode 100644 index 00000000..22eba350 --- /dev/null +++ b/site/content/reference/weapons/X_25MP.md @@ -0,0 +1,3 @@ +--- +aliases: [Karen] +--- diff --git a/site/content/reference/weapons/X_25MR.md b/site/content/reference/weapons/X_25MR.md new file mode 100644 index 00000000..22eba350 --- /dev/null +++ b/site/content/reference/weapons/X_25MR.md @@ -0,0 +1,3 @@ +--- +aliases: [Karen] +--- diff --git a/site/content/reference/weapons/X_29L.md b/site/content/reference/weapons/X_29L.md new file mode 100644 index 00000000..d2ef8193 --- /dev/null +++ b/site/content/reference/weapons/X_29L.md @@ -0,0 +1,3 @@ +--- +aliases: [Kedge] +--- diff --git a/site/content/reference/weapons/X_29T.md b/site/content/reference/weapons/X_29T.md new file mode 100644 index 00000000..d2ef8193 --- /dev/null +++ b/site/content/reference/weapons/X_29T.md @@ -0,0 +1,3 @@ +--- +aliases: [Kedge] +--- diff --git a/site/content/reference/weapons/X_29TE.md b/site/content/reference/weapons/X_29TE.md new file mode 100644 index 00000000..d2ef8193 --- /dev/null +++ b/site/content/reference/weapons/X_29TE.md @@ -0,0 +1,3 @@ +--- +aliases: [Kedge] +--- diff --git a/site/content/reference/weapons/X_31A.md b/site/content/reference/weapons/X_31A.md new file mode 100644 index 00000000..dcba1fbb --- /dev/null +++ b/site/content/reference/weapons/X_31A.md @@ -0,0 +1,3 @@ +--- +aliases: [Krypton] +--- diff --git a/site/content/reference/weapons/X_31P.md b/site/content/reference/weapons/X_31P.md new file mode 100644 index 00000000..dcba1fbb --- /dev/null +++ b/site/content/reference/weapons/X_31P.md @@ -0,0 +1,3 @@ +--- +aliases: [Krypton] +--- diff --git a/site/content/reference/weapons/X_58.md b/site/content/reference/weapons/X_58.md new file mode 100644 index 00000000..7fd52dc5 --- /dev/null +++ b/site/content/reference/weapons/X_58.md @@ -0,0 +1,3 @@ +--- +aliases: [Kilter] +--- diff --git a/site/content/reference/weapons/_index.md b/site/content/reference/weapons/_index.md new file mode 100644 index 00000000..5d42d40d --- /dev/null +++ b/site/content/reference/weapons/_index.md @@ -0,0 +1,8 @@ +--- +seeAlso: + - label: Weapon flight models compared + href: /compare/?s=weapons&f=flight.aerodynamics.cx0 +--- +Every missile, bomb, rocket and torpedo DCS defines, joined with its flight model +(`weapon_flight`) where it has one. Masses and ranges are what DCS states in the weapon +record; aerodynamic tables are sampled by Mach number from Mach 0. diff --git a/site/e2e/api.spec.ts b/site/e2e/api.spec.ts new file mode 100644 index 00000000..a8b5584f --- /dev/null +++ b/site/e2e/api.spec.ts @@ -0,0 +1,87 @@ +import { expect, test } from "@playwright/test"; + +test("API home -> Unit -> getByName anchor", async ({ page }) => { + await page.goto("/api/"); + await expect(page.getByRole("heading", { level: 1, name: "DCS World Lua API" })).toBeVisible(); + await page + .locator("#mission") + .getByRole("link", { name: /^Unit\b/ }) + .first() + .click(); + await expect(page).toHaveURL(/\/api\/Unit\/$/); + await expect(page.getByRole("heading", { level: 1, name: "Unit" })).toBeVisible(); + + await page + .getByRole("navigation", { name: "On this page" }) + .getByRole("link", { name: "getByName", exact: true }) + .click(); + await expect(page).toHaveURL(/\/api\/Unit\/#getByName$/); + const entry = page.locator("article#getByName"); + await expect(entry).toBeInViewport(); + await expect(entry.locator(".api-sig")).toHaveText("Unit.getByName(name: string): Unit?"); + // Every type name links to its page. + await expect(entry.locator(".api-sig a", { hasText: "Unit" })).toHaveAttribute( + "href", + /\/api\/Unit\/$/, + ); + // Hand-written overlay renders, marked as such. + await expect(entry.getByText("Hand-written")).toBeVisible(); + // Inherited methods link to their origin. + await expect(page.locator("#inherited a", { hasText: "Unit:isExist" })).toHaveAttribute( + "href", + /\/api\/Object\/#isExist$/, + ); +}); + +test("palette finds trigger.action.outText", async ({ page }) => { + await page.goto("/api/"); + await page.keyboard.press("Control+k"); + const input = page.getByRole("combobox").first(); + await input.fill("outText"); + const option = page.getByRole("option", { name: /trigger\.action\.outText/ }).first(); + await expect(option).toBeVisible(); + await option.click(); + await expect(page).toHaveURL(/\/api\/trigger\/action\/#outText$/); + await expect(page.locator("article#outText .api-sig")).toContainText( + "trigger.action.outText(text: string, displayTime: number, clearview?: boolean)", + ); +}); + +test("large enum is filterable and links to reference records", async ({ page }) => { + await page.goto("/api/types/DcsId/WeaponType/"); + const filter = page.getByRole("searchbox", { name: /Filter DcsId.WeaponType values/ }); + await filter.fill("AIM_120C"); + const rows = page.locator("#values tbody tr"); + await expect(rows.first()).toContainText("AIM_120C"); + await expect(rows.first().getByRole("link")).toHaveAttribute("href", /\/weapons\//); +}); + +test("deep links and reloads render from the database", async ({ page }) => { + await page.goto("/api/types/DcsTask/Task/Orbit/"); + await expect(page.getByRole("heading", { level: 1, name: "DcsTask.Task.Orbit" })).toBeVisible(); + await page.getByRole("link", { name: "DcsTask.Task.OrbitParams" }).first().click(); + await expect(page).toHaveURL(/\/api\/types\/DcsTask\/Task\/OrbitParams\/$/); + await expect( + page.getByRole("heading", { level: 1, name: "DcsTask.Task.OrbitParams" }), + ).toBeVisible(); + await page.goBack(); + await expect(page.getByRole("heading", { level: 1, name: "DcsTask.Task.Orbit" })).toBeVisible(); + + await page.goto("/api/Object/#isExist"); + await expect(page.locator("article#isExist")).toBeInViewport(); + await page.reload(); + await expect(page.locator("article#isExist")).toBeInViewport(); + + await page.goto("/api/"); + await page.getByRole("button", { name: "Hooks", exact: true }).click(); + await expect(page.locator("#mission")).toHaveCount(0); + await page + .locator("#hooks") + .getByRole("link", { name: /^DCS\b/ }) + .first() + .click(); + await expect(page).toHaveURL(/\/api\/hooks\/DCS\/$/); + await expect(page.getByRole("heading", { level: 1, name: "DCS", exact: true })).toBeVisible(); + await page.goto("/api/NoSuchGlobal/"); + await expect(page.getByRole("heading", { name: "No such API page" })).toBeVisible(); +}); diff --git a/site/e2e/reference.spec.ts b/site/e2e/reference.spec.ts new file mode 100644 index 00000000..12903ee3 --- /dev/null +++ b/site/e2e/reference.spec.ts @@ -0,0 +1,146 @@ +import { expect, type Page, test } from "@playwright/test"; + +async function openPalette(page: Page) { + // The shortcut is bound once the page has hydrated. + await page.waitForLoadState("networkidle"); + await page.keyboard.press("Control+k"); + const dialog = page.getByRole("dialog", { name: "Search the reference" }); + await expect(dialog).toBeVisible(); + return dialog; +} + +test("palette searches across series, groups results and filters by section", async ({ page }) => { + await page.goto("/"); + const dialog = await openPalette(page); + const box = dialog.getByRole("combobox"); + await box.fill("batumi"); + await expect(dialog.getByRole("group", { name: "Airbases" })).toBeVisible(); + await expect( + dialog.getByRole("group", { name: "Airbases" }).getByRole("option").first(), + ).toContainText("Batumi"); + await box.fill("sidewinder"); + await expect(dialog.getByRole("group", { name: "Weapons" })).toBeVisible(); + await expect(dialog.getByRole("group", { name: "Stores" })).toBeVisible(); + await dialog.getByRole("button", { name: /^Stores/ }).click(); + await expect(dialog.getByRole("group", { name: "Weapons" })).toHaveCount(0); + await box.fill("amraam"); + await dialog.getByRole("button", { name: "All", exact: true }).click(); + await dialog + .getByRole("option", { name: /^AIM-120C\b/ }) + .first() + .click(); + await expect(page).toHaveURL(/\/weapons\/AIM_120C\/$/); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("AIM-120C"); +}); + +test("aircraft page links to a store, and the store links back", async ({ page }) => { + await page.goto("/aircraft/F-16C_50/"); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("F-16CM bl.50"); + const stations = page.locator("#stations"); + await stations.getByRole("link", { name: "AIM-9X Sidewinder IR AAM" }).first().click(); + await expect(page).toHaveURL(/\/stores\/%7B5CE2FF2A[^/]*%7D\/$/); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("AIM-9X Sidewinder IR AAM"); + const refBy = page.locator("#referenced-by"); + await refBy.getByRole("link", { name: "F-16CM bl.50" }).click(); + await expect(page).toHaveURL(/\/aircraft\/F-16C_50\/$/); +}); + +test("right-click a field on an aircraft and compare it across aircraft", async ({ page }) => { + await page.goto("/aircraft/F-16C_50/"); + const field = page.locator('.field[data-field="aero.maxTakeoffKg"]'); + await field.scrollIntoViewIfNeeded(); + await field.click({ button: "right", position: { x: 40, y: 12 } }); + await page.getByRole("menuitem", { name: /Compare Max takeoff across aircraft/ }).click(); + await expect(page).toHaveURL(/\/compare\/\?s=aircraft&f=aero\.maxTakeoffKg&r=F-16C_50/); + await expect( + page.getByRole("heading", { name: /All \d+ aircraft with this field/ }), + ).toBeVisible(); +}); + +test("weapon compare: right-click cx0, add R-27ER, the chart shows two series", async ({ + page, +}) => { + await page.goto("/weapons/AIM_120C/"); + const cx0 = page.locator('[data-field="flight.aerodynamics.cx0"]'); + await cx0.scrollIntoViewIfNeeded(); + await cx0.click({ button: "right", position: { x: 40, y: 12 } }); + await page.getByRole("menuitem", { name: /Compare Zero-lift drag coefficient/ }).click(); + await expect(page).toHaveURL(/\/compare\/\?s=weapons&f=flight\.aerodynamics\.cx0&r=AIM_120C/); + + const chart = page.locator(".chart svg").first(); + await expect(chart.locator("path[data-series]")).toHaveCount(1); + + const add = page.getByRole("combobox", { name: "Add a weapon to compare" }); + await add.fill("R-27ER"); + await expect(page.getByRole("option", { name: /^R-27ER\b/ }).first()).toBeVisible(); + await add.press("Enter"); + + await expect(chart.locator("path[data-series]")).toHaveCount(2); + await expect(chart.locator('path[data-series="P_27PE"]')).toHaveCount(1); + await expect(page).toHaveURL(/r=AIM_120C,P_27PE/); +}); + +test("keyboard: C on a focused field jumps to its comparison", async ({ page }) => { + await page.goto("/weapons/P_27PE/"); + await page.locator('.field[data-field="massKg"]').first().focus(); + await page.keyboard.press("c"); + await expect(page).toHaveURL(/\/compare\/\?s=weapons&f=massKg&r=P_27PE/); + await expect( + page.getByRole("heading", { name: /All \d+ weapons with this field/ }), + ).toBeVisible(); +}); + +test("units switch: AIM-120C mass and range in imperial, and back", async ({ page }) => { + await page.goto("/weapons/AIM_120C/"); + const mass = page.locator('.readout[data-field="massKg"] .readout-value'); + const range = page.locator('.readout[data-field="rangeKm"] .readout-value'); + await expect(mass).toHaveText(/161\.48\s*kg/); + await page.getByRole("button", { name: "Imperial" }).click(); + await expect(mass).toHaveText(/356\s*lb/); + await expect(range).toHaveText(/32\.9\d?\s*nm/); + await page.reload(); + await expect(mass).toHaveText(/356\s*lb/); + await page.getByRole("button", { name: "Metric" }).click(); + await expect(mass).toHaveText(/161\.48\s*kg/); + await page.goto("/weapons/AIM_120C/?units=imperial"); + await expect(mass).toHaveText(/356\s*lb/); +}); + +test("deep links and reloads land on the record (the host serves the shell)", async ({ page }) => { + await page.goto("/weapons/AIM_120C/"); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("AIM-120C"); + await expect(page).toHaveTitle(/AIM-120C/); + await page.reload(); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("AIM-120C"); + await page.goBack().catch(() => {}); + await page.goto("/weapons/NO_SUCH_WEAPON/"); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("No such weapon"); + await page.goto("/no-such-series/"); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("Page not found"); +}); + +test("links inside the reference navigate without a reload, and back works", async ({ page }) => { + await page.goto("/weapons/AIM_120C/"); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("AIM-120C"); + await page.evaluate(() => { + (window as unknown as { __marker: number }).__marker = 1; + }); + await page.locator("#referenced-by").getByRole("link", { name: "F-16CM bl.50" }).first().click(); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("F-16CM bl.50"); + expect(await page.evaluate(() => (window as unknown as { __marker?: number }).__marker)).toBe(1); + await page.goBack(); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("AIM-120C"); +}); + +test("airbase and sensor pages render with their links", async ({ page }) => { + await page.goto("/sensors/AN%2FAPG-68/"); + await expect(page.getByRole("heading", { level: 1 })).toContainText("APG-68"); + await expect( + page.locator("#referenced-by").getByRole("link", { name: "F-16CM bl.50" }).first(), + ).toBeVisible(); + await page.goto("/airbases/"); + await page.getByRole("searchbox").first().fill("Batumi"); + await page.getByRole("link", { name: "Batumi" }).first().click(); + await expect(page.getByRole("heading", { level: 1 })).toHaveText("Batumi"); + await expect(page.locator("#runways")).toBeVisible(); +}); diff --git a/site/next-env.d.ts b/site/next-env.d.ts new file mode 100644 index 00000000..ce4e94a6 --- /dev/null +++ b/site/next-env.d.ts @@ -0,0 +1,7 @@ +/// +/// +import "./.next/types/routes.d.ts"; +import "./.next/types/root-params.d.ts"; + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/site/next.config.ts b/site/next.config.ts new file mode 100644 index 00000000..a31a5e1d --- /dev/null +++ b/site/next.config.ts @@ -0,0 +1,15 @@ +import type { NextConfig } from "next"; + +// GitHub Pages serves a project site under /; set SITE_BASE_PATH=/dcs-world-schema there. +const basePath = process.env.SITE_BASE_PATH ?? ""; + +const nextConfig: NextConfig = { + output: "export", + basePath, + trailingSlash: true, + images: { unoptimized: true }, + env: { NEXT_PUBLIC_BASE_PATH: basePath }, + poweredByHeader: false, +}; + +export default nextConfig; diff --git a/site/package.json b/site/package.json new file mode 100644 index 00000000..4f2d985f --- /dev/null +++ b/site/package.json @@ -0,0 +1,48 @@ +{ + "name": "dcs-world-reference-site", + "version": "0.0.1", + "private": true, + "type": "module", + "packageManager": "pnpm@11.0.0", + "engines": { + "node": ">=22" + }, + "scripts": { + "data": "tsx scripts/copy-sqlite-assets.ts && tsx scripts/build-overlays.ts && tsx scripts/build-api-overlays.ts", + "build:api": "tsx scripts/build-api-overlays.ts", + "predev": "tsx scripts/copy-sqlite-assets.ts && tsx scripts/build-overlays.ts && tsx scripts/build-api-overlays.ts", + "dev": "next dev --port 3210", + "prebuild": "tsx scripts/copy-sqlite-assets.ts && tsx scripts/build-overlays.ts && tsx scripts/build-api-overlays.ts", + "build": "next build", + "serve": "node scripts/serve-out.mjs", + "lint": "biome check .", + "format": "biome check --write .", + "typecheck": "tsc --noEmit", + "test": "vitest run", + "e2e": "playwright test", + "check:overlays": "tsx scripts/check-overlays.ts" + }, + "dependencies": { + "@fontsource/barlow": "^5.3.0", + "@fontsource/barlow-condensed": "^5.3.0", + "@fontsource/chakra-petch": "^5.3.0", + "@fontsource/ibm-plex-mono": "^5.3.0", + "marked": "^18.0.14", + "minisearch": "^7.2.0", + "next": "^16.3.8", + "react": "^19.3.0", + "react-dom": "^19.3.0", + "sql.js-httpvfs": "^0.8.12" + }, + "devDependencies": { + "@biomejs/biome": "^2.5.15", + "@playwright/test": "^1.60.0", + "@types/node": "^24.19.1", + "@types/react": "^19.3.0", + "@types/react-dom": "^19.3.0", + "tsx": "^4.23.15", + "typescript": "^5.9.3", + "vitest": "^3.2.7", + "yaml": "^2.9.1" + } +} diff --git a/site/playwright.config.ts b/site/playwright.config.ts new file mode 100644 index 00000000..64b18a69 --- /dev/null +++ b/site/playwright.config.ts @@ -0,0 +1,19 @@ +import { defineConfig } from "@playwright/test"; + +const port = Number(process.env.SITE_PORT ?? 3211); + +export default defineConfig({ + testDir: "./e2e", + testMatch: "**/*.spec.ts", + outputDir: "test-results", + timeout: 60_000, + expect: { timeout: 10_000 }, + reporter: [["line"]], + use: { baseURL: `http://127.0.0.1:${port}` }, + // Serves the static export; run `pnpm build` first. + webServer: { + command: `node scripts/serve-out.mjs ${port}`, + url: `http://127.0.0.1:${port}/`, + reuseExistingServer: true, + }, +}); diff --git a/site/pnpm-lock.yaml b/site/pnpm-lock.yaml new file mode 100644 index 00000000..ca73821a --- /dev/null +++ b/site/pnpm-lock.yaml @@ -0,0 +1,1827 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@fontsource/barlow': + specifier: ^5.3.0 + version: 5.3.0 + '@fontsource/barlow-condensed': + specifier: ^5.3.0 + version: 5.3.0 + '@fontsource/chakra-petch': + specifier: ^5.3.0 + version: 5.3.0 + '@fontsource/ibm-plex-mono': + specifier: ^5.3.0 + version: 5.3.0 + marked: + specifier: ^18.0.14 + version: 18.0.14 + minisearch: + specifier: ^7.2.0 + version: 7.2.0 + next: + specifier: ^16.3.8 + version: 16.3.8(@playwright/test@1.60.0)(@types/node@24.19.1)(react-dom@19.3.0(react@19.3.0))(react@19.3.0) + react: + specifier: ^19.3.0 + version: 19.3.0 + react-dom: + specifier: ^19.3.0 + version: 19.3.0(react@19.3.0) + sql.js-httpvfs: + specifier: ^0.8.12 + version: 0.8.12 + devDependencies: + '@biomejs/biome': + specifier: ^2.5.15 + version: 2.5.15 + '@playwright/test': + specifier: ^1.60.0 + version: 1.60.0 + '@types/node': + specifier: ^24.19.1 + version: 24.19.1 + '@types/react': + specifier: ^19.3.0 + version: 19.3.0 + '@types/react-dom': + specifier: ^19.3.0 + version: 19.3.0(@types/react@19.3.0) + tsx: + specifier: ^4.23.15 + version: 4.23.15 + typescript: + specifier: ^5.9.3 + version: 5.9.3 + vitest: + specifier: ^3.2.7 + version: 3.2.7(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1) + yaml: + specifier: ^2.9.1 + version: 2.9.1 + +packages: + + '@biomejs/biome@2.5.15': + resolution: {integrity: sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==} + engines: {node: '>=14.21.3'} + hasBin: true + + '@biomejs/cli-darwin-arm64@2.5.15': + resolution: {integrity: sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [darwin] + + '@biomejs/cli-darwin-x64@2.5.15': + resolution: {integrity: sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [darwin] + + '@biomejs/cli-linux-arm64-musl@2.5.15': + resolution: {integrity: sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@biomejs/cli-linux-arm64@2.5.15': + resolution: {integrity: sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@biomejs/cli-linux-x64-musl@2.5.15': + resolution: {integrity: sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@biomejs/cli-linux-x64@2.5.15': + resolution: {integrity: sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@biomejs/cli-win32-arm64@2.5.15': + resolution: {integrity: sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [win32] + + '@biomejs/cli-win32-x64@2.5.15': + resolution: {integrity: sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [win32] + + '@emnapi/runtime@1.11.3': + resolution: {integrity: sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==} + + '@esbuild/aix-ppc64@0.28.2': + resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.28.2': + resolution: {integrity: sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.28.2': + resolution: {integrity: sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.28.2': + resolution: {integrity: sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.28.2': + resolution: {integrity: sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.28.2': + resolution: {integrity: sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.28.2': + resolution: {integrity: sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.28.2': + resolution: {integrity: sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.28.2': + resolution: {integrity: sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.28.2': + resolution: {integrity: sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.28.2': + resolution: {integrity: sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.28.2': + resolution: {integrity: sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.28.2': + resolution: {integrity: sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.28.2': + resolution: {integrity: sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.28.2': + resolution: {integrity: sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.28.2': + resolution: {integrity: sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.28.2': + resolution: {integrity: sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.28.2': + resolution: {integrity: sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.28.2': + resolution: {integrity: sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.28.2': + resolution: {integrity: sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.28.2': + resolution: {integrity: sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.28.2': + resolution: {integrity: sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.28.2': + resolution: {integrity: sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.28.2': + resolution: {integrity: sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.28.2': + resolution: {integrity: sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.28.2': + resolution: {integrity: sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@fontsource/barlow-condensed@5.3.0': + resolution: {integrity: sha512-RA7MmIx0v3eQ6Gcf74qLVLOwLB0GpPOzx+eU9iG/AmCnSJGcIWYeU8y6CEMGZ210MGwGg5CZhzLkkvyZdTTk1g==} + + '@fontsource/barlow@5.3.0': + resolution: {integrity: sha512-tGR0y6QObRtKv71MOth44222+mdNFM/ZWFWDV1VLzNbG4oK9PNRlyJzmkck4vHAi9ibHBXgt4SlY51amFP55CA==} + + '@fontsource/chakra-petch@5.3.0': + resolution: {integrity: sha512-QZvbM/q2R6n1pg2x+TJPftZmBNS+ADU37L4Z4L/6UJIz+JZ/SRaEf8usPFRiP7Ht28sIideMu/Bm1SnGlSrwNw==} + + '@fontsource/ibm-plex-mono@5.3.0': + resolution: {integrity: sha512-eTgnZjZEGk1QtD3ZstF+Vclo2HLAni8YMy34/DxllwZvyz1lR/1RF/xTiAquOBO7MvqBx8D2Ig2WCPMVfdZu7Q==} + + '@img/colour@1.1.0': + resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==} + engines: {node: '>=18'} + + '@img/sharp-darwin-arm64@0.35.5': + resolution: {integrity: sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [darwin] + + '@img/sharp-darwin-x64@0.35.5': + resolution: {integrity: sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [darwin] + + '@img/sharp-freebsd-wasm32@0.35.5': + resolution: {integrity: sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==} + engines: {node: '>=20.9.0'} + os: [freebsd] + + '@img/sharp-libvips-darwin-arm64@1.3.4': + resolution: {integrity: sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==} + cpu: [arm64] + os: [darwin] + + '@img/sharp-libvips-darwin-x64@1.3.4': + resolution: {integrity: sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==} + cpu: [x64] + os: [darwin] + + '@img/sharp-libvips-linux-arm64@1.3.4': + resolution: {integrity: sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-arm@1.3.4': + resolution: {integrity: sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-ppc64@1.3.4': + resolution: {integrity: sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-riscv64@1.3.4': + resolution: {integrity: sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-s390x@1.3.4': + resolution: {integrity: sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-x64@1.3.4': + resolution: {integrity: sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linuxmusl-arm64@1.3.4': + resolution: {integrity: sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@img/sharp-libvips-linuxmusl-x64@1.3.4': + resolution: {integrity: sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@img/sharp-linux-arm64@0.35.5': + resolution: {integrity: sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-arm@0.35.5': + resolution: {integrity: sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==} + engines: {node: '>=20.9.0'} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-ppc64@0.35.5': + resolution: {integrity: sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==} + engines: {node: '>=20.9.0'} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-riscv64@0.35.5': + resolution: {integrity: sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==} + engines: {node: '>=20.9.0'} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-s390x@0.35.5': + resolution: {integrity: sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==} + engines: {node: '>=20.9.0'} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-x64@0.35.5': + resolution: {integrity: sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@img/sharp-linuxmusl-arm64@0.35.5': + resolution: {integrity: sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@img/sharp-linuxmusl-x64@0.35.5': + resolution: {integrity: sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@img/sharp-wasm32@0.35.5': + resolution: {integrity: sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==} + engines: {node: '>=20.9.0'} + + '@img/sharp-webcontainers-wasm32@0.35.5': + resolution: {integrity: sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==} + engines: {node: '>=20.9.0'} + cpu: [wasm32] + + '@img/sharp-win32-arm64@0.35.5': + resolution: {integrity: sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==} + engines: {node: '>=20.9.0'} + cpu: [arm64] + os: [win32] + + '@img/sharp-win32-ia32@0.35.5': + resolution: {integrity: sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==} + engines: {node: ^20.9.0} + cpu: [ia32] + os: [win32] + + '@img/sharp-win32-x64@0.35.5': + resolution: {integrity: sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==} + engines: {node: '>=20.9.0'} + cpu: [x64] + os: [win32] + + '@jridgewell/sourcemap-codec@1.6.0': + resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==} + + '@napi-rs/lzma-linux-x64-gnu@1.5.1': + resolution: {integrity: sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==} + engines: {node: ^22.20 || ^24.12 || >=25} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@next/env@16.3.8': + resolution: {integrity: sha512-Al9zqHVV7TJv0eFuOU4U7Lvv74PTih4Ch63sk2xCIpSTkE3udFnaOcnzP2lQVymiL7yS9Cj2iClUXlR3EQ5sEw==} + + '@next/swc-darwin-arm64@16.3.8': + resolution: {integrity: sha512-2JPRMh2nmQG5CiL7cXGL9AGwnPWJQ//cTtAUCT+w511QHk79SYz3LGv/pc5X643B/WEO0rvu3Yww0hqwt3kgeA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@next/swc-darwin-x64@16.3.8': + resolution: {integrity: sha512-GZtCCOBKJ4leVIT/Th0llWKhD1ca92lzbQiS5R5ON9QkoiFnilFsebDae1JU2a3HWoKMEmEZWGs1AGLavVM72Q==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@next/swc-linux-arm64-gnu@16.3.8': + resolution: {integrity: sha512-O659ygeQYqneJ1fBKMpFxIFqYkYswu8IAS1OCKK/4f3ZgJJm1dRz4fVJZRi/kLLWjnBKnebOePA4WNv+sV1pVA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@next/swc-linux-arm64-musl@16.3.8': + resolution: {integrity: sha512-dSjKSyWpzxoO1d3DIZZcP4XJcNaKeLmxQMFOiYl5vuBRMmweIqnAhty8tAmRsvTss779cK1FtYnDMj40e4TQlg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@next/swc-linux-x64-gnu@16.3.8': + resolution: {integrity: sha512-lbqOuz3RPRcv+o9msNsJw5x4+Y1ZwPTs6vmL6DCf7i0fZfvng/F59wyeDwqHIvV0mK//RBy/jJkZ+nCKsSMXjQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@next/swc-linux-x64-musl@16.3.8': + resolution: {integrity: sha512-+316WswI8ScVgZeUd+1KGaXkHhaYQzCjvH/05TZSpJ8zBizb1a4G7DtO7F12jcBIqMOtsz9ji1t48fmKtzqsGA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@next/swc-win32-arm64-msvc@16.3.8': + resolution: {integrity: sha512-ji0gd4kMYUxO+1fJBIbiBVRCjzG/lloiyCccnlebvb1ZJ5qXCPZqYg4Jl1DrrixnWNMKylzgpmMWx0yNDYXlzw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@next/swc-win32-x64-msvc@16.3.8': + resolution: {integrity: sha512-WcTlaKt/TWkh5kUjdJcUmB1XgZ+1c6fz4Y9fDHL73YNSdGaUWjceeWrrlwF0nv19iABYWC4iAq1oX1w4Bn0vfg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@playwright/test@1.60.0': + resolution: {integrity: sha512-O71yZIbAh/PxDMNGns37GHBIfrVkEVyn+AXyIa5dOTfb4/xNvRWV+Vv/NMbNCtODB/pO7vLlF2OTmMVLhmr7Ag==} + engines: {node: '>=18'} + hasBin: true + + '@rollup/rollup-android-arm-eabi@4.64.0': + resolution: {integrity: sha512-FLLpX941CD/7aBvX3GqLGBM9OvY5PGXTryPJkG5r5/OuBpZpV5k45Uo3RxAvqd35tsyc3hH1bhtz921IKzoIzg==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.64.0': + resolution: {integrity: sha512-iI32XM/jnDYJsvx5ai/za/7gWO9XoSeFFtU06/ZCaRgyilfJOjaopD3nOpk2WrTCGOyeDt4hleUiGOAnd5tHNg==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.64.0': + resolution: {integrity: sha512-dRBZlbt2sEtF8Mn4MODThze9fIPdDoOhVSlXMAKy5dQbOYK9pOOoPY4Fat3OTtr0+8zbJo5TTZwlsfxY/kDNJg==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.64.0': + resolution: {integrity: sha512-Y3whrJOMucfkhgNkvcM93M6j8C53iEAMmPMYD99C6G1kUy4ELigLWk9ar2/4aCBSRgsql0zdlOemLgW2m5GZgQ==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.64.0': + resolution: {integrity: sha512-S6S1GEzPjFF6IONYJX3AKt/799+8RgBgCcwRnUo+Ep1IvBxUbw5M51iU0TDdK2NWWVnSvCQ8yi6Em0fGASMOng==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.64.0': + resolution: {integrity: sha512-Ed1DPoFENkXj4IGzSB12SesV40iP6LxCCrbTIkSGIQBpOOxpBM+0kj62lmaeIHfMWTDoddqTOtqc7s8LYfn+Pw==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.64.0': + resolution: {integrity: sha512-J/6xhutJPtFyIkmHdf4olOdHHKH5kOJNumojdWn+Elv5ICEYTVOa362Vw27TxsK0BLzb1le3EDlO3UbvFK1lnQ==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm-musleabihf@4.64.0': + resolution: {integrity: sha512-G4L/Nnx59d2LvDoV/P4S5lZ7oVLT6hodOHMacqjiq2LL2gts86KbkEBTYL53+fBt0odhf7XPIbIATGoYiJctxg==} + cpu: [arm] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-arm64-gnu@4.64.0': + resolution: {integrity: sha512-zF16pvJDEUksGYRbfnXne7pdklAyj2XDmJeYKgP93oq0cUyX9Y8O7lUo1R+IY1GagP/YBvCEDCe7eEcAKpw//g==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm64-musl@4.64.0': + resolution: {integrity: sha512-nIggWn8n+w12+R5lsV+PYYoUY8vuObxPAQqJI7WES+9v0qspYuAHoZMfYM0yLxlipasT5BY9ht5W8t5c/rSCkg==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-loong64-gnu@4.64.0': + resolution: {integrity: sha512-WLOTiHPzszP0dxIMsHpFeDSOSB5I49Mj8K4+yKE3H1X/D0JRG5XZ5jrctJLMjnUc/LUzaKiwq6EHWNJ8pup8PA==} + cpu: [loong64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-loong64-musl@4.64.0': + resolution: {integrity: sha512-35RK9aRhh7g7Pmeu5gQ01aCvrhXzj9LoBE6xtUcEH1ns+nyTaSzxSpADmBQINu4QiTDGvmQYwo1j5hlg1rRXFw==} + cpu: [loong64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-ppc64-gnu@4.64.0': + resolution: {integrity: sha512-RqTfnpoTjuWfPAmqK5p2edt2AMCDJWm6oTn7sKfmyx+6tRga0ip05SJ977o6udTcIiDeF/CJMUfkaN4gtWt6Aw==} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-ppc64-musl@4.64.0': + resolution: {integrity: sha512-RQjZPigjxFvFZDijG6rjlSXxhRaTf9zLYVpGK+lVcga64oMqP1GbgVqCb46eHTTceSIgp89Ja0y5aPe3GFBYHg==} + cpu: [ppc64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-riscv64-gnu@4.64.0': + resolution: {integrity: sha512-tjL58mgQcTRnDRpeky+Sth1MKQeYi2Ct6r3Luq9E5aTSjnM/i/JbozqZkKqp9thM5+oDSZxo+05f9kdQedfTGA==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-riscv64-musl@4.64.0': + resolution: {integrity: sha512-ictoRyVaoZ8C67myHef+8hhCa6IplXJJ/xUCkVCxziV4zxMZh+jvhkhGsPBLqj1S72fnqD0QH5zL4lcaa4X7DQ==} + cpu: [riscv64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-s390x-gnu@4.64.0': + resolution: {integrity: sha512-8aVvZ2hfr9RLFzBQkQNmYeHLDja8fLeQAmLt757zdKN/B+8L809KlLJKctQjS22wZotptV8G6o7fVPuAs8S1tQ==} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-gnu@4.64.0': + resolution: {integrity: sha512-2dEF8GAcDKwshUfydD+GhosppNyBzhVUHkdFF3CXd3FpOkzj/RZzF5aoEtzklujklT5qFVRU2GK/cFeLaTNKVg==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-musl@4.64.0': + resolution: {integrity: sha512-3XHTvoo2hKkh0MiOfS7SkhHjMaaWF7P4F3drocZZaho/Z8w7h/jpnuBHm91BOQLfvrKHs1yR+zir4E8RI3XzTQ==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@rollup/rollup-openbsd-x64@4.64.0': + resolution: {integrity: sha512-HKtkzodL4a3KFWDXDoO61cRynAWTR3LnAE0oGtfG9lcNFpNuVYUFOByxDgNqEvic9rvaQbAj+SFwTEWDptRaIw==} + cpu: [x64] + os: [openbsd] + + '@rollup/rollup-openharmony-arm64@4.64.0': + resolution: {integrity: sha512-JBsxqiY16uyyCujtoC3s7zL+SrYyNElptD7K4V+KUoJ2V8/XG3hPWpheK+SuPwNh1cikJvIZmIdsrYXvD6PLJw==} + cpu: [arm64] + os: [openharmony] + + '@rollup/rollup-win32-arm64-msvc@4.64.0': + resolution: {integrity: sha512-S5Qrijh37qhnUYQ0ay8WN3LuWeKjow7wTUyCOPMZtnXiBXYXdsZETI6ZLfYnQAKovltckPLBFdNeD61P2rJc7g==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.64.0': + resolution: {integrity: sha512-zbZ6iMmLFEsCtTdc2/y1F/cDFVNNCPF7Ae8PCT/wdPE//hGwYp6r+MyCLMFX+kOeIe09Pz6ASfnnfpSTN1FJQQ==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-gnu@4.64.0': + resolution: {integrity: sha512-L6Hw69oNpuYaOr1zCG30v0/DqKYCSRwodPGwIcVZ/6f8SOzq9rxtL/xNVI5MO4wjli+Ko0ErK9uHJL3mNPt8wQ==} + cpu: [x64] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.64.0': + resolution: {integrity: sha512-nl+CTWIgOGszQmUz/kanfgrfFZ4qiwxKIfT/ryl3N3Ewk5tqizmYtNXiqb7Bu/fDtNgu1kyxdFiAUJNur3iysg==} + cpu: [x64] + os: [win32] + + '@swc/helpers@0.5.23': + resolution: {integrity: sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==} + + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + + '@types/estree@1.0.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + + '@types/node@24.19.1': + resolution: {integrity: sha512-aS3/DG0oM05K0RIXXP+hKjinGG5IgSSVGzswZxW3O0sS3pH4/fycXundUC9XsszgKCk4gHXylTEK6hyFxVxnoQ==} + + '@types/react-dom@19.3.0': + resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==} + peerDependencies: + '@types/react': ^19.3.0 + + '@types/react@19.3.0': + resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==} + + '@vitest/expect@3.2.7': + resolution: {integrity: sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==} + + '@vitest/mocker@3.2.7': + resolution: {integrity: sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@3.2.7': + resolution: {integrity: sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==} + + '@vitest/runner@3.2.7': + resolution: {integrity: sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==} + + '@vitest/snapshot@3.2.7': + resolution: {integrity: sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==} + + '@vitest/spy@3.2.7': + resolution: {integrity: sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==} + + '@vitest/utils@3.2.7': + resolution: {integrity: sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + baseline-browser-mapping@2.11.27: + resolution: {integrity: sha512-ElY12DaROGuan+lMmZ8Cvo/ZUbXPe7Enc/9VU/b1T3Kp4dwytRcNdR8DoSJN5SNJT/CuvcCA0DHDVmMOCePdRQ==} + engines: {node: '>=6.0.0'} + hasBin: true + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + + caniuse-lite@1.0.30001814: + resolution: {integrity: sha512-/Uaf1lAzr59XcMpW0o96WoEfr+VXK2OX4U9AgFoiSHsVJ4HppnIFUjtYzsyDH2+tgANaQb2/oxYGwCPapN1FpA==} + + chai@5.3.3: + resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} + engines: {node: '>=18'} + + check-error@2.1.3: + resolution: {integrity: sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==} + engines: {node: '>= 16'} + + client-only@0.0.1: + resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} + + comlink@4.4.2: + resolution: {integrity: sha512-OxGdvBmJuNKSCMO4NTl1L47VRp6xn2wG4F/2hYzB6tiCb709otOxtEYCSvK80PtjODfXXZu8ds+Nw5kVCjqd2g==} + + csstype@3.2.3: + resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + es-module-lexer@1.7.0: + resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + + esbuild@0.28.2: + resolution: {integrity: sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==} + engines: {node: '>=18'} + hasBin: true + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + expect-type@1.4.0: + resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} + engines: {node: '>=12.0.0'} + + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + js-tokens@9.0.1: + resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} + + loupe@3.2.1: + resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} + + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + + marked@18.0.14: + resolution: {integrity: sha512-mBHK6FBHuBAlhgRe88w9F0O1AbwwXJUcQibUbC/QcdTbVGAD7aWza+xt3N6oT/jCZx3/OMeS+8rnuiHZcQ9s7A==} + engines: {node: '>= 20'} + hasBin: true + + minisearch@7.2.0: + resolution: {integrity: sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + nanoid@3.3.19: + resolution: {integrity: sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + next@16.3.8: + resolution: {integrity: sha512-U7QEZaTini6wKrb8A8hqLLqYQyCetegKjCpJOyxk642vWoMoU1x5PyZCJFvgYgiptA8xc5j/9xYlZFO7w9Sjmw==} + engines: {node: '>=20.9.0'} + hasBin: true + peerDependencies: + '@opentelemetry/api': ^1.1.0 + '@playwright/test': ^1.51.1 + babel-plugin-react-compiler: '*' + react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 + react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 + sass: ^1.3.0 + peerDependenciesMeta: + '@opentelemetry/api': + optional: true + '@playwright/test': + optional: true + babel-plugin-react-compiler: + optional: true + sass: + optional: true + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + pathval@2.0.1: + resolution: {integrity: sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==} + engines: {node: '>= 14.16'} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@4.0.7: + resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} + engines: {node: '>=12'} + + playwright-core@1.60.0: + resolution: {integrity: sha512-9bW6zvX/m0lEbgTKJ6YppOKx8H3VOPBMOCFh2irXFOT4BbHgrx5hPjwJYLT40Lu+4qtD36qKc/Hn56StUW57IA==} + engines: {node: '>=18'} + hasBin: true + + playwright@1.60.0: + resolution: {integrity: sha512-hheHdokM8cdqCb0lcE3s+zT4t4W+vvjpGxsZlDnikarzx8tSzMebh3UiFtgqwFwnTnjYQcsyMF8ei2mCO/tpeA==} + engines: {node: '>=18'} + hasBin: true + + postcss@8.5.23: + resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==} + engines: {node: ^10 || ^12 || >=14} + + react-dom@19.3.0: + resolution: {integrity: sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==} + peerDependencies: + react: ^19.3.0 + + react@19.3.0: + resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==} + engines: {node: '>=0.10.0'} + + rollup@4.64.0: + resolution: {integrity: sha512-gjA/kFeDfffII8COoPsvLPvE16hWDTEc1+0QKQNKUkuV8iJjqsC4xXs8/FzuL0v9EV39kuxTbAgcFoTRyy2TGQ==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + scheduler@0.28.0: + resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==} + + semver@7.8.5: + resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} + engines: {node: '>=10'} + hasBin: true + + sharp@0.35.5: + resolution: {integrity: sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==} + engines: {node: '>=20.9.0'} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + source-map-js@1.2.2: + resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} + engines: {node: '>=0.10.0'} + + sql.js-httpvfs@0.8.12: + resolution: {integrity: sha512-lcEBc2q0psFRfdCx8Di22oUIkkv5MUIaVO/fGCj/Jjx6YQDKVylQEcjd7NSSbmINHTRwVkm/vWP8uuevT7Rkkw==} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + std-env@3.10.0: + resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} + + strip-literal@3.1.0: + resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} + + styled-jsx@5.1.6: + resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@babel/core': '*' + babel-plugin-macros: '*' + react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0' + peerDependenciesMeta: + '@babel/core': + optional: true + babel-plugin-macros: + optional: true + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} + + tinypool@1.1.1: + resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@2.0.0: + resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} + engines: {node: '>=14.0.0'} + + tinyspy@4.0.6: + resolution: {integrity: sha512-u8KszXvGfU68hVcZpRHKG28T0krMuv2G5nDhiHaMLen/gIuFEgIJhaJuO69qjnXg5paSrbPMFfx3brNuN8eVSg==} + engines: {node: '>=14.0.0'} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + tsx@4.23.15: + resolution: {integrity: sha512-Yiex1Ovn8z2xPpOWckIiysV1SSyRMY9BkLF++q0yKiDxCqRhosKfMg3janKkiLBwZ5c/YryloKwGZcrEmtwxKw==} + engines: {node: '>=18.0.0'} + hasBin: true + + typescript@5.9.3: + resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + engines: {node: '>=14.17'} + hasBin: true + + undici-types@7.24.6: + resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==} + + vite-node@3.2.4: + resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + + vite@7.3.6: + resolution: {integrity: sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + '@types/node': ^20.19.0 || >=22.12.0 + jiti: '>=1.21.0' + less: ^4.0.0 + lightningcss: ^1.21.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@3.2.7: + resolution: {integrity: sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/debug': ^4.1.12 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + '@vitest/browser': 3.2.7 + '@vitest/ui': 3.2.7 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/debug': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + yaml@2.9.1: + resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==} + engines: {node: '>= 14.6'} + hasBin: true + +snapshots: + + '@biomejs/biome@2.5.15': + optionalDependencies: + '@biomejs/cli-darwin-arm64': 2.5.15 + '@biomejs/cli-darwin-x64': 2.5.15 + '@biomejs/cli-linux-arm64': 2.5.15 + '@biomejs/cli-linux-arm64-musl': 2.5.15 + '@biomejs/cli-linux-x64': 2.5.15 + '@biomejs/cli-linux-x64-musl': 2.5.15 + '@biomejs/cli-win32-arm64': 2.5.15 + '@biomejs/cli-win32-x64': 2.5.15 + + '@biomejs/cli-darwin-arm64@2.5.15': + optional: true + + '@biomejs/cli-darwin-x64@2.5.15': + optional: true + + '@biomejs/cli-linux-arm64-musl@2.5.15': + optional: true + + '@biomejs/cli-linux-arm64@2.5.15': + optional: true + + '@biomejs/cli-linux-x64-musl@2.5.15': + optional: true + + '@biomejs/cli-linux-x64@2.5.15': + optional: true + + '@biomejs/cli-win32-arm64@2.5.15': + optional: true + + '@biomejs/cli-win32-x64@2.5.15': + optional: true + + '@emnapi/runtime@1.11.3': + dependencies: + tslib: 2.8.1 + optional: true + + '@esbuild/aix-ppc64@0.28.2': + optional: true + + '@esbuild/android-arm64@0.28.2': + optional: true + + '@esbuild/android-arm@0.28.2': + optional: true + + '@esbuild/android-x64@0.28.2': + optional: true + + '@esbuild/darwin-arm64@0.28.2': + optional: true + + '@esbuild/darwin-x64@0.28.2': + optional: true + + '@esbuild/freebsd-arm64@0.28.2': + optional: true + + '@esbuild/freebsd-x64@0.28.2': + optional: true + + '@esbuild/linux-arm64@0.28.2': + optional: true + + '@esbuild/linux-arm@0.28.2': + optional: true + + '@esbuild/linux-ia32@0.28.2': + optional: true + + '@esbuild/linux-loong64@0.28.2': + optional: true + + '@esbuild/linux-mips64el@0.28.2': + optional: true + + '@esbuild/linux-ppc64@0.28.2': + optional: true + + '@esbuild/linux-riscv64@0.28.2': + optional: true + + '@esbuild/linux-s390x@0.28.2': + optional: true + + '@esbuild/linux-x64@0.28.2': + optional: true + + '@esbuild/netbsd-arm64@0.28.2': + optional: true + + '@esbuild/netbsd-x64@0.28.2': + optional: true + + '@esbuild/openbsd-arm64@0.28.2': + optional: true + + '@esbuild/openbsd-x64@0.28.2': + optional: true + + '@esbuild/openharmony-arm64@0.28.2': + optional: true + + '@esbuild/sunos-x64@0.28.2': + optional: true + + '@esbuild/win32-arm64@0.28.2': + optional: true + + '@esbuild/win32-ia32@0.28.2': + optional: true + + '@esbuild/win32-x64@0.28.2': + optional: true + + '@fontsource/barlow-condensed@5.3.0': {} + + '@fontsource/barlow@5.3.0': {} + + '@fontsource/chakra-petch@5.3.0': {} + + '@fontsource/ibm-plex-mono@5.3.0': {} + + '@img/colour@1.1.0': + optional: true + + '@img/sharp-darwin-arm64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-darwin-arm64': 1.3.4 + optional: true + + '@img/sharp-darwin-x64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-darwin-x64': 1.3.4 + optional: true + + '@img/sharp-freebsd-wasm32@0.35.5': + dependencies: + '@img/sharp-wasm32': 0.35.5 + optional: true + + '@img/sharp-libvips-darwin-arm64@1.3.4': + optional: true + + '@img/sharp-libvips-darwin-x64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-arm64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-arm@1.3.4': + optional: true + + '@img/sharp-libvips-linux-ppc64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-riscv64@1.3.4': + optional: true + + '@img/sharp-libvips-linux-s390x@1.3.4': + optional: true + + '@img/sharp-libvips-linux-x64@1.3.4': + optional: true + + '@img/sharp-libvips-linuxmusl-arm64@1.3.4': + optional: true + + '@img/sharp-libvips-linuxmusl-x64@1.3.4': + optional: true + + '@img/sharp-linux-arm64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-arm64': 1.3.4 + optional: true + + '@img/sharp-linux-arm@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-arm': 1.3.4 + optional: true + + '@img/sharp-linux-ppc64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-ppc64': 1.3.4 + optional: true + + '@img/sharp-linux-riscv64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-riscv64': 1.3.4 + optional: true + + '@img/sharp-linux-s390x@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-s390x': 1.3.4 + optional: true + + '@img/sharp-linux-x64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linux-x64': 1.3.4 + optional: true + + '@img/sharp-linuxmusl-arm64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linuxmusl-arm64': 1.3.4 + optional: true + + '@img/sharp-linuxmusl-x64@0.35.5': + optionalDependencies: + '@img/sharp-libvips-linuxmusl-x64': 1.3.4 + optional: true + + '@img/sharp-wasm32@0.35.5': + dependencies: + '@emnapi/runtime': 1.11.3 + optional: true + + '@img/sharp-webcontainers-wasm32@0.35.5': + dependencies: + '@img/sharp-wasm32': 0.35.5 + optional: true + + '@img/sharp-win32-arm64@0.35.5': + optional: true + + '@img/sharp-win32-ia32@0.35.5': + optional: true + + '@img/sharp-win32-x64@0.35.5': + optional: true + + '@jridgewell/sourcemap-codec@1.6.0': {} + + '@napi-rs/lzma-linux-x64-gnu@1.5.1': + optional: true + + '@next/env@16.3.8': {} + + '@next/swc-darwin-arm64@16.3.8': + optional: true + + '@next/swc-darwin-x64@16.3.8': + optional: true + + '@next/swc-linux-arm64-gnu@16.3.8': + optional: true + + '@next/swc-linux-arm64-musl@16.3.8': + optional: true + + '@next/swc-linux-x64-gnu@16.3.8': + optional: true + + '@next/swc-linux-x64-musl@16.3.8': + optional: true + + '@next/swc-win32-arm64-msvc@16.3.8': + optional: true + + '@next/swc-win32-x64-msvc@16.3.8': + optional: true + + '@playwright/test@1.60.0': + dependencies: + playwright: 1.60.0 + + '@rollup/rollup-android-arm-eabi@4.64.0': + optional: true + + '@rollup/rollup-android-arm64@4.64.0': + optional: true + + '@rollup/rollup-darwin-arm64@4.64.0': + optional: true + + '@rollup/rollup-darwin-x64@4.64.0': + optional: true + + '@rollup/rollup-freebsd-arm64@4.64.0': + optional: true + + '@rollup/rollup-freebsd-x64@4.64.0': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.64.0': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.64.0': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.64.0': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.64.0': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.64.0': + optional: true + + '@rollup/rollup-linux-loong64-musl@4.64.0': + optional: true + + '@rollup/rollup-linux-ppc64-gnu@4.64.0': + optional: true + + '@rollup/rollup-linux-ppc64-musl@4.64.0': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.64.0': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.64.0': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.64.0': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.64.0': + optional: true + + '@rollup/rollup-linux-x64-musl@4.64.0': + optional: true + + '@rollup/rollup-openbsd-x64@4.64.0': + optional: true + + '@rollup/rollup-openharmony-arm64@4.64.0': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.64.0': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.64.0': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.64.0': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.64.0': + optional: true + + '@swc/helpers@0.5.23': + dependencies: + tslib: 2.8.1 + + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + + '@types/deep-eql@4.0.2': {} + + '@types/estree@1.0.9': {} + + '@types/node@24.19.1': + dependencies: + undici-types: 7.24.6 + + '@types/react-dom@19.3.0(@types/react@19.3.0)': + dependencies: + '@types/react': 19.3.0 + + '@types/react@19.3.0': + dependencies: + csstype: 3.2.3 + + '@vitest/expect@3.2.7': + dependencies: + '@types/chai': 5.2.3 + '@vitest/spy': 3.2.7 + '@vitest/utils': 3.2.7 + chai: 5.3.3 + tinyrainbow: 2.0.0 + + '@vitest/mocker@3.2.7(vite@7.3.6(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1))': + dependencies: + '@vitest/spy': 3.2.7 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + vite: 7.3.6(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1) + + '@vitest/pretty-format@3.2.7': + dependencies: + tinyrainbow: 2.0.0 + + '@vitest/runner@3.2.7': + dependencies: + '@vitest/utils': 3.2.7 + pathe: 2.0.3 + strip-literal: 3.1.0 + + '@vitest/snapshot@3.2.7': + dependencies: + '@vitest/pretty-format': 3.2.7 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@3.2.7': + dependencies: + tinyspy: 4.0.6 + + '@vitest/utils@3.2.7': + dependencies: + '@vitest/pretty-format': 3.2.7 + loupe: 3.2.1 + tinyrainbow: 2.0.0 + + assertion-error@2.0.1: {} + + baseline-browser-mapping@2.11.27: {} + + cac@6.7.14: {} + + caniuse-lite@1.0.30001814: {} + + chai@5.3.3: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.3 + deep-eql: 5.0.2 + loupe: 3.2.1 + pathval: 2.0.1 + + check-error@2.1.3: {} + + client-only@0.0.1: {} + + comlink@4.4.2: {} + + csstype@3.2.3: {} + + debug@4.4.3: + dependencies: + ms: 2.1.3 + + deep-eql@5.0.2: {} + + detect-libc@2.1.2: + optional: true + + es-module-lexer@1.7.0: {} + + esbuild@0.28.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.28.2 + '@esbuild/android-arm': 0.28.2 + '@esbuild/android-arm64': 0.28.2 + '@esbuild/android-x64': 0.28.2 + '@esbuild/darwin-arm64': 0.28.2 + '@esbuild/darwin-x64': 0.28.2 + '@esbuild/freebsd-arm64': 0.28.2 + '@esbuild/freebsd-x64': 0.28.2 + '@esbuild/linux-arm': 0.28.2 + '@esbuild/linux-arm64': 0.28.2 + '@esbuild/linux-ia32': 0.28.2 + '@esbuild/linux-loong64': 0.28.2 + '@esbuild/linux-mips64el': 0.28.2 + '@esbuild/linux-ppc64': 0.28.2 + '@esbuild/linux-riscv64': 0.28.2 + '@esbuild/linux-s390x': 0.28.2 + '@esbuild/linux-x64': 0.28.2 + '@esbuild/netbsd-arm64': 0.28.2 + '@esbuild/netbsd-x64': 0.28.2 + '@esbuild/openbsd-arm64': 0.28.2 + '@esbuild/openbsd-x64': 0.28.2 + '@esbuild/openharmony-arm64': 0.28.2 + '@esbuild/sunos-x64': 0.28.2 + '@esbuild/win32-arm64': 0.28.2 + '@esbuild/win32-ia32': 0.28.2 + '@esbuild/win32-x64': 0.28.2 + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.9 + + expect-type@1.4.0: {} + + fdir@6.5.0(picomatch@4.0.7): + optionalDependencies: + picomatch: 4.0.7 + + fsevents@2.3.2: + optional: true + + fsevents@2.3.3: + optional: true + + js-tokens@9.0.1: {} + + loupe@3.2.1: {} + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + + marked@18.0.14: {} + + minisearch@7.2.0: {} + + ms@2.1.3: {} + + nanoid@3.3.19: {} + + next@16.3.8(@playwright/test@1.60.0)(@types/node@24.19.1)(react-dom@19.3.0(react@19.3.0))(react@19.3.0): + dependencies: + '@next/env': 16.3.8 + '@swc/helpers': 0.5.23 + baseline-browser-mapping: 2.11.27 + caniuse-lite: 1.0.30001814 + postcss: 8.5.23 + react: 19.3.0 + react-dom: 19.3.0(react@19.3.0) + styled-jsx: 5.1.6(react@19.3.0) + optionalDependencies: + '@next/swc-darwin-arm64': 16.3.8 + '@next/swc-darwin-x64': 16.3.8 + '@next/swc-linux-arm64-gnu': 16.3.8 + '@next/swc-linux-arm64-musl': 16.3.8 + '@next/swc-linux-x64-gnu': 16.3.8 + '@next/swc-linux-x64-musl': 16.3.8 + '@next/swc-win32-arm64-msvc': 16.3.8 + '@next/swc-win32-x64-msvc': 16.3.8 + '@playwright/test': 1.60.0 + sharp: 0.35.5(@types/node@24.19.1) + transitivePeerDependencies: + - '@babel/core' + - '@types/node' + - babel-plugin-macros + + pathe@2.0.3: {} + + pathval@2.0.1: {} + + picocolors@1.1.1: {} + + picomatch@4.0.7: {} + + playwright-core@1.60.0: {} + + playwright@1.60.0: + dependencies: + playwright-core: 1.60.0 + optionalDependencies: + fsevents: 2.3.2 + + postcss@8.5.23: + dependencies: + nanoid: 3.3.19 + picocolors: 1.1.1 + source-map-js: 1.2.2 + + react-dom@19.3.0(react@19.3.0): + dependencies: + react: 19.3.0 + scheduler: 0.28.0 + + react@19.3.0: {} + + rollup@4.64.0: + dependencies: + '@types/estree': 1.0.9 + optionalDependencies: + '@napi-rs/lzma-linux-x64-gnu': 1.5.1 + '@rollup/rollup-android-arm-eabi': 4.64.0 + '@rollup/rollup-android-arm64': 4.64.0 + '@rollup/rollup-darwin-arm64': 4.64.0 + '@rollup/rollup-darwin-x64': 4.64.0 + '@rollup/rollup-freebsd-arm64': 4.64.0 + '@rollup/rollup-freebsd-x64': 4.64.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.64.0 + '@rollup/rollup-linux-arm-musleabihf': 4.64.0 + '@rollup/rollup-linux-arm64-gnu': 4.64.0 + '@rollup/rollup-linux-arm64-musl': 4.64.0 + '@rollup/rollup-linux-loong64-gnu': 4.64.0 + '@rollup/rollup-linux-loong64-musl': 4.64.0 + '@rollup/rollup-linux-ppc64-gnu': 4.64.0 + '@rollup/rollup-linux-ppc64-musl': 4.64.0 + '@rollup/rollup-linux-riscv64-gnu': 4.64.0 + '@rollup/rollup-linux-riscv64-musl': 4.64.0 + '@rollup/rollup-linux-s390x-gnu': 4.64.0 + '@rollup/rollup-linux-x64-gnu': 4.64.0 + '@rollup/rollup-linux-x64-musl': 4.64.0 + '@rollup/rollup-openbsd-x64': 4.64.0 + '@rollup/rollup-openharmony-arm64': 4.64.0 + '@rollup/rollup-win32-arm64-msvc': 4.64.0 + '@rollup/rollup-win32-ia32-msvc': 4.64.0 + '@rollup/rollup-win32-x64-gnu': 4.64.0 + '@rollup/rollup-win32-x64-msvc': 4.64.0 + fsevents: 2.3.3 + + scheduler@0.28.0: {} + + semver@7.8.5: + optional: true + + sharp@0.35.5(@types/node@24.19.1): + dependencies: + '@img/colour': 1.1.0 + detect-libc: 2.1.2 + semver: 7.8.5 + optionalDependencies: + '@img/sharp-darwin-arm64': 0.35.5 + '@img/sharp-darwin-x64': 0.35.5 + '@img/sharp-freebsd-wasm32': 0.35.5 + '@img/sharp-libvips-darwin-arm64': 1.3.4 + '@img/sharp-libvips-darwin-x64': 1.3.4 + '@img/sharp-libvips-linux-arm': 1.3.4 + '@img/sharp-libvips-linux-arm64': 1.3.4 + '@img/sharp-libvips-linux-ppc64': 1.3.4 + '@img/sharp-libvips-linux-riscv64': 1.3.4 + '@img/sharp-libvips-linux-s390x': 1.3.4 + '@img/sharp-libvips-linux-x64': 1.3.4 + '@img/sharp-libvips-linuxmusl-arm64': 1.3.4 + '@img/sharp-libvips-linuxmusl-x64': 1.3.4 + '@img/sharp-linux-arm': 0.35.5 + '@img/sharp-linux-arm64': 0.35.5 + '@img/sharp-linux-ppc64': 0.35.5 + '@img/sharp-linux-riscv64': 0.35.5 + '@img/sharp-linux-s390x': 0.35.5 + '@img/sharp-linux-x64': 0.35.5 + '@img/sharp-linuxmusl-arm64': 0.35.5 + '@img/sharp-linuxmusl-x64': 0.35.5 + '@img/sharp-webcontainers-wasm32': 0.35.5 + '@img/sharp-win32-arm64': 0.35.5 + '@img/sharp-win32-ia32': 0.35.5 + '@img/sharp-win32-x64': 0.35.5 + '@types/node': 24.19.1 + optional: true + + siginfo@2.0.0: {} + + source-map-js@1.2.2: {} + + sql.js-httpvfs@0.8.12: + dependencies: + comlink: 4.4.2 + + stackback@0.0.2: {} + + std-env@3.10.0: {} + + strip-literal@3.1.0: + dependencies: + js-tokens: 9.0.1 + + styled-jsx@5.1.6(react@19.3.0): + dependencies: + client-only: 0.0.1 + react: 19.3.0 + + tinybench@2.9.0: {} + + tinyexec@0.3.2: {} + + tinyglobby@0.2.17: + dependencies: + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 + + tinypool@1.1.1: {} + + tinyrainbow@2.0.0: {} + + tinyspy@4.0.6: {} + + tslib@2.8.1: {} + + tsx@4.23.15: + dependencies: + esbuild: 0.28.2 + optionalDependencies: + fsevents: 2.3.3 + + typescript@5.9.3: {} + + undici-types@7.24.6: {} + + vite-node@3.2.4(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1): + dependencies: + cac: 6.7.14 + debug: 4.4.3 + es-module-lexer: 1.7.0 + pathe: 2.0.3 + vite: 7.3.6(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1) + transitivePeerDependencies: + - '@types/node' + - jiti + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + vite@7.3.6(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1): + dependencies: + esbuild: 0.28.2 + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 + postcss: 8.5.23 + rollup: 4.64.0 + tinyglobby: 0.2.17 + optionalDependencies: + '@types/node': 24.19.1 + fsevents: 2.3.3 + tsx: 4.23.15 + yaml: 2.9.1 + + vitest@3.2.7(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1): + dependencies: + '@types/chai': 5.2.3 + '@vitest/expect': 3.2.7 + '@vitest/mocker': 3.2.7(vite@7.3.6(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1)) + '@vitest/pretty-format': 3.2.7 + '@vitest/runner': 3.2.7 + '@vitest/snapshot': 3.2.7 + '@vitest/spy': 3.2.7 + '@vitest/utils': 3.2.7 + chai: 5.3.3 + debug: 4.4.3 + expect-type: 1.4.0 + magic-string: 0.30.21 + pathe: 2.0.3 + picomatch: 4.0.7 + std-env: 3.10.0 + tinybench: 2.9.0 + tinyexec: 0.3.2 + tinyglobby: 0.2.17 + tinypool: 1.1.1 + tinyrainbow: 2.0.0 + vite: 7.3.6(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1) + vite-node: 3.2.4(@types/node@24.19.1)(tsx@4.23.15)(yaml@2.9.1) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 24.19.1 + transitivePeerDependencies: + - jiti + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + yaml@2.9.1: {} diff --git a/site/pnpm-workspace.yaml b/site/pnpm-workspace.yaml new file mode 100644 index 00000000..dbb26c82 --- /dev/null +++ b/site/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +allowBuilds: + esbuild: true + sharp: true diff --git a/site/scripts/build-api-overlays.ts b/site/scripts/build-api-overlays.ts new file mode 100644 index 00000000..e48a2bc5 --- /dev/null +++ b/site/scripts/build-api-overlays.ts @@ -0,0 +1,53 @@ +/** + * Compiles the hand-written Lua API overlays (content/api, see its README) into + * public/overlays/api.json, shipped with the site shell: `{ symbols: { : overlay } }`. + * + * Only the overlays themselves are checked here (Markdown, frontmatter keys, duplicates). + * Whether their symbols still exist is a data question: the site ignores stale ones at + * runtime and `pnpm check:overlays ` reports them. + */ +import { existsSync, mkdirSync, readdirSync, readFileSync, writeFileSync } from "node:fs"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import { OverlayError, parseOverlay } from "../src/lib/api/overlays"; +import type { ApiOverlayFile } from "../src/lib/api/types"; +import { markdownToText, renderMarkdown } from "../src/lib/markdown"; + +const siteRoot = resolve(dirname(fileURLToPath(import.meta.url)), ".."); +const contentDir = join(siteRoot, "content/api"); +const out = join(siteRoot, "public/overlays/api.json"); + +export function compileApiOverlays(dir: string): ApiOverlayFile { + const symbols: ApiOverlayFile["symbols"] = {}; + const files = existsSync(dir) + ? readdirSync(dir) + .filter((f) => f.endsWith(".md") && f.toLowerCase() !== "readme.md") + .sort() + : []; + for (const f of files) { + const { symbol, overlay, body } = parseOverlay( + `content/api/${f}`, + f, + readFileSync(join(dir, f), "utf8"), + ); + const taken = symbols[symbol]; + if (taken) { + throw new OverlayError( + `content/api/${f}: '${symbol}' is already overlaid by ${taken.source}`, + ); + } + if (body) { + overlay.html = renderMarkdown(body); + overlay.text = markdownToText(body); + } + symbols[symbol] = overlay; + } + return { symbols }; +} + +if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) { + const file = compileApiOverlays(contentDir); + mkdirSync(dirname(out), { recursive: true }); + writeFileSync(out, JSON.stringify(file)); + console.log(`api overlays: ${Object.keys(file.symbols).length} -> ${out}`); +} diff --git a/site/scripts/build-overlays.ts b/site/scripts/build-overlays.ts new file mode 100644 index 00000000..702ecb97 --- /dev/null +++ b/site/scripts/build-overlays.ts @@ -0,0 +1,39 @@ +/** + * Compiles the hand-written reference overlays (content/reference, see its README) into + * public/overlays/reference.json, shipped with the site shell: + * + * { series: { : { intro?, records: { : overlay }, fields: { : overlay } } } } + * + * Only the overlays themselves are checked here (Markdown, frontmatter keys). Whether + * their series, records and fields still exist is a data question: the site ignores + * stale ones at runtime and `pnpm check:overlays ` reports them. + */ +import { mkdirSync, writeFileSync } from "node:fs"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import type { Overlay } from "../src/lib/types"; +import { ANY_TARGET, type LoadedOverlay, loadOverlays } from "./lib/overlays"; + +const siteRoot = resolve(dirname(fileURLToPath(import.meta.url)), ".."); +const contentDir = join(siteRoot, "content/reference"); +const out = join(siteRoot, "public/overlays/reference.json"); + +const strip = ({ html, aliases, seeAlso, text }: LoadedOverlay): Overlay & { text: string } => ({ + html, + text, + ...(aliases ? { aliases } : {}), + ...(seeAlso ? { seeAlso } : {}), +}); + +const overlays = loadOverlays(contentDir, () => ANY_TARGET); +const series: Record = {}; +for (const [name, o] of overlays) { + series[name] = { + ...(o.intro ? { intro: strip(o.intro) } : {}), + records: Object.fromEntries([...o.records].map(([k, v]) => [k, strip(v)])), + fields: Object.fromEntries([...o.fields].map(([k, v]) => [k, strip(v)])), + }; +} +mkdirSync(dirname(out), { recursive: true }); +writeFileSync(out, JSON.stringify({ series })); +console.log(`overlays: ${overlays.size} series -> ${out}`); diff --git a/site/scripts/check-api-overlays.ts b/site/scripts/check-api-overlays.ts new file mode 100644 index 00000000..56b46b3f --- /dev/null +++ b/site/scripts/check-api-overlays.ts @@ -0,0 +1,29 @@ +/** + * Stale Lua API overlays (content/api) against a reference database: symbols or seeAlso + * targets missing from its `api_symbols`. Called by scripts/check-overlays.ts. + */ +import { join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import { staleOverlays } from "../src/lib/api/overlays"; +import type { Query } from "../src/lib/db/reference"; +import { compileApiOverlays } from "./build-api-overlays"; + +const siteRoot = resolve(fileURLToPath(new URL("..", import.meta.url))); + +export async function staleApiOverlays( + q: Query, + dir = join(siteRoot, "content/api"), +): Promise { + const { symbols } = compileApiOverlays(dir); + const rows = await q("SELECT DISTINCT section, path FROM api_symbols").catch(() => []); + if (!rows.length) return ["content/api: the database has no Lua API tables (api_symbols)"]; + const known = new Map>(); + for (const r of rows) { + const path = String(r.path); + known.set(path, (known.get(path) ?? new Set()).add(String(r.section))); + } + return staleOverlays(symbols, (symbol, section) => { + const sections = known.get(symbol); + return Boolean(sections && (!section || sections.has(section))); + }); +} diff --git a/site/scripts/check-overlays.ts b/site/scripts/check-overlays.ts new file mode 100644 index 00000000..d8591538 --- /dev/null +++ b/site/scripts/check-overlays.ts @@ -0,0 +1,59 @@ +/** + * Reports overlays (content/reference, content/api) whose target is not in a + * reference database: `pnpm check:overlays `. Exits 1 when + * any is stale. The site itself ignores stale overlays, so this never blocks a deploy. + */ +import { join, resolve } from "node:path"; +import { DatabaseSync } from "node:sqlite"; +import { fileURLToPath } from "node:url"; +import { catalogFor, loadModel, type Query } from "../src/lib/db/reference"; +import { slugify } from "../src/lib/series-display"; +import { staleApiOverlays } from "./check-api-overlays"; +import { loadOverlays, OverlayError } from "./lib/overlays"; + +const siteRoot = resolve(fileURLToPath(new URL("..", import.meta.url))); +const path = process.argv[2]; +if (!path) { + console.error("usage: pnpm check:overlays "); + process.exit(2); +} +const db = new DatabaseSync(resolve(path), { readOnly: true }); +const q: Query = async (sql, params = []) => + db.prepare(sql).all(...(params as never[])) as Record[]; +const model = await loadModel(q); + +const ids = new Map>(); +for (const s of model.series) { + const rows = await q(`SELECT "${s.keyColumn}" AS id FROM "${s.id}"`); + const map = new Map(); + for (const r of rows) { + const id = String(r.id); + map.set(id, id); + map.set(slugify(id), id); + } + ids.set(s.id, map); +} + +const apiStale = await staleApiOverlays(q); +for (const message of apiStale) console.error(message); +if (apiStale.length) process.exitCode = 1; + +try { + loadOverlays(join(siteRoot, "content/reference"), (series) => { + const s = model.byId.get(series); + if (!s) return null; + const owner = s.parent ?? s.id; + const catalog = catalogFor(model, owner); + return { + record: (stem) => ids.get(series)?.get(stem) ?? null, + field: (p) => Boolean(catalog.entries[s.parent ? `flight.${p}` : p]), + }; + }); + console.log(`overlays: all current against ${path}`); +} catch (error) { + if (error instanceof OverlayError) { + console.error(error.message); + process.exit(1); + } + throw error; +} diff --git a/site/scripts/copy-sqlite-assets.ts b/site/scripts/copy-sqlite-assets.ts new file mode 100644 index 00000000..9f3fe04e --- /dev/null +++ b/site/scripts/copy-sqlite-assets.ts @@ -0,0 +1,44 @@ +/** + * Puts what the browser needs to query the reference database under public/: + * + * public/sqlite/sqlite.worker.js, sql-wasm.wasm from sql.js-httpvfs + * public/data/reference.sqlite the database (local dev, e2e) + * + * The database comes from SITE_SQLITE (a path), else the newest + * ../dist/dcs-world-reference-*.sqlite. SITE_SQLITE=none skips it: a Pages deploy + * adds the released file next to the built shell instead (.github/workflows/pages.yml). + */ +import { copyFileSync, existsSync, mkdirSync, readdirSync, statSync } from "node:fs"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; + +const siteRoot = resolve(dirname(fileURLToPath(import.meta.url)), ".."); +const lib = join(siteRoot, "node_modules/sql.js-httpvfs/dist"); +mkdirSync(join(siteRoot, "public/sqlite"), { recursive: true }); +for (const file of ["sqlite.worker.js", "sql-wasm.wasm"]) { + copyFileSync(join(lib, file), join(siteRoot, "public/sqlite", file)); +} + +const given = process.env.SITE_SQLITE; +if (given === "none") { + console.log("sqlite assets: worker and wasm (no database)"); +} else { + let source = given ? resolve(given) : null; + if (!source) { + const dist = resolve(siteRoot, "../dist"); + source = + (existsSync(dist) ? readdirSync(dist) : []) + .filter((f) => /^dcs-world-reference-.*\.sqlite$/.test(f)) + .map((f) => join(dist, f)) + .sort((a, b) => statSync(b).mtimeMs - statSync(a).mtimeMs)[0] ?? null; + } + if (!source || !existsSync(source)) { + throw new Error("No reference database: run `task package` or set SITE_SQLITE."); + } + const target = join(siteRoot, "public/data/reference.sqlite"); + mkdirSync(dirname(target), { recursive: true }); + if (!existsSync(target) || statSync(target).mtimeMs < statSync(source).mtimeMs) { + copyFileSync(source, target); + } + console.log(`sqlite assets: worker, wasm and ${source} -> public/data/reference.sqlite`); +} diff --git a/site/scripts/lib/overlays.ts b/site/scripts/lib/overlays.ts new file mode 100644 index 00000000..03778c75 --- /dev/null +++ b/site/scripts/lib/overlays.ts @@ -0,0 +1,173 @@ +/** + * Hand-written overlays for the reference (content/reference/, see its README): + * + * /_index.md intro on the browse page + * /.md note on a record page + * /_fields/.md note on a field (tooltip, compare header) + * + * Every problem (unknown series, record or field; unknown frontmatter key; bad + * frontmatter value) is collected and thrown together as one OverlayError. + */ +import { existsSync, readdirSync, readFileSync, statSync } from "node:fs"; +import { join, relative } from "node:path"; +import { markdownToText, parseFrontmatter, renderMarkdown } from "../../src/lib/markdown"; +import type { Overlay } from "../../src/lib/types"; + +export class OverlayError extends Error { + constructor(public readonly problems: string[]) { + super(`Stale or invalid overlays in content/reference:\n - ${problems.join("\n - ")}`); + } +} + +export type LoadedOverlay = Overlay & { text: string }; + +export type SeriesOverlays = { + intro?: LoadedOverlay; + /** By record id. */ + records: Map; + /** By catalog path. */ + fields: Map; +}; + +export type OverlayTarget = { + /** Record id for a file stem (an id or a slug), or null. */ + record(stem: string): string | null; + /** Whether the catalog has this field path. */ + field(path: string): boolean; +}; + +const RECORD_KEYS = ["aliases", "seeAlso"] as const; +const OTHER_KEYS = ["seeAlso"] as const; + +function seeAlsoOf(value: unknown, file: string, problems: string[]) { + if (value === undefined) return undefined; + if (!Array.isArray(value)) { + problems.push(`${file}: seeAlso must be a list`); + return undefined; + } + const out: Array<{ label: string; href: string }> = []; + for (const item of value) { + if (typeof item === "string") out.push({ label: item, href: item }); + else if ( + item && + typeof item === "object" && + typeof (item as { href?: unknown }).href === "string" + ) { + const { href, label } = item as { href: string; label?: unknown }; + out.push({ href, label: typeof label === "string" ? label : href }); + } else problems.push(`${file}: each seeAlso entry is a URL or { label, href }`); + } + return out; +} + +function aliasesOf(value: unknown, file: string, problems: string[]) { + if (value === undefined) return undefined; + const list = typeof value === "string" ? [value] : value; + if (!Array.isArray(list) || list.some((a) => typeof a !== "string")) { + problems.push(`${file}: aliases must be a string or a list of strings`); + return undefined; + } + return list as string[]; +} + +function readOverlay( + path: string, + file: string, + allowed: readonly string[], + problems: string[], +): LoadedOverlay | null { + let parsed: ReturnType; + try { + parsed = parseFrontmatter(readFileSync(path, "utf8"), { file, allowed }); + } catch (error) { + problems.push((error as Error).message); + return null; + } + const overlay: LoadedOverlay = { + html: parsed.body ? renderMarkdown(parsed.body) : "", + text: markdownToText(parsed.body), + }; + const aliases = aliasesOf(parsed.data.aliases, file, problems); + const seeAlso = seeAlsoOf(parsed.data.seeAlso, file, problems); + if (aliases?.length) overlay.aliases = aliases; + if (seeAlso?.length) overlay.seeAlso = seeAlso; + return overlay; +} + +/** Field file stems are catalog paths; `*` (keyed arrays) may be written `+`. */ +export const fieldPathFromStem = (stem: string) => stem.replace(/\+/g, "*"); + +/** Accepts every series, record stem and field (build time: no data to check against). */ +export const ANY_TARGET: OverlayTarget = { record: (stem) => stem, field: () => true }; + +export function loadOverlays( + contentDir: string, + targets: Record | ((series: string) => OverlayTarget | null), +): Map { + const targetOf = (series: string) => + typeof targets === "function" ? targets(series) : (targets[series] ?? null); + const out = new Map(); + if (!existsSync(contentDir)) return out; + const problems: string[] = []; + const rel = (p: string) => relative(contentDir, p).replace(/\\/g, "/"); + + for (const dir of readdirSync(contentDir).sort()) { + const dirPath = join(contentDir, dir); + if (!statSync(dirPath).isDirectory()) { + if (dir !== "README.md") + problems.push(`${dir}: only series folders and README.md belong here`); + continue; + } + const target = targetOf(dir); + if (!target) { + problems.push(`${dir}/: no series named "${dir}"`); + continue; + } + const series: SeriesOverlays = { records: new Map(), fields: new Map() }; + out.set(dir, series); + for (const name of readdirSync(dirPath).sort()) { + const path = join(dirPath, name); + if (name === "_fields" && statSync(path).isDirectory()) { + for (const fieldFile of readdirSync(path).sort()) { + const file = rel(join(path, fieldFile)); + if (!fieldFile.endsWith(".md")) { + problems.push(`${file}: overlays are .md files`); + continue; + } + const fieldPath = fieldPathFromStem(fieldFile.slice(0, -3)); + if (!target.field(fieldPath)) { + problems.push(`${file}: ${dir} has no field "${fieldPath}"`); + continue; + } + const overlay = readOverlay(join(path, fieldFile), file, OTHER_KEYS, problems); + if (overlay) series.fields.set(fieldPath, overlay); + } + continue; + } + const file = rel(path); + if (!name.endsWith(".md")) { + problems.push(`${file}: overlays are .md files`); + continue; + } + const stem = name.slice(0, -3); + if (stem === "_index") { + const overlay = readOverlay(path, file, OTHER_KEYS, problems); + if (overlay) series.intro = overlay; + continue; + } + const id = target.record(stem); + if (id === null) { + problems.push(`${file}: ${dir} has no record with id or slug "${stem}"`); + continue; + } + if (series.records.has(id)) { + problems.push(`${file}: a second overlay for ${dir} record "${id}"`); + continue; + } + const overlay = readOverlay(path, file, RECORD_KEYS, problems); + if (overlay) series.records.set(id, overlay); + } + } + if (problems.length) throw new OverlayError(problems); + return out; +} diff --git a/site/scripts/lib/schema.ts b/site/scripts/lib/schema.ts new file mode 100644 index 00000000..69ad8061 --- /dev/null +++ b/site/scripts/lib/schema.ts @@ -0,0 +1,16 @@ +import { readdirSync, readFileSync } from "node:fs"; +import { join } from "node:path"; +import { parse } from "yaml"; +import type { SchemaTypes } from "../../src/lib/catalog"; + +/** Every type of every dcs-world-schema/types/entities/*.yaml, merged. */ +export function loadSchemaTypes(schemaDir: string): SchemaTypes { + const types: SchemaTypes = {}; + for (const file of readdirSync(schemaDir) + .filter((f) => f.endsWith(".yaml")) + .sort()) { + const doc = parse(readFileSync(join(schemaDir, file), "utf8")) as { types?: SchemaTypes }; + Object.assign(types, doc.types ?? {}); + } + return types; +} diff --git a/site/scripts/serve-out.mjs b/site/scripts/serve-out.mjs new file mode 100644 index 00000000..acaf25cf --- /dev/null +++ b/site/scripts/serve-out.mjs @@ -0,0 +1,65 @@ +// Minimal static server for the `out/` export (previews and Playwright). No dependencies. +// Like GitHub Pages: unknown paths get 404.html (the reference shell) with status 404, and +// files honour HTTP Range requests (the browser reads the SQLite database by ranges). +import { createReadStream, existsSync, statSync } from "node:fs"; +import { createServer } from "node:http"; +import { extname, join, normalize, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; + +const root = resolve(fileURLToPath(new URL("../out", import.meta.url))); +const port = Number(process.argv[2] ?? process.env.PORT ?? 3211); +const types = { + ".html": "text/html; charset=utf-8", + ".js": "text/javascript", + ".css": "text/css", + ".json": "application/json", + ".svg": "image/svg+xml", + ".woff2": "font/woff2", + ".woff": "font/woff", + ".txt": "text/plain", + ".ico": "image/x-icon", + ".wasm": "application/wasm", + ".sqlite": "application/octet-stream", +}; + +createServer((req, res) => { + const url = new URL(req.url ?? "/", "http://localhost"); + let path = normalize(join(root, decodeURIComponent(url.pathname))); + if (!path.startsWith(root)) { + res.writeHead(403).end(); + return; + } + if (existsSync(path) && statSync(path).isDirectory()) path = join(path, "index.html"); + if (!existsSync(path)) { + res.writeHead(404, { "content-type": types[".html"] }); + if (req.method === "HEAD") { + res.end(); + return; + } + createReadStream(join(root, "404.html")).pipe(res); + return; + } + const size = statSync(path).size; + const type = types[extname(path)] ?? "application/octet-stream"; + const range = /^bytes=(\d*)-(\d*)$/.exec(req.headers.range ?? ""); + if (range) { + const start = range[1] ? Number(range[1]) : Math.max(0, size - Number(range[2])); + const end = range[1] && range[2] ? Math.min(Number(range[2]), size - 1) : size - 1; + if (start >= size || start > end) { + res.writeHead(416, { "content-range": `bytes */${size}` }).end(); + return; + } + res.writeHead(206, { + "content-type": type, + "content-length": end - start + 1, + "content-range": `bytes ${start}-${end}/${size}`, + "accept-ranges": "bytes", + }); + if (req.method === "HEAD") res.end(); + else createReadStream(path, { start, end }).pipe(res); + return; + } + res.writeHead(200, { "content-type": type, "content-length": size, "accept-ranges": "bytes" }); + if (req.method === "HEAD") res.end(); + else createReadStream(path).pipe(res); +}).listen(port, "127.0.0.1", () => console.log(`serving ${root} on http://127.0.0.1:${port}`)); diff --git a/site/src/app/compare/page.tsx b/site/src/app/compare/page.tsx new file mode 100644 index 00000000..e3d25ce8 --- /dev/null +++ b/site/src/app/compare/page.tsx @@ -0,0 +1,15 @@ +import type { Metadata } from "next"; +import { Suspense } from "react"; +import { CompareView } from "@/components/compare-view"; + +export const metadata: Metadata = { title: "Compare" }; + +export default function ComparePage() { + return ( +
+ Loading…

}> + +
+
+ ); +} diff --git a/site/src/app/globals.css b/site/src/app/globals.css new file mode 100644 index 00000000..8c9cadff --- /dev/null +++ b/site/src/app/globals.css @@ -0,0 +1,2106 @@ +/* DCS World Reference — console look, readable first. + Chakra Petch for headings, Barlow / Barlow Condensed for UI and prose, + IBM Plex Mono for values. Tokens on :root; dark and light are both chosen, + not derived. */ + +:root { + --font-display: "Chakra Petch", "Barlow Condensed", system-ui, sans-serif; + --font-ui: "Barlow Condensed", "Barlow", system-ui, sans-serif; + --font-body: "Barlow", system-ui, sans-serif; + --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace; + + --radius-s: 4px; + --radius-m: 8px; + --radius-l: 14px; + --gutter: clamp(16px, 4vw, 40px); + --max: 1240px; + --header-h: 60px; + + color-scheme: light; + --bg: #edf1f2; + --surface: #ffffff; + --surface-2: #f5f8f9; + --surface-3: #e6edef; + --line: #d4dde1; + --line-strong: #aebec6; + --ink: #0f1d25; + --ink-2: #3c4e58; + --ink-3: #5f717b; + --accent: #127443; + --accent-strong: #0b5a33; + --accent-ink: #ffffff; + --accent-wash: rgb(18 116 67 / 0.09); + --focus: #b4530a; + --grid: #e3e9ec; + --axis: #b9c6cc; + --shadow: 0 1px 2px rgb(15 29 37 / 0.06), 0 8px 28px rgb(15 29 37 / 0.1); + --plate: linear-gradient(180deg, #ffffff 0%, #f3f7f8 100%); + --heat: 18 116 67; + + --s1: #2a78d6; + --s2: #eb6834; + --s3: #1baf7a; + --s4: #eda100; + --s5: #e87ba4; + --s6: #008300; + --s7: #4a3aa7; + --s8: #e34948; +} + +@media (prefers-color-scheme: dark) { + :root:not([data-theme="light"]) { + color-scheme: dark; + --bg: #0d1316; + --surface: #131b1f; + --surface-2: #19232a; + --surface-3: #212d34; + --line: #26343c; + --line-strong: #3b4d57; + --ink: #e3ebef; + --ink-2: #aab9c1; + --ink-3: #82939c; + --accent: #7dd99a; + --accent-strong: #a8f0bd; + --accent-ink: #06200f; + --accent-wash: rgb(125 217 154 / 0.1); + --focus: #ffc857; + --grid: #1f2b32; + --axis: #3b4d57; + --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.45); + --plate: linear-gradient(180deg, #172126 0%, #131b1f 100%); + --heat: 125 217 154; + --s1: #3987e5; + --s2: #d95926; + --s3: #199e70; + --s4: #c98500; + --s5: #d55181; + --s6: #008300; + --s7: #9085e9; + --s8: #e66767; + } +} + +:root[data-theme="dark"] { + color-scheme: dark; + --bg: #0d1316; + --surface: #131b1f; + --surface-2: #19232a; + --surface-3: #212d34; + --line: #26343c; + --line-strong: #3b4d57; + --ink: #e3ebef; + --ink-2: #aab9c1; + --ink-3: #82939c; + --accent: #7dd99a; + --accent-strong: #a8f0bd; + --accent-ink: #06200f; + --accent-wash: rgb(125 217 154 / 0.1); + --focus: #ffc857; + --grid: #1f2b32; + --axis: #3b4d57; + --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.45); + --plate: linear-gradient(180deg, #172126 0%, #131b1f 100%); + --heat: 125 217 154; + --s1: #3987e5; + --s2: #d95926; + --s3: #199e70; + --s4: #c98500; + --s5: #d55181; + --s6: #008300; + --s7: #9085e9; + --s8: #e66767; +} + +/* ------------------------------------------------------------------ base */ + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + -webkit-text-size-adjust: 100%; + scroll-padding-top: calc(var(--header-h) + 16px); +} + +body { + margin: 0; + background: var(--bg); + color: var(--ink); + font-family: var(--font-body); + font-size: 16px; + line-height: 1.5; + -webkit-font-smoothing: antialiased; + min-height: 100vh; + display: flex; + flex-direction: column; +} + +a { + color: var(--accent); + text-underline-offset: 3px; + text-decoration-thickness: 1px; +} + +a:hover { + color: var(--accent-strong); +} + +h1, +h2, +h3 { + font-family: var(--font-display); + font-weight: 600; + line-height: 1.15; + margin: 0; + letter-spacing: 0.005em; +} + +p { + margin: 0; +} + +code, +.mono { + font-family: var(--font-mono); + font-size: 0.875em; +} + +button, +input, +select { + font: inherit; + color: inherit; +} + +:focus-visible { + outline: 2px solid var(--focus); + outline-offset: 2px; + border-radius: var(--radius-s); +} + +.visually-hidden { + position: absolute !important; + width: 1px; + height: 1px; + overflow: hidden; + clip: rect(0 0 0 0); + white-space: nowrap; +} + +.skip-link { + position: absolute; + left: 12px; + top: -48px; + z-index: 100; + padding: 8px 14px; + background: var(--accent); + color: var(--accent-ink); + border-radius: var(--radius-s); + font-family: var(--font-ui); + font-weight: 600; +} + +.skip-link:focus { + top: 10px; +} + +@media (prefers-reduced-motion: reduce) { + *, + *::before, + *::after { + animation-duration: 0.001ms !important; + transition-duration: 0.001ms !important; + } +} + +/* --------------------------------------------------------------- header */ + +.site-header { + position: sticky; + top: 0; + z-index: 30; + height: var(--header-h); + background: color-mix(in srgb, var(--bg) 88%, transparent); + backdrop-filter: blur(10px); + border-bottom: 1px solid var(--line); +} + +.site-header-inner { + max-width: var(--max); + margin: 0 auto; + height: 100%; + padding: 0 var(--gutter); + display: flex; + align-items: center; + gap: 20px; +} + +.brand { + display: flex; + align-items: center; + gap: 10px; + color: var(--ink); + text-decoration: none; + white-space: nowrap; +} + +.brand:hover { + color: var(--ink); +} + +.brand-mark { + width: 26px; + height: 26px; + color: var(--accent); + flex: none; +} + +.brand-name { + font-family: var(--font-display); + font-weight: 600; + font-size: 18px; + letter-spacing: 0.02em; +} + +.brand-sub { + font-family: var(--font-ui); + font-size: 16px; + color: var(--ink-3); + font-weight: 500; +} + +.site-nav { + display: flex; + gap: 4px; +} + +.site-nav a { + font-family: var(--font-ui); + font-weight: 600; + font-size: 17px; + color: var(--ink-2); + text-decoration: none; + padding: 6px 10px; + border-radius: var(--radius-s); + display: inline-flex; + align-items: center; + gap: 6px; +} + +.site-nav a:hover, +.site-nav a[aria-current="page"] { + color: var(--ink); + background: var(--surface-3); +} + +.count-badge { + font-family: var(--font-mono); + font-size: 12px; + min-width: 20px; + height: 20px; + padding: 0 6px; + border-radius: 10px; + background: var(--accent); + color: var(--accent-ink); + display: inline-grid; + place-items: center; +} + +.header-spacer { + flex: 1; +} + +.search-trigger { + display: flex; + align-items: center; + gap: 10px; + min-width: 240px; + height: 38px; + padding: 0 8px 0 12px; + border: 1px solid var(--line); + border-radius: var(--radius-m); + background: var(--surface); + color: var(--ink-3); + cursor: pointer; + font-family: var(--font-ui); + font-size: 16px; +} + +.search-trigger:hover { + border-color: var(--line-strong); + color: var(--ink-2); +} + +.search-trigger .kbd { + margin-left: auto; +} + +.kbd { + font-family: var(--font-mono); + font-size: 11.5px; + line-height: 1; + padding: 4px 6px; + border: 1px solid var(--line-strong); + border-bottom-width: 2px; + border-radius: 5px; + color: var(--ink-2); + background: var(--surface-2); + white-space: nowrap; +} + +.icon-btn { + width: 38px; + height: 38px; + display: inline-grid; + place-items: center; + border: 1px solid var(--line); + border-radius: var(--radius-m); + background: var(--surface); + color: var(--ink-2); + cursor: pointer; + flex: none; +} + +.icon-btn:hover { + color: var(--ink); + border-color: var(--line-strong); +} + +.icon-btn svg { + width: 18px; + height: 18px; +} + +@media (max-width: 760px) { + .brand-sub, + .search-trigger .search-trigger-text, + .search-trigger .kbd { + display: none; + } + .search-trigger { + min-width: 0; + width: 38px; + padding: 0; + justify-content: center; + } + .site-header-inner { + gap: 8px; + } + .site-nav a { + padding: 6px 7px; + } +} + +@media (max-width: 420px) { + .brand-name { + font-size: 16px; + } + .site-nav .nav-browse { + display: none; + } +} + +/* ----------------------------------------------------------------- page */ + +main { + flex: 1; + width: 100%; +} + +.page { + max-width: var(--max); + margin: 0 auto; + padding: 32px var(--gutter) 72px; +} + +.page-title { + font-size: clamp(28px, 4vw, 38px); +} + +.lede { + color: var(--ink-2); + font-size: 17px; + max-width: 68ch; + margin-top: 8px; +} + +.site-footer { + border-top: 1px solid var(--line); + color: var(--ink-3); + font-family: var(--font-ui); + font-size: 15px; +} + +.site-footer-inner { + max-width: var(--max); + margin: 0 auto; + padding: 20px var(--gutter); + display: flex; + flex-wrap: wrap; + gap: 8px 24px; +} + +/* -------------------------------------------------------------- buttons */ + +.btn { + display: inline-flex; + align-items: center; + gap: 8px; + height: 36px; + padding: 0 14px; + border-radius: var(--radius-m); + border: 1px solid var(--line-strong); + background: var(--surface); + color: var(--ink); + font-family: var(--font-ui); + font-weight: 600; + font-size: 16px; + cursor: pointer; + text-decoration: none; + white-space: nowrap; +} + +.btn:hover { + background: var(--surface-3); + color: var(--ink); +} + +.btn-primary { + background: var(--accent); + border-color: var(--accent); + color: var(--accent-ink); +} + +.btn-primary:hover { + background: var(--accent-strong); + border-color: var(--accent-strong); + color: var(--accent-ink); +} + +.btn-quiet { + border-color: transparent; + background: transparent; + color: var(--ink-2); +} + +.btn-compact { + height: 30px; + padding: 0 10px; + font-size: 15px; +} + +.btn svg { + width: 16px; + height: 16px; +} + +.chip { + display: inline-flex; + align-items: center; + gap: 6px; + height: 26px; + padding: 0 10px; + border-radius: 13px; + border: 1px solid var(--line); + background: var(--surface-2); + color: var(--ink-2); + font-family: var(--font-ui); + font-weight: 500; + font-size: 15px; + white-space: nowrap; +} + +.chip-accent { + border-color: color-mix(in srgb, var(--accent) 45%, transparent); + background: var(--accent-wash); + color: var(--ink); +} + +.input { + height: 38px; + padding: 0 12px; + border: 1px solid var(--line-strong); + border-radius: var(--radius-m); + background: var(--surface); + color: var(--ink); + font-family: var(--font-body); + font-size: 16px; + min-width: 0; +} + +.input::placeholder { + color: var(--ink-3); +} + +/* ---------------------------------------------------------------- home */ + +.home-hero { + padding: clamp(40px, 9vh, 96px) 0 36px; + display: grid; + gap: 20px; + justify-items: start; +} + +.home-hero h1 { + font-size: clamp(34px, 6vw, 60px); + font-weight: 600; + max-width: 18ch; + letter-spacing: -0.005em; +} + +.home-hero .lede { + font-size: 18px; +} + +.home-search { + width: 100%; + max-width: 760px; +} + +.version-line { + font-family: var(--font-ui); + font-size: 16px; + color: var(--ink-3); + display: flex; + flex-wrap: wrap; + gap: 4px 18px; +} + +.version-line strong { + color: var(--ink); + font-family: var(--font-mono); + font-weight: 500; + font-size: 14px; +} + +.home-columns { + display: grid; + grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); + gap: 40px; + margin-top: 28px; +} + +@media (max-width: 860px) { + .home-columns { + grid-template-columns: 1fr; + } +} + +.block-title { + font-size: 20px; + margin-bottom: 12px; +} + +.quick-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); + gap: 10px; +} + +.quick-link { + display: grid; + gap: 2px; + padding: 14px 16px; + border: 1px solid var(--line); + border-radius: var(--radius-m); + background: var(--surface); + text-decoration: none; + color: var(--ink); +} + +.quick-link:hover { + border-color: var(--accent); + color: var(--ink); +} + +.quick-link-name { + font-family: var(--font-display); + font-weight: 600; + font-size: 19px; +} + +.quick-link-meta { + font-family: var(--font-ui); + color: var(--ink-3); + font-size: 15px; +} + +.how-list { + margin: 0; + padding: 0; + list-style: none; + display: grid; + gap: 14px; +} + +.how-list li { + display: grid; + grid-template-columns: auto 1fr; + gap: 12px; + align-items: start; + color: var(--ink-2); +} + +.how-list .kbd { + margin-top: 2px; +} + +/* ------------------------------------------------------- search combobox */ + +.combo { + position: relative; +} + +.combo-field { + display: flex; + align-items: center; + gap: 10px; + border: 1px solid var(--line-strong); + border-radius: var(--radius-l); + background: var(--surface); + padding: 0 14px; + height: 56px; + box-shadow: var(--shadow); +} + +.combo-field:focus-within { + border-color: var(--accent); + box-shadow: + 0 0 0 3px var(--accent-wash), + var(--shadow); +} + +.combo-field svg { + width: 20px; + height: 20px; + color: var(--ink-3); + flex: none; +} + +.combo-input { + flex: 1; + min-width: 0; + border: 0; + outline: 0; + background: transparent; + font-family: var(--font-body); + font-size: 19px; + height: 100%; +} + +.combo-input::placeholder { + color: var(--ink-3); +} + +.combo-compact .combo-field { + height: 42px; + border-radius: var(--radius-m); + box-shadow: none; +} + +.combo-compact .combo-input { + font-size: 16px; +} + +.combo-popup { + position: absolute; + left: 0; + right: 0; + top: calc(100% + 6px); + z-index: 40; + border: 1px solid var(--line-strong); + border-radius: var(--radius-m); + background: var(--surface); + box-shadow: var(--shadow); + max-height: min(60vh, 460px); + overflow: auto; +} + +.results { + list-style: none; + margin: 0; + padding: 6px; +} + +.result { + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + gap: 2px 14px; + align-items: center; + padding: 9px 12px; + border-radius: 6px; + cursor: pointer; + color: var(--ink); +} + +.result[aria-selected="true"] { + background: var(--accent-wash); + box-shadow: inset 3px 0 0 var(--accent); +} + +.result-name { + font-family: var(--font-display); + font-weight: 600; + font-size: 17px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.result-name small { + font-family: var(--font-ui); + font-weight: 500; + font-size: 15px; + color: var(--ink-3); + margin-left: 8px; +} + +.result-meta { + font-family: var(--font-ui); + font-size: 15px; + color: var(--ink-3); + grid-column: 1; +} + +.result-id { + grid-row: 1 / span 2; + grid-column: 2; + font-family: var(--font-mono); + font-size: 12.5px; + color: var(--ink-3); +} + +.result-mark { + background: transparent; + color: var(--accent); + font-weight: 700; +} + +.results-empty { + padding: 18px 16px; + color: var(--ink-2); +} + +.results-hint { + padding: 8px 12px 10px; + font-family: var(--font-ui); + font-size: 14px; + color: var(--ink-3); + border-top: 1px solid var(--line); + display: flex; + gap: 14px; + flex-wrap: wrap; +} + +/* --------------------------------------------------------------- palette */ + +.palette-backdrop { + position: fixed; + inset: 0; + z-index: 60; + background: rgb(5 10 13 / 0.55); + display: flex; + justify-content: center; + align-items: flex-start; + padding: 12vh 16px 16px; + animation: fade-in 120ms ease-out; +} + +.palette { + width: min(680px, 100%); + border-radius: var(--radius-l); + background: var(--surface); + border: 1px solid var(--line-strong); + box-shadow: var(--shadow); + overflow: hidden; + animation: rise-in 140ms ease-out; +} + +.palette .combo-field { + border: 0; + border-bottom: 1px solid var(--line); + border-radius: 0; + box-shadow: none; +} + +.palette .combo-popup { + position: static; + border: 0; + border-radius: 0; + box-shadow: none; + max-height: min(56vh, 480px); +} + +@keyframes fade-in { + from { + opacity: 0; + } +} + +@keyframes rise-in { + from { + opacity: 0; + transform: translateY(-6px); + } +} + +/* ---------------------------------------------------------------- browse */ + +.browse { + display: grid; + grid-template-columns: 240px minmax(0, 1fr); + gap: 32px; + margin-top: 24px; +} + +@media (max-width: 860px) { + .browse { + grid-template-columns: minmax(0, 1fr); + gap: 0; + } +} + +@media (max-width: 600px) { + .col-opt { + display: none; + } +} + +.facets { + display: grid; + gap: 22px; + align-content: start; +} + +.facet { + border: 0; + margin: 0; + padding: 0; + display: grid; + gap: 2px; +} + +.facet legend { + font-family: var(--font-ui); + font-weight: 700; + font-size: 16px; + color: var(--ink); + margin-bottom: 6px; + padding: 0; +} + +.facet-option { + display: flex; + align-items: center; + gap: 10px; + padding: 4px 6px; + border-radius: var(--radius-s); + font-family: var(--font-ui); + font-size: 16px; + color: var(--ink-2); + cursor: pointer; +} + +.facet-option:hover { + background: var(--surface-3); + color: var(--ink); +} + +.facet-option input { + accent-color: var(--accent); + width: 16px; + height: 16px; + margin: 0; +} + +.facet-count { + margin-left: auto; + font-family: var(--font-mono); + font-size: 12px; + color: var(--ink-3); +} + +@media (max-width: 860px) { + .facets { + grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); + } +} + +.browse-bar { + display: flex; + flex-wrap: wrap; + gap: 10px 16px; + align-items: center; + justify-content: space-between; + margin-bottom: 12px; + font-family: var(--font-ui); + color: var(--ink-3); +} + +.browse-bar strong { + color: var(--ink); +} + +/* ---------------------------------------------------------------- tables */ + +.table-wrap { + overflow-x: auto; + border: 1px solid var(--line); + border-radius: var(--radius-m); + background: var(--surface); +} + +.table { + width: 100%; + border-collapse: collapse; + font-size: 15px; +} + +.table th, +.table td { + padding: 9px 12px; + text-align: left; + border-bottom: 1px solid var(--line); + vertical-align: middle; +} + +.table tbody tr:last-child td { + border-bottom: 0; +} + +.table th { + font-family: var(--font-ui); + font-weight: 600; + font-size: 15px; + color: var(--ink-2); + background: var(--surface-2); + position: sticky; + top: 0; + white-space: nowrap; +} + +.table td.num, +.table th.num { + white-space: nowrap; + text-align: right; + font-family: var(--font-mono); + font-variant-numeric: tabular-nums; + font-size: 13.5px; +} + +.table tbody tr:hover td { + background: var(--surface-2); +} + +.table .name-cell a { + font-family: var(--font-display); + font-weight: 600; + font-size: 16px; + color: var(--ink); + text-decoration: none; +} + +.table .name-cell a:hover { + color: var(--accent); + text-decoration: underline; +} + +.table .sub { + display: block; + font-family: var(--font-ui); + font-size: 14px; + color: var(--ink-3); +} + +.sort-btn { + border: 0; + background: none; + padding: 0; + font: inherit; + color: inherit; + cursor: pointer; + display: inline-flex; + gap: 4px; + align-items: center; +} + +.sort-btn[data-active="true"] { + color: var(--ink); +} + +.flags { + display: flex; + gap: 4px; + flex-wrap: wrap; +} + +.flag { + font-family: var(--font-ui); + font-size: 13px; + font-weight: 600; + padding: 1px 7px; + border-radius: 4px; + background: var(--surface-3); + color: var(--ink-2); +} + +/* ---------------------------------------------------------------- record */ + +.record-layout { + display: grid; + grid-template-columns: 200px minmax(0, 1fr); + gap: 40px; + align-items: start; +} + +@media (max-width: 960px) { + .record-layout { + grid-template-columns: 1fr; + gap: 20px; + } +} + +.toc { + position: sticky; + top: calc(var(--header-h) + 24px); + display: grid; + gap: 2px; + font-family: var(--font-ui); + font-size: 16px; +} + +.toc-title { + font-weight: 700; + color: var(--ink); + margin-bottom: 6px; +} + +.toc a { + color: var(--ink-3); + text-decoration: none; + padding: 3px 0 3px 12px; + border-left: 2px solid var(--line); +} + +.toc a:hover { + color: var(--ink); + border-left-color: var(--accent); +} + +@media (max-width: 960px) { + .toc { + position: static; + display: flex; + overflow-x: auto; + gap: 6px; + padding-bottom: 4px; + } + .toc-title { + display: none; + } + .toc a { + border: 1px solid var(--line); + border-radius: 14px; + padding: 2px 10px; + white-space: nowrap; + } +} + +.crumbs { + font-family: var(--font-ui); + font-size: 15px; + color: var(--ink-3); + display: flex; + gap: 8px; + margin-bottom: 14px; +} + +.crumbs a { + color: var(--ink-3); +} + +/* The data plate: the one loud element of a record page. */ +.plate { + position: relative; + border: 1px solid var(--line-strong); + border-radius: var(--radius-l); + background: var(--plate); + padding: 26px 28px 0; + margin-bottom: 36px; + overflow: hidden; +} + +.plate::before { + /* Mach-tape ticks along the plate's top edge */ + content: ""; + position: absolute; + inset: 0 0 auto; + height: 7px; + background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 12px); + opacity: 0.7; +} + +.plate-head { + display: flex; + flex-wrap: wrap; + gap: 14px 24px; + align-items: flex-end; + justify-content: space-between; +} + +.plate h1 { + font-size: clamp(36px, 6vw, 58px); + font-weight: 700; + letter-spacing: -0.01em; + line-height: 1; +} + +.plate-nick { + font-family: var(--font-ui); + font-size: 20px; + color: var(--ink-3); + font-weight: 500; + margin-top: 6px; +} + +.plate-id { + display: inline-flex; + align-items: center; + gap: 8px; + margin-top: 12px; + font-family: var(--font-mono); + font-size: 13.5px; + color: var(--ink-2); +} + +.plate-chips { + display: flex; + flex-wrap: wrap; + gap: 6px; + margin-top: 14px; +} + +.plate-actions { + display: flex; + gap: 8px; + flex-wrap: wrap; +} + +.readouts { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + margin: 24px -28px 0; + border-top: 1px solid var(--line); +} + +.readout { + padding: 14px 28px 16px; + border-right: 1px solid var(--line); + display: grid; + gap: 2px; + cursor: context-menu; +} + +.readout:last-child { + border-right: 0; +} + +.readout-label { + font-family: var(--font-ui); + font-size: 15px; + color: var(--ink-3); +} + +.readout-value { + font-family: var(--font-mono); + font-size: 22px; + font-weight: 500; + font-variant-numeric: tabular-nums; + color: var(--ink); +} + +.readout-value .unit { + font-size: 14px; +} + +.readout-empty { + color: var(--ink-3); +} + +.section { + margin-bottom: 40px; +} + +.section-head { + display: flex; + align-items: baseline; + gap: 12px; + flex-wrap: wrap; + padding-bottom: 10px; + margin-bottom: 4px; + border-bottom: 1px solid var(--line-strong); +} + +.section-head h2 { + font-size: 23px; +} + +.section-blurb { + color: var(--ink-3); + font-family: var(--font-ui); + font-size: 16px; +} + +.section-source { + margin-left: auto; + font-family: var(--font-mono); + font-size: 12px; + color: var(--ink-3); + overflow-wrap: anywhere; +} + +.stage-title { + font-family: var(--font-ui); + font-weight: 700; + font-size: 17px; + margin: 18px 0 2px; + display: flex; + align-items: center; + gap: 8px; +} + +/* Field rows */ +.fields { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); + column-gap: 32px; + margin: 0; +} + +.field { + position: relative; + display: grid; + grid-template-columns: minmax(0, 1fr) auto auto; + gap: 4px 12px; + align-items: baseline; + padding: 10px 6px; + margin: 0 -6px; + border-bottom: 1px dashed var(--line); + border-radius: var(--radius-s); + cursor: context-menu; +} + +.field:hover, +.field:focus-visible, +.field[data-menu-open="true"] { + background: var(--surface-2); +} + +.field-label { + font-family: var(--font-ui); + font-weight: 600; + font-size: 16.5px; + color: var(--ink-2); + display: flex; + gap: 8px; + align-items: baseline; + min-width: 0; +} + +.field-key { + font-family: var(--font-mono); + font-weight: 400; + font-size: 11.5px; + color: var(--ink-3); +} + +.field-value { + font-family: var(--font-mono); + font-size: 14.5px; + color: var(--ink); + text-align: right; + font-variant-numeric: tabular-nums; + overflow-wrap: anywhere; +} + +.field-value .unit { + color: var(--ink-3); + margin-left: 3px; +} + +.field-value .secondary { + display: block; + color: var(--ink-3); + font-size: 12px; +} + +.field-value .enum-raw { + display: block; + color: var(--ink-3); + font-size: 12px; +} + +.field-value .friendly { + font-family: var(--font-body); + font-size: 15.5px; +} + +.unit-note { + font-family: var(--font-ui); + font-size: 13px; + color: var(--ink-3); + font-style: italic; +} + +.field-wide { + grid-column: 1 / -1; + grid-template-columns: minmax(0, 1fr) auto; +} + +.field-wide .field-body { + grid-column: 1 / -1; +} + +.field-actions { + display: flex; + opacity: 0; + transition: opacity 120ms; +} + +.field:hover .field-actions, +.field:focus-within .field-actions, +.field[data-menu-open="true"] .field-actions { + opacity: 1; +} + +@media (hover: none) { + .field-actions { + opacity: 1; + } +} + +.field-more { + width: 28px; + height: 28px; + border: 1px solid transparent; + background: transparent; + border-radius: 6px; + color: var(--ink-3); + cursor: pointer; + display: grid; + place-items: center; +} + +.field-more:hover { + border-color: var(--line-strong); + color: var(--ink); + background: var(--surface); +} + +.field-more svg { + width: 16px; + height: 16px; +} + +/* Schema description tooltip */ +.tip { + position: absolute; + left: 0; + bottom: calc(100% + 4px); + z-index: 20; + width: min(420px, 90vw); + padding: 10px 12px; + border-radius: var(--radius-m); + background: var(--ink); + color: var(--bg); + font-family: var(--font-body); + font-weight: 400; + font-size: 14px; + line-height: 1.45; + box-shadow: var(--shadow); + pointer-events: none; + opacity: 0; + visibility: hidden; + transition: opacity 100ms; +} + +.tip code { + font-size: 12.5px; +} + +.field:hover > .tip, +.field:focus-visible > .tip, +.mach-card:hover .tip, +.mach-card:focus-visible .tip, +.readout:hover > .tip, +.readout:focus-visible > .tip { + opacity: 1; + visibility: visible; + transition-delay: 350ms; +} + +.field[data-menu-open="true"] > .tip { + opacity: 0; + visibility: hidden; +} + +.readout { + position: relative; +} + +/* Mach tables: small multiples */ +.mach-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); + gap: 14px; + margin-top: 14px; +} + +.mach-card { + position: relative; + border: 1px solid var(--line); + border-radius: var(--radius-m); + background: var(--surface); + padding: 12px 14px 10px; + display: grid; + gap: 4px; + cursor: context-menu; +} + +.mach-card:hover, +.mach-card[data-menu-open="true"] { + border-color: var(--line-strong); +} + +.mach-card-head { + display: flex; + align-items: baseline; + gap: 8px; +} + +.mach-card-title { + font-family: var(--font-ui); + font-weight: 600; + font-size: 16px; + line-height: 1.25; + color: var(--ink); +} + +.mach-card .field-actions { + margin-left: auto; + align-self: start; +} + +.mach-card:hover .field-actions, +.mach-card:focus-within .field-actions { + opacity: 1; +} + +details.exact { + font-size: 14px; +} + +details.exact summary { + cursor: pointer; + font-family: var(--font-ui); + font-size: 15px; + color: var(--ink-3); + padding: 2px 0; +} + +details.exact summary:hover { + color: var(--accent); +} + +.exact-table { + margin-top: 6px; + width: 100%; + border-collapse: collapse; + font-family: var(--font-mono); + font-size: 12.5px; + font-variant-numeric: tabular-nums; +} + +.exact-table th, +.exact-table td { + padding: 3px 6px; + text-align: right; + border-bottom: 1px solid var(--line); +} + +.exact-table th { + color: var(--ink-3); + font-weight: 400; +} + +.exact-scroll { + max-height: 260px; + overflow: auto; +} + +/* Lists: PN coefficients, cluster elements, cx_coeff */ +.mini-table { + border-collapse: collapse; + font-family: var(--font-mono); + font-size: 13.5px; + font-variant-numeric: tabular-nums; + margin-top: 6px; +} + +.mini-table th, +.mini-table td { + padding: 4px 14px 4px 0; + text-align: right; + border-bottom: 1px solid var(--line); +} + +.mini-table th { + font-family: var(--font-ui); + font-weight: 600; + font-size: 14px; + color: var(--ink-3); +} + +.mini-table th:first-child, +.mini-table td:first-child { + text-align: left; +} + +.value-list { + display: flex; + flex-wrap: wrap; + gap: 4px 8px; + justify-content: flex-end; +} + +.path-list { + list-style: none; + margin: 6px 0 0; + padding: 0; + font-family: var(--font-mono); + font-size: 13px; + color: var(--ink-2); + overflow-wrap: anywhere; +} + +/* Launch grid */ +.grid-block { + margin-top: 16px; +} + +.grid-block-head { + display: flex; + align-items: baseline; + gap: 10px; + flex-wrap: wrap; + margin-bottom: 8px; +} + +.grid-block-head h3 { + font-family: var(--font-ui); + font-weight: 700; + font-size: 17px; +} + +.launch-grid { + border-collapse: separate; + border-spacing: 2px; + font-family: var(--font-mono); + font-size: 12px; + font-variant-numeric: tabular-nums; +} + +.launch-grid th { + font-weight: 500; + color: var(--ink-3); + padding: 4px 6px; + text-align: right; +} + +.launch-grid td { + padding: 5px 7px; + text-align: right; + border-radius: 3px; + color: var(--ink); + min-width: 52px; +} + +.launch-grid .corner { + font-family: var(--font-ui); + font-size: 13px; + text-align: left; +} + +/* ---------------------------------------------------------------- charts */ + +.chart { + position: relative; + width: 100%; +} + +.chart svg { + display: block; + width: 100%; + height: auto; + overflow: visible; +} + +.chart .gridline { + stroke: var(--grid); + stroke-width: 1; +} + +.chart .axis { + stroke: var(--axis); + stroke-width: 1; +} + +.chart .tick-label { + fill: var(--ink-3); + font-family: var(--font-mono); + font-size: 10.5px; +} + +.chart .axis-title { + fill: var(--ink-3); + font-family: var(--font-ui); + font-size: 12px; +} + +.chart .series-line { + fill: none; + stroke-width: 2; + stroke-linejoin: round; + stroke-linecap: round; +} + +.chart .crosshair { + stroke: var(--ink-3); + stroke-width: 1; + stroke-dasharray: 3 3; +} + +.chart .dot { + stroke: var(--surface); + stroke-width: 2; +} + +.chart .direct-label { + font-family: var(--font-ui); + font-weight: 600; + font-size: 12.5px; + fill: var(--ink-2); +} + +.chart-tooltip { + position: absolute; + z-index: 10; + pointer-events: none; + min-width: 140px; + padding: 8px 10px; + border-radius: var(--radius-m); + border: 1px solid var(--line-strong); + background: var(--surface); + box-shadow: var(--shadow); + font-size: 13px; +} + +.chart-tooltip-title { + font-family: var(--font-ui); + font-weight: 700; + margin-bottom: 4px; +} + +.chart-tooltip-row { + display: grid; + grid-template-columns: 10px 1fr auto; + gap: 8px; + align-items: center; + font-family: var(--font-ui); +} + +.chart-tooltip-row .v { + font-family: var(--font-mono); + font-size: 12.5px; +} + +.swatch { + width: 10px; + height: 10px; + border-radius: 3px; + display: inline-block; + flex: none; +} + +.legend { + display: flex; + flex-wrap: wrap; + gap: 6px 16px; + font-family: var(--font-ui); + font-size: 15px; + color: var(--ink-2); + margin-bottom: 8px; +} + +.legend-item { + display: inline-flex; + align-items: center; + gap: 6px; +} + +/* ------------------------------------------------------------ context menu */ + +.menu { + position: fixed; + z-index: 70; + min-width: 260px; + max-width: min(340px, calc(100vw - 16px)); + padding: 6px; + border-radius: var(--radius-m); + border: 1px solid var(--line-strong); + background: var(--surface); + box-shadow: var(--shadow); + animation: fade-in 90ms ease-out; +} + +.menu-head { + padding: 6px 10px 8px; + border-bottom: 1px solid var(--line); + margin-bottom: 4px; + display: grid; + gap: 1px; +} + +.menu-head-label { + font-family: var(--font-ui); + font-weight: 700; + font-size: 16px; +} + +.menu-head-path { + font-family: var(--font-mono); + font-size: 11.5px; + color: var(--ink-3); + overflow-wrap: anywhere; +} + +.menu-item { + width: 100%; + display: flex; + align-items: center; + gap: 10px; + padding: 8px 10px; + border: 0; + border-radius: 6px; + background: transparent; + font-family: var(--font-ui); + font-size: 16px; + font-weight: 500; + color: var(--ink); + text-align: left; + cursor: pointer; +} + +.menu-item:hover, +.menu-item:focus-visible { + background: var(--accent-wash); + outline: none; +} + +.menu-item svg { + width: 16px; + height: 16px; + color: var(--ink-3); + flex: none; +} + +.menu-item .kbd { + margin-left: auto; +} + +.menu-sep { + border: 0; + height: 1px; + background: var(--line); + margin: 4px 0; +} + +/* ---------------------------------------------------------------- toast */ + +.toast { + position: fixed; + z-index: 80; + left: 50%; + bottom: 24px; + transform: translateX(-50%); + display: flex; + align-items: center; + gap: 14px; + padding: 10px 12px 10px 16px; + border-radius: var(--radius-m); + background: var(--ink); + color: var(--bg); + font-family: var(--font-ui); + font-size: 16px; + box-shadow: var(--shadow); + animation: rise-in 140ms ease-out; + max-width: calc(100vw - 32px); +} + +.toast a { + color: var(--bg); + font-weight: 700; +} + +/* ---------------------------------------------------------------- compare */ + +.compare-head { + display: grid; + gap: 18px; + margin-bottom: 28px; +} + +.compare-controls { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); + gap: 16px; +} + +@media (max-width: 760px) { + .compare-controls { + grid-template-columns: minmax(0, 1fr); + } +} + +.control-label { + display: block; + font-family: var(--font-ui); + font-weight: 700; + font-size: 16px; + margin-bottom: 6px; +} + +.selection { + display: flex; + flex-wrap: wrap; + gap: 8px; + align-items: center; +} + +.sel-chip { + display: inline-flex; + align-items: center; + gap: 8px; + height: 34px; + padding: 0 4px 0 10px; + border-radius: 17px; + border: 1px solid var(--line-strong); + background: var(--surface); + font-family: var(--font-display); + font-weight: 600; + font-size: 15px; +} + +.sel-chip a { + color: var(--ink); + text-decoration: none; +} + +.sel-chip button { + width: 26px; + height: 26px; + border-radius: 13px; + border: 0; + background: transparent; + color: var(--ink-3); + cursor: pointer; + display: grid; + place-items: center; +} + +.sel-chip button:hover { + background: var(--surface-3); + color: var(--ink); +} + +.sel-chip button svg { + width: 14px; + height: 14px; +} + +.field-pick { + display: flex; + gap: 8px; +} + +.field-pick select { + flex: 1; + min-width: 0; +} + +.compare-field-title { + display: flex; + flex-wrap: wrap; + align-items: baseline; + gap: 8px 14px; +} + +.compare-field-title h2 { + font-size: 26px; +} + +.compare-desc { + color: var(--ink-2); + max-width: 80ch; + font-size: 15.5px; + margin-top: 6px; +} + +.panel { + border: 1px solid var(--line); + border-radius: var(--radius-l); + background: var(--surface); + padding: 18px 20px; +} + +.panel + .panel { + margin-top: 20px; +} + +.panel-head { + display: flex; + flex-wrap: wrap; + gap: 8px 16px; + align-items: center; + justify-content: space-between; + margin-bottom: 12px; +} + +.panel-head h3 { + font-size: 19px; +} + +.bar-cell { + display: flex; + align-items: center; + justify-content: flex-end; + gap: 10px; +} + +.bar { + height: 8px; + border-radius: 4px; + background: var(--accent); + opacity: 0.7; + min-width: 2px; +} + +.bar-track { + width: 120px; + display: flex; + justify-content: flex-start; +} + +.matrix th[scope="row"] { + position: sticky; + left: 0; + background: var(--surface); + z-index: 1; + min-width: 200px; + white-space: normal; +} + +.matrix .diff td { + background: var(--accent-wash); +} + +.empty-state { + border: 1px dashed var(--line-strong); + border-radius: var(--radius-l); + padding: 36px 24px; + display: grid; + gap: 10px; + justify-items: start; + color: var(--ink-2); +} + +.empty-state h2 { + font-size: 22px; + color: var(--ink); +} + +.toolbar { + display: flex; + flex-wrap: wrap; + gap: 10px; + align-items: center; +} + +.check { + display: inline-flex; + align-items: center; + gap: 8px; + font-family: var(--font-ui); + font-size: 16px; + color: var(--ink-2); + cursor: pointer; +} + +.check input { + accent-color: var(--accent); + width: 16px; + height: 16px; +} + +.muted { + color: var(--ink-3); +} + +.matrix td { + white-space: normal; + overflow-wrap: anywhere; + min-width: 140px; +} + +.facet { + align-content: start; +} + +.facets-toggle { + display: none; +} + +@media (max-width: 860px) { + .facets-toggle { + display: flex; + font-family: var(--font-ui); + font-weight: 700; + font-size: 17px; + cursor: pointer; + padding: 8px 12px; + border: 1px solid var(--line); + border-radius: var(--radius-m); + background: var(--surface); + margin-bottom: 12px; + } + .facets-panel:not([open]) > .facets { + display: none; + } +} + +.search-trigger, +.icon-btn { + flex-shrink: 0; +} + +@media (max-width: 520px) { + .site-nav .nav-label { + position: absolute; + width: 1px; + height: 1px; + overflow: hidden; + clip: rect(0 0 0 0); + } +} diff --git a/site/src/app/layout.tsx b/site/src/app/layout.tsx new file mode 100644 index 00000000..24a3547a --- /dev/null +++ b/site/src/app/layout.tsx @@ -0,0 +1,65 @@ +import "@fontsource/barlow/400.css"; +import "@fontsource/barlow/500.css"; +import "@fontsource/barlow-condensed/500.css"; +import "@fontsource/barlow-condensed/600.css"; +import "@fontsource/barlow-condensed/700.css"; +import "@fontsource/chakra-petch/600.css"; +import "@fontsource/chakra-petch/700.css"; +import "@fontsource/ibm-plex-mono/400.css"; +import "@fontsource/ibm-plex-mono/500.css"; +import "./globals.css"; +import "../styles/record.css"; +import "../styles/browse.css"; +import "../styles/compare.css"; +import "../styles/search.css"; + +import type { Metadata, Viewport } from "next"; +import type { ReactNode } from "react"; +import { CommandPalette } from "@/components/command-palette"; +import { FieldMenu } from "@/components/field-menu"; +import { SiteHeader } from "@/components/header"; +import { DataVersion } from "@/components/series-directory"; +import { Toaster } from "@/components/toast"; +import { UNITS_BOOTSTRAP } from "@/lib/units"; + +export const metadata: Metadata = { + title: { default: "DCS World Reference", template: "%s · DCS World Reference" }, + description: + "Aircraft, weapons, sensors, airbases and every other record DCS World ships, field by field.", +}; + +export const viewport: Viewport = { + themeColor: [ + { media: "(prefers-color-scheme: light)", color: "#edf1f2" }, + { media: "(prefers-color-scheme: dark)", color: "#0d1316" }, + ], +}; + +// Applies a stored theme before first paint; without one, the system preference rules. +const themeScript = `try{var t=localStorage.getItem("dcs-ref:theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}${UNITS_BOOTSTRAP}`; + +export default function RootLayout({ children }: { children: ReactNode }) { + return ( + + + {/* biome-ignore lint/security/noDangerouslySetInnerHtml: static theme bootstrap */} + "); + expect(compileApiOverlays(d).symbols.Unit?.html).not.toContain("