• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:14
CEST 07:14
KST 14:14
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team Liquid Map Contest #21 - Presented by Monster Energy5uThermal's 2v2 Tour: $15,000 Main Event14Serral wins EWC 202549Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580
Community News
Weekly Cups (Aug 4-10): MaxPax wins a triple5SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6LiuLi Cup - August 2025 Tournaments5[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder10
StarCraft 2
General
RSL Revival patreon money discussion thread Team Liquid Map Contest #21 - Presented by Monster Energy #1: Maru - Greatest Players of All Time Lambo Talks: The Future of SC2 and more... uThermal's 2v2 Tour: $15,000 Main Event
Tourneys
SEL Masters #5 - Korea vs Russia (SC Evo) Enki Epic Series #5 - TaeJa vs Classic (SC Evo) ByuN vs TaeJa Bo7 SC Evo Showmatch Global Tourney for College Students in September RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull Mutation #239 Bad Weather
Brood War
General
ASL20 Pre-season Tier List ranking! ASL Season 20 Ro24 Groups BSL Polish World Championship 2025 20-21 September BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion
Tourneys
KCM 2025 Season 3 [Megathread] Daily Proleagues Small VOD Thread 2.0 [ASL20] Online Qualifiers Day 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever Nintendo Switch Thread Beyond All Reason [MMORPG] Tree of Savior (Successor of Ragnarok)
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Bitcoin discussion thread Russo-Ukrainian War Thread The Games Industry And ATVI US Politics Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread [\m/] Heavy Metal Thread [Manga] One Piece Movie Discussion! Korean Music Discussion
Sports
2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Gaming After Dark: Poor Slee…
TrAiDoS
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 420 users

AI script - Page 3

Forum Index > BW General
Post a Reply
Prev 1 2 3 4 Next All
Rekrul
Profile Blog Joined November 2002
Korea (South)17174 Posts
April 12 2003 20:03 GMT
#41
casper? :[
why so 진지해?
hasuwar
Profile Joined April 2003
7365 Posts
April 12 2003 20:09 GMT
#42
hmm, it appears that this doesnt want to work correctly with win2k my dreams of AI are shattered
Diablo3 ID: Exalted#1710 -------R.I.P. http://hasuwar.isgsa.org. Much love to Toptalent
Ion)Positive
Profile Joined March 2003
Morocco1389 Posts
April 12 2003 20:10 GMT
#43
hasuwar, Question.. Do you have any prior programming lanuage?
I'd say I have um.. well.. I'm 'experianced' in C++ I guess. Havn't made much game wise, however.. Lots of MUD's, but nothing really great. I know Java..
Do you have msn/icq? That'd simplify things..
Because everything is nothing and emptiness isnt everything. This reality is really just a fucked up dream with the flesh and the blood that you carve your soul flip it inside out its a big black hole.
x[ReaPeR]x
Profile Joined February 2003
United States3447 Posts
April 12 2003 20:14 GMT
#44
Im just curious. When a comp builds multiple production facilities, how does it seperate production between them? Like if you tell a computer to build x zerglings will it use all the larvae from all its hatches to do it? And with the more complicated Terran/Protoss use of different types of buildings how does it choose what goes where?
ILoveOOv ownZ everyone!!! ~ Lamer List: Mynock, naventus
hasuwar
Profile Joined April 2003
7365 Posts
April 12 2003 20:15 GMT
#45
I have neither, lol. No, I don't have any programming experience really. If I were to go into making my own AIs, I'd be using the program that I listed earlier which has it's own proprietary scripting language (ASC v3) I have AIM and Yahoo =\
Diablo3 ID: Exalted#1710 -------R.I.P. http://hasuwar.isgsa.org. Much love to Toptalent
hasuwar
Profile Joined April 2003
7365 Posts
April 12 2003 20:36 GMT
#46
Nex, you can't define wher eit places buildings, so I guess it just puts them whever it wants ^^
Diablo3 ID: Exalted#1710 -------R.I.P. http://hasuwar.isgsa.org. Much love to Toptalent
Bill307
Profile Blog Joined October 2002
Canada9103 Posts
April 12 2003 20:43 GMT
#47
In short, the SC AI Engine is too limited and inferior. You would have to alter the source code itself in order to program a half-decent AI opponent. The computer's severe lack of strategy, tactics, micro and ability to adapt are enough to defeat the purpose of making a good AI opponent for competitive use. I'd much rather play a fair game against a challenging human opponent than a handicapped game against multiple computer opponents on an island map (which minimizes the computer's susceptibility to superior terrain).

So realistically, unless you hack Starcraft.exe, it is impossible to make a challenging AI opponent for 1v1.
hasuwar
Profile Joined April 2003
7365 Posts
April 12 2003 20:48 GMT
#48
yeah, that's pretty much true
Diablo3 ID: Exalted#1710 -------R.I.P. http://hasuwar.isgsa.org. Much love to Toptalent
Excalibur_Z
Profile Joined October 2002
United States12235 Posts
April 12 2003 21:22 GMT
#49
You can assign what it builds, and when it builds, but not how. So, the AI doesn't build too intelligently (no wallins, static D in odd places). You can assign how many units it builds, but not how effectively to use them. So, the AI doesn't micro. You can assign what it researches, but not how the research medium is used. So, the AI doesn't hide a group of Ghosts until they all have sufficient energy for Lockdown.
Moderator
x[ReaPeR]x
Profile Joined February 2003
United States3447 Posts
Last Edited: 2003-04-12 22:26:06
April 12 2003 22:23 GMT
#50
I've thought about it for a while. Whether or not an AI can work depends on the race and the matchup and the race it's using. Just a quick analysis:

T(comp) vs T : Impossible, period. Tvt is all about positioning and super micro, things the computer cannot do.

T(comp) vs Z : This, I belive can acctually be done. Building placement for TvZ is part of the equation but not completely necessary. And the kind of micro needed for TvZ, which is mainly kepping armies together and placing Irradiate right, are things the computer can do perfectly.

T(comp) vs P : Like TvT, this impossible, comps cannot push, period. And alternative would be to make it use m&m but it's too much of a specialty stratgy. And it's almost never used.

Z(comp) vs T : This can mostly be done. A couple key manuvers, like Muta harras can't be done by a computer. But the masses of units the comp needs to use late game and basic hatch placement can all be done by the comp. One of the neat bonuses is that the comps Defiler micro is VERY GOOD.

Z(comp) vs Z : I don't honestly know about this. The units builds and what not a pretty basic but when it comes to using the same amount of units as your opponent and winning I'm pretty sure the computer doesn't have the micro to do it.

Z(comp) vs P : I THINK this can be done. But I don't know this matchup very well. In theory unless this needs drops to work this matchup can be done with a comp.

P(comp) vs T : This mainly comes down to masses of units attacking a push. Something the comp does and doesn't excell at. It can control the whole group collectivly but can't micro it very well. However its storm wouldn't be that bad.

P(comp) vs Z : Not sure, I never play this (being a Terran player), so I am not sure if it can be done.

P(comp) vs P : The comps overall units control is almost sutible for this. But it can't carry Reavers in shuttles, for example.

Overall heres how I would divide the matches in feasibility.

T(comp)@T: No
T(comp)@Z: Probably
T(comp)@P: No
Z(comp)@T: Yes
Z(comp)@Z: Unprobable
Z(comp)@P: Maybe
P(comp)@T: Probably
P(comp)@Z: Maybe
P(comp)@P: Unprobable

Overall I think it can be worth it depending on ur situation and race u play. For instance Blackman's internet connection was a peice of shit, he was an excellent programmer, and all the matchups involving Zerg (his race) were at the very least feasible with a computer. You can decide wther or not it is worth it. What I am hoping for is that a group of people who are really into it will make what can be done and post it on the internet for all to download.

Peace Out.
ILoveOOv ownZ everyone!!! ~ Lamer List: Mynock, naventus
Holorin
Profile Joined April 2005
France227 Posts
April 17 2005 23:08 GMT
#51
I ve played the original AI , they are not optimized to bother a high level player, how could they ? what if a newbi wants to play and found himself obliterted by a offensive assimilator (without speaking of other "pimper plays" ).
ai are quite adaptatives, or at least they wont do everything the same way
for exemple the 6 zergling rush
Funny to notice that T will choose between nuke or BC but not both (never)

Ai can be very effective, just note how a godly reflex of feedback clears 3 templars to see what being a computer means ^_^
Get a massively casting protoss ai and it will a pain to counter
-get templars
-get dark archons
-get sairs
-get arbiters
-get obs

as for exemple the mass queen strat the computer uses sometimes (F**ucking anoyance when all your scv die .. no ?)
Yes, templar ? errr ... nothing [ je t ai casser la ]
paper
Profile Blog Joined September 2004
13196 Posts
April 18 2005 07:07 GMT
#52
On April 13 2003 05:00 Casper... wrote:
bw is about 1/100000th the game chess is.


I doubt it.

Chess has 6 pieces. Starcraft has 15 units per race.
Chess is limited to a 8x8 board, whereas SC's map ranges from 64x64 to 256x256, and even though some units take up more space than others, that's still a huge map.
Chess is turn-based. SC is real time strat.

SC has many, many more factors than chess has; more factors = more complex ;s
Hates Fun🤔
pirate cod
Profile Blog Joined August 2004
810 Posts
April 18 2005 07:33 GMT
#53
On April 18 2005 16:07 ryuGie wrote:
Show nested quote +
On April 13 2003 05:00 Casper... wrote:
bw is about 1/100000th the game chess is.


I doubt it.

Chess has 6 pieces. Starcraft has 15 units per race.
Chess is limited to a 8x8 board, whereas SC's map ranges from 64x64 to 256x256, and even though some units take up more space than others, that's still a huge map.
Chess is turn-based. SC is real time strat.

SC has many, many more factors than chess has; more factors = more complex ;s


And yet, in BW there are only a limited amount of VIABLE strategies at a professional level, while in Chess it's virtually infinite.
hasuwar
Profile Joined April 2003
7365 Posts
April 18 2005 07:33 GMT
#54
I vote to make new members take a test before being able to post. Something that will filter out the dumbasses who bring up two year old topics with nothing
Diablo3 ID: Exalted#1710 -------R.I.P. http://hasuwar.isgsa.org. Much love to Toptalent
Wizzra
Profile Joined September 2002
Netherlands514 Posts
Last Edited: 2005-04-18 08:09:58
April 18 2005 08:09 GMT
#55
hehe.. didn't notice it was from 2003. But now I read it all, I'll clarify some things on the subject.

Nearly all the posts above are total nonsense. Especially the comparisons between BW and chess. The most important difference that everyone seems to overlook is that in chess each situation can be computed from the start, because the whole situation is known to both players, whereas in broodwar there is always some randomness. The Deep Blue computers have huge databases with played games and situations, which would be useless for starcraft because you don't know the situation you're in. Secondly, the way AI works in current games is by cheating. So imitating a players behaviour is extremely hard, or else the programmers would've created it differently in the first place. Another problem, is that players will in time always (ab)use aspects of the game that the programmers hadn't thought, resulting in superiour tactics. Then you also have the real-time aspect. Deep Blue has lots of times to see through its database and compute the 'best' move for a given situation. Which it doesn't have in Broodwar. Many decisions need to be made in a second.
The responsibility of tolerance lies in those who have the wider vision.
Wizzra
Profile Joined September 2002
Netherlands514 Posts
April 18 2005 08:14 GMT
#56
What would be more realistic is creating some kind of bot that helps you micromanaging your armies. Like pulling back the weaker and dodging lurkerspines.

This would require loads of time, but it would improve the level of gaming ;D Kinda like an aimbot for a FPS.
The responsibility of tolerance lies in those who have the wider vision.
Schnake
Profile Joined September 2003
Germany2819 Posts
April 18 2005 08:49 GMT
#57
*cleans the spider webs of this thread*
"Alán Shore" and "August Terran" @ LoL EUW - liquidparty
superpenguin
Profile Joined May 2004
France199 Posts
April 18 2005 08:55 GMT
#58
On April 11 2003 23:27 Ion)Positive wrote:
Acutally, its far from impossible.. Deep Blue is MUCH more complexe then AI in Star Craft.. Deep Blue is for chess, and chess players converted to star craft would own boxer with 2 fingers.. Chess master's have been playing for like 40 years.. Star Craft AI WAS written by Black Man to be nearly at Boxer's level. The micro was not up to par with boxer, but it did do basic mavourvers. And storming, cloning units, spliting workers, expanding only when safe, ect.


This infos cant be accurate technicaly. There are 2 possible way to program some ai for SC :

AI scripts
Change the ai by using a particular editor, you put some commands in a text file, and after they are processed, bw can use them
- easy to learn, easy to start geting something working, you can start with blizzard AI scripts so you have by default the same level than blizzard
- like what is done in the bwai project, you can do much better than blizzard.
- you can define BO (+ order expand) and what units are produced depending on : the timing, the closest enemy race, the fact the map is island or not, your mineral count, the fact the enemy has at least 1 unit/building of a particular type
- you can use the give_money command to cheat and pretend that the computer has a "god" eco.

- you cant do anything else on the output : you cant give any specific commands to the units, you give hints to the ai about what you want him to do and the ai do whatever he wants with that. The list of hints you can give him is very very limited
- you cant get anything else on the input : you cant "see" anything for the game, if the enemy is making 50 vultures and 1 goliath or 1 vulture and 50 goliath, you cant know that, it's the most frustrating, you cant counter the enemy build.
- as a result of the 2 previous : you cant change the micro, you cant change the strategy except randomly or based on incomplete knowledge
- it will allways maphack
- It will never act like a real player
- It will never be become as good as the average C6 player on wgtour/tlt/pgtour (except by abusing the give_money and making 4 baracks at the first second of the game or any thing else with give_money), just because it cant be anything except simple.


modifying starcraft.exe in memory
It would works like any 3rd party program
- you could give the same command as the player, the actions you see in bwchart, but you have to give them 1 by 1
- you could read anything that a normal player would read, and even more (by default, all the map, but if you are good you could make a non maphacking IA)
- you could control anything, and i could imagine crazy micro, like the 3 marines that are kicking lurckers without loosing 1 hp in the Pimpest Plays 2004, or everytime a reaver fire on a zerg unit, the computer burrow instantly only the targeted unit (would be too cheatingly good)
- it could have any APM you want him to have... it could move 200 zerglings at the same time without hotkeys, lock 20 BC with 20 ghosts, and no need to clone, it can clic all at the same time, it could detect any nuke red dot at the first second it apears on the screen... while still having perfect timings on it's bo & the rest of the eco

- there is no public project about that, it doesnt exists
- input / output is illimited but you have to program everything yoruself
- it's very hard just to make a program to move the drones to the mineral patchs... anything else would be 3x to 100x harder to program
- if you do a programming mistake, the game crash either instantly, randomly, or in any way that could be hard to detect
- while microing you as an human have some "fleelings" about what to do, you can guess if a zerg is going for muta or lurcker on some particular conditions that are hard to describe and almost impossible to write in a computer program
- if it existed, it will never be as good as a C6 player, just because it would be too complicated



i can sum up that by saying :
- ai scripts are like programming a chess game without beeing able to move your king and knowing where the enemy one is.
- ai memory programming is like programming a chess game played by a robot that must maniplate the pawns of random and different size with an electric arm.
There is no noob map, only noob players
rel
Profile Blog Joined January 2005
Guam3521 Posts
April 18 2005 09:38 GMT
#59
Why do people replay to threads that are over 2 years old? lol...
I'll tank push my way into her heart. ☮♥&$!
dronebabo
Profile Blog Joined December 2003
10866 Posts
April 18 2005 09:57 GMT
#60
--- Nuked ---
Prev 1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
PiGosaur Monday
00:00
#44
SteadfastSC83
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 230
SteadfastSC 83
StarCraft: Brood War
Leta 646
ggaemo 264
Snow 152
sorry 98
JulyZerg 41
ajuk12(nOOB) 23
SilentControl 23
Icarus 5
Bale 5
Counter-Strike
Stewie2K931
Super Smash Bros
C9.Mang0882
amsayoshi39
Other Games
summit1g9129
shahzam693
WinterStarcraft484
ViBE154
Mew2King105
Maynarde81
trigger4
Organizations
Other Games
gamesdonequick823
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH313
• davetesta17
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1813
• Lourlo1390
• Stunt486
Upcoming Events
WardiTV Summer Champion…
5h 46m
The PondCast
1d 4h
WardiTV Summer Champion…
1d 5h
Replay Cast
1d 18h
LiuLi Cup
2 days
Online Event
3 days
SC Evo League
3 days
uThermal 2v2 Circuit
3 days
CSO Contender
3 days
Sparkling Tuna Cup
4 days
[ Show More ]
WardiTV Summer Champion…
4 days
SC Evo League
4 days
uThermal 2v2 Circuit
4 days
Afreeca Starleague
5 days
Sharp vs Ample
Larva vs Stork
Wardi Open
5 days
RotterdaM Event
5 days
Replay Cast
5 days
Replay Cast
6 days
Afreeca Starleague
6 days
JyJ vs TY
Bisu vs Speed
WardiTV Summer Champion…
6 days
Liquipedia Results

Completed

StarCon 2025 Philadelphia
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
WardiTV Summer 2025
uThermal 2v2 Main Event
HCC Europe
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 1
ASL Season 20
CSLAN 3
CSL 2025 AUTUMN (S18)
BSL Season 21
BSL 21 Team A
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.