• 0

    posted a message on Disable the "AI Communication" Button/Hotkeys

    Well I figured it out two minutes after posting!!!

     

    I tried hiding the entire UI, didn't work, that button was literally the only button left on screen.

    I combed through all the Advanced AI actions and found a couple that seemed promising, but did nothing.

     

    But here is what did it...

    Player -Make all players in Player Group treat each other as Neutral
    Player -Make all players in Player Group treat each other as Shared Defeat Off/On

    You need to make the Computer AI Neutral with the User, which I tried earlier.

    But you CAN NOT touch Shared Defeat.

    Turning it On will re-enable the "AI Command Button".

    Turning it Off will make them Enemies.

    Posted in: Triggers
  • 0

    posted a message on Disable the "AI Communication" Button/Hotkeys

    When a User is allied to a Computer AI, the "Open AI Communication" button appears on the Players UI.

    I've attached a screenshot that highlights this button.

     

    This menu allows the User to order the Computer player where to attack/defend/expand.

    I need to disable this functionality for my map.

    Does anyone know how to?

     

    I know there isn't a lot of traffic here anymore, and I've exhausted every method I could think of.

    But this button kinda ruins the whole point of my Project. And its a shame.

    Posted in: Triggers
  • 0

    posted a message on Start Melee AI after changing Race

    The players allied to the computer need to vote what race the AI plays as.

     

    I could have the Lobby Host just ask each team what race they want.

    But that's so sloppy it makes me want to abandon the project.

     

    I could give each team 3 comps, one of each race, and only use the comp that has the race that gets voted.

    But thats 6 slots taken by computers. And I wanted this game to scale up to 4 teams. That's 12 slots for computers.

     

    I wish I had the time to learn editing AI via the .galaxy files.

    I bet you could execute a specific race AI with just a couple lines.

    Posted in: Triggers
  • 0.961032514271531

    posted a message on Start Melee AI after changing Race

    Here's the code for my map.

        Events
            Game -Map initialization
        Local Variables
        Conditions
        Actions
            Set Player 1's race to Protoss.
            Melee -Set melee starting resources for all players
            Melee -Create melee starting units for all players
            Melee -Start the melee AI for all computer players

    Player 1 is a computer player, their Race is Terran in the Lobby.

    The code properly spawns protoss starting units.

    But the Melee AI does not execute. Player 1 will gather resources but won't build any structures or train any units.

     

    I need to use the Melee AI on a computer player who's race is changed after the Lobby.

    Does anyone know a workaround?

    Does anyone know how to execute the melee AI for a specific race?

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