• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:49
CET 04:49
KST 12:49
  • 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: Winners9Intel 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!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win TL.net Map Contest #21: Winners RotterdaM "Serral is the GOAT, and it's not close" 5.0.15 Patch Balance Hotfix (2025-10-8) StarCraft, SC2, HotS, WC3, Returning to Blizzcon!
Tourneys
$5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest 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
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Path of Exile Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Dawn of War IV
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
[Manga] One Piece Anime Discussion Thread Movie Discussion! 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
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1428 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
Korean StarCraft League
03:00
Week 82
davetesta69
HKG_Chickenman55
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 184
Nina 138
ProTech112
StarCraft: Brood War
Icarus 10
Dota 2
monkeys_forever312
NeuroSwarm79
LuMiX0
Super Smash Bros
C9.Mang0650
amsayoshi36
Other Games
summit1g13990
tarik_tv11891
JimRising 479
FrodaN145
Organizations
Other Games
gamesdonequick984
Counter-Strike
PGL146
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt481
Upcoming Events
CranKy Ducklings
6h 12m
IPSL
14h 12m
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
14h 12m
Lambo vs Clem
Scarlett vs TriGGeR
ByuN vs TBD
Zoun vs TBD
BSL 21
16h 12m
Gosudark vs Kyrie
Gypsy vs OyAji
UltrA vs Radley
Dandy vs Ptak
Replay Cast
19h 12m
Sparkling Tuna Cup
1d 6h
WardiTV Korean Royale
1d 8h
IPSL
1d 14h
JDConan vs WIZARD
WolFix vs Cross
LAN Event
1d 14h
BSL 21
1d 16h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
[ Show More ]
Replay Cast
2 days
Wardi Open
2 days
WardiTV Korean Royale
3 days
Replay Cast
4 days
Kung Fu Cup
4 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
5 days
RSL Revival
5 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
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
BSL Season 21
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

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.