Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ptanhkhoa

#76
it still cheat on the vision  to get the exact quantity number of the opponent.
#77
@Phobia : Included in my package also the non-cheating version, maybe you can try it out and give some feedback for me to improving it ( the weakness of the AI).
@ev- : This also my aim, for providing the non-cheating version which can give some difficulty for player. But  it need to improve some of the micro problem, otherwise it still should receive some bonus resources.

  In the current version now ( included the non-cheat one )  the AI can :
     _ Have almost upgrade Research ( included the VoidRay Speed, Battle Cruiser Skill, Ultralisk Armor & Speed )
     _ 2 different main strategy for each race ( but will still vary depend how opponent build to counter with it )
        + Terran : 1. 3M strategy ( Marine, Marauder & Medic ) ( useful against Zerg )
                         2. Tank & Mech  ( useful agains Terran & Protoss )
        + Zerg : 1. All around approach ( will build every bulding and build unit counter to the enemy )
                      2. Mainly ground approach ( the aim is to tech fast to Ultralisk, so ignore Air unit, it will build Hyralisk to counter Air unit instead )
                     I also try to use fast Multalisk but it not effective, because it cost gas too much, will research it later in the next version
        + Protoss : 1. Zealot rush at the begining + tech fast to get Collosus + Voidray ( useful against terran & Protoss )
                           2. Teching fast to get Darktemplar Rush + Hightemlar with Pristorm + Voidray
                    ( 2 strategy above will get Mothership & Carrier at late game, and adding some Phoenix if the opponent build air unit )
       Attack depend on how your style, if you turtle too much, it will saving resources and try to expand and get huge army to overcome your defense. ( The Darktemplar rush will be different case )
      While if the opponet focus on building unit & attack, it will build defense and will revenge back after the attack ( when the opponent army is weaker )
     _ When it attack, it often divided army, the smaller one with try to diversion the enemy, while the main force will attack. But when needing, if will gather all the army for one strike.
    You can watch the replay to see how the opponent doing, and if something wrong with it, feedback for me.

  What I getting close now for the next version is :
       _ Adding more strategy, ofcourse
       _ Terran CAN USE NUKE ( so adding another defense style & using nuke approach for terran )
       _ Try to make the Roach burrowing and moving to attack, when it closed to die, it will burrow again unless it detect that the enemy has some detector unit.
       _ The more human style attacking for the Terran, like this :
            When they attacking & getting close to the enemy base. It will not attack yet, and get range far from the enemy defense and try to using tank siege. The marine just sit close to the tank to protect it and not attack unless the opponent defense is weaker & even having some scv with them to build some bunker or repair the Tank.
         
   The Aim for longterm :
     _ Make the AI that CAN REALLY LEARNING after it defeating. It will stored the build style, mixing of the player in one file. The next time it fight, it will try to using the same strategy at that player ( if it choose the same race of that strategy ), or if find out that person using the same strategy again, will build counter unit to that strategy.
    _ So everytime you play, you will get one file that contain the strategy, you can uploaded it to me and i will make the larger database file that contain, maybe 10 strategy for each race which get highest winning rating.
And the database will be improving at more player playing my AI
   ( This is seem theoretical, but that my aiming for the longterm ).
#78
Maybe you can try the easy one :) . You know that the AI is very "stupid", if you choose race like Terran, and turtle up with siege tank, the AI still attack carelessly not like human. So it better to have handicap for computer and people can use there skill to win them even with less army.

For everyone who tested my AI, can you give some advice to make them better? The weakness of the race Zerg, Terran or Protoss ( in any version ) ? I really appreciate it and help me to improving my Ai better .
#79
I make some updates to make the Zerg attack at late game.

@Phobia: Yup. normal the enemy will have 1.5x resources to give it on pair with human.
   You don't needs these 2 files (it created by my C++ Program). Just copy all 3 folder to the mods folder from the launcher of Zocx

http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-launcher/
#80
AI Scripts / Green Tea AI 0.56
April 05, 2010, 09:43:41 AM
With commander system, every time you play, the AI will use different strategy.
Notice:
_ You must see welcome screen " Green Tea AI 0.x version", otherwise it is not working. It should be only one folder inside the AI/Mods folder
For example: + /AI/GreenTea Ai/ Trigger Libs.
+ not /AI/Green Tea AI/ Green Tea AI/ Trigger Libs

Version Explain:

Green Tea AI 0.55, edit some difficulty
Very Easy : 10 minutes countdown, the AI won't attack you in these time. APM limit 300.
Easy : Don't using micro. Show Commander name
Medium : Using Micro ( like evade storm, burrow,.... ), hide commander name, no limit APM. ( Best non-cheat AI ).
Hard : The harvest rate increase from 1 to 1.5 times in 10 minutes. After that remaining at 1.5 times.
Very Hard : The harvest rate increase from 1 to 2.0 times in 10 minutes. After that remaining at 2.0 times.
Insane : Very powerful Boss AI ( 2.0 harvest rate at the start ).

Insane AI
Starcraft 2 GT AI PvZ.avi

Medium AI
Starcraft 2 GT AI TvP (Medium).avi


Green Tea AI 0.51
_ Force field ability modified target.
_ Some fix about changing commander.
_ The HR rate now display to Minerals and Gas, so you can know exactly the mining rate of AI in very hard / insane mode

Green Tea 0.4 beta

_ Force field ability modified target.
_ Some fix about changing commander.
_ The HR rate now display to Minerals and Gas, so you can know exactly the mining rate of AI in very hard / insane mode

_ Expansion now working better. Normal will be 3 expansion, only   expand at the 4 mines when the first one almost out of minerals.
_   Transport working : AI will transport the harvester to the island or   transport units to attacking enemy if there is no ground access
_ Infestor will burrow when moving.
_ Ghost and Banshee will permanent Cloak when be attacked.
Compatible with the difficulty setting of SC2AllInOne.
Very Easy: APM 300
Easy : APM 600
_ Reveal commander name
_ No Micro ( evade storm, hit & run )
* The very easy and easy ai will reveal the commander name at the   beginning. So you can practice and build counter for each commander.
Medium: APM 900
Hard : No limit
_ Hide commander name
* These like the standard version of Green Tea, enough all feature,   the Medium AI have reduce APM so it can be easier for longterm when   there are many units.
Very Hard: Slow bonus harvest rate
Insane : Fast bonus harvest rate
* These are cheating resources like the Green Racer AI, the different   is very hard AI have slower cheating race compare to Insane.
 

GreenTea 0.47d:
_ 2 commander for Zerg Race :
  Mole : Standard 14 pool
  Mouse : Zerg Rush 6 pool
_ CreepTumor build ( testing ) : the AI will starting build Creeptumor and make it spam on the map ( will stop if it reach a wall )


At the end of the match, the Commander will reveal their name.

Installation Step
You can use this AI for SC2Launcher of Zocx or SCALLInOne of Vernam as well
When using SC2 Launcher of Zocx:
Link: SC2 Launcher
_ Extract folder GreenTeaAI into /Mod folder.
_ Delete all the file in the /Plugin folder,
_ Select the latest patch
_ Choose FreeForALL mode only.

When using SC2 AllinOne of Vernam:
Link: SC2 All In One
_ Copy GreenTeaAI to AI/ folder

_ Choose OtherAI in Difficulty and select GreenTeaAI 0.45


#81
Here is the non-cheating version of Green Tea.
_ It not so hard like the other version, so better used for practicing.
_ The only things it cheating is Vision :P
_ Each race has 3 different attack style :
   + Protoss using power with strong force.
   + Terran using harassing style.
   + Zerg using large quantity and massive army.

_ Credit for Dark Zero. Most of my code based on his IAI ( I don't like the AISetstock function as well XD, the AIBuild function is more effective ).
_ Also credits for Starcrack team, ofcourse for their original work.
_ Some of code I learn from the website, and credit to people who works on it.

Try it out, and feed back for me, thanks. :X

Below I included 2 file ( using it depend on your launcher )
GreenTeaZero TriggerLibs
and Base.SC2Data
#82
_ Actually it has some major weakness. Next time I will let the AI "think" before every attacking, how should he attack, not just gather enough soldier. It will be in the next version 0.4.
_ This time I just fixed some thing and let the Zerg tech up faster. They still a weakest race of all ^^.
( for human, but strangely it can beat other 2 AI :P )
Update 0.3d
#83
Update 0.3c, Fixed some bug issues :).
#84
  Ai cannot compare to human, so it is fair to give them some advantage, so that player can be more satisfy on 1 vs 1 match.
  _  Unlike the previous one, I don't give the AI so much money, but   instead improve the combat style of the AI:
  _ It will response to your   unit, if you buy air unit, expect some anti-air from them.
  _ The Attack and retreat function now working well.
  _ Expecting some drop attack from them.
  _ Some harassing unit

For those who wanted the 2x version, it will be publish soon.

Have fun  :thumbsup: .
 
 
#85
I will work up more on this Ai, about the attack function, and harassment.

When he know that you have some special unit, he will try to build defense building ( bunker, photoncanon } nearly his resource.
And when they detect cloak unit , they will set "observer" unit on high priority

Beside, when he detect there are some defense building or tank in enemy base, they will wait until they have some special unit to overcome them. (For example, when they detect enemy bunker, photon cannon, they will wait until have some Siege Tank or Immortal, War prism, etc... )

It will be nice if you can list some of unit used for harassment and some unit to kill defense building for 3 races :)
 
#86
@apriores: Yup, because when you changing to 1.5 he lack of resources and will meet many problem in building. ( For example, the default 2x Ai will build 3 gate in the begining, but at 1.5, it keep him a long time to build and tech up. ). Maybe I should make an easier version with 1.5 harvest, but must have a different build order :) )
#87
Thanks, I changing some stuff and make them more aggressive now in 0.2b version ( updated in the first post), I still keep the first one ( for defense style).
You may want to give it a try :) .

For now, the AI is very predictable by using all around strategy ( build all kind of army). So the next version, I will adding more strategy and different build style :)

#88
Thanks for reporting ^^. Can you post me the replay ? About the AI, I   don't think it will attack early in the beginning, ( may be attack, but   at least with some Roast, not just Zerling, and when he feel that losing   too much ( about half of his army, he will retreat, not suicide ). I'm   not sure about the scouting, he will send overlord for scout but not   using drones.
    Make sure you put it right in the folder with name, otherwise it just   using the default AI. When you play do you see some of these greeting   text
             " Welcome to Zerg Hell
               The mighty Protoss or Marine & Medic Terran ? "
 
#89
AI Scripts / Re: IAI v2.1a (Stable)
March 20, 2010, 10:08:20 AM

I posted my cheating AI based on your script . You can take a look at it ^^.
About your gas problem, I think you should your the IAIbuild command, instead of AISETStock

    IAIBuild ( player, 2, i, c_PB_Assimilator, 2, c_onVespeneGas, c_techCountQueuedOrBetter ,410, 0);

Try it, it work out for me :P.

I don't know how to set Queen for each Hachery yet, and how to make Terran research Nuclear ( the most important weapon of Terran ).
#90

Thanks Dark Zeros for his awesome script and Starcrack team. I make my AI based mostly from them.
Thinking that, with x2 money, how can you use it more effective ?
_ So I make these AI with can do really "something" :
    + Use money effectively at the beginning.
    + Know how to attack and retreat when they feel losing.
    + Upgrade as fast as possible
    + Late game will build more unit generator that consume every money they harvest. ( Gas always shortage before minerals )
    + The Ai will be more passive at the beginning but very aggressive at the late. So it enough time for player to build their defense.

_ So far, it just the basic version, some bug of it can happen in some game about the supply.

Some picture of it ( click to zoom):

They will use money very efficiency


Can do multiple task, product, build and research at the same time.


How are their army in late game ?  Here comes,

The Mighty Protoss


The MMT Terrans ( Marine & Medic & Tank )


The Hell Zerg


How to install, using SC2 Launcher, just copy the folder with Trigger Library to their Mod folder

It work and compatible best with Zocx launcher

http://darkblizz.org/Forum2/sc2-tools/starcraft-ii-launcher/