@jtff/miztemplate-lib 3.4.15 → 3.4.17

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.
@@ -4,7 +4,6 @@ AirBossConfig = {
4
4
  srs = {
5
5
  useSRS = true,
6
6
  path = "C:\\SRS",
7
- port = 5002
8
7
  },
9
8
  carriername = 'CSG-1 CVN-71-1',
10
9
  alias = 'roosevelt',
@@ -68,7 +67,6 @@ AirBossConfig = {
68
67
  srs = {
69
68
  useSRS = true,
70
69
  path = "C:\\SRS",
71
- port = 5002
72
70
  },
73
71
  carriername = 'CSG-2 CVN-73',
74
72
  alias = 'washington',
@@ -6,7 +6,6 @@ TrainingRangeConfig = {
6
6
  srs = {
7
7
  useSRS = true,
8
8
  path = "C:\\SRS",
9
- port = 5002
10
9
  },
11
10
  instructionradio = {
12
11
  unitname = "toto",
@@ -1230,7 +1230,7 @@ for index, airbossconfig in ipairs(AirBossConfig) do
1230
1230
  objAirboss:SetAirbossNiceGuy(airbossconfig.enable_niceguy)
1231
1231
  if ( type(airbossconfig.srs) ~= nil ) then
1232
1232
  if ( airbossconfig.srs.useSRS == true) then
1233
- objAirboss:EnableSRS(airbossconfig.srs.path, airbossconfig.srs.port, 'en-US')
1233
+ objAirboss:EnableSRS(airbossconfig.srs.path, serverSRSPort or 5002, 'en-US')
1234
1234
  else
1235
1235
  objAirboss:SetSoundfilesFolder(soundFilesPrefix .. "AIRBOSS/Airboss Soundfiles/")
1236
1236
  if airbossconfig.voices.marshall then
@@ -44,7 +44,7 @@ for index, atisconfig in ipairs(AtisConfig) do
44
44
  end
45
45
  end
46
46
  if (atisconfig.srs) then
47
- objAtis:SetSRS(atisconfig.srs.path, "male", "en-US")
47
+ objAtis:SetSRS(atisconfig.srs.path, "male", "en-US", nil, serverSRSPort or 5002)
48
48
  end
49
49
  objAtis.customconfig = atisconfig
50
50
  ATISArray[compteur] = objAtis
@@ -20,7 +20,7 @@ for index, traingingrangeconfig in ipairs(TrainingRangeConfig) do
20
20
  trainingRange:SetTargetSheet(traingingrangeconfig.targetsheetpath)
21
21
  if ( type(traingingrangeconfig.srs) ~= nil ) then
22
22
  if ( traingingrangeconfig.srs.useSRS == true) then
23
- trainingRange:SetSRS(traingingrangeconfig.srs.path, traingingrangeconfig.srs.port, coalition.side.BLUE)
23
+ trainingRange:SetSRS(traingingrangeconfig.srs.path, serverSRSPort or 5002, coalition.side.BLUE)
24
24
  else
25
25
  trainingRange:SetSoundfilesPath(soundFilesPrefix .. 'RANGE/Range Soundfiles/')
26
26
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.4.15",
3
+ "version": "3.4.17",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [