• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:04
CET 07:04
KST 15:04
  • 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
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3ComeBackTV's documentary on Byun's Career !11Weekly 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 win2
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Team TLMC #5: Winners Announced! What's the best tug of war? The Grack before Christmas Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies
Tourneys
OSC Season 13 World Championship $5,000+ WardiTV 2025 Championship $100 Prize Pool - Winter Warp Gate Masters Showdow Sparkling Tuna Cup - Weekly Open Tournament Winter Warp Gate Amateur Showdown #1
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
How soO Began His ProGaming Dreams Klaucher discontinued / in-game color settings BGH Auto Balance -> http://bghmmr.eu/ Recommended FPV games (post-KeSPA) BW General Discussion
Tourneys
[BSL21] WB & LB Finals - Sunday 21:00 CET [BSL21] LB SemiFinals - Saturday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Mechabellum Nintendo Switch Thread Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile
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
12 Days of Starcraft US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread How Does UI/UX Design Influence User Trust?
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
National Diversity: A Challe…
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: 1157 users

Scmdraft 2 - 0.9.0 Preview - Page 3

Forum Index > BW General
Post a Reply
Prev 1 2 3 4 5 6 Next All
neobowman
Profile Blog Joined March 2008
Canada3324 Posts
June 27 2017 15:38 GMT
#41
Brood War is literally just a pile of bugs stacked together that somehow ended up as the best game.
S.I.
Profile Joined April 2017
58 Posts
June 27 2017 17:16 GMT
#42
On June 28 2017 00:38 neobowman wrote:
Brood War is literally just a pile of bugs stacked together that somehow ended up as the best game.

Don't forget the quick + dirty hacks like worker stacking.
RedW4rr10r
Profile Joined January 2010
Switzerland749 Posts
Last Edited: 2017-06-28 23:01:40
June 28 2017 22:35 GMT
#43
I've got a question and i hope this belongs to here.

Does anybody know what exactly those AI scritps do (examples):

Brood Wars Protoss 2 - Town D
Brood Wars Terran 4 - Town A
Brood Wars Zerg 1 - Town E


Other strange ones are:

Protoss 10 - Mini-Ttowns
Protoss 3 - Air Zerg Town
Terran 2 - Electornic Distribution
Zerg 9 - Right Orange Protoss


Edit: I've just opened BW campaign Zerg 3 where you have to gather 10k minerals and you only have Terran opponents. All Terran AIs use scripts like "Brood Wars Zerg 3 - Town D" (applies for orange who never attacks you - and has a firebat constantly jumping into a bunker and leaving it again). However, brown uses the script "Brood Wars Zerg 3 - Town E" who attacks you every now and then. So those script stand for the respective missions in both StarCraft and Brood War and they seem to be hard coded.
Rip & Tear until it is done!
JungleTerrain
Profile Joined January 2012
Chile799 Posts
June 28 2017 23:11 GMT
#44
Yea I think they are what you discovered here, just general AI's made for specific purposes (the campaign missions) and assigned arbitrary names. However we don't really know exactly what they do and you would have to open the script somehow to change it.

I'm guessing that the script is as you said, hard coded into the game and the script merely "calls" on it.
www.broodwarmaps.net
RedW4rr10r
Profile Joined January 2010
Switzerland749 Posts
June 28 2017 23:19 GMT
#45
I've always wondered how you can create a nuke silo with a nuke in it, I just didn't get it to work. But Brood War Terran 5a proves that it can be done. And on top of that the nuke silo's lights flash only for a few seconds when it's building a nuke. I never understood.
But now when opening BW Terra 5a, player 1 (the nuking terran) uses the script "Brood Wars Terran 2 - Town A". At first I was confused but I remembered that in BW Terran 2 you have four nukes in the later stages (the mission where you have to steal those battle cruisers). And there was the same thing with the nukes...

Ok, at least I know now for sure that I didn't have a chance to do this myself xD Well, I did manage to make the AI build a nuke but in order to make that happen, it needs to start harvesting and shortly after, it builds the nuke. However, the building time is the standard one, but those campaign scenarios use a "chrono boost" or whatever :D
Rip & Tear until it is done!
JungleTerrain
Profile Joined January 2012
Chile799 Posts
June 29 2017 03:14 GMT
#46
On June 29 2017 08:19 RedW4rr10r wrote:
I've always wondered how you can create a nuke silo with a nuke in it, I just didn't get it to work. But Brood War Terran 5a proves that it can be done. And on top of that the nuke silo's lights flash only for a few seconds when it's building a nuke. I never understood.
But now when opening BW Terra 5a, player 1 (the nuking terran) uses the script "Brood Wars Terran 2 - Town A". At first I was confused but I remembered that in BW Terran 2 you have four nukes in the later stages (the mission where you have to steal those battle cruisers). And there was the same thing with the nukes...

Ok, at least I know now for sure that I didn't have a chance to do this myself xD Well, I did manage to make the AI build a nuke but in order to make that happen, it needs to start harvesting and shortly after, it builds the nuke. However, the building time is the standard one, but those campaign scenarios use a "chrono boost" or whatever :D


Yeah, for the most part we are very limited as mapmakers in what we can make an AI do in the game. But I think it would also get very complicated quickly if you have so many options to make a computer player do stuff. It would be very complex I think. I wonder if the SSCAIT people use scripts, I haven't looked into it.
www.broodwarmaps.net
JungleTerrain
Profile Joined January 2012
Chile799 Posts
Last Edited: 2017-06-29 04:32:14
June 29 2017 04:31 GMT
#47
S.I. is it possible to have an editable Recent Maps list under the Files menu?

Nothing too crazy, but for example at least being able to delete some of the entries.
www.broodwarmaps.net
Freakling
Profile Joined October 2012
Germany1529 Posts
Last Edited: 2017-06-29 08:43:16
June 29 2017 08:17 GMT
#48
On June 29 2017 07:35 RedW4rr10r wrote:
I've got a question and i hope this belongs to here.

Does anybody know what exactly those AI scritps do (examples):

Brood Wars Protoss 2 - Town D
Brood Wars Terran 4 - Town A
Brood Wars Zerg 1 - Town E


Other strange ones are:

Protoss 10 - Mini-Ttowns
Protoss 3 - Air Zerg Town
Terran 2 - Electornic Distribution
Zerg 9 - Right Orange Protoss


Edit: I've just opened BW campaign Zerg 3 where you have to gather 10k minerals and you only have Terran opponents. All Terran AIs use scripts like "Brood Wars Zerg 3 - Town D" (applies for orange who never attacks you - and has a firebat constantly jumping into a bunker and leaving it again). However, brown uses the script "Brood Wars Zerg 3 - Town E" who attacks you every now and then. So those script stand for the respective missions in both StarCraft and Brood War and they seem to be hard coded.

Yes, those are Campaign scripts. All they usually do is give a list of buildings to build, some instructions what units to defend with (against ground to ground attacks build the following units and use them for defense etc...) and hard-coded attacks (build such and such units and send them attacking).
Protoss 10 - Mini-Ttowns is a satellite base script (analogous to the "Campaign area town" scripts). All it does is make the AI build a Hatch (if there isn't one already) and some workers and use them to mine at those locations.

Terran 2 - Electronic Distribution is a script for the Shareware campaign. Some of them are actually dublicates, as there are also "Shareware" scripts around (but the actual Shareware release leaves out some of the missions).

There is actually an AI script editor for BroodWar you can read the scripts with and see what exactly they do. Just search the web for it.

EDIT: Use this as a starting point.
RedW4rr10r
Profile Joined January 2010
Switzerland749 Posts
June 29 2017 09:38 GMT
#49
On June 29 2017 17:17 Freakling wrote:
Show nested quote +
On June 29 2017 07:35 RedW4rr10r wrote:
I've got a question and i hope this belongs to here.

Does anybody know what exactly those AI scritps do (examples):

Brood Wars Protoss 2 - Town D
Brood Wars Terran 4 - Town A
Brood Wars Zerg 1 - Town E


Other strange ones are:

Protoss 10 - Mini-Ttowns
Protoss 3 - Air Zerg Town
Terran 2 - Electornic Distribution
Zerg 9 - Right Orange Protoss


Edit: I've just opened BW campaign Zerg 3 where you have to gather 10k minerals and you only have Terran opponents. All Terran AIs use scripts like "Brood Wars Zerg 3 - Town D" (applies for orange who never attacks you - and has a firebat constantly jumping into a bunker and leaving it again). However, brown uses the script "Brood Wars Zerg 3 - Town E" who attacks you every now and then. So those script stand for the respective missions in both StarCraft and Brood War and they seem to be hard coded.

Yes, those are Campaign scripts. All they usually do is give a list of buildings to build, some instructions what units to defend with (against ground to ground attacks build the following units and use them for defense etc...) and hard-coded attacks (build such and such units and send them attacking).
Protoss 10 - Mini-Ttowns is a satellite base script (analogous to the "Campaign area town" scripts). All it does is make the AI build a Hatch (if there isn't one already) and some workers and use them to mine at those locations.

Terran 2 - Electronic Distribution is a script for the Shareware campaign. Some of them are actually dublicates, as there are also "Shareware" scripts around (but the actual Shareware release leaves out some of the missions).

There is actually an AI script editor for BroodWar you can read the scripts with and see what exactly they do. Just search the web for it.

EDIT: Use this as a starting point.

Wow cool, thanks for your help!
Rip & Tear until it is done!
S.I.
Profile Joined April 2017
58 Posts
June 29 2017 18:34 GMT
#50
On June 29 2017 13:31 JungleTerrain wrote:
S.I. is it possible to have an editable Recent Maps list under the Files menu?

Nothing too crazy, but for example at least being able to delete some of the entries.


I could add a clear button to nuke em all, but too niche to do much more with. For now you can just clear em by removing the entries in the registry.
S.I.
Profile Joined April 2017
58 Posts
Last Edited: 2017-07-01 02:18:11
July 01 2017 02:17 GMT
#51
.... still very much a work in progress.... and I'm very grateful to tscmoo for letting me reimplement his reimplementation and answering questions.

[image loading]
JungleTerrain
Profile Joined January 2012
Chile799 Posts
July 01 2017 02:28 GMT
#52
On July 01 2017 11:17 S.I. wrote:
.... still very much a work in progress.... and I'm very grateful to tscmoo for letting me reimplement his reimplementation and answering questions.

[image loading]


What is that exactly?
www.broodwarmaps.net
Freakling
Profile Joined October 2012
Germany1529 Posts
Last Edited: 2017-07-01 12:19:26
July 01 2017 09:04 GMT
#53
That is a preview for what the pathfinding region preview will look like!
Yes, it is really happening! : Soon we are going to have access to pathfinding directly via the editor! I guess there is a lot of figuring out how to best interpret the raw data left to do, but things like balancing resources and wiping out stuck 'n stacked bugs will become a whole lot easier and less time consuming!
I need to go buy more exclamation marks!
S.I.
Profile Joined April 2017
58 Posts
Last Edited: 2017-07-02 18:32:01
July 02 2017 02:49 GMT
#54
Its a display of the regions used by starcraft for the high level portion of the pathfinding algorithm. I believe starcraft first determines a path from start point to end point as a list of regions, and dynamically calculates the actual path by looking ahead a few regions at a time from the current unit position.

Here is the same thing for the (6)Acropolis map, except now it also displays the tiles which are part of two regions correctly and the links between regions:

[image loading]


E: And Circuit Breaker, pathfinding + terrain height overlays: Click for full sized.
[image loading]

JungleTerrain
Profile Joined January 2012
Chile799 Posts
Last Edited: 2017-07-03 05:33:46
July 03 2017 05:30 GMT
#55
How did I not see these posts?

Dude that is crazy! SCMDraft has just ascended into God-level editing powers. Thanks SI (and whoever helped you if anyone) for these new features.

I really want to learn in-depth about these pathfinding regions... looks really interesting. I don't currently see (from that overlay) how it will help with resource debugging (I need an explanation). Or maybe as you said we just need to interpret the raw data and see what it's telling us?

Edit: lol and of course Circuit Breakers has elevation bugs in its ramps...
www.broodwarmaps.net
S.I.
Profile Joined April 2017
58 Posts
July 03 2017 06:35 GMT
#56
Lots of credit belongs to tscmoo, he let me look at his reverse engineered code to implement this and generated a dump of a map or two to track down two or three bugs.



Guess why I choose that map as the example
Freakling
Profile Joined October 2012
Germany1529 Posts
July 03 2017 08:24 GMT
#57
Can any one link some game VODs where the ramp vortex happened (on FS or other maps)?
JungleTerrain
Profile Joined January 2012
Chile799 Posts
Last Edited: 2017-07-03 15:58:44
July 03 2017 15:57 GMT
#58
[image loading]

So in this image, it shows that individual tiles in different elevation relative to its surroundings actually has its own pathfinding region assigned to it, and you can see lines coming from them and going to the region in which they are inside of. It's like mini-regions inside a bigger region.

So this means that elevation bugs in ramps actually affects pathing?

And how are these regions created? The game looks for tiles with similar properties and clumps them together?
www.broodwarmaps.net
S.I.
Profile Joined April 2017
58 Posts
Last Edited: 2017-07-03 18:36:10
July 03 2017 18:35 GMT
#59
I'm not sure whether that significantly changes pathing in this example. For long distances the game creates a list of regions the unit has to go through, but the exact path the unit follows is calculated for the next few regions in advance, so its fairly likely the pathfinding will switch to the short range algorithm before that matters. I'm not very familiar with how the game does that yet so I can't give a definitive answer.

Region creation real fast:
- Mark the map tiles by elevation + passible
- find large rects of the same height from top left to bottom right.
- expand found rects to include tiles between rects
- merge small regions into neighbors if possible.


The region display is updated in realtime as you edit the terrain so you can see how your changes affect it.
Freakling
Profile Joined October 2012
Germany1529 Posts
Last Edited: 2017-07-07 16:40:39
July 06 2017 23:05 GMT
#60
Wow, this is huge:

Any one who is following map threads on BWMN will probably bot be surprised, as this was to be expected from my working out the ramp vortex bug (and thus more generally any kind of stuck stack bug).

So I did the obvious thing:
I opened up an unprotected version of the old (Wiki)(3)Demon& and marked all region nodes with a cursor sprite. Then I stacked a ton of burrowed units around the Forest area and unburrowed them all at once. Guess which are the exact locations where they get stacked and stuck?:
+ Show Spoiler [Guess before looking!] +
[image loading]


I guess we are going to see some new map with a Forest in the near future. Just don't put trees on the wrong spots!

EDIT: As a little bonus: Here is a version of Fighting Spirit plus a pinch of magic minus ramp vortex. Hooray!

EDIT2: Put another two minutes of editing into FS. I also fixed most of the blind spots on the reverse ramps now. I only left the ones on the edge tile untouched for now, as those cannot be fixed without also screwing up pathfinding all over the map.

I am also working on a bugfixed version of CB, but that's obviously "a bit" more work...
Prev 1 2 3 4 5 6 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
01:00
StarCraft Evolution League #17
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft565
RuFF_SC2 255
Nina 183
StarCraft: Brood War
Rain 7274
Shuttle 406
Leta 131
scan(afreeca) 69
Mong 45
Hm[arnc] 24
Dota 2
monkeys_forever427
NeuroSwarm117
LuMiX1
League of Legends
JimRising 710
C9.Mang0472
Counter-Strike
summit1g7933
minikerr49
Heroes of the Storm
Khaldor150
Other Games
fl0m740
ViBE152
KawaiiRice3
Organizations
Other Games
gamesdonequick879
BasetradeTV51
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• practicex 23
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1332
• Rush1172
• HappyZerGling109
Other Games
• Scarra1555
Upcoming Events
BSL 21
13h 57m
Sziky vs eOnzErG
Sparkling Tuna Cup
1d 3h
Krystianer vs TBD
TriGGeR vs SKillous
Percival vs TBD
ByuN vs Nicoract
OSC
1d 11h
BSL 21
1d 13h
Cross vs Dewalt
Replay Cast
2 days
Wardi Open
2 days
OSC
3 days
Solar vs MaxPax
ByuN vs Krystianer
Spirit vs TBD
OSC
6 days
Korean StarCraft League
6 days
Liquipedia Results

Completed

Escore Tournament S1 - W1
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL Season 21
CSL Season 19: Qualifier 2
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

Upcoming

CSL 2025 WINTER (S19)
Escore Tournament S1 - W2
Escore Tournament S1 - W3
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
Nations Cup 2026
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.