Restricting Faction from Area

  1. 6 years ago

    Currently developing a mission using ALiVE as a means to generate a background conflict and general presence on the map while the user tackles a slew of side missions and the like. In order to implement side missions that are not frustratingly difficult to the player, I'd like the ability to have all factions withdraw units from a particular region of the battlefield for the duration of the side mission. Normally, I'd use something like a blacklist area, although I can't seem to find a way to enforce something like this dynamically while the mission is in progress. Any suggestions would be much appreciated!

  2. I don't know if there is a way to add a blacklist mid mission, if there is that would probably be the easiest and someone will surely tell you here.

    If it's not possible you could maybe accomplish the same thing this way (not tested):

    • make several objective modules with the different blacklist markers you need for the missions. So you have one with the config for when side mission 1 is active and so on.
    • Then sync each objective module to it's own unique version of a "Military AI Commander" module.
    • By using triggers synced to the commanders you can choose which one should currently be active.

    again, not sure if this even works but give it a try =) It may also be possible to use one commander instance and re-sync that one by script to the new objective module. but I have no clue how the communication between the modules are handled under the hood so that might not work.

  3. @Imbazil: Thank you for the reply! We are trying to avoid explicitly black listing these areas from the editor so that they will still be dynamically occupied by opposing forces while not in use as venues for side missions. I like your idea, but it may be a bit onerous given the number and diverse types of side missions we are supporting at the moment. We have markers available for each side-mission's AO, we just need a way to reliably clear these areas of active forces.

 

or Sign Up to reply!