Is it possible to create a custom AI in a Starcraft 2 mod? If so, how?
-
I think he means Map not Mod– tzenesJul 15, 2010 at 4:48
-
There are both maps and mods available in the editor. You can also make a map which depends on a mod.– Matt BalkamJul 15, 2010 at 21:01
-
I'd have to review the gaming.se policy, but I believe discussion of illegal mods is restricted here. If you read the ToS on Starcraft 2 a mod is prohibited.– tzenesJul 17, 2010 at 21:21
-
Could you post a link to the ToS? I'd be very surprised if that were the case, because the ability to make mods is built into the Starcraft 2 Map Editor which is distributed by Blizzard with the game. Maybe the restriction is only for the beta and will be lifted when the game is released?– Matt BalkamJul 19, 2010 at 2:21
-
Do you mean an the AI for an opponent? There is a lot of AI in the game, from the unit pathing method all the way up to the AI used by computer opponents. I wasn't really sure which part of the AI you were focusing on here.– Michael HeroldJul 19, 2010 at 19:56
3 Answers
As the new Starcraft editor is very mighty and supports something like procedures and functions you possibly can enhance available AIs with own stuff. For an example create some triggers like "IF player1 has >x units of this and that type, THEN AIPlayer2 order to tech for this tech"
Maybe this style would be a bit too basic, but should be easy to do for non-programmers.
-
The Galaxy editor really doesn't have the AI Editor? That was one of the standard features with the Warcraft III map editor 6 years ago. I'm very disappointed and surprised if so. Aug 4, 2010 at 18:12
Well I know for the beta there were several AI mods released, so it might be possible.
-
As I understand it, the mods that were released (I know of Starcrack and Green Tea) were both mods that you copy into the data files, overwriting the existing AIs. I was hoping for a less destructive way to mod the AI. Jul 19, 2010 at 2:22
Starcraft 2 AIs are written in a scripting language called Galaxy Script. There are a few custom AIs available (some even openSource) at: