• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:38
CEST 15:38
KST 22:38
  • 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
Code S RO8 Preview: ByuN, Rogue, herO, Cure3[ASL19] Ro4 Preview: Storied Rivals7Code S RO12 Preview: Maru, Trigger, Rogue, NightMare12Code S RO12 Preview: Cure, sOs, Reynor, Solar15[ASL19] Ro8 Preview: Unyielding3
Community News
Dark to begin military service on May 13th (2025)18Weekly Cups (May 5-11): New 2v2 Champs1Maru & Rogue GSL RO12 interviews: "I think the pressure really got to [trigger]"5Code S Season 1 - Maru & Rogue advance to RO80Code S Season 1 - Cure & Reynor advance to RO84
StarCraft 2
General
2024/25 Off-Season Roster Moves Code S RO8 Preview: ByuN, Rogue, herO, Cure I hope balance council is prepping final balance Is there a place to provide feedback for maps? Dark to begin military service on May 13th (2025)
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025 [GSL 2025] Code S:Season 1 - RO12 - Group B Monday Nights Weeklies [GSL 2025] Code S:Season 1 - RO12 - Group A
Strategy
Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 473 Cold is the Void Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed Mutation # 470 Certain Demise
Brood War
General
BW General Discussion ASL 19 Tickets for foreigners BGH auto balance -> http://bghmmr.eu/ RepMastered™: replay sharing and analyzer site [ASL19] Ro4 Preview: Storied Rivals
Tourneys
[ASL19] Semifinal B [Megathread] Daily Proleagues [ASL19] Semifinal A BSL Nation Wars 2 - Grand Finals - Saturday 21:00
Strategy
[G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Grand Theft Auto VI Nintendo Switch Thread What do you want from future RTS games? Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
Russo-Ukrainian War Thread Ask and answer stupid questions here! US Politics Mega-thread Iraq & Syrian Civil Wars UK Politics Mega-thread
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 NBA General Discussion Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
Why 5v5 Games Keep Us Hooked…
TrAiDoS
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
BW PvZ Balance hypothetic…
Vasoline73
Racial Distribution over MMR …
Navane
Customize Sidebar...

Website Feedback

Closed Threads



Active: 24804 users

Intro to SC:BW AI development - Page 4

Blogs > mooose
Post a Reply
Prev 1 2 3 4 All
Cazimirbzh
Profile Joined February 2014
334 Posts
Last Edited: 2015-06-08 17:41:22
June 08 2015 17:41 GMT
#61
haha XD Yea for the moment, better to stop AI to go wild, even if it can be funny. And there is so much more to be done before that


@turtles
You should ask sc2replaystats; They're seems to develop tools for sc2. I think you clearly underestimate the number of pple who will watch a " resist our protoss AI" :p
forfeit1
Profile Joined January 2017
1 Post
January 14 2017 05:34 GMT
#62
Please help! I have tried to follow the instruction above but when I test it with ExampleAIModule.dll it doesn't work. And I have check the config file in Chaoslauncher and the path is correct. I am currently using starcraft BW 1.16.1 and BWAPI verson 4.2
mishimaBeef
Profile Blog Joined January 2010
Canada2259 Posts
Last Edited: 2017-01-26 14:39:40
January 26 2017 14:38 GMT
#63
can you make it so the AI responds to things in its vision? for example:

if (you see 12 or more dragoons AND time is less than 10 minutes)
{
retreat unit group X to location Y
}

or something along these lines
Dare to live the life you have dreamed for yourself. Go forward and make your dreams come true. - Ralph Waldo Emerson
mooose
Profile Blog Joined April 2010
Japan200 Posts
March 23 2017 06:52 GMT
#64
On January 14 2017 14:34 forfeit1 wrote:
Please help! I have tried to follow the instruction above but when I test it with ExampleAIModule.dll it doesn't work. And I have check the config file in Chaoslauncher and the path is correct. I am currently using starcraft BW 1.16.1 and BWAPI verson 4.2


Sorry for the slow reply I haven't been on here in a while. Are you still having problems?


On January 26 2017 23:38 mishimaBeef wrote:
can you make it so the AI responds to things in its vision? for example:

if (you see 12 or more dragoons AND time is less than 10 minutes)
{
retreat unit group X to location Y
}

or something along these lines


Sure yeah you could. My AI would keep track of the amount of enemies it had seen and compare it to the size of its own army and retreat if the opponents army was stronger. My one was pretty rudimentary though; I'm sure some of the other AI's have a much more sophisticated system.

You could make it count the number of visible enemies within a certain radius of your units and then issue commands based on that.

It's probably best to avoid hard coding things like your dragoon example though. You'd have to write a huge number of if statements to cover all the possible openings and responses.
www.teamyao.com @TeamYAO
Prev 1 2 3 4 All
Please log in or register to reply.
Live Events Refresh
Next event in 10h 23m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 367
EnDerr 24
StarCraft: Brood War
Calm 11146
Jaedong 2818
Horang2 1993
BeSt 664
Stork 645
ZerO 549
firebathero 514
Light 507
Mini 476
Last 439
[ Show more ]
Snow 413
Pusan 384
Zeus 354
NaDa 293
PianO 173
hero 168
Nal_rA 158
Dewaltoss 150
JulyZerg 92
Rush 91
sSak 81
GoRush 61
Hyun 51
Sharp 48
ToSsGirL 40
Mong 37
Aegong 21
Shinee 20
HiyA 18
IntoTheRainbow 16
Terrorterran 14
scan(afreeca) 14
zelot 12
Noble 9
Bale 5
ajuk12(nOOB) 5
Movie 4
ivOry 3
Hm[arnc] 1
Britney 1
Dota 2
Gorgc4369
qojqva1719
420jenkins663
XcaliburYe407
syndereN203
Counter-Strike
olofmeister2595
edward93
Super Smash Bros
amsayoshi33
Heroes of the Storm
Khaldor182
Other Games
singsing2121
B2W.Neo1518
DeMusliM794
hiko363
crisheroes231
Liquid`VortiX79
QueenE28
ZerO(Twitch)13
Organizations
StarCraft 2
ESL.tv143
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV386
League of Legends
• Nemesis7288
• Jankos1446
Upcoming Events
Replay Cast
10h 23m
GSL Code S
19h 53m
Classic vs Reynor
GuMiho vs Maru
The PondCast
20h 23m
RSL Revival
1d 9h
GSL Code S
1d 19h
herO vs TBD
TBD vs Cure
OSC
2 days
Korean StarCraft League
2 days
RSL Revival
2 days
SOOP
3 days
HeRoMaRinE vs Astrea
Online Event
3 days
Clem vs ShoWTimE
herO vs MaxPax
[ Show More ]
Sparkling Tuna Cup
3 days
WardiTV Invitational
3 days
RSL Revival
4 days
Wardi Open
4 days
Monday Night Weeklies
5 days
Replay Cast
6 days
The PondCast
6 days
Liquipedia Results

Completed

BSL Nation Wars Season 2
PiG Sty Festival 6.0
Calamity Stars S2

Ongoing

JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
2025 GSL S1
Heroes 10 EU
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
ESL Pro League S21

Upcoming

NPSL S3
CSLPRO Last Chance 2025
CSLAN 2025
K-Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 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.