Increase Number of AI Available to Military Commanter

  1. 6 years ago

    How do I increase the number of AI available to the Military Commander? I don't mean reinforcement counts, but rather increasing the number of AI, virtual or spawned, that the Military Commander can control.

    For example, I place down a Military Placement module at a single large base for Blufor and I place three Military Placement modules for Opfor at smaller locations. When I do this Opfor has three times the number of units on the field at a given time than Blufor regardless of how I set the unit counts, which is not my intention. How do I change this?

  2. In the placement modules set the unit count (Platoon, etc) from the drop down list. You can also override this count and set the number of groups manually in the fields below. Place groups down in the editor and sync the group leader to the Virtual AI module to further increase the AI count.

    You can also script in adding groups once the mission has started... see here for more info:
    http://alivemod.com/wiki/index.php/Script_Snippets#Spawn_.26_Profile_Group_Script_By_Jman

  3. Thank you for the reply!

    I tried poking around at the unit count, but looking from the virtual ai debug it didn't seem like it actually changed the number of units that were placed or the number of units that were sent out to capture objectives, so I assumed it was something like a local reinforcement count. I even tried a ridiculous setting like trying to place 1200 units in the Stratis air field, and there was no noticeable increase in placed units. Do the placement modules only place a certain number of units in a given area, like there is a given number of spawn points and after they are used up it won't place any more units?

    Out of curiosity I tried syncing up two additional military placement modules to the TAOR I made around the Stratis air field and it seemed to triple the number of placed units, even though I left the unit count at the default 200, which also seems to indicate that a single placement module can only place so many units in a given area. Is that working as intended?

    Also thank you for the link to the Script Snippets section of the wiki, I didn't realize that it was there. I'm sure it will come in handy!

  4. Edited 6 years ago by SavageCDN

    Hmm... it should be spawning more groups than what you are seeing. Perhaps you are counting spawned groups only instead of total groups (spawned group icons are darker on the map, virtual group markers are somewhat faded)?

    The number of groups sent to attack defend objectives depends on the setting in the Military AI Commander module (see here: http://alivemod.com/wiki/index.php/Military_AI_Commander ).

    In debug it starts the group count at E0 for the player then E1, E2, E3... etc for the AI groups. With 1200 groups you should see group IDs in the E100 range.

    Are you assigning a TAOR in the placement modules or do you have AI spawning over the entire map?

  5. Edited 6 years ago by HeroesandvillainsOS

    @thepackett save yourself from all the trial and error and frustration and just manually place your groups (if using the virtualize all synced objects option, sync the group leader of each group placed to the Virtual AI module).

    If you're looking to reduce groups, make the Spawn-in/TAOR marker for that Commander smaller and place objectives (without groups set to spawn) outside of the marker area.

  6. @SavageCDN I am definitely counting virtual groups, I've set the spawn radius to zero so that the AI will never be spawned into the world while I am testing. I've also set the number of attacking groups to 100, so that should not be an issue.

    Looking at the debug, with one placement module with 1200 units, the largest group number I see is e8. Adding in a second placement module with 100 units, the largest group number I see is e16. Placing down another 100 unit placement module and the largest group number I see is e24. The TAOR is set up correctly, they are only being placed within the TAOR I designated.

    I tried increasing the TAOR coverage, and with that more units spawned in. Nowhere near 1200, but still more units. It's like it can only spawn in so many groups into a given area, and if it can't spawn anymore, then it just stops placing units.

    @HeroesandvillainsOS Thanks for the suggestion. I may end up doing that so I can get more fine control over what units spawn and such, but I would like to see if I can sort this issue out. If it is a bug, then it would be good to let the developers know, and if it is an issue with the way I'm setting it up, it may be worth adding a line somewhere in the wiki to clarify how to make sure the placement modules place down more units.

  7. Depending on the marker size and amount of objectives within, it may or may not be a bug. Best bet would be to take a photo of your map in the editor showing the markers, and a photo of the map in game with Virtual AI debugged so we can see.

 

or Sign Up to reply!