@jtff/miztemplate-lib 3.4.15 → 3.4.16
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',
|
package/lua/src/160-atis.lua
CHANGED
|
@@ -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,
|
|
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
|