http://www.broodwarai.com/downloads/mem ... %201.0.txt
Here's something I threw together for fun. I didn't spend a lot of time making it win or whatever, but it's still pretty good.
The PvT project
- Taranok
- Posts: 256
- Joined: Tue Sep 07, 2010 9:41 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The PvT project
yup, it's pretty good against mech; but it can't survive against the classic marine medic firebat rush! loses to Archon Wing, Baja, Accel T. I don't know how hard it will be to solve this.
Thanks for posting your P AI. It's really hard to tell how good Mech AIs are when only one of them is any good against Mech.
Thanks for posting your P AI. It's really hard to tell how good Mech AIs are when only one of them is any good against Mech.
-
- Posts: 254
- Joined: Thu Dec 18, 2008 12:42 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The PvT project
Taranok, can you make a sample AI script such that Protoss will try a contain in front of the enemy's base, i.e. gather goons, zealots and observers in a safe range from the enemy siege tanks but still killing anything that will try to escape out by land (scvs, vultures, etc)
- Taranok
- Posts: 256
- Joined: Tue Sep 07, 2010 9:41 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The PvT project
will try to get any updates/coding worked on this weekend. btw I'm not sure how terrific a contain script will work (I think I read something about attack_prepare will attack without waiting for the attack_do command). Will try though.
I think I might add some screenshots here later for fun
I think I might add some screenshots here later for fun

-
- Posts: 254
- Joined: Thu Dec 18, 2008 12:42 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The PvT project
Well, I don't mean it to be an otherwise powerful bot. I (and I believe other bot developers) just need an opponent that makes a good contain (gather army in a safe distance in front of the enemy siege tank defense) because passive bots like mine tend to suicide lots of units in such situations. It'll be an extremely useful training partner.
Some notes about it to ease the work:
1) doesn't need to ever attack, just to continue gathering in a safe distance in front of the enemy natural. Defending that position so to say
2) the gathering position should be such that the contained player can't send workers out to build an expansion or sneak out any vultures. I know this is hard on let's say FS, but It should be somehow doable on Python maybe?
3) Army composition doesn't need to be too fancy. Goons with range mostly, maybe later - some HTs and reavers, carriers...?
4) Could be a UMS map as I know this would be easier.
Some notes about it to ease the work:
1) doesn't need to ever attack, just to continue gathering in a safe distance in front of the enemy natural. Defending that position so to say
2) the gathering position should be such that the contained player can't send workers out to build an expansion or sneak out any vultures. I know this is hard on let's say FS, but It should be somehow doable on Python maybe?
3) Army composition doesn't need to be too fancy. Goons with range mostly, maybe later - some HTs and reavers, carriers...?
4) Could be a UMS map as I know this would be easier.
- bajadulce
- Posts: 52
- Joined: Fri Feb 01, 2013 7:02 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The PvT project
@ attacking w/o waiting for a command
From prior observations, it was discovered that the internal AI engine will send it's army on the offensive without ever instructing it to do anything (i.e. no attack commands in script at all). Ashara I believe confirmed this in his testing as well. Not sure what triggers the AI to decide to attack, but it doesn't appear to just build a passive army. Eventually it seems it will attack whether you instruct it to or not.
Somewhere there is a post/script called EasyZ. Basically I tried to put together a script that wouldn't attack my 10yr old nephew, but rather just build a huge defensive army/base. Eventually tho (usually around 15 minute mark iirc) it would go on the war path. Maybe there was something we needed to leave out that prevented the script from behaving as intended.
From prior observations, it was discovered that the internal AI engine will send it's army on the offensive without ever instructing it to do anything (i.e. no attack commands in script at all). Ashara I believe confirmed this in his testing as well. Not sure what triggers the AI to decide to attack, but it doesn't appear to just build a passive army. Eventually it seems it will attack whether you instruct it to or not.
Somewhere there is a post/script called EasyZ. Basically I tried to put together a script that wouldn't attack my 10yr old nephew, but rather just build a huge defensive army/base. Eventually tho (usually around 15 minute mark iirc) it would go on the war path. Maybe there was something we needed to leave out that prevented the script from behaving as intended.
-
- Posts: 254
- Joined: Thu Dec 18, 2008 12:42 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The PvT project
well, if it holds still for 15 minutes, I guess that's alright.
-
- Posts: 6
- Joined: Sun Jan 27, 2013 11:55 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: The PvT project
The hardcoded build-in script attacks (the ones that are not executed specifically from the script) are one of the many functions that can be disabled by calling start_campaign. After that the AI will just obediently do whatever it is told. Have in mind that if an AI is run in the UMS game move start_campaign is called anyway (or at least the functions it disables do not work in UMS).
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Who is online
Users browsing this forum: No registered users and 1 guest