PDA

View Full Version : Randomise spawn base planesets



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 ...

coolhand3011
Apr-14-2013, 23:46
Wow, thanks for this. You amaze me with dedication to all the mission scripting! S! :thumbsup:

92 Sqn. Philstyle (QJ-P)
Apr-15-2013, 04:00
Oh wow.

Implementation on the ATAG server son I hope....
Come to think of it, who makes the ATAG missions? They haven't changed substantially since.. ever....

Muffin
Apr-15-2013, 04:52
I would love it if this was introduced into the ATAG missions.

@Pstyle - I agree, the maps haven't changed in forever, always the same targets, the same bomber formations, same routes, altitudes etc, I think the missions need a revamp!

9./JG52 Ziegler
Apr-15-2013, 07:46
Thanks Salmo! Very cool.