DynamicSpawn DynamicCargo all airbase at once via script

Any version
Other
Type - Utility
Date - 08/09/2024 09:29:47
Map - Any map
Script to enable DynamicSpawn/Allow HotStart at once for all airbases, work for FARP as welw

After last update i have added Dynamic Cargo option
also unlimited munitions , aircraft and fuel

This script will enable Dynamic Spawn for all airbase, modifying "warehouse" file inside .miz
it modify the 2 paramater :
["allowHotStart"] = false to true (and vice versa)
["dynamicSpawn"] = false to true (and vice versa)
["dynamicCargo"] = false to true (and vice versa)
["unlimitedMunitions"] = true to false (and vice versa)
["unlimitedAircrafts"] = true to false (and vice versa)
["unlimitedFuel"] = true to false (and vice versa)

let say you have the following .miz :  Afgha_farp.miz
just put the script (DynSpawnHotStart.exe) and your .miz in same folder, open command prompt and launch the following command :
.\DynSpawnHotStart.exe Afgha_farp  (without extension .miz)

popup window will appear with 2 choice for each options
it will then create new .miz with selected options: Afgha_farp_DynSpawnHotStart.miz

Note: original .miz is not modified , but i recommend making a backup before


i have included exe file and python script for those who want to modify/improve it
  • License: Freeware - Free version, Unlimited distribution
  • Language: English
  • Size: 10.11 Mb
  • Downloaded: 122
  • Comments: 6
User votes: 1
Vote
You voted for this file
  • Comments
Loading comments...