• 0

    posted a message on Custom map melee ai not working correctly?

    Damn... noone has gotten the built-in AI to work with variable start locations?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Custom map melee ai not working correctly?

    First things first I will explain what I am doing. I am creating a custom build order tester (yes I know about YABOT), but I want to make my own simple one. Its on Lost Temple. The player has an option of playing solo, 1v1, 1v2 or 1v3 ai (at the difficulty of choice via custom GUI).

    The way the human player and any ai players are placed is the following:

    If the player is playing alone, his start location (Start Location 001) is randomly placed at one of the 4 normal starting bases. If the player decides to face 1, 2 or 3 ai then all start locations are randomized in placement.

    The players (1 human, 3 computer) are placed on their start location (P1 = location 1... P2 = location 2... etc).

    This works perfectly for placement without a hitch... except when it comes time to run the actual AI to make the computers function correctly at their difficulty level (Very Easy through Insane).

    It seems that it doesn't matter if they Spawn right on top of their start location, they try to relocate to where their start location originally was... in which case once they do that they proceed as expected. For the life of me I cannot figure out why they do this, I was under the impression that the "Melee built-in AI trigger would work based on the Start Location that belonged to the player... yet it is right underneath them.

    Basically I am asking, how do I make the AI function normally (melee) given that they may start at any of the 4 bases on Lost Temple? I must be able to set the difficulty to anything from Very Easy all the way to Insane just as you would if you played a "Versus AI" match. I have tried many combinations of triggers to no avail.

    Any help is GREATLY appreciated. (I am not trying to make custom AI, I am trying to make blizzards default "Versus AI work" that you normally play against)

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.