• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 03:26
CET 09:26
KST 17:26
  • 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
HomeStory Cup 24 - Info & Preview16WTL 2023 Winter - Week 8 & 9 Recap6WTL 2023 Winter - Week 7 Results/Week 8 Preview7WTL 2023 Winter - Week 6 Results/Week 7 Preview1Solar wins Code S Season 3 (2023)16
Community News
NAVI signs Spirit12ESL Open Week #203: Solar, MaxPax, Dark win3ESL Open Week #202: Dark, Clem, MaxPax win2EPT Winter Regionals - Serral, Astrea, Oliveira win3EPT Winter Regionals - Replay Pack7
StarCraft 2
General
NAVI signs Spirit David Kim, Blizzard vets to work on new RTS HomeStory Cup 24 - Info & Preview ESL Open Week #203: Solar, MaxPax, Dark win WTL 2023 Winter - Week 7 Results/Week 8 Preview
Tourneys
HomeStory Cup 24 (Dec 1-3) [AfreecaTV Pro Series] Classic vs Ryung [WTL 2023] Winter - Week 9 INu's Battles#6 [ Cure vs ByuN ] [AfreecaTV Pro Series] herO vs Cure
Strategy
Where do I go to find pro replays of new patch? Simple Questions Simple Answers TL Strategy Spawning Tool Build Thread
Custom Maps
Could someone fix the 1V1 OBS arcade game? "Macro mechanic energy exceeded limit" The Serral Problem: Where is active zerg play? Cyclone redesign Proposal video
External Content
Mutation # 391 Explosive Hunt Mutation # 397 Locked and Loaded Mutation # 396 In the Name of Love Mutation # 395 Call of the Void
Brood War
General
Recent recommended BW games Queen's phantom pain HunCraft: Genocide [H] [I] Replay Duration Tool Request Cosmonarchy BW match commentaries!
Tourneys
800$ Proleague North America vs Latam [BSL17] GosuLeague - Grand Finals - Saturday 18:30 [Megathread] Daily Proleagues Platinum Anchor Qualifying S2
Strategy
Firebat vs Hydra? Simple Questions, Simple Answers [G] How to get started on ladder as a new Z player TvT notes I took on 1-1-1
Other Games
General Games
Stormgate/Frost Giant Megathread Grand Theft Auto VI Magic The Gathering [MagicOnline Vintage Cube] Cyberpunk 2077 Path of Exile
Dota 2
Official 'what is Dota anymore' discussion TI 2023
League of Legends
[Summer Split] LoL Esports General Discussion
Heroes of the Storm
[Show] Heroes Chop Shop - Designing New Heroes
Hearthstone
Is Hearthstone Gambling?
TL Mafia
Winter Warfare Mafia TL Mafia Community Thread Liquid Arcanon News [0]Paper [410]TL.net/forum/mafia Appeal Disambiguation 1.02 Everybody smurfs for TTT mafia
Community
General
Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread South American Politics thread US Politics Mega-thread Property Rights
Fan Clubs
Pet Fan Club The Flash Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Korean Music Discussion Anime Discussion Thread Series you have seen recently...
Sports
2023 NFL/CFB Season TeamLiquid Health and Fitness Initiative For 2023 2023 - 2024 Football Thread NBA General Discussion Formula 1 Discussion
World Cup 2022
FIFA World Cup Qatar 2022 Thread
Tech Support
Simple Questions Simple Answers Really need help with this - Starcraft crash Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Dark Theme! Ask TL Staff Anything The Automated Ban List
Blogs
The StarCraft O…
TheStarCraftObserver
AI, Gaming, and Human Skil…
Hildegard
Hypercoven RTS (25 Updates of)…
a11
about the LAN tournament on t…
sHER1N
10044444
Vivax
I composed another piano so…
Jubinell
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2347 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
Germany741 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
Germany741 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
Germany1523 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
Germany741 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
Germany1523 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
Germany1523 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
Germany1523 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 34m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Livibee 385
ROOTSuperNova 144
Forgg! 54
StarCraft: Brood War
actioN 2191
Larva 994
Shuttle 695
BeSt 392
Tyson 272
Mong 139
sorry 110
Yoon 51
Sacsri 49
ivOry 24
[ Show more ]
ajuk12(nOOB) 21
Icarus 7
Purpose 2
Dota 2
420jenkins1890
NeuroSwarm146
febbydoto117
League of Legends
JimRising 791
Counter-Strike: Global Offensive
m0e_tv2969
Stewie2K1963
Other Games
summit1g18608
tarik_tv3480
C9.Mang0628
WinterStarcraft570
NuckleDu110
Mew2King9
Organizations
StarCraft 2
ESL.tv296
StarCraft: Brood War
StarcraftVOD3
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 18 non-featured ]
StarCraft 2
• Hupsaiya 46
• IndyKCrew
• Migwel
• aXEnki
• intothetv
• Gussbus
• Kozan
• Poblha
• LaughNgamez Trovo
• Laughngamez YouTube
StarCraft: Brood War
• starkiss 8
• sscaitournament1
• STPLYoutube
• AfreecaTV YouTube
• BSLYoutube
Dota 2
• Ler55
League of Legends
• Ambition2978
• HappyZerGling162
Upcoming Events
AfreecaTV Pro Series
34m
Classic vs Ryung
HomeStory Cup
3h 34m
Hatchery Cup
6h 34m
BSL: GosuLeague
9h 4m
Doodle vs Razz
Jaeyun vs MadiNho
Tenacious Turtle Tussle
15h 34m
HomeStory Cup
1d 5h
Showmatch
1d 5h
FuturE vs Strange
FuturE vs Cham
BSL: ProLeague
1d 9h
Mihu vs TBD
ESL Open Cup
2 days
ESL Open Cup
2 days
[ Show More ]
ESL Open Cup
2 days
ESL Pro Tour
3 days
ESL Pro Tour
4 days
H.4.0.S
4 days
ESL Pro Tour
5 days
Korean StarCraft League
5 days
World Team League
6 days
ESL Pro Tour
6 days
Liquipedia Results

Completed

CSCL Season 1
ESL Winter: Europe
META Madness #8 Qualifier #4
ESL Challenger Jonköping 2023

Ongoing

FS Mania
KCM Team League Season 1
BSL Season 17
Copa Latinoamericana S2
2023 StarCraft PC Cafe Tournament
2023 StarCraft PC Cafe Tournament: Youth
Platinum Anchor Qualifying S2
WTL 2023 Winter
HSC XXIV
META Madness #8 Qualifier #5
ESL Challenger League S46 NA
ESL Challenger League S46 EU
ESL Challenger League S46 AP
CCT Online Finals #5
Elisa Masters Espoo 2023

Upcoming

CSL Season 11: Qualifier 1
Bombastic 25th Anniversary LAN
CSL Season 11: Qualifier 2
CSL 11: 2023 Winter
Torneo Internacional de StarCraft
IEM Katowice 2024
ESL Winter
META Madness #8
PGL Major Copenhagen 2024
IEM Katowice 2024
BLAST Premier Spring Groups
ESL Challenger Atlanta 2023
BLAST Premier World Final
ESL Impact League S4 Finals
BetBoom Dacha
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 © 2023 TLnet. All Rights Reserved.