This is a modification of the original Foothold Germany mission by Leka, that I adapted to make it load all the script files and config directly from the server.
Done using the latest version updated on 2025.12.29.
Add this triggers on MissionStart:
Modern:
name: Foothold loading
do_script:
FOOTHOLD_DYNAMIC_PATH = [[C:\Users\veaf\Saved Games\DCS.missions\_TEMPLATES\Missions\foothold\Germany\Modern\]]
env.info("FOOTHOLD LOADING")
assert(loadfile(FOOTHOLD_DYNAMIC_PATH .. "VEAF_loader.lua")) ()Cold War:
name: Foothold loading
do_script:
FOOTHOLD_DYNAMIC_PATH = [[C:\Users\veaf\Saved Games\DCS.missions\_TEMPLATES\Missions\foothold\Germany\Coldwar\]]
env.info("FOOTHOLD LOADING")
assert(loadfile(FOOTHOLD_DYNAMIC_PATH .. "VEAF_loader.lua")) ()Merge code in zoneCommander.lua (BattleCommander:getStateTable()) :
hidden = v.isHidden or false,- prepare mission
- prepare presets
- add the VEAF scripts with no radio menu
- add the waypoint numbers to the LUA persistence file
- add the active missions to the LUA persistence file
- add the arrows description to the LUA persistence file
- add the players position to the LUA persistence file
- add the ejected pilots position to the LUA persistence file