Salmo
Apr-14-2013, 21:52
Continuing the theme of randomising battle elements, here's a script that will randomise the planesets at spawn bases when the battle begins. It works by detecting all the plane types in the mission & then randomly allocating those types across all existing spawn bases. Spawn bases will have different planesets each time the battle commences.
Some points:
* Your precious mission file is not harmed or overwritten in any way.
* No new spawn bases are created
* No existing spawn bases are removed
* Spawn bases will have at least one aircraft type
* Only plane types in the mission are used, ie. no new planes are put in planesets
* No hit to MP netcode as all the work is done before players enter the battle
Code removed by author ...
Some points:
* Your precious mission file is not harmed or overwritten in any way.
* No new spawn bases are created
* No existing spawn bases are removed
* Spawn bases will have at least one aircraft type
* Only plane types in the mission are used, ie. no new planes are put in planesets
* No hit to MP netcode as all the work is done before players enter the battle
Code removed by author ...