DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Scripts => Topic started by: DarkZeros on March 03, 2010, 07:23:44 PM

Title: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: DarkZeros on March 03, 2010, 07:23:44 PM
I've been working with this some days, is a full new AI system, build from 0.
It is a more intelligent than the standar blizzards AI (even better than starcrack v5.5), specially rebuilding his bases and protecting new zones.

ATM, only protoss.

Decompress the AI over Starcraft Folder, so, it will look like:
/Starcraft II Beta/TriggerLibs/*.galaxy

Feel free to comment, and to use the code. ope you like it! Bye!

DOWNLOAD:  http://www.multiupload.com/AVQ6SEMUBC (http://www.multiupload.com/QRQ33LY8LE)
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: kewickviper on March 03, 2010, 07:48:19 PM
From the looks of the code this is a really good method. I was thinking of making my own functions from scratch as well since I didn't like the stock spam, but wasn't keen on the amount of work involved.

Great job guys really can't wait to see how this develops.

If you guys want a hand send me a PM.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: David on March 03, 2010, 07:58:42 PM
cool.. I'll try it out and repost in a bit
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: DarkZeros on March 03, 2010, 08:06:52 PM
I reuploaded it because i found a small bug with gas.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: David on March 03, 2010, 08:14:15 PM
edit: nvm  :)
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: kewickviper on March 03, 2010, 08:23:00 PM
Just ran it on 1v1v1v1 with v5.5 as the background and I have to say I'm speechless. You can tell it isn't using blizzards faulty state system from the word go. It absolutely steamrolled all three of the other players with one army. Was no competition at all, the units lost was in the hundreds for the other three and in the 20's for this AI.

There are a few niggles I noticed here and there, but that could just have been because I only ran one test.

Amazing, can't wait to see this method applied to the other races. Its a shame you did Protoss first, since that's the race I know the most, but nevermind!
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: turdburgler on March 03, 2010, 09:23:13 PM
Ahah!

Finnaly an AI that will compete in the same league as V6!

Nice  ;D
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: wc3ard on March 03, 2010, 09:34:06 PM
Nice, i will try it out and make post my rating here!
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: turdburgler on March 03, 2010, 09:36:44 PM
The author might want to upload it to the nibbits.com tools section. It's for Starcraft 2 AIs and stuff.

http://www.nibbits.com/sc2/ (http://www.nibbits.com/sc2/)
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: wc3ard on March 03, 2010, 09:43:08 PM
Can someone tell me the exact location where i should put the file?

1 more thing... I have installed ALOT of mods... should i delete them, before i install this new mod?
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Dizmaul on March 03, 2010, 09:49:18 PM
Quote from: wc3ard on March 03, 2010, 09:43:08 PM
Can someone tell me the exact location where i should put the file?

1 more thing... I have installed ALOT of mods... should i delete them, before i install this new mod?

wondering same thing.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Kernel64 on March 03, 2010, 10:11:26 PM
Create a TriggerLibs folder within your StarcraftII folder and extract there.

This is awesome! I'll play with it in a sec.  ???
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Dizmaul on March 03, 2010, 10:16:33 PM
just played a game was pretty good comp sat back a little make a very nice sized army and we clashed... what was really sweet was right after he came back at me with more which was deff lacking in v5.5
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: r3ddrag0nx on March 03, 2010, 10:44:24 PM
Any decent players here tested this yet? If you can win in 15mins or less, it's still marginal in real gains at least for ladder training, but any gain is a good gain.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: wc3ard on March 03, 2010, 11:15:00 PM
Ive just tested the mod in a ffa, with 1 terran ai, 1 zerg, and 1 protoss. I gave the protoss time, to do his thing. But after i whiped out zerg& terran, the protoss ai was still too easy, to call it an worthy opponent =/

But maybe in 1vs1 he can be hard, have not tried this yet.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: ooni on March 03, 2010, 11:47:02 PM
Yeah, played it. Good news and bad news
The Build
Protoss AI has variety in his/her arsenal but it seems to be Jack of All Trades and master of none. During the Battle I saw 3 phoenixes, 2 collosi and 2 immortals and good mix of stalkers and zealots. You would think that's a decent army but no. I was played Terran 3 times(teching (bio/mech) and rushing), I came to this conclusion. AI is just too poor economy wise. Even you don't harass, it will have a poor economy because it's building too much variety. Don't get me wrong, variety is good in SC2, harder to counter. However years of SC taught me this, go with one genre (e.g. bio, mech or air) after you expand and have spare resources then go variety.The fundamental build of this AI is wrong. Why would the AI go so many different kind of units with only one expansion? It does not have enough resource to sustain it. Yes, if you tech and never attack, the Protoss army becomes pretty large. Even then once you destroy their army AI doesn't have the resource to recover.

AI Micro
Slightly better than v5.5 and goose's AI. I didn't see anything terribly stupid from the AI.

Fun or Not?
I guess it's always going to come to this. The answer is sorta. The AI is like a noob SC player. This is a vast improvement compared to other AIs which feels like you are playing against a box. The AIs will not start moving into your base and back and base and back. Nor the AI will suicide its units. When reapers try to harass they will respond fairly quickly, some probes even moved towards me (didn't attack me though). Still the same problem as they move away as soon as reaper hides.Computer picks a battle then goes all in. I liked that part.

6.5/10 below expectation
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: dantemp on March 04, 2010, 12:43:18 AM
If it's installed corectly, should I get the message ""prepare for terrible terrible damage Starcrack V5.0" considering that the last version I used was 5.5?
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Kernel64 on March 04, 2010, 02:38:18 AM
Quote from: r3ddrag0nx on March 03, 2010, 10:44:24 PM
Any decent players here tested this yet? If you can win in 15mins or less, it's still marginal in real gains at least for ladder training, but any gain is a good gain.

It's much more showing an SCBW AI behavior, (not BWAI Gold). Perhaps the code can be improved to check conditions and execute commads respectively.

Say, for example, the AI will only build the 7 zealots if the opponent is ZERG and etc,etc.

Overall, what I like about this AI is how it's been done and structured.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: pondloso on March 04, 2010, 03:21:10 AM
I think it best AI so far i test 2 game 1v1 AI very good as push but have to another test for best result
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: siman on March 04, 2010, 05:41:26 AM
This is so useful for me, as it only contains two files, I could let them do some AI fight


I am editing the Terran AI, just tried two TvP matches, using all default TriggerLibs except the two Protoss and two Terran galaxy files. This is better than play with the default very easy AI and I could do more debug work in late game. Still, this AI is a bit weak, and it never attack my AI's base in the two games.

Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: sublime on March 04, 2010, 11:29:32 AM
i played it twice last night. i do not know why, but it doesn't seem to attack until i expand. I have a theory that it will not attack unless it sees an enemy nex/hatch/cc. i kept units in the entrance of my base and the enemy scout never came in, so their units just hang out. when i expand and put up a nexus the scout can get to, their probe comes by and almost like clockwork i see the enemy coming at me. in the second game i tried to provoke it and i think it will correct the problem if I do, only their army sort of split in half and was wiped out too easily.


one other thing i noticed is it never makes observers. it loves to build dark templar (awesome) but if i try to make any back at it it will let its entire army fall to 2 of them and never try to detect them.


this is by far the best non-cheating protoss AI i have played against so far macro wise. it builds fast, upgrades and comes at me with a variety of units. when i get home from work i want to test my skills with the other races against it...i've only done PP so far
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: pixartist on March 04, 2010, 11:34:48 AM
 :( I just played a match TvP and it was not hard at all despite the fact that I'm a total rts noob... I just raped his eco with reavers and then massed some ravens and killed him with raventurrets. He didn't push, he didn't harass, he didn't scout.. nothing Oo
His army was okay (zeals, a lot of stalkers, some immortals and some of those shield thingies) but he couldnt defend against my nitro reavers :/
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: DarkZeros on March 04, 2010, 12:14:56 PM
This was only the "first working release". I'm going coing to code today more parts.

Update soon.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: kblood on March 04, 2010, 05:11:50 PM
Quote from: pixartist on March 04, 2010, 11:34:48 AM
:( I just played a match TvP and it was not hard at all despite the fact that I'm a total rts noob... I just raped his eco with reavers and then massed some ravens and killed him with raventurrets. He didn't push, he didn't harass, he didn't scout.. nothing Oo
His army was okay (zeals, a lot of stalkers, some immortals and some of those shield thingies) but he couldnt defend against my nitro reavers :/



Why does people always think that an AI is bad because you can take out its income, and then pwn it? Real players can easily fall for resources being back stabbed by a drop, or units going in and out. So many players here seem to expect a good AI is rated by how well it counters a rush or sneaking in units to take out the gatherers. That is one thing AI can never defend completely against.
However this AI did put up a lot more base defense than any other AI I have seen. Maybe because I ran it with the cheat version of 5.5 giving it more resources. Also it beat the crap out of two zerg. The battle was two protoss vs two zerg. I was observing.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: ooni on March 04, 2010, 06:25:39 PM
v0.1
Looked back at some replays as well and the AI has a horrible income:production ratio, why have millions of structures that you can't possibly produce from? The AI literally built almost every structure while on his natural expo, that's just not right. It's a classic noob mistake we have done at least once, but this AI does it over and over again.
Just need to fix that.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Dizmaul on March 04, 2010, 06:34:14 PM
Quote from: pixartist on March 04, 2010, 11:34:48 AM
:( I just played a match TvP and it was not hard at all despite the fact that I'm a total rts noob... I just raped his eco with reavers and then massed some ravens and killed him with raventurrets. He didn't push, he didn't harass, he didn't scout.. nothing Oo
His army was okay (zeals, a lot of stalkers, some immortals and some of those shield thingies) but he couldnt defend against my nitro reavers :/


so many people say reavers i wonder why?? lol id understand if it was the same race maybe...REAPERS!!!
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: kblood on March 04, 2010, 07:22:27 PM
I just played against this AI 1 on 1. I used it with 5.5 with cheats, so it should have had plenty of resources. What I like about it is that it seems it uses those resources.
Pros:
It seems to keep building armies and attack until it is out of resources. It also builds all types of units, making it possible to try different kinds of units against them. I have not been up against that many stalkers yet, and they seem to count as both a flying and a ground unit. They are really nasty against ground units still though.
It was probably mostly because I expanded my defense, but it did attack several places in my defense. At a few points it even seemed to be about to breach my defense, and playing Terran that is quite a defense. It managed to take out my third expansion.
It even pushed back my attacks. The first 2-3 attacks I did were pushed back. Probably because I was trying with marines and other foot soldiers, with medivacs above them. I just love that combo. They proved to be a lethal combo, but I lost quite a few units as well though.
It actually even upgrades its units :) Something that certainly is missing in the Starcrack AI. I doubt that AI will even make as much as two upgrades doing a whole game.
Cons:
It did not attack me at all at first. Even after making my first expansion. It seems it was just massing troops in the middle. I did not try making even a little rush attack against it, and I guess that was one of the reasons. When one of my SCVs went to make its first expansion it started attacking. After that came wave after wave of carriers, stalkers, zealots... well everything except the mothership. It did not do the classic AI mistakes of pulling back all the time and then trying to attack again straight away. When it attacked, it kept attacking, and instead of just loosing troops due to pulling back again too much, it got a few units killed and destroyed a few buildings. Mostly bunkers and rocket towers. It just does not seem agressive enough, but still it was alot more fun than the computers that just sends wave after wave of units that cant touch my defense at all.
As already said, this AI seems to lack early game, but I do not mind that, if that is the reason it gets fully teched so fast, and does upgrades. I guess I will have to try and see if it can defend a bit against rushes. I think it can in fact since it must be making quite a few defensive units in the beginning.
Would be nice it the AI tried using the Mothership :)

Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: chetjan on March 04, 2010, 07:23:16 PM
@turbuglar thanks for the link
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: apriores on March 04, 2010, 11:00:40 PM
A really impressive AI. One thing I hope can be changed... When he's taking a new exp, all his production operations is stopped until both Assimilators are done. It is a way to not stopping him in this situations?
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: krutoistudent on March 05, 2010, 04:13:13 AM
tested it with 5.5 cheat ai, well it was quite entertaining in early game but it didnt expand and sucked totaly in middelgame (overrun it with ling roaches and hydra +2infestor for mindcontroll of immortals and coulosses)

the only differents to 5.5 cheated ai i see is the unit mix (used even phoenix and hunt some lord, i wish it would use gravity on my most important units and they should harass more the overlord, since i spread them out everywhere to creap the whole map for faster movements :)

so summary:
+ unitmix
+ good early game (thanks to unit mix)

- missing mini rush at start (in pvz it should try to deny first expansion with probe and should go harass with first zealot, if zerg fast expand before pool)
- middel game horribe (macro just didnt exist and his second attack it far too late, seriously if i knew he would wait so long with his attack i would have just double expand)
- expansion policy didnt exist (well it was 5.5 cheated ai, so maybe it had enough ressources to spend i dont know, but since his units amount was so low i guess it has here the biggest problem)
- middelgame units should more harass (units like phonex should go and hunt overloards should go and gravity important units and kill them, like queen or infestor who in example just mind controll the colousses or immortals)
- lategame (dont know yet, since ai dies in middelgame to easy)
- variation of game openings and main strategie (focus on colousses or on high templer)

this is just of the view of zerg vs toss ai

edit: +means positiv about ai , -means very important things the ai is missing
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: hahahobun on March 05, 2010, 08:06:51 AM
general comments: nice mix of units. bad that AI goes for both air and ground.
wasted resources on buildings.
pros: one of the best AI i ever played.
         * when i battled the AI in mid-game, i massed ~10 stalkers and 10 zealots and 1 immortal to its main base. i found out that he got more than 4 immortals and i was forced to retreat. then its phoenix came and g beamed my immortal and killed it. i literally wowed at that good play. another one is that the AI finally defended its base by more than 7 cannons, but got wiped by 3 colosus with range boost.
         one more thing, this is the first AI that uses warp gates

cons: in the about 25 mins game(giving the AI chances), it didnt even attacked me once, i built a proxy pylon near the watchtower waiting for him, but all it did was blocking the cliff with units, that was sad. Also i didnt see any scouts

well i know nothing about AI scripts, but can AI read my units and build counters?
like if it sees a new expansion then he will attack it.
or if he sees mass immortals then he will warp in zealots?

good job and cheers! keep it up.
ps. i suggest focusing on the protoss AI before starting others, cuz i like protoss most!
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: DarkZeros on March 05, 2010, 08:15:10 AM
Thanks for he feedback. I was planing to change the AI to make it more units specific, so it will massively build some kind of unit only (and specialice in Air or Ground only). Also, depending on the type of units, research only the techs regarding thouse types, and only build the needed buildings
I also plan to make it expand faster, and build much more units and less buildings.
As some of you noticed, the AI is in "defend mode" at the game start. I made it that way because thats what i do when i play :P (but this time it will a little bit more random)

But I have no group of people (just me xDD) and i have so little time to do this.

I hope that today i can release a new version, that will be a little bit more *random*, and hard.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: hahahobun on March 05, 2010, 08:40:56 AM
wish you good luck, but is it possible to make the AI expand when it found itself low on gas such that it needs more high tech buildings/ units? cuz if random expansion that would be crappy.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: bustya on March 05, 2010, 09:39:16 AM
Wow, i finally lost.

It took a while before i actually saw the opponent, but once i did, he had a lot of buddies with him and made it through my defences.

Thanks for the challenge.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: sLayed on March 05, 2010, 10:14:41 AM
For those who say building a fully mixed army from the get-go is a failure tactic, please just watch some jaedong fantasy games. The amazing thing about zerg is every unit the race can make stems from the hatchery, allowing for a very diverse and ever adapting build especially considering the cost of the units.  This is of course beautifully countered by the fantasy build, where the individuals skill is truly brought out and great games of starcraft can be played.  Both races are tested to the limit, and the players ability to utilize each unit in counter to their opponent is tested miraculously.  The fantasy build goes up literally 80% of the techtree in 5 minutes or so.  Early vulture harass into wraith or dropships, followed by possible valkyries or goliaths or even another swap into medic marine tank army.  The "vulture => valkyrie => mm army complimented by tanks" can be seen in the 2009 OSL Finals, Jaedong vs Fantasy: '09 Batoo OSL Finals - Jaedong vs. Fantasy 1set 1/2 (Eng. Com.) (http://www.youtube.com/watch?v=nAP29o5cNB4#)  Hope you enjoy this great game of starcraft.  This whole series is really nice I find as it's a great and unique display of Zerg against Terran.  Perhaps you might also want to watch some Jaedong vs Bisu games as they both typically use a similar mixed unit style.  For example corsair reaver to dt drop, zealot drop, to high temps and archons.




Okay, something more important now.  I have created a folder in my Starcraft II Beta folder called TriggerLib and I have placed the .galaxy files into that folder.  Is that all I need to do to play with this new Protoss AI?  What should I select as the difficulty with the Launcher?  Thanks!
 

Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Gamewiz on March 05, 2010, 10:18:52 AM
So I just tried this AI... I have to say I do not like it at all. Sure, they massed a very large force and placed defenses at his expanses, but they never attacked me ONCE. And the defenses did nothing, because I just built 3 banshees and went behind his mineral line and wiped out all his expansions. Then I just built up a massive force of around 20 Battlecruisers and just marched on his base, wiping at his force and his base in about 3 minutes. The entire match was about 40 minutes, so I gave them plenty of time to do something.

And yes, I'm 100% sure I loaded it properly. I got the confirmation at the start of the game that the AI was loaded.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: killabyte on March 05, 2010, 10:22:58 AM
this would be a pretty challenging ai if they would work together against you.  wouldn't hurt if they would upgrade too.  i guess maybe blizzard left the code out for that since no one has put it in yet.  not complaining, just observing.


i was playing as terran vs 2 terran and 1 zerg on lost temple last night.  one of the terran ai began attacking me so i went after it and then the zerg went after my base so i had to retreat and defend.  i wasn't expecting much from it so i was just using my offensive force as my defense.  the other terran ai had evidently been hit early by the zerg because they had one base in the corner that you had to get to by air and were only mining.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Gamewiz on March 05, 2010, 10:26:25 AM
Quote from: killabyte on March 05, 2010, 10:22:58 AM
this would be a pretty challenging ai if they would work together against you.  wouldn't hurt if they would upgrade too.  i guess maybe blizzard left the code out for that since no one has put it in yet.  not complaining, just observing.


i was playing as terran vs 2 terran and 1 zerg on lost temple last night.  one of the terran ai began attacking me so i went after it and then the zerg went after my base so i had to retreat and defend.  i wasn't expecting much from it so i was just using my offensive force as my defense.  the other terran ai had evidently been hit early by the zerg because they had one base in the corner that you had to get to by air and were only mining.


Did you not read his OP? This AI is for Protoss only. So the ones that beat you are from a different AI.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: sublime on March 05, 2010, 10:47:03 AM
the AI definitely upgrades. I saw 1 upgrade on ground weapons and zealot charge
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: killabyte on March 05, 2010, 11:36:59 AM
Quote from: Gamewiz on March 05, 2010, 10:26:25 AMDid you not read his OP? This AI is for Protoss only. So the ones that beat you are from a different AI.


i'm well aware of that.  i think i posted my initial reactions to it quite a few pages back.  i was just commenting on how much funner this would be if the AI's worked together and upgraded and was using that game last night as an example.

to the guy that posted that vid of the koreans playing - that is freaking hilarious how excited they get over that.  like it's a real sport or something   hahaha


Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: Gamewiz on March 05, 2010, 12:00:18 PM
Quote from: killabyte on March 05, 2010, 11:36:59 AM
Quote from: Gamewiz on March 05, 2010, 10:26:25 AMDid you not read his OP? This AI is for Protoss only. So the ones that beat you are from a different AI.


i'm well aware of that.  i think i posted my initial reactions to it quite a few pages back.  i was just commenting on how much funner this would be if the AI's worked together and upgraded and was using that game last night as an example.

to the guy that posted that vid of the koreans playing - that is freaking hilarious how excited they get over that.  like it's a real sport or something   hahaha


They treat it like it's a freakin' religion over there... It's kind of hilarious. I liked playing SC1, but damn...
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: tanknology on March 05, 2010, 12:27:57 PM
First, I have to say that your AI is much better than anything else I've tried thus far.
Very impressing stuff. Keep it up!

I played against it a couple of times but mostly I have been pitting it against the AI5.5 and watching them duke it out, and let me tell you your AI is much better.
It builds better, spends minerals better, upgrades, mixes up units (zealots, stallkers, immortals, dts), builds defenses at expansions. All-in-all pretty neat stuff.

HOWEVER -- it refuses to take incentive and attack. It will have an overwhelming force, drive it all the way to the opponent's expansion, kill 1 SCV and then turn around and go back to its base. (while the CC remains unprotected because terran forces are long dead)

Although AI5.5 is not even close to being able to build/upgrade/expand as good as your AI, AI5.5 is FAR more aggressive. It tries to attack many times even though its forces are at best 1/3 the size of your AI. Your AI can end the game at any given moment yet it just hangs out for 15-20 mins doing pretty much nothing unless its attacked.

I haven't seen a ZERG (AI5.5) vs your TOSS AI. I think that would be very intresting since I find the zerg version of the AI5.5 to be the best one of the three. (Z T P)
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: kblood on March 05, 2010, 02:55:09 PM
I have tested this AI a few times on 4 player maps, me being the observer. It seems to win every time. Zerg looses big time on pulling back too often. Somehow this protoss AI is much better at micro management, instead of the indecisive behavior of the Starcrack AI so far. My guess is Starcrack v6 will rectify that by the sounds of it. I mostly used the Starcrack v5.5 AI with cheats. Guess that might make it easier for this protoss AI, but as far as I know it also wins without the cheat version.
It was 1 protoss vs 2 terran and 1 zerg. This protoss AI just took them out one by one. I guess it also might be because protoss is a very strong race, that does not need to use burrow or repair to keep its troops up. Still it does it all, it upgrades techs, even quite early in comparison. It always gets over 150 food, unless destroyed early I guess, and although it seems to pull back at times it does not need to, it still seems to have a nice balance of protecting its troops and suiciding them in favor of more kills.
AI players trying to rush can be surprising, but usually fails, because if you know it might rush, it is quite easy to defend against. Later in the game other AIs really seem to fail at being a challenge, due to not making a big enough army but probably mostly because it has a bugged fall back and attack part of the AI.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: sLayed on March 05, 2010, 03:32:54 PM
How do I know if it's working? I did what you said but I don't see the "XYZ Loaded Successfully" and I don't see any other change.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: kblood on March 05, 2010, 04:09:03 PM
Quote from: sLayed on March 05, 2010, 03:32:54 PM
How do I know if it's working? I did what you said but I don't see the "XYZ Loaded Successfully" and I don't see any other change.
It only writes this when there is a protoss player on the map. So might just be lack of a protoss computer that is the reason for no text. If you have a Starcrack AI installed, it should write a text for each computer in the game, and then if any of them are protoss another text will show from this AI.
I have installed this AI by putting the two protoss AI files into a TriggerLibs folder directly in the Starcraft 2 Beta folder wherever that is on the computer. Then either use either the original or one of the Starcrack AI in the Liberty.SC2Modin in the mods folder. When put there it needs to be a Base.SC2Data file.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: ooni on March 05, 2010, 05:47:37 PM
Quote from: sLayed on March 05, 2010, 10:14:41 AM
For those who say building a fully mixed army from the get-go is a failure tactic, please just watch some jaedong fantasy games. The amazing thing about zerg is every unit the race can make stems from the hatchery, allowing for a very diverse and ever adapting build especially considering the cost of the units.  This is of course beautifully countered by the fantasy build, where the individuals skill is truly brought out and great games of starcraft can be played.  Both races are tested to the limit, and the players ability to utilize each unit in counter to their opponent is tested miraculously.  The fantasy build goes up literally 80% of the techtree in 5 minutes or so.  Early vulture harass into wraith or dropships, followed by possible valkyries or goliaths or even another swap into medic marine tank army.  The "vulture => valkyrie => mm army complimented by tanks" can be seen in the 2009 OSL Finals, Jaedong vs Fantasy: '09 Batoo OSL Finals - Jaedong vs. Fantasy 1set 1/2 (Eng. Com.) (http://www.youtube.com/watch?v=nAP29o5cNB4#)  Hope you enjoy this great game of starcraft.  This whole series is really nice I find as it's a great and unique display of Zerg against Terran.  Perhaps you might also want to watch some Jaedong vs Bisu games as they both typically use a similar mixed unit style.  For example corsair reaver to dt drop, zealot drop, to high temps and archons.




Okay, something more important now.  I have created a folder in my Starcraft II Beta folder called TriggerLib and I have placed the .galaxy files into that folder.  Is that all I need to do to play with this new Protoss AI?  What should I select as the difficulty with the Launcher?  Thanks!


I wish you could learn to read. None of us said variety is a fail, we said the build AI does is fundamentally wrong and the rational is that you will not have enough money to sustain it. Let's look at FvJ; Fantasy was able to make variety of units because Fantasy knew he was in front (J had expanded + no troops). I didn't say diverse units are weak (harder to counter in SC2; read plz), it's just that you will be economically behind and your reward is having far less units but "variety". You probably noticed that Jaedong freaked out when he saw all kinds of units because he had not seen pro players do mass variety with one expansion, he wasn't prepared for it. You should ask yourself why so many pro players do not make so many variety with one expansion. Then ask yourself how many situations do you see coming out on top, having only one expansion heavily mixed units?
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: 1337 on March 05, 2010, 06:14:55 PM
OK... I really like what you have done with the code. I printed yours off and will be using it as a reference for my own upcoming AIs.


However, your build order is poor. I just observed your AI in a 4-player computer-only game. 2 of your Protoss IAIs versus 2 of my custom Zerg AI. Your AI did well in the early game but quickly fell behind in resources. At one point my AI had 40 drones versus your 23 probes. A few early mutalisks and roach rush took out your expansion and then the Zerg expanded again to the high-yield minerals... gg.


My AI uses nothing but AISetStock and AIDefaultExpand commands but simply fast-expanding and then pumping shittons of mutalisks was enough to overwhelm your AI quite easily.


Your code is good, but you just need to go for even MORE units earlier. Expand faster also. I'm going to release a conglomeration of our AIs (my zerg/terran and your protoss) so people can play around with it. It's nasty :)
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: cloak123 on March 05, 2010, 06:43:34 PM
Yeah i'd like to see that 1337

Also, Ive noticed Very poor resource management from this Ai as well. It builds very good army variety. Just Too slow and does expand enough and is not aggresive enough.

im sure alot of this will be improved as its developed. For everyone else who just Attacked this AI , how bout you make one ok?
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: 1337 on March 05, 2010, 06:55:23 PM
Quote from: cloak123 on March 05, 2010, 06:43:34 PM
Yeah i'd like to see that 1337

Released. It includes this protoss AI plus my zerg and terran AIs. It's quite challenging :)

http://darkblizz.org/Forum2/ai-scripts/1337-ai-v0-1-(new-release)/ (http://darkblizz.org/Forum2/ai-scripts/1337-ai-v0-1-(new-release)/)

I'm going to recode my AIs to use a similar system like this, and then bump up the resource gathering on the protoss. For now, the protoss AI remains unchanged, and I left in the Protoss IAI "Prepare to die!" message at the beginning, to give credit where credit is due.
Title: Re: StarIAI (Interactive AI) v0.3 [Only Protoss]
Post by: kblood on March 05, 2010, 07:09:24 PM
Use this AI with a cheating AI that gets higher income. Then this AI truly excels. I have seen it loose in a game without increased income, which proves the claims that it is doing too much too soon. The entire build does rely on not being rushed though, and fending off with what it has. If it stays alive and somewhat untouched till midgame, it usually destroys the other AI. They usually run away too often, mid battle.
I will try your AI 1337 :) Sounds interesting.