Amarok_73 Posted January 20 Posted January 20 The purpose behind writing this script was to enable all airports on the map to operate in dynamic mode. While this can be easily done using any text editor, I wanted to simplify the process even further. The script modifies only the Dynamic Cargo, Unlimited Aircraft, Dynamic Spawn, and Allow Hot Start parameters, ensuring that the initial values assigned to the aircraft remain untouched. It does not alter the settings in the Liquids and Eqp tabs; however, the relevant entries are included and can be enabled by simply uncommenting them. To use the script, extract the warehouses file from the MIZ archive, place it in the same directory as the script, and run it. If the process completes successfully, a confirmation message will be displayed. Once the modifications are made, reinsert the updated file back into the MIZ archive. A map prepared in this way allows for further adjustments with ease, such as modifying the number of available aircraft using a Lua script, or set the coalition specific planes to non-zero quantities. For this purpose, I recommend getting more familiar with the STORAGE class from the MOOSE function library. SetWarehousesToDynamic.ps1 1 Natural Born Kamikaze ------------------------- AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Logitech G940 HOTAS, VPC MongoosT-50CM3 Throttle, VPC MongoosT-50CM2 Stick on MongoosT-50CM3 Base, Turtle Beach VelocityOne Rudder.
Recommended Posts