• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:07
CET 10:07
KST 18:07
  • 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
TL.net Map Contest #21: Winners5Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!27$5,000+ WardiTV 2025 Championship5[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! TL.net Map Contest #21: Winners RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
- nuked - Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BW General Discussion [ASL20] Ask the mapmakers — Drop your questions [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
PvZ map balance Current Meta How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion 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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1579 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 2h 53m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 140
StarCraft: Brood War
Calm 8406
TY 538
BeSt 392
Zeus 320
Jaedong 303
Tasteless 272
PianO 248
Soma 232
Leta 166
soO 103
[ Show more ]
sorry 36
yabsab 19
NotJumperer 12
Bale 10
Noble 7
Dota 2
Gorgc4481
KheZu142
League of Legends
JimRising 504
Reynor72
Counter-Strike
fl0m1762
taco 68
Other Games
summit1g14140
ceh9340
singsing285
XaKoH 74
NeuroSwarm63
crisheroes48
Organizations
Other Games
gamesdonequick576
Counter-Strike
PGL149
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• LUISG 22
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos3060
• Stunt767
Upcoming Events
OSC
2h 53m
LAN Event
5h 53m
Lambo vs Harstem
FuturE vs Maplez
Scarlett vs FoxeR
Gerald vs Mixu
Zoun vs TBD
Clem vs TBD
ByuN vs TBD
TriGGeR vs TBD
Korean StarCraft League
17h 53m
CranKy Ducklings
1d
LAN Event
1d 5h
IPSL
1d 8h
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
1d 10h
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
1d 13h
Sparkling Tuna Cup
2 days
WardiTV Korean Royale
2 days
[ Show More ]
LAN Event
2 days
IPSL
2 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
2 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
2 days
Wardi Open
3 days
WardiTV Korean Royale
4 days
Replay Cast
4 days
Kung Fu Cup
5 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
5 days
The PondCast
6 days
RSL Revival
6 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals 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.