• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:03
CEST 23:03
KST 06:03
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL51Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation The GOAT ranking of GOAT rankings How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Player “Jedi” cheat on CSL Unit and Spell Similarities Help: rep cant save
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 657 users

Scmdraft 2 - 0.9.0 Preview - Page 3

Forum Index > BW General
Post a Reply
Prev 1 2 3 4 5 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
Germany745 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
Germany745 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
Germany745 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 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 5h 57m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 177
Hui .134
JuggernautJason111
ProTech75
StarCraft: Brood War
Calm 2973
Dewaltoss 103
ZZZero.O 91
NaDa 23
Shine 9
LuMiX 2
Dota 2
capcasts127
League of Legends
Grubby4071
JimRising 525
Counter-Strike
flusha642
Foxcn297
Heroes of the Storm
Liquid`Hasu555
Other Games
summit1g5657
tarik_tv5265
FrodaN1616
fl0m1122
Beastyqt627
ZombieGrub311
Pyrionflax129
ViBE106
Sick68
PPMD21
Organizations
Other Games
BasetradeTV34
StarCraft 2
angryscii 21
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• davetesta43
• LUISG 29
• RyuSc2 14
• IndyKCrew
• sooper7s
• Migwel
• AfreecaTV YouTube
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• 80smullet 19
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21228
League of Legends
• Doublelift4291
• Jankos2913
Other Games
• Scarra917
• imaqtpie832
• Shiphtur326
Upcoming Events
Korean StarCraft League
5h 57m
CranKy Ducklings
12h 57m
RSL Revival
12h 57m
ByuN vs Cham
herO vs Reynor
FEL
18h 57m
RSL Revival
1d 12h
Clem vs Classic
SHIN vs Cure
FEL
1d 14h
BSL: ProLeague
1d 20h
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
3 days
The PondCast
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.