• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 23:50
CEST 05:50
KST 12:50
  • 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
BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
Weekly Cups (June 2-8): herO doubles down1[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26
StarCraft 2
General
Weekly Cups (June 2-8): herO doubles down The SCII GOAT: A statistical Evaluation BGE Stara Zagora 2025: Info & Preview Magnus Carlsen and Fabi review Clem's chess game. Jim claims he and Firefly were involved in match-fixing
Tourneys
Bellum Gens Elite: Stara Zagora 2025 Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025 Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
Will foreigners ever be able to challenge Koreans? BGH auto balance -> http://bghmmr.eu/ Mihu vs Korea Players Statistics BW General Discussion [BSL20] ProLeague: Bracket Stage & Dates
Tourneys
[ASL19] Grand Finals NA Team League 6/8/2025 [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread Armies of Exigo - YesYes? Nintendo Switch Thread What do you want from future RTS games? Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 22336 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
Next event in 7h 10m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 248
Livibee 213
Nina 211
RuFF_SC2 161
StarCraft: Brood War
PianO 92
Sharp 88
Bale 12
Icarus 8
Terrorterran 5
Dota 2
monkeys_forever638
League of Legends
tarik_tv6429
JimRising 935
Super Smash Bros
Mew2King121
Heroes of the Storm
Khaldor151
Other Games
summit1g8364
FrodaN3263
shahzam1889
WinterStarcraft433
ViBE243
Models3
Organizations
Other Games
gamesdonequick669
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Berry_CruncH293
• practicex 30
• davetesta24
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
StarCraft: Brood War
• RayReign 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler62
League of Legends
• Doublelift5787
• Shiphtur943
• Lourlo925
Upcoming Events
Wardi Open
7h 10m
Replay Cast
20h 10m
Replay Cast
1d 6h
WardiTV Invitational
1d 7h
WardiTV Invitational
1d 7h
GSL Code S
2 days
Rogue vs GuMiho
Maru vs Solar
Online Event
2 days
Replay Cast
2 days
GSL Code S
3 days
herO vs Zoun
Classic vs Bunny
The PondCast
3 days
[ Show More ]
Replay Cast
3 days
WardiTV Invitational
4 days
Korean StarCraft League
4 days
CranKy Ducklings
5 days
WardiTV Invitational
5 days
Cheesadelphia
5 days
GSL Code S
6 days
Sparkling Tuna Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 17: Qualifier 2
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.