Difficulty Independent Add Unit Type to Attack Wave
Posted: Tue Oct 28, 2014 3:16 pm
Dunno if this will be useful to anyone. During a brief period of trying to fuse campaign waves into the existing Apex F melee waves I came across the rearsoren that was not being able to use insane for my difficulty in the campaign waves. Of course, 1.5/hots introduced the new difficulties and the vast majority are not actually supported by either attack wave add unit trigger.
It is not obvious how to get around this because no default trigger seems to support difficulty independent unit adding wave dongs. It exists in natives, however, along with instructions on how to pass difficulty independency (-1). We stripped all other difficulties out of the melee code, so changing it on the fly was not desirable nor possible. Ultimately, the experiment was a total failure, and I'm not likely to have a use for this Action.
Here is a simple library that adds a gui wrapper for this. The difficulty is already defaulting to -1, so you can just add units and not worry about it not working on Insane or whatever.
Though I highly recommend using modified melee AI or something from scratch if you're serious about making a B&D campaign.
It is not obvious how to get around this because no default trigger seems to support difficulty independent unit adding wave dongs. It exists in natives, however, along with instructions on how to pass difficulty independency (-1). We stripped all other difficulties out of the melee code, so changing it on the fly was not desirable nor possible. Ultimately, the experiment was a total failure, and I'm not likely to have a use for this Action.
Here is a simple library that adds a gui wrapper for this. The difficulty is already defaulting to -1, so you can just add units and not worry about it not working on Insane or whatever.
Though I highly recommend using modified melee AI or something from scratch if you're serious about making a B&D campaign.