Skip to content

Commit fee6b74

Browse files
committed
updated build script for DCS 2.7
1 parent b215a84 commit fee6b74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ popd
164164

165165
rem -- set the dynamic load variables in the dictionary
166166
echo set the dynamic load variables in the dictionary
167-
powershell -Command "$temp='VEAF_DYNAMIC_PATH = [[' + [regex]::escape('%DYNAMIC_SCRIPTS_PATH%') + ']]'; (gc .\build\tempsrc\l10n\DEFAULT\dictionary) -replace 'VEAF_DYNAMIC_PATH(\s*)=(\s*)\[\[.*\]\]', $temp | sc .\build\tempsrc\l10n\DEFAULT\dictionary" >nul 2>&1
168-
powershell -Command "$temp='VEAF_DYNAMIC_MISSIONPATH = [[' + [regex]::escape('%DYNAMIC_MISSION_PATH%') + ']]'; (gc .\build\tempsrc\l10n\DEFAULT\dictionary) -replace 'VEAF_DYNAMIC_MISSIONPATH(\s*)=(\s*)\[\[.*\]\]', $temp | sc .\build\tempsrc\l10n\DEFAULT\dictionary" >nul 2>&1
167+
powershell -Command "$temp='VEAF_DYNAMIC_PATH = [[' + [regex]::escape('%DYNAMIC_SCRIPTS_PATH%') + ']]'; (gc .\build\tempsrc\mission) -replace 'VEAF_DYNAMIC_PATH(\s*)=(\s*)\[\[.*\]\]', $temp | sc .\build\tempsrc\mission" >nul 2>&1
168+
powershell -Command "$temp='VEAF_DYNAMIC_MISSIONPATH = [[' + [regex]::escape('%DYNAMIC_MISSION_PATH%') + ']]'; (gc .\build\tempsrc\mission) -replace 'VEAF_DYNAMIC_MISSIONPATH(\s*)=(\s*)\[\[.*\]\]', $temp | sc .\build\tempsrc\mission" >nul 2>&1
169169

170170
rem -- disable the C130 module requirement
171171
powershell -File replace.ps1 .\build\tempsrc\mission "\[\"Hercules\"\] = \"Hercules\"," " " >nul 2>&1

src/scripts/missionConfig.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ if veafCombatZone then
399399
:setMissionEditorZoneName("combatZone_rangeKobuletiEasy")
400400
:setFriendlyName("Training at Kobuleti RANGE")
401401
:setBriefing("The Kobuleti RANGE (located 6 nm south-west of Kobuleti airbase) is set-up for training")
402+
:setTraining(true)
402403
)
403404

404405
veafCombatZone.AddZone(
@@ -436,7 +437,6 @@ if veafCombatZone then
436437
:setFriendlyName("Maykop airbase defenses")
437438
:setBriefing("The Maykop airbase is defended by a SA10 battalion, point-defense SHORAD and AAA, and armored vehicles\n" ..
438439
"You must incapacitate the defenses in order to prepare a land invasion")
439-
:setTraining(true)
440440
)
441441

442442
veaf.logInfo("init - veafCombatZone")

0 commit comments

Comments
 (0)