I never played WC3, so the last map editor I had my hands on was SC1's, and in that one, I just set it on Easy/Medium/Hard/Insane and the comp did the rest. Here, the computers only seem to harvest if I do that. Looking at some of the campaign maps, there are a LOT of things like bullies, attack waves, etc. that the comps are set to do. Is this something required to create a capable AI?
If so, is there a tutorial on this site that I missed that could help me get a feel for what bullies and attack waves and all these features do? Or, if not, could someone help me figure that out? I'm not really asking for someone to lay me out a complete trigger with a comp AI - just for someone to help me figure out what the triggers do in the first place so I can mess around with them.
I can't really help you since you didn't specify what kinda map your making (I.E, Wave Survivor, TD, ect). As the AI setup changes depending on the map. I would suggest looking here, and at other peoples maps (don't steel anything.. :P) to learn how it works. http:wiki.sc2mapster.com/galaxy/triggers/category-ai/
I can't really help you since you didn't specify what kinda map your making (I.E, Wave Survivor, TD, ect). As the AI setup changes depending on the map. I would suggest looking here, and at other peoples maps (don't steel anything.. :P) to learn how it works. http:wiki.sc2mapster.com/galaxy/triggers/category-ai/
Oh, I'm sorry about that. I'm trying to make a campaign where I want simple bases that attack, rebuild buildings if destroyed, etc. It used to be I could just run an AI Script at a location, but now I don't know what's going on, lol.
The campaign AI from what I understand is pretty 'dumb' and needs a lot of coaxing to do anything (except for yah resource gathering it seems), but melee AI will construct their typical base, attack, expand etc all on their own. I haven't done it in a while but pretty sure you can put a melee Ai in a campaign map so long as you specifically trigger that computer play to use it.
THis took me a while but all you need to do is go to player properties and change player 2's controller to computer "NOT HOSTILE! hostile makes the units just attack you if you get near them. Then set the cpu players "AI" to computer. (yes, you gotta set the controller and the AI to cpu) Then pop open the trigger editor and you can set the difficulty to whatever you want with the "set player difficulty level". Then make sure that the action called "start the melee AI for cpu players" is there. You also need to add "start campagin AI for player ", for some reason the melee AI is bugged and does nothing.. Its not hard at all. =]
All that stuff they do in campagin is cuz they want the units to behave in a very specific way for the campagin, but its optional.
Some of the steps I listed are not required (I think) but I'm not sure which ones those are soo...yeah
THis took me a while but all you need to do is go to player properties and change player 2's controller to computer "NOT HOSTILE! hostile makes the units just attack you if you get near them. Then set the cpu players "AI" to computer. (yes, you gotta set the controller and the AI to cpu) Then pop open the trigger editor and you can set the difficulty to whatever you want with the "set player difficulty level". Then make sure that the action called "start the melee AI for cpu players" is there. Its not hard at all. =]
All that stuff they do in campagin is cuz they want the units to behave in a very specific way, but its optional.
edit- nv mnd I am having issues, but I did it before I just gotta remember
Hmm, I did that, but they're still not building any units or attacking. Their queens create more larva on all the hatcheries, but they don't build. These are the triggers I have:
AI
Events
Game - Map initialization
Local Variables
Conditions
Actions
Player - Set player 2 difficulty level to Easy
Player - Set player 3 difficulty level to Medium
AI - Start the campaign AI for all computer players
AI Advanced - Initialize the AI for player 2
AI Advanced - Initialize the AI for player 3
And I set the computers to Computer, rather than default. Is there something I'm missing?
EDIT: Wait, I didn't do Start Campaign AI. Lemme try that and get back to you. =P
Okay, they're still not doing anything even when attacked. I gave them plenty of resources, but I think I may be forgetting some triggers. This is what I have:
Events
Game - Map initialization
Actions
Player - Set player 2 difficulty level to Easy
Player - Set player 3 difficulty level to Medium
AI - Start the campaign AI for all computer players
AI Advanced - Initialize the AI for player 2
AI Advanced - Initialize the AI for player 3
AI Advanced - Start AI for player 2 in Campaign mode with 200 Actions Per Minute
AI Advanced - Start AI for player 3 in Campaign mode with 200 Actions Per Minute
The campaign AI from what I understand is pretty 'dumb' and needs a lot of coaxing to do anything (except for yah resource gathering it seems), but melee AI will construct their typical base, attack, expand etc all on their own. I haven't done it in a while but pretty sure you can put a melee Ai in a campaign map so long as you specifically trigger that computer play to use it.
Again, set it to melee ai, not campaign ai. campaign ai is 'stupid' and needs its hands held, melee does not.
(and that's _all_ you need to do, so long as its got a base, units and resources within reach it will start its build up)
Again, set it to melee ai, not campaign ai. campaign ai is 'stupid' and needs its hands held, melee does not.
(and that's _all_ you need to do, so long as its got a base, units and resources within reach it will start its build up)
Here's the only issue I saw with melee the computer gathered all its units and put them in one corner of the base. It also didn't start harvesting (but built drones and then started harvesting with them, while the other drones sat around). Anybody have any ideas what that is all about?
oh, if there are still problems it might be a conflict between the player properties screen's race selection for the player vs the units you gave it, they have to match too or it'd make sense any ways if they did, if its left as random this might explain any final hurdles you face.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I never played WC3, so the last map editor I had my hands on was SC1's, and in that one, I just set it on Easy/Medium/Hard/Insane and the comp did the rest. Here, the computers only seem to harvest if I do that. Looking at some of the campaign maps, there are a LOT of things like bullies, attack waves, etc. that the comps are set to do. Is this something required to create a capable AI?
If so, is there a tutorial on this site that I missed that could help me get a feel for what bullies and attack waves and all these features do? Or, if not, could someone help me figure that out? I'm not really asking for someone to lay me out a complete trigger with a comp AI - just for someone to help me figure out what the triggers do in the first place so I can mess around with them.
@Frightwolf2005: Go
Bump
I can't really help you since you didn't specify what kinda map your making (I.E, Wave Survivor, TD, ect). As the AI setup changes depending on the map. I would suggest looking here, and at other peoples maps (don't steel anything.. :P) to learn how it works. http:wiki.sc2mapster.com/galaxy/triggers/category-ai/
Oh, I'm sorry about that. I'm trying to make a campaign where I want simple bases that attack, rebuild buildings if destroyed, etc. It used to be I could just run an AI Script at a location, but now I don't know what's going on, lol.
The campaign AI from what I understand is pretty 'dumb' and needs a lot of coaxing to do anything (except for yah resource gathering it seems), but melee AI will construct their typical base, attack, expand etc all on their own. I haven't done it in a while but pretty sure you can put a melee Ai in a campaign map so long as you specifically trigger that computer play to use it.
THis took me a while but all you need to do is go to player properties and change player 2's controller to computer "NOT HOSTILE! hostile makes the units just attack you if you get near them. Then set the cpu players "AI" to computer. (yes, you gotta set the controller and the AI to cpu) Then pop open the trigger editor and you can set the difficulty to whatever you want with the "set player difficulty level". Then make sure that the action called "start the melee AI for cpu players" is there. You also need to add "start campagin AI for player ", for some reason the melee AI is bugged and does nothing.. Its not hard at all. =]
All that stuff they do in campagin is cuz they want the units to behave in a very specific way for the campagin, but its optional.
Some of the steps I listed are not required (I think) but I'm not sure which ones those are soo...yeah
Hmm, I did that, but they're still not building any units or attacking. Their queens create more larva on all the hatcheries, but they don't build. These are the triggers I have:
AI Events Game - Map initialization Local Variables Conditions Actions Player - Set player 2 difficulty level to Easy Player - Set player 3 difficulty level to Medium AI - Start the campaign AI for all computer players AI Advanced - Initialize the AI for player 2 AI Advanced - Initialize the AI for player 3
And I set the computers to Computer, rather than default. Is there something I'm missing?
EDIT: Wait, I didn't do Start Campaign AI. Lemme try that and get back to you. =P
Okay, they're still not doing anything even when attacked. I gave them plenty of resources, but I think I may be forgetting some triggers. This is what I have:
Events Game - Map initialization
Actions Player - Set player 2 difficulty level to Easy Player - Set player 3 difficulty level to Medium AI - Start the campaign AI for all computer players AI Advanced - Initialize the AI for player 2 AI Advanced - Initialize the AI for player 3 AI Advanced - Start AI for player 2 in Campaign mode with 200 Actions Per Minute AI Advanced - Start AI for player 3 in Campaign mode with 200 Actions Per Minute
Again, set it to melee ai, not campaign ai. campaign ai is 'stupid' and needs its hands held, melee does not.
(and that's _all_ you need to do, so long as its got a base, units and resources within reach it will start its build up)
Here's the only issue I saw with melee
the computer gathered all its units and put them in one corner of the base. It also didn't start harvesting (but built drones and then started harvesting with them, while the other drones sat around). Anybody have any ideas what that is all about?@Frightwolf2005: Go
oh, if there are still problems it might be a conflict between the player properties screen's race selection for the player vs the units you gave it, they have to match too or it'd make sense any ways if they did, if its left as random this might explain any final hurdles you face.