I've tried searches with no luck. If a thread answers the question, please link it.
I have three computer players in my game: Zerg, Protoss, Terran. Each has a main base unit, a nearby mineral field, and 1 builder.
I used triggers to give them bookoo resources, and then start their AIs. I've tried with Campaign and Melee.
They don't seem to do much of anything ><
The zerg one builds overlords slowly. I gave it some attack units (Hydralisks) and if provoked it will use them to attack / hunt / etc.
The protoss seem to build a few pylons in the top-right corner of the map, and the Nexus is playing the "busy" animation...might be kicking out probes.
I gave the terrans a whole fleet of buildings, etc. They seem to sometimes crank out groups of units (Some space marines, marauders, etc.) but don't really do anything with them.
I've also tried setting difficulty for all players, human and computer.
Ultimately, I just want them to function like AI! Preferably campaign AI so they have a broader building spectrum.
Right now, it'd be nice to get them to build buildings...
If you start the action, Meele - Start Meele AI for All Players in a trigger with the Event as Map Init then it should work. My first map in this editor was a 1v1 and it worked perfectly, the enemy player built building spawned units and attacked me. You might want to try throwing up a Minor Version (Version 0.01) copy of your map to Bnet and just try it in single player to see it if works their..
If none of that you can send me the map and ill see what u are doing wrong face to face with your triggers
I've tried that trigger and the campaign AI trigger.
I'd prefer not to upload/send the whole map if I don't have to.
It's...likely? maybe? to be something in the dependencies, but I made a trigger that allows me to take over their units, which I can see are fully capable of building. As I said, they have (at times) built a few things in the upper-right corner. I haven't placed any...pathing or anything on the map. It's essentially a blank map, and I'm wondering if that might be part of the problem, too.
I tried disabling all triggers except that one.
The only enabled trigger was init, and the only enabled action was to initialize their AI.
All three still sat there. Terrans have an army of SCVs, quite parked.
Yah the Melee AI should be able to know how to build its own base, attack waves and expansions etc but far as I can see the campaign AI on the other hand really only knows how to put any resource gathering units into harvesting stuff but everything else you need to basically script them to do it yourself.
ACTIONS
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
Melee - Set default melee options for all players
Also
in the tab Map then Player Properties make sure u have the Computer Players AI set to Computer and not Default
Start locations.
They each need their own start location.
I had 1 start location (for player 1, Human), leaving the three AI players none.
No start location, no Melee AI init. Go figure.
They're romping about having a stomping good time now, so, yipee!
You should also think about- changing how they attack by adding units to attack waves, forcing AI to build specific units at times or conditions, and even building your own AI from the ground up. the AI in this editor is SOOO much better then it was in SC1, and i wouldnt know about W3 i didnt use that editor too much. What i'm trying to say though is, experiment and customize your AI to see your map fit, its alot of fun!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've tried searches with no luck. If a thread answers the question, please link it.
I have three computer players in my game: Zerg, Protoss, Terran. Each has a main base unit, a nearby mineral field, and 1 builder. I used triggers to give them bookoo resources, and then start their AIs. I've tried with Campaign and Melee. They don't seem to do much of anything >< The zerg one builds overlords slowly. I gave it some attack units (Hydralisks) and if provoked it will use them to attack / hunt / etc. The protoss seem to build a few pylons in the top-right corner of the map, and the Nexus is playing the "busy" animation...might be kicking out probes. I gave the terrans a whole fleet of buildings, etc. They seem to sometimes crank out groups of units (Some space marines, marauders, etc.) but don't really do anything with them. I've also tried setting difficulty for all players, human and computer.
Ultimately, I just want them to function like AI! Preferably campaign AI so they have a broader building spectrum.
Right now, it'd be nice to get them to build buildings...
@SycoPrime: Go
If you start the action, Meele - Start Meele AI for All Players in a trigger with the Event as Map Init then it should work. My first map in this editor was a 1v1 and it worked perfectly, the enemy player built building spawned units and attacked me. You might want to try throwing up a Minor Version (Version 0.01) copy of your map to Bnet and just try it in single player to see it if works their..
If none of that you can send me the map and ill see what u are doing wrong face to face with your triggers
@TheRupturedD: Go
I've tried that trigger and the campaign AI trigger. I'd prefer not to upload/send the whole map if I don't have to. It's...likely? maybe? to be something in the dependencies, but I made a trigger that allows me to take over their units, which I can see are fully capable of building. As I said, they have (at times) built a few things in the upper-right corner. I haven't placed any...pathing or anything on the map. It's essentially a blank map, and I'm wondering if that might be part of the problem, too.
I tried disabling all triggers except that one. The only enabled trigger was init, and the only enabled action was to initialize their AI. All three still sat there. Terrans have an army of SCVs, quite parked.
Yah the Melee AI should be able to know how to build its own base, attack waves and expansions etc but far as I can see the campaign AI on the other hand really only knows how to put any resource gathering units into harvesting stuff but everything else you need to basically script them to do it yourself.
@SycoPrime:
Can u throw up a screen of your AI trigger then?
or
copy it as text and paste it in post
@SycoPrime: Go
My 1v1 Map Init looks like this.. Very basic
Map Init
EVENTS Game - Map initialization
ACTIONS 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 Melee - Set default melee options for all players
Also
in the tab Map then Player Properties make sure u have the Computer Players AI set to Computer and not Default
Start locations. They each need their own start location. I had 1 start location (for player 1, Human), leaving the three AI players none. No start location, no Melee AI init. Go figure. They're romping about having a stomping good time now, so, yipee!
You should also think about- changing how they attack by adding units to attack waves, forcing AI to build specific units at times or conditions, and even building your own AI from the ground up. the AI in this editor is SOOO much better then it was in SC1, and i wouldnt know about W3 i didnt use that editor too much. What i'm trying to say though is, experiment and customize your AI to see your map fit, its alot of fun!