Brilliant script; dare I say, all I've ever wanted.
Just a few things:
1) I noticed the Ticks (Energy, Oxygen, Kamikaze) were missing. Having those added would be nice as those units are sometimes replaced with customs.
2) Alignment. I understand it is a neat feature to be able to define friend and foe by simply selecting the units you want. However I have two issues with this: for one, the script does not allow you to mix units which would normally fight together, i.e. pit BOBs against VacBOBs. Furthermore, this dumbs down combat to a basic 'player + allies' vs 'enemy'. This means that units which under normal circumstances would kill each other don't. This bugs me especially as I want a "UESC vs Pfhor vs Salinger/Dangi" scenario – a free-for-all of sorts.
Anyways, I am now officially rambling. Great script, 10/10 would recommend, hope to maybe see an update sometime again.
EDIT: the solution to point 2) would be to have an option to turn off auto-alignments and let the map/game's .phyA take care of business.
I released a new survival script for marathon infinity based on the first one made by MegaByte.
In This Edition:
Continuous wave of aliens, rather than round based combat.
The number of spawned aliens is capped at 50, in order to avoid AI frozen monsters.
Almost every type of monsters are used. They spawn from the easiest to the hardest to fight.
Bobs are included to help the player. A random invincibility power up will also spawn in the map to call in bobs when picked up.
The script works on almost all maps. Aliens can sometimes spawn in unreachable places but the script will handle this. Just ignore it. The script works better on some maps.
Players health will regenerate after some time if they're not taking damage.
The rest of the rules should be the same that in the first survival. Including reviving mates, if everyone dies the game ends,...
Some settings can also be modified in the lua script like regenerating life, bob powerup, dead body boucing, ...
I advise to play in normal mode until 3 or 4 players. It will be hard enough. Major damage is good for 4 to 6 players and total carnage for more.
Warning : Do not host it with HD Monsters Texture or it will crash. The game must load all monster collections and HD Monsters Texture will cause an insufficient ram error.
Also do not host on any maps that are extremely large or small because monster generation is based on the area and size of each level.
Thanks to aquateenhgrfrce for his suggestions and his help for testing the script.