• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 15:05
CET 21:05
KST 05:05
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !9Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
$5,000+ WardiTV 2025 Championship Winter Warp Gate Amateur Showdown #1 Sparkling Tuna Cup - Weekly Open Tournament RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
Anyone remember me from 2000s Bnet EAST server? Klaucher discontinued / in-game color settings BGH Auto Balance -> http://bghmmr.eu/ How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Mechabellum PC Games Sales Thread
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1117 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 States12240 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
BSL 21
20:00
RO8 - Day 3
Sziky vs Dewalt
eOnzErG vs Cross
LiquipediaDiscussion
Ladder Legends
19:00
WWG Amateur Showdown
davetesta40
Liquipedia
PSISTORM Gaming Misc
16:55
FSL teamleague FINALS ASHvsPTB
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
White-Ra 451
ProTech139
BRAT_OK 73
StarCraft: Brood War
EffOrt 583
Zeus 365
ggaemo 164
firebathero 131
Shuttle 75
Mong 36
ZZZero.O 15
Stormgate
BeoMulf128
Dota 2
febbydoto67
Counter-Strike
fl0m1173
Heroes of the Storm
Khaldor358
Other Games
Grubby3465
FrodaN1724
Beastyqt821
hungrybox589
B2W.Neo403
Fuzer 95
QueenE92
XaKoH 76
ToD73
Trikslyr62
Chillindude24
Organizations
Other Games
gamesdonequick850
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• printf 88
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Pr0nogo 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis3745
Other Games
• imaqtpie1334
• Shiphtur175
Upcoming Events
Sparkling Tuna Cup
13h 55m
Ladder Legends
20h 55m
BSL 21
23h 55m
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
1d 12h
Wardi Open
1d 15h
Monday Night Weeklies
1d 20h
WardiTV Invitational
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Replay Cast
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.