@jtff/miztemplate-lib 3.0.0-rc13 → 3.0.0-rc14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/ci/build.js +6 -0
  2. package/ci/clean.js +4 -0
  3. package/ci/ftpupload.js +6 -0
  4. package/ci/gdrive-upload.js +6 -0
  5. package/ci/get-mizfiles.js +6 -0
  6. package/ci/getset-version.js +10 -0
  7. package/ci/inject-scripts.js +5 -0
  8. package/ci/prepare-nextversion.js +5 -0
  9. package/ci/release.js +5 -0
  10. package/ci/template-update.js +5 -0
  11. package/lib/jtff-lib-ci.js +60 -0
  12. package/lib/mizlib.js +1 -26
  13. package/package.json +3 -2
  14. package/resources/radios/Caucasus/354th-caucasus.lua +124 -0
  15. package/resources/radios/Caucasus/494th-caucasus.lua +91 -0
  16. package/resources/radios/Caucasus/79th-SUFA-caucasus.lua +65 -0
  17. package/resources/radios/Caucasus/79th-caucasus.lua +65 -0
  18. package/resources/radios/Caucasus/ec25-D-caucasus.lua +65 -0
  19. package/resources/radios/Caucasus/ec25-caucasus.lua +65 -0
  20. package/resources/radios/Caucasus/vf84-a-caucasus.lua +75 -0
  21. package/resources/radios/Caucasus/vf84-b-caucasus.lua +75 -0
  22. package/resources/radios/Caucasus/vfa-131-caucasus.lua +65 -0
  23. package/resources/radios/Caucasus/vmfa-314-caucasus.lua +65 -0
  24. package/resources/radios/Mariana/354th-marianas.lua +124 -0
  25. package/resources/radios/Mariana/494th-marianas.lua +91 -0
  26. package/resources/radios/Mariana/79th-marianas.lua +65 -0
  27. package/resources/radios/Mariana/ec25-marianas.lua +65 -0
  28. package/resources/radios/Mariana/vf84-a-marianas.lua +75 -0
  29. package/resources/radios/Mariana/vf84-b-marianas.lua +75 -0
  30. package/resources/radios/Mariana/vfa-131-marianas.lua +65 -0
  31. package/resources/radios/Mariana/vmfa-314-marianas.lua +65 -0
  32. package/resources/radios/NTTR/354th-nttr.lua +124 -0
  33. package/resources/radios/NTTR/494th-nttr.lua +91 -0
  34. package/resources/radios/NTTR/79th-nttr.lua +65 -0
  35. package/resources/radios/NTTR/ec25-nttr.lua +65 -0
  36. package/resources/radios/NTTR/vf84-a-nttr.lua +75 -0
  37. package/resources/radios/NTTR/vf84-b-nttr.lua +75 -0
  38. package/resources/radios/NTTR/vfa-131-nttr.lua +65 -0
  39. package/resources/radios/NTTR/vmfa-314-nttr.lua +65 -0
  40. package/resources/radios/PersianGulf/354th-persian.lua +124 -0
  41. package/resources/radios/PersianGulf/3_30-persian.lua +65 -0
  42. package/resources/radios/PersianGulf/494th-persian.lua +91 -0
  43. package/resources/radios/PersianGulf/79th-persian.lua +65 -0
  44. package/resources/radios/PersianGulf/ec25-persian.lua +65 -0
  45. package/resources/radios/PersianGulf/vf84-a-persian.lua +75 -0
  46. package/resources/radios/PersianGulf/vf84-b-persian.lua +75 -0
  47. package/resources/radios/PersianGulf/vfa-131-persian.lua +65 -0
  48. package/resources/radios/PersianGulf/vmfa-314-persian.lua +65 -0
  49. package/resources/radios/SinaiMap/354th-sinai.lua +124 -0
  50. package/resources/radios/SinaiMap/494th-sinai.lua +91 -0
  51. package/resources/radios/SinaiMap/79th-SUFA-sinai.lua +65 -0
  52. package/resources/radios/SinaiMap/79th-sinai.lua +65 -0
  53. package/resources/radios/SinaiMap/ec25-D-sinai.lua +65 -0
  54. package/resources/radios/SinaiMap/ec25-sinai.lua +65 -0
  55. package/resources/radios/SinaiMap/vf84-a-sinai.lua +75 -0
  56. package/resources/radios/SinaiMap/vf84-b-sinai.lua +75 -0
  57. package/resources/radios/SinaiMap/vfa-131-sinai.lua +65 -0
  58. package/resources/radios/SinaiMap/vmfa-314-sinai.lua +65 -0
  59. package/resources/radios/Syria/354th-syria.lua +124 -0
  60. package/resources/radios/Syria/494th-syria.lua +91 -0
  61. package/resources/radios/Syria/79th-SUFA-syria.lua +65 -0
  62. package/resources/radios/Syria/79th-syria.lua +65 -0
  63. package/resources/radios/Syria/ec25-D-syria.lua +65 -0
  64. package/resources/radios/Syria/ec25-syria.lua +65 -0
  65. package/resources/radios/Syria/vf84-a-syria.lua +75 -0
  66. package/resources/radios/Syria/vf84-b-syria.lua +75 -0
  67. package/resources/radios/Syria/vfa-131-syria.lua +65 -0
  68. package/resources/radios/Syria/vmfa-314-syria.lua +65 -0
  69. package/scripts/build.js +30 -15
  70. package/scripts/inject-scripts.js +6 -5
  71. package/resources/radios/.gitkeep +0 -0
package/ci/build.js ADDED
@@ -0,0 +1,6 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+
3
+ const config = require("../../config.json");
4
+ const jtffci = new templatelib.MizTemplateCI(config);
5
+
6
+ templatelib.build(jtffci);
package/ci/clean.js ADDED
@@ -0,0 +1,4 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+ const config = require("../../config.json");
3
+
4
+ templatelib.clean(config);
@@ -0,0 +1,6 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+
3
+ const config = require("../../config.json");
4
+ const jtffci = new templatelib.MizTemplateCI(config);
5
+
6
+ templatelib.ftpupload(jtffci);
@@ -0,0 +1,6 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+
3
+ const config = require("../../config.json");
4
+ const jtffci = new templatelib.MizTemplateCI(config);
5
+
6
+ templatelib.gdriveupload(jtffci);
@@ -0,0 +1,6 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+
3
+ const config = require("../../config.json");
4
+ const jtffci = new templatelib.MizTemplateCI(config);
5
+
6
+ templatelib.getmizfiles(jtffci);
@@ -0,0 +1,10 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+
3
+ const config = require("../../config.json");
4
+ const jtffci = new templatelib.MizTemplateCI(config);
5
+
6
+ if (process.argv.slice(2).length > 0) {
7
+ templatelib.setVersion(jtffci, process.argv.slice(2)[0], "./config.json");
8
+ } else {
9
+ templatelib.getVersion(jtffci);
10
+ }
@@ -0,0 +1,5 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+ const config = require("../../config.json");
3
+ const jtffci = new templatelib.MizTemplateCI(config);
4
+
5
+ templatelib.injectScripts(jtffci, process.env.npm_config_mission);
@@ -0,0 +1,5 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+ const config = require("../../config.json");
3
+ const jtffci = new templatelib.MizTemplateCI(config);
4
+
5
+ templatelib.nextversionPrepare(jtffci, "./config.json");
package/ci/release.js ADDED
@@ -0,0 +1,5 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+ const config = require("../../config.json");
3
+ const jtffci = new templatelib.MizTemplateCI(config);
4
+
5
+ templatelib.release(jtffci, "./config.json");
@@ -0,0 +1,5 @@
1
+ const templatelib = require('@jtff/miztemplate-lib');
2
+ const config = require("../../config.json");
3
+ const jtffci = new templatelib.MizTemplateCI(config);
4
+
5
+ templatelib.templateUpdate(jtffci);
@@ -187,6 +187,66 @@ class MizTemplateCI{
187
187
  }
188
188
  });
189
189
  }
190
+
191
+ async generateConfigJsonFileFromZipObject(zip,filename) {
192
+ let theatreString = (await this.mizlib.getMissionObjectFromZipObject(zip)).theatre;
193
+ return {
194
+ "general": {
195
+ "missionFolder": "dist",
196
+ "missionPrefix": filename,
197
+ "missionSuffix": "JTFF",
198
+ "missionVersion": "1.0.0-snapshot"
199
+ },
200
+ "google": {
201
+ "scopes": [
202
+ "https://www.googleapis.com/auth/drive"
203
+ ],
204
+ "tokenPath": "dist/gtoken.json"
205
+ },
206
+ "missionTemplates": [
207
+ {
208
+ "theatre": theatreString,
209
+ "filename": filename,
210
+ "destFolderId": "1pK_0I2iEzhEiqWicu8hsX7VPZuKGnKoW"
211
+ }
212
+ ]
213
+ };
214
+ }
215
+
216
+ async generatePackageJsonFile(missionName) {
217
+ return {
218
+ "name": missionName,
219
+ "version": "1.0.0-snapshot",
220
+ "description": "build jtff-style missions",
221
+ "main": "none",
222
+ "scripts": {
223
+ "build": "node src/nodejs/build.js",
224
+ "clean": "node src/nodejs/clean.js",
225
+ "template-update": "node src/nodejs/template-update.js",
226
+ "nextversion-prepare": "node src/nodejs/prepare-nextversion.js",
227
+ "version": "node src/nodejs/getset-version.js",
228
+ "release": "node src/nodejs/release.js",
229
+ "getmiz": "node src/nodejs/get-mizfiles.js",
230
+ "gdrive-upload": "node src/nodejs/gdrive-upload.js",
231
+ "ftp-upload": "node src/nodejs/ftpupload.js"
232
+ },
233
+ "author": "Sebastien LONGO",
234
+ "license": "GPL-3.0-or-later",
235
+ "dependencies": {
236
+ "@jtff/miztemplate-lib": "latest"
237
+ }
238
+ };
239
+ }
240
+
241
+ async InjectCiScriptsIntoWorkspace(workspacePath) {
242
+ fs.cpSync('node_modules/@jtff/miztemplate-lib/ci',workspacePath + '/src/nodejs',{recursive: true});
243
+ }
244
+
245
+ async deployCIScriptsFromZipObjectIntoWorkspace(workspacePath, mizObject, mizFilePath) {
246
+ fs.writeFileSync(workspacePath + '/config.json', JSON.stringify(await this.generateConfigJsonFileFromZipObject(mizObject, path.basename(mizFilePath)), null, 4));
247
+ fs.writeFileSync(workspacePath + '/package.json', JSON.stringify(await this.generatePackageJsonFile(path.parse(mizFilePath).name), null, 4));
248
+ await this.InjectCiScriptsIntoWorkspace(workspacePath);
249
+ }
190
250
  }
191
251
 
192
252
 
package/lib/mizlib.js CHANGED
@@ -397,31 +397,6 @@ class Mizlib {
397
397
  let luaTable = 'return { \n' + await this.getMapResourceLuaStringFromZipObject(zip) + ' }';
398
398
  return parse(luaTable).mapResource;
399
399
  }
400
-
401
- async generateConfigJsonFile(zip) {
402
- let theatreString = (await this.getMissionObjectFromZipObject(zip)).theatre;
403
- return {
404
- "general": {
405
- "missionFolder": "dist",
406
- "missionPrefix": "Theatre",
407
- "missionSuffix": "JTFF",
408
- "missionVersion": "1.0.0-snapshot"
409
- },
410
- "google": {
411
- "scopes": [
412
- "https://www.googleapis.com/auth/drive"
413
- ],
414
- "tokenPath": "dist/gtoken.json"
415
- },
416
- "missionTemplates": [
417
- {
418
- "theatre": theatreString,
419
- "prefix": "template",
420
- "destFolderId": "15CrplYJsmv8GNu2obuX-TuCWLrUff1NS"
421
- }
422
- ]
423
- };
424
- }
425
400
  }
426
401
 
427
- module.exports = Mizlib
402
+ module.exports = Mizlib;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.0.0-rc13",
3
+ "version": "3.0.0-rc14",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -8,7 +8,8 @@
8
8
  "scripts",
9
9
  "lib",
10
10
  "lua",
11
- "resources"
11
+ "resources",
12
+ "ci"
12
13
  ],
13
14
  "scripts": {
14
15
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -0,0 +1,124 @@
1
+ descriptor = {
2
+ aircraft = "A-10C_2",
3
+ group_name = "([354])"
4
+ }
5
+
6
+ radio_descriptor_table = {
7
+ [1] = -- ARC-210
8
+ {
9
+ ["modulations"] =
10
+ {
11
+ [1] = 0,
12
+ [2] = 0,
13
+ [3] = 0,
14
+ [4] = 0,
15
+ [5] = 0,
16
+ [6] = 0,
17
+ [7] = 0,
18
+ [8] = 0,
19
+ [9] = 0,
20
+ [10] = 0,
21
+ [11] = 0,
22
+ [12] = 0,
23
+ [13] = 0,
24
+ [14] = 0,
25
+ [15] = 0,
26
+ [16] = 0,
27
+ [17] = 0,
28
+ [18] = 0,
29
+ [19] = 0,
30
+ [20] = 0,
31
+ [21] = 1,
32
+ [22] = 1,
33
+ [23] = 1,
34
+ [24] = 1,
35
+ [25] = 1,
36
+ }, -- end of ["modulations"]
37
+ ["channels"] =
38
+ {
39
+ [1] = 133.250,
40
+ [2] = 133.500,
41
+ [3] = 133.750,
42
+ [4] = 133.950,
43
+ [5] = 126.600,
44
+ [6] = 134.100,
45
+ [7] = 132.650,
46
+ [8] = 131.250,
47
+ [9] = 131.500,
48
+ [10] = 135.250,
49
+ [11] = 135.500,
50
+ [12] = 139.250,
51
+ [13] = 139.500,
52
+ [14] = 136.250,
53
+ [15] = 136.500,
54
+ [16] = 137.250,
55
+ [17] = 137.500,
56
+ [18] = 125.000,
57
+ [19] = 130.250,
58
+ [20] = 121.500,
59
+ [21] = 54.000,
60
+ [22] = 32.500,
61
+ [23] = 42.000,
62
+ [24] = 37.500,
63
+ [25] = 54.000,
64
+ }, -- end of ["channels"]
65
+ }, -- end of [1]
66
+ [2] = -- ARC-164
67
+ {
68
+ ["modulations"] =
69
+ {
70
+ }, -- end of ["modulations"]
71
+ ["channels"] =
72
+ {
73
+ [1] = 360.100,
74
+ [2] = 360.200,
75
+ [3] = 360.300,
76
+ [4] = 360.400,
77
+ [5] = 377.800,
78
+ [6] = 265.800,
79
+ [7] = 261.000,
80
+ [8] = 261.500,
81
+ [9] = 276.200,
82
+ [10] = 317.500,
83
+ [11] = 360.200,
84
+ [12] = 251.200,
85
+ [13] = 263.100,
86
+ [14] = 327.100,
87
+ [15] = 250.250,
88
+ [16] = 250.500,
89
+ [17] = 251.750,
90
+ [18] = 309.000,
91
+ [19] = 274.500,
92
+ [20] = 243.000
93
+ }, -- end of ["channels"]
94
+ }, -- end of [2]
95
+ [3] = -- ARC-186
96
+ {
97
+ ["modulations"] =
98
+ {
99
+ }, -- end of ["modulations"]
100
+ ["channels"] =
101
+ {
102
+ [1] = 35.400,
103
+ [2] = 35.450,
104
+ [3] = 35.500,
105
+ [4] = 35.550,
106
+ [5] = 35.500,
107
+ [6] = 31.501,
108
+ [7] = 31.502,
109
+ [8] = 31.503,
110
+ [9] = 31.504,
111
+ [10] = 31.505,
112
+ [11] = 31.506,
113
+ [12] = 31.507,
114
+ [13] = 31.508,
115
+ [14] = 31.509,
116
+ [15] = 31.510,
117
+ [16] = 31.511,
118
+ [17] = 31.512,
119
+ [18] = 31.513,
120
+ [19] = 31.514,
121
+ [20] = 87.500
122
+ }, -- end of ["channels"]
123
+ }, -- end of [3]
124
+ } -- end of ["Radio"]
@@ -0,0 +1,91 @@
1
+ descriptor = {
2
+ aircraft = "F-15ESE",
3
+ group_name = "(^494)",
4
+ }
5
+
6
+ radio_descriptor_table = {
7
+ [1] =
8
+ {
9
+ ["channelsNames"] =
10
+ {
11
+ }, -- end of ["channelsNames"]
12
+ ["modulations"] =
13
+ {
14
+ }, -- end of ["modulations"]
15
+ ["channels"] =
16
+ {
17
+ [1] = 260.000, -- Orange1
18
+ [2] = 260.250, -- Orange2
19
+ [3] = 260.500, -- Orange3
20
+ [4] = 260.750, -- Orange4
21
+ [5] = 276.200, -- Olive1
22
+ [6] = 261.000, -- Silver2
23
+ [7] = 261.500, -- Silver3
24
+ [8] = 309.000, -- Bronze1 CSAR
25
+ [9] = 274.500, -- Bronze2 JTAC1
26
+ [10] = 243.000, -- Bronze4 Guard
27
+ [11] = 360.400, -- Incirlik Approach
28
+ [12] = 360.300, -- Olive3 - Incirlik Tower
29
+ [13] = 360.200, -- Incirlik Ground
30
+ [14] = 250.250, -- Red1 Range Ctl 1
31
+ [15] = 250.500, -- Red2 Range Ctl 2
32
+ [16] = 225.000,
33
+ [17] = 262.000, -- Cherry 1 - VF84
34
+ [18] = 236.250, -- Pink1 EC2/5
35
+ [19] = 225.000,
36
+ [20] = 225.000,
37
+ }, -- end of ["channels"]
38
+ }, -- end of [1]
39
+ [2] =
40
+ {
41
+ ["channelsNames"] =
42
+ {
43
+ }, -- end of ["channelsNames"]
44
+ ["modulations"] =
45
+ {
46
+ }, -- end of ["modulations"]
47
+ ["channels"] =
48
+ {
49
+ [1] = 270.100, -- Black3 ATIS
50
+ [2] = 360.400, -- Incirlik Approach
51
+ [3] = 360.300, -- Olive3 - Incirlik Tower
52
+ [4] = 360.200, -- Incirlik Ground
53
+ [5] = 265.800, -- Silver1 AWACS IA
54
+ [6] = 261.000, -- Silver2 AIC1
55
+ [7] = 261.500, -- Silver3 AIC2
56
+ [8] = 276.200, -- Olive1 Tanker1
57
+ [9] = 317.500, -- Olive2 Tanker2
58
+ [10] = 309.000, -- Bronze1 CSAR
59
+ [11] = 274.500, -- Bronze2 JTAC1
60
+ [12] = 130.250, -- Bronze3 JTAC2
61
+ [13] = 243.000, -- Bronze4 GUARD
62
+ [14] = 251.750, -- Black2 CTAF Ground
63
+ [15] = 121.500, -- Emergency
64
+ [16] = 250.250, -- Red1 Range Ctl1
65
+ [17] = 250.500, -- Red2 Range Ctl2
66
+ [18] = 225.000,
67
+ [19] = 131.250, -- Blue1 VMFA314
68
+ [20] = 135.250, -- Grape1 79FS
69
+ [21] = 225.000,
70
+ [22] = 225.000,
71
+ [23] = 225.000,
72
+ [24] = 225.000,
73
+ [25] = 225.000,
74
+ [26] = 225.000,
75
+ [27] = 225.000,
76
+ [28] = 225.000,
77
+ [29] = 225.000,
78
+ [30] = 225.000,
79
+ [31] = 225.000,
80
+ [32] = 225.000,
81
+ [33] = 225.000,
82
+ [34] = 225.000,
83
+ [35] = 225.000,
84
+ [36] = 225.000,
85
+ [37] = 225.000,
86
+ [38] = 225.000,
87
+ [39] = 225.000,
88
+ [40] = 225.000,
89
+ }, -- end of ["channels"]
90
+ }, -- end of [2]
91
+ } -- end of ["Radio"]
@@ -0,0 +1,65 @@
1
+ descriptor = {
2
+ aircraft = "F-16D_50_NS",
3
+ group_name = "([79])",
4
+ }
5
+
6
+ radio_descriptor_table = {
7
+ [1] =
8
+ {
9
+ ["modulations"] =
10
+ {
11
+ }, -- end of ["modulations"]
12
+ ["channels"] = --UHF
13
+ {
14
+ [1] = 270.100, --ATIS
15
+ [2] = 360.200, --Incirlik Ground
16
+ [3] = 360.300, --Incirlik Tower & A/A
17
+ [4] = 360.400, --Incirlik Dep/App
18
+ [5] = 377.800, --BlackJack
19
+ [6] = 265.800, --AWACS IA
20
+ [7] = 261.000, --AIC 1
21
+ [8] = 261.500, --AIC 2
22
+ [9] = 279.000, --Squad TAC
23
+ [10] = 279.250, --Squad TAC
24
+ [11] = 250.250, --Range ctrl 1
25
+ [12] = 250.500, --Range ctrl 2
26
+ [13] = 309.000, --CSAR
27
+ [14] = 276.200, --TKR 1 Boom
28
+ [15] = 317.500, --TKR 2 Basket
29
+ [16] = 236.250, --2/5 IDF Tac
30
+ [17] = 236.500, --2/5 IDF Tac
31
+ [18] = 274.500, --JTAC 1
32
+ [19] = 251.750, --CTAF
33
+ [20] = 243.000, --Guard
34
+ }, -- end of ["channels"]
35
+ }, -- end of [1]
36
+ [2] =
37
+ {
38
+ ["modulations"] =
39
+ {
40
+ }, -- end of ["modulations"]
41
+ ["channels"] = --VHF
42
+ {
43
+ [1] = 135.250, --Squad tac
44
+ [2] = 135.500, --Squad tac
45
+ [3] = 135.750, --Squad tac
46
+ [4] = 135.950, --Squad tac
47
+ [5] = 127.500, --BlakJack
48
+ [6] = 133.250, --354Th FS Tac
49
+ [7] = 133.500, --354Th FS Tac
50
+ [8] = 133.750, --354Th FS Tac
51
+ [9] = 133.950, --354Th FS Tac
52
+ [10] = 139.250, --N/A
53
+ [11] = 139.500, --N/A
54
+ [12] = 139.750, --N/A
55
+ [13] = 131.250, --VMFA 314 Tac
56
+ [14] = 131.500, --VMFA 314 Tac
57
+ [15] = 137.250, --N/A
58
+ [16] = 137.500, --N/A
59
+ [17] = 137.750, --N/A
60
+ [18] = 130.250, --JTAC 2
61
+ [19] = 125.000, --N/A
62
+ [20] = 121.500, --Emergency
63
+ }, -- end of ["channels"]
64
+ }, -- end of [2]
65
+ } -- end of ["Radio"]
@@ -0,0 +1,65 @@
1
+ descriptor = {
2
+ aircraft = "F-16C_50",
3
+ group_name = "([79])",
4
+ }
5
+
6
+ radio_descriptor_table = {
7
+ [1] =
8
+ {
9
+ ["modulations"] =
10
+ {
11
+ }, -- end of ["modulations"]
12
+ ["channels"] = --UHF
13
+ {
14
+ [1] = 270.100, --ATIS
15
+ [2] = 360.200, --Incirlik Ground
16
+ [3] = 360.300, --Incirlik Tower & A/A
17
+ [4] = 360.400, --Incirlik Dep/App
18
+ [5] = 377.800, --BlackJack
19
+ [6] = 265.800, --AWACS IA
20
+ [7] = 261.000, --AIC 1
21
+ [8] = 261.500, --AIC 2
22
+ [9] = 279.000, --Squad TAC
23
+ [10] = 279.250, --Squad TAC
24
+ [11] = 250.250, --Range ctrl 1
25
+ [12] = 250.500, --Range ctrl 2
26
+ [13] = 309.000, --CSAR
27
+ [14] = 276.200, --TKR 1 Boom
28
+ [15] = 317.500, --TKR 2 Basket
29
+ [16] = 236.250, --2/5 IDF Tac
30
+ [17] = 236.500, --2/5 IDF Tac
31
+ [18] = 274.500, --JTAC 1
32
+ [19] = 251.750, --CTAF
33
+ [20] = 243.000, --Guard
34
+ }, -- end of ["channels"]
35
+ }, -- end of [1]
36
+ [2] =
37
+ {
38
+ ["modulations"] =
39
+ {
40
+ }, -- end of ["modulations"]
41
+ ["channels"] = --VHF
42
+ {
43
+ [1] = 135.250, --Squad tac
44
+ [2] = 135.500, --Squad tac
45
+ [3] = 135.750, --Squad tac
46
+ [4] = 135.950, --Squad tac
47
+ [5] = 127.500, --BlakJack
48
+ [6] = 133.250, --354Th FS Tac
49
+ [7] = 133.500, --354Th FS Tac
50
+ [8] = 133.750, --354Th FS Tac
51
+ [9] = 133.950, --354Th FS Tac
52
+ [10] = 139.250, --N/A
53
+ [11] = 139.500, --N/A
54
+ [12] = 139.750, --N/A
55
+ [13] = 131.250, --VMFA 314 Tac
56
+ [14] = 131.500, --VMFA 314 Tac
57
+ [15] = 137.250, --N/A
58
+ [16] = 137.500, --N/A
59
+ [17] = 137.750, --N/A
60
+ [18] = 130.250, --JTAC 2
61
+ [19] = 125.000, --N/A
62
+ [20] = 121.500, --Emergency
63
+ }, -- end of ["channels"]
64
+ }, -- end of [2]
65
+ } -- end of ["Radio"]
@@ -0,0 +1,65 @@
1
+ descriptor = {
2
+ aircraft = "M-2000D",
3
+ group_name = "(2(.?)*5)",
4
+ }
5
+
6
+ radio_descriptor_table = {
7
+ [1] =
8
+ {
9
+ ["modulations"] =
10
+ {
11
+ }, -- end of ["modulations"]
12
+ ["channels"] =
13
+ {
14
+ [1] = 236.25,
15
+ [2] = 236.5,
16
+ [3] = 236.75,
17
+ [4] = 236.95,
18
+ [5] = 251.75,
19
+ [6] = 265.8,
20
+ [7] = 261,
21
+ [8] = 261.5,
22
+ [9] = 317.5,
23
+ [10] = 360.2,
24
+ [11] = 360.3,
25
+ [12] = 360.4,
26
+ [13] = 270.1,
27
+ [14] = 276.2,
28
+ [15] = 274.5,
29
+ [16] = 250.25,
30
+ [17] = 250.5,
31
+ [18] = 309.0,
32
+ [19] = 377.8,
33
+ [20] = 243,
34
+ }, -- end of ["channels"]
35
+ }, -- end of [1]
36
+ [2] =
37
+ {
38
+ ["modulations"] =
39
+ {
40
+ }, -- end of ["modulations"]
41
+ ["channels"] =
42
+ {
43
+ [1] = 236.25,
44
+ [2] = 236.5,
45
+ [3] = 236.75,
46
+ [4] = 236.95,
47
+ [5] = 251.75,
48
+ [6] = 265.8,
49
+ [7] = 261,
50
+ [8] = 261.5,
51
+ [9] = 317.5,
52
+ [10] = 360.2,
53
+ [11] = 360.3,
54
+ [12] = 360.4,
55
+ [13] = 270.1,
56
+ [14] = 276.2,
57
+ [15] = 135.25,
58
+ [16] = 133.25,
59
+ [17] = 130.25,
60
+ [18] = 125,
61
+ [19] = 130.25,
62
+ [20] = 121.5,
63
+ }, -- end of ["channels"]
64
+ }, -- end of [2]
65
+ } -- end of ["Radio"]
@@ -0,0 +1,65 @@
1
+ descriptor = {
2
+ aircraft = "M-2000C",
3
+ group_name = "(2(.?)*5)",
4
+ }
5
+
6
+ radio_descriptor_table = {
7
+ [1] =
8
+ {
9
+ ["modulations"] =
10
+ {
11
+ }, -- end of ["modulations"]
12
+ ["channels"] =
13
+ {
14
+ [1] = 236.25,
15
+ [2] = 236.5,
16
+ [3] = 236.75,
17
+ [4] = 236.95,
18
+ [5] = 251.75,
19
+ [6] = 265.8,
20
+ [7] = 261,
21
+ [8] = 261.5,
22
+ [9] = 317.5,
23
+ [10] = 360.2,
24
+ [11] = 360.3,
25
+ [12] = 360.4,
26
+ [13] = 270.1,
27
+ [14] = 276.2,
28
+ [15] = 274.5,
29
+ [16] = 250.25,
30
+ [17] = 250.5,
31
+ [18] = 309.0,
32
+ [19] = 377.8,
33
+ [20] = 243,
34
+ }, -- end of ["channels"]
35
+ }, -- end of [1]
36
+ [2] =
37
+ {
38
+ ["modulations"] =
39
+ {
40
+ }, -- end of ["modulations"]
41
+ ["channels"] =
42
+ {
43
+ [1] = 236.25,
44
+ [2] = 236.5,
45
+ [3] = 236.75,
46
+ [4] = 236.95,
47
+ [5] = 251.75,
48
+ [6] = 265.8,
49
+ [7] = 261,
50
+ [8] = 261.5,
51
+ [9] = 317.5,
52
+ [10] = 360.2,
53
+ [11] = 360.3,
54
+ [12] = 360.4,
55
+ [13] = 270.1,
56
+ [14] = 276.2,
57
+ [15] = 135.25,
58
+ [16] = 133.25,
59
+ [17] = 130.25,
60
+ [18] = 125,
61
+ [19] = 130.25,
62
+ [20] = 121.5,
63
+ }, -- end of ["channels"]
64
+ }, -- end of [2]
65
+ } -- end of ["Radio"]