Script to assign Dynamic Spawn template to any airbase with Dynamic Spawn enabled
Script to assign Dynamic Spawn template to any airbase with Dynamic Spawn enabled
Pre-requisite: you need to enable Dynamic spawn on any airbase (the script will only assign aircraft template to airbase with Dyn. Spawn)
you can use my other script to enable Dyn. Spawn to all airbases here
https://www.digitalcombatsimulator.com/en/files/3339867/
just launch the exe file , sel ect first the airbase csv files, then the miz file, select the templates for each aircraft and apply changes
it will create new miz file in the same folder of the original miz
in the zip file you will have the exe file and few airbase csv file fr om empty mission so only airdrome are listed, lua script to get airbase ID and name
when loading the airbases via csv, it is just cosmetic list to see what airbases will be updated as it will also work for FARP or SHIP
the script will update all airbase available in warehouse file in miz file even if you unselect some airbase
also if you select multiple template for same type of aircraft , only the last one will apply
if you need custom airbase csv you need to add the script with moose in your mission only 1 time to get list of all airbases, it will be needed if you want to apply dyn.template to FARP for example, it will generate csv file in your \Saved Games\DCS\Logs
restriction: actually the selection of specific airbases is not working , even if some airbases are deselected , all templates selected will be applied to all airbase
i am still trying to enable airbase selection but due to the structure of the warehouse file it seems difficult
For any bug , you can comment here , but as we don't receive notification for new message you can found me in ED forum
https://forum.dcs.world/profile/122914-titi69/