• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:15
CEST 11:15
KST 18:15
  • 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
[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy18ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
$5,000 WardiTV TLMC tournament - Presented by Monster Energy2GSL CK: More events planned pending crowdfunding3Weekly Cups (May 30-Apr 5): herO, Clem, SHIN win0[BSL22] RO32 Group Stage4Weekly Cups (March 23-29): herO takes triple6
StarCraft 2
General
Quebec Clan still alive ? BGE Stara Zagora 2026 cancelled Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (May 30-Apr 5): herO, Clem, SHIN win Rongyi Cup S3 - Preview & Info
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) Sparkling Tuna Cup - Weekly Open Tournament GSL CK: More events planned pending crowdfunding $5,000 WardiTV TLMC tournament - Presented by Monster Energy RSL Season 4 announced for March-April
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power Mutation # 518 Radiation Zone
Brood War
General
ASL21 General Discussion so ive been playing broodwar for a week straight. BW General Discussion Gypsy to Korea Pros React To: JaeDong vs Queen
Tourneys
Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues [ASL21] Ro24 Group F [BSL22] RO32 Group B - Sunday 21:00 CEST
Strategy
Fighting Spirit mining rates Muta micro map competition What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Starcraft Tabletop Miniature Game Nintendo Switch Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The China Politics Thread European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How Streamers Inspire Gamers…
TrAiDoS
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
ASL S21 English Commentary…
namkraft
StarCraft improvement
iopq
Electronics
mantequilla
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2315 users

Tricks with pathfinding - Page 6

Forum Index > SC2 General
Post a Reply
Prev 1 4 5 6 7 8 9 Next All
DuneBug
Profile Joined April 2010
United States668 Posts
May 02 2011 19:18 GMT
#101
everything cool/unintended in sc2 usually ends up being patched. I expect blizzard to at least address the scrap station bug.
TIME TO SAY GOODNIGHT BRO!
Raysalis
Profile Joined July 2010
Malaysia1034 Posts
May 02 2011 19:30 GMT
#102
Wow, you sir are a genius for finding this.

I think checking for natural expansion and especially the scrap station thingy might be a bit broken for certain maps.

I think most of this can probably be 'fix' by making small changes to the maps though, since I am not a big fan of increasing the memory require to have the 'perfect' path finding system.
:)
hugman
Profile Joined June 2009
Sweden4644 Posts
May 02 2011 19:31 GMT
#103
On May 03 2011 03:59 Furycrab wrote:
ScrapStation thing... is the only legit problem, but it's a map specific thing... If it became a serious issues, I'd rather have one map modified (and it is possible) than throw a wrench in the whole pathfinding. At least not something where I would rush a quick fix.


You could do the same thing on Typhon, or on old Shakuras.
I don't think it's a problem though, it's equal for all players and you can try to deny LoS to your expansions if you're good.
artanis2
Profile Joined April 2010
United States732 Posts
May 02 2011 19:39 GMT
#104
On May 03 2011 04:30 Raysalis wrote:
Wow, you sir are a genius for finding this.

I think checking for natural expansion and especially the scrap station thingy might be a bit broken for certain maps.

I think most of this can probably be 'fix' by making small changes to the maps though, since I am not a big fan of increasing the memory require to have the 'perfect' path finding system.


There would be no performance penalty with the fix. The fact that you don't see their building as soon as it is built is fact enough that the vision information is available. The pathing just needs to utilize it.
AzurewinD
Profile Joined November 2010
United States569 Posts
Last Edited: 2011-05-02 19:46:50
May 02 2011 19:41 GMT
#105
On May 03 2011 01:51 artanis2 wrote:
It is not a hard problem.


Dynamic pathfinding that has to update itself in real time across hundreds of individual units, all being aware of each other's positions while attempting to find the most optimal way to any given location at any given time is indeed a hard problem. What sounds easy about this task?

Consider the necessary requirements that the pathfinding must be both intelligent and yet also be computationally efficient on a large scale. Now also consider that there can be as many as 8 players in a single game, all controlling up to 200 (not large numbers by computing standards, of course, but exponentially they can be) individual units, all having completely unique map awarenesses that shift on a second by second basis.

Thats a big task to tackle. Simply saying "Make it rely on a player's vision" may not be quite so simple a fix when you get down to the implementation.

In general, we have no way of knowing what their implementation is. Thus we can't assume anything is a "simple fix" and we certainly can't say that pathfinding is an easy task.
"...I want more people to be in that state more often, to see things not through the limited and rigid mind or the fearful ego, but through a heart that loves to express and create" - Xiaonan "Glider" Sun
artanis2
Profile Joined April 2010
United States732 Posts
May 02 2011 19:46 GMT
#106
On May 03 2011 04:41 AzurewinD wrote:
Show nested quote +
On May 03 2011 01:51 artanis2 wrote:
It is not a hard problem.


Dynamic pathfinding that has to update itself in real time across hundreds of individual units, all being aware of each other's positions while attempting to find the most optimal way to any given location at any given time is indeed a hard problem. What about this task sounds easy?

Consider the necessary requirements that the pathfinding must be both intelligent and yet also be computationally efficient on a large scale. Now also consider that there can be as many as 8 players in a single game, all controlling up to 200 individual units, all having completely unique map awarenesses that shift on a second by second basis.

Thats a big task to tackle. Simply saying "Make it rely on a player's vision" may not be quite so simple a fix when you get down to the implementation.

In general, we have no way of knowing what their implementation is. Thus we can't assume anything is a "simple fix" and we certainly can't say that pathfinding is an easy task.


Yes, and all of that problem has already been solved. Adjusting it to ignore certain buildings to within a range is an easy problem. For example:

[image loading]

Instead of generating the grey line, they generate the blue line. They do this by creating a path that ignores all buildings that cannot be seen initially, when the vision changes it is recalculated and tacked on to the current path. This can all be done when the unit is first told to move, or incrementally as the vision is adjusted for a unit's movements.

Just because you guys haven't solved this kind of problem before doesn't mean others haven't...
Raysalis
Profile Joined July 2010
Malaysia1034 Posts
May 02 2011 20:03 GMT
#107
On May 03 2011 04:46 artanis2 wrote:

Yes, and all of that problem has already been solved. Adjusting it to ignore certain buildings to within a range is an easy problem. For example:

[image loading]

Instead of generating the grey line, they generate the blue line. They do this by creating a path that ignores all buildings that cannot be seen initially, when the vision changes it is recalculated and tacked on to the current path. This can all be done when the unit is first told to move, or incrementally as the vision is adjusted for a unit's movements.

Just because you guys haven't solved this kind of problem before doesn't mean others haven't...


Well, from the video, it is quite clear that the pathing system is currently not tied to the player vision at all and the players vision is a completely different system.

While it sounds easy, trying to link 2 different system that is not link before is probably more complicated than what we initially perceive to be (from experience).

Not saying you are wrong, since there is a good chance that you are right and it is an easy fix ^^.

Obviously if they can do what you suggested, Blizzard should do it.
:)
ManaO
Profile Joined April 2011
Italy185 Posts
May 02 2011 20:03 GMT
#108
Woah, pretty cool indeed
No fear, Dr. Smith is here
TheOnlyOne
Profile Joined August 2010
Germany155 Posts
Last Edited: 2011-05-02 20:08:38
May 02 2011 20:08 GMT
#109
On May 03 2011 05:03 Raysalis wrote:
Show nested quote +
On May 03 2011 04:46 artanis2 wrote:

Yes, and all of that problem has already been solved. Adjusting it to ignore certain buildings to within a range is an easy problem. For example:

[image loading]

Instead of generating the grey line, they generate the blue line. They do this by creating a path that ignores all buildings that cannot be seen initially, when the vision changes it is recalculated and tacked on to the current path. This can all be done when the unit is first told to move, or incrementally as the vision is adjusted for a unit's movements.

Just because you guys haven't solved this kind of problem before doesn't mean others haven't...


Well, from the video, it is quite clear that the pathing system is currently not tied to the player vision at all and the players vision is a completely different system.

While it sounds easy, trying to link 2 different system that is not link before is probably more complicated than what we initially perceive to be (from experience).

Not saying you are wrong, since there is a good chance that you are right and it is an easy fix ^^.

Obviously if they can do what you suggested, Blizzard should do it.


His solution can even be done in the Map Editor ; and it works with a line of sight pathing.

So if Blizzard actual cares, they give us "exactly" his fix.


But as we know Blizzard, it will take approx 2 months to get a pseudo fix and another 3 months for a reasonable fix.

Just takes too much time ...
TedJustice
Profile Blog Joined June 2010
Canada1324 Posts
Last Edited: 2011-05-02 20:16:22
May 02 2011 20:15 GMT
#110
The problem with that "easy fix" is that when you have 200/200 worth of zerglings all having their paths calculated (or a potential 1600/1600 worth of zerglings in a 4v4), you don't want that path to constantly have to be recalculated based on vision. It would cause an insane amount of lag.

I'm not saying it's not possible, but it's not an "easy fix". It's something that would really need to be done carefully, and there'd be a lot of side effects to work out. I'm sure Blizzard was well aware of this problem when they made the pathfinding system.

But I do think it should be fixed. If not in a patch, then in Heart of the Swarm. For those people saying "they shouldn't patch out cool tricks like this", sure there are some awesome tricks that I wish they didn't patch out. I wish void ray fazing still existed. I wish the viking flower and the archon toilet still existed. These were all awesome tricks from a spectator perspective.

But this trick isn't very exciting. You can't even tell someone's doing it from a spectator's perspective unless you specifically watch their scout for it. I just don't think it's a nice enough trick that they should keep it in. It would just cause confusion more than anything else.
artanis2
Profile Joined April 2010
United States732 Posts
May 02 2011 20:24 GMT
#111
On May 03 2011 05:15 TedJustice wrote:
The problem with that "easy fix" is that when you have 200/200 worth of zerglings all having their paths calculated (or a potential 1600/1600 worth of zerglings in a 4v4), you don't want that path to constantly have to be recalculated based on vision. It would cause an insane amount of lag.


The path is only recalculated when a new building is uncovered. How many buildings are typically built during a game? Cheese ends with <10 buildings, a 45 minute game may have 50+ per player. Now how many times do you command a unit in a game? Thousands. Those 50 path recalculations aren't hurting performance...
sjschmidt93
Profile Joined April 2010
United States2518 Posts
May 02 2011 20:27 GMT
#112
I remember one of the glhf.tv guys doing this at the Day9 launch party.
My grandpa could've proxied better, and not only does he have arthritis, he's also dead. -Sean "Day[9]" Plott
Seldon
Profile Joined March 2011
90 Posts
Last Edited: 2011-05-02 20:46:41
May 02 2011 20:32 GMT
#113
On May 03 2011 05:15 TedJustice wrote:
The problem with that "easy fix" is that when you have 200/200 worth of zerglings all having their paths calculated (or a potential 1600/1600 worth of zerglings in a 4v4), you don't want that path to constantly have to be recalculated based on vision. It would cause an insane amount of lag.


To be fair, the path isn't calculated for every unit individually, the group of selected units is first divided into subgroups and then a path is calculated for every subgroup (and that's the reason we have magic boxing ). When a unit in a subgroup finds an obstacle this is solved with faster algorithms that do not involve global path-finding (line of sight, flocking, avoidance, local path-finding...).

Anyway, what I wanted to say is that the path is already being recalculated occasionally (due to depots being raised or burrowed or buildings being constructed/destroyed) so nothing new would have to be added in this sense. It's just that the frequency of these recalculations would increase cause now you have to take into account things coming inside and outside the fog. So it's slower but not exponentially slower as suggested. Every client would also need a little more RAM to keep every team's AI view.

To me the main difficulty is not technical as it is organizational. The software engineer in charge is not gonna be happy if they ask him to fix this, they are gonna have to do major changes to the simulation classes that will require extensive, maybe month-long, testing in Windows and Mac to avoid desynchronization. Also, they may have to do tricky stuff in order to keep compatibility with old replays and saved games, which will require more testing. For such a stable product it's a pain in the ass when you are asked to introduce a major change that may cause a ton of regressions. So if Blizzard doesn't fix this I'm pretty sure it will be mainly cause of the organizational challenge, SC2 is not very profitable compared to WoW and they may have some trouble justifying something major such as this. There's a reason most of the new features Blizzard are bringing us such as observing overlays are stuff that can be scripted or just added as a resource. i.e: non-engineering stuff that doesn't break anything.
kzn
Profile Blog Joined June 2007
United States1218 Posts
May 02 2011 21:23 GMT
#114
On May 03 2011 04:46 artanis2 wrote:
Show nested quote +
On May 03 2011 04:41 AzurewinD wrote:
On May 03 2011 01:51 artanis2 wrote:
It is not a hard problem.


Dynamic pathfinding that has to update itself in real time across hundreds of individual units, all being aware of each other's positions while attempting to find the most optimal way to any given location at any given time is indeed a hard problem. What about this task sounds easy?

Consider the necessary requirements that the pathfinding must be both intelligent and yet also be computationally efficient on a large scale. Now also consider that there can be as many as 8 players in a single game, all controlling up to 200 individual units, all having completely unique map awarenesses that shift on a second by second basis.

Thats a big task to tackle. Simply saying "Make it rely on a player's vision" may not be quite so simple a fix when you get down to the implementation.

In general, we have no way of knowing what their implementation is. Thus we can't assume anything is a "simple fix" and we certainly can't say that pathfinding is an easy task.


Yes, and all of that problem has already been solved. Adjusting it to ignore certain buildings to within a range is an easy problem. For example:

[image loading]

Instead of generating the grey line, they generate the blue line. They do this by creating a path that ignores all buildings that cannot be seen initially, when the vision changes it is recalculated and tacked on to the current path. This can all be done when the unit is first told to move, or incrementally as the vision is adjusted for a unit's movements.

Just because you guys haven't solved this kind of problem before doesn't mean others haven't...


Wouldn't this result in stupid pathfinding with regard to previously seen buildings that are in fog of war?
Like a G6
Swwww
Profile Blog Joined July 2010
Switzerland812 Posts
May 02 2011 21:31 GMT
#115
Woh, thats pretty sweet. Nice find!
"What is this TeamSupportGroup?" - mahnini.
corpuscle
Profile Blog Joined April 2011
United States1967 Posts
May 02 2011 21:31 GMT
#116
I hope they don't patch this so that we'll see some tournament game where someone blocks their expo path with another building to trick the opponent into thinking he expanded, and then punishes him with a one-base allin.
From the void I am born into wave and particle
Silent331
Profile Joined June 2010
United States356 Posts
May 02 2011 21:35 GMT
#117
this trick only tells you if there is a movement blocker in the path, if this starts getting used you are going to see a rax where the expansion would be. lets say a z uses this trick, he thinks expo and BAM 4 rax at his doorstep. The cannon rush example is the most powerful think i can think of.
They cant beat you, They only hope you beat yourself.
artanis2
Profile Joined April 2010
United States732 Posts
Last Edited: 2011-05-02 21:53:30
May 02 2011 21:42 GMT
#118
On May 03 2011 06:23 kzn wrote:
Show nested quote +
On May 03 2011 04:46 artanis2 wrote:
On May 03 2011 04:41 AzurewinD wrote:
On May 03 2011 01:51 artanis2 wrote:
It is not a hard problem.


Dynamic pathfinding that has to update itself in real time across hundreds of individual units, all being aware of each other's positions while attempting to find the most optimal way to any given location at any given time is indeed a hard problem. What about this task sounds easy?

Consider the necessary requirements that the pathfinding must be both intelligent and yet also be computationally efficient on a large scale. Now also consider that there can be as many as 8 players in a single game, all controlling up to 200 individual units, all having completely unique map awarenesses that shift on a second by second basis.

Thats a big task to tackle. Simply saying "Make it rely on a player's vision" may not be quite so simple a fix when you get down to the implementation.

In general, we have no way of knowing what their implementation is. Thus we can't assume anything is a "simple fix" and we certainly can't say that pathfinding is an easy task.


Yes, and all of that problem has already been solved. Adjusting it to ignore certain buildings to within a range is an easy problem. For example:

[image loading]

Instead of generating the grey line, they generate the blue line. They do this by creating a path that ignores all buildings that cannot be seen initially, when the vision changes it is recalculated and tacked on to the current path. This can all be done when the unit is first told to move, or incrementally as the vision is adjusted for a unit's movements.

Just because you guys haven't solved this kind of problem before doesn't mean others haven't...


Wouldn't this result in stupid pathfinding with regard to previously seen buildings that are in fog of war?


No. The pathfinding will path around any obstacle that you can see, so you would get the grey path every time in the future.

This includes buildings that you once saw but are no longer actually there, so if that main building had been destroyed or moved, you would path around it, until your unit saw that it was missing and then the path would be recalculated to move through the now empty space.

There are some interesting cases where if there are multiple paths to a location, your unit may end up taking the long way around because you previously saw a wall. That wall might be gone, but your units wont see that fact unless you specifically scout it. With the existing pathing your units magically know that the building is gone and will go up an unblocked ramp that your vision tells you is blocked. This is a bug.


One other quirk with the current pathfinding is when there is no path to a location the unit prefers to get as close as possible even if there is a wall in the way. So for example your scouting worker will sit below a base that is walled off hugging a wall nearest your path destination. I think the correct path should make the unit get as far as possible via the shortest blocked path. This way the unit would move up whichever ramp gets you closest and stop there, instead of by some wall in the middle of nowhere.
Steel
Profile Blog Joined April 2010
Japan2283 Posts
May 02 2011 21:48 GMT
#119
That's pretty cool but only usable on some maps where theres not like a tight corner...but i just tried it and knew this T's expo was up from across the map on metal
Try another route paperboy.
asdfjh
Profile Joined August 2010
Canada230 Posts
May 02 2011 22:00 GMT
#120
In your video you said that spam clicking actually will cause the selected units to move slower because the path has to be constantly recalculated. How much slower are we talking about? Because I haven't been able to notice the difference.
Prev 1 4 5 6 7 8 9 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 45m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft648
Nina 148
StarCraft: Brood War
Hyuk 824
Bisu 303
Larva 237
Shine 139
PianO 116
scan(afreeca) 95
Dewaltoss 94
sSak 71
HiyA 61
hero 61
[ Show more ]
EffOrt 59
Shinee 40
Hm[arnc] 38
ggaemo 36
yabsab 32
NaDa 17
Sacsri 11
IntoTheRainbow 7
Free 1
Dota 2
XaKoH 662
XcaliburYe133
Fuzer 116
NeuroSwarm105
League of Legends
JimRising 510
Counter-Strike
allub237
Super Smash Bros
Westballz45
Other Games
gofns12310
summit1g10807
singsing852
C9.Mang0452
Happy443
Hui .138
Organizations
Other Games
gamesdonequick789
BasetradeTV178
StarCraft: Brood War
lovetv 15
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Adnapsc2 20
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2449
Upcoming Events
CranKy Ducklings
45m
WardiTV Team League
1h 45m
uThermal 2v2 Circuit
5h 45m
IPSL
6h 45m
Hawk vs TBD
StRyKeR vs TBD
BSL
9h 45m
n0maD vs perroflaco
TerrOr vs ZZZero
MadiNho vs WolFix
DragOn vs LancerX
Sparkling Tuna Cup
1d
WardiTV Team League
1d 1h
OSC
1d 3h
BSL
1d 9h
Sterling vs Azhi_Dahaki
Napoleon vs Mazur
Jimin vs Nesh
spx vs Strudel
IPSL
1d 9h
Artosis vs TBD
Napoleon vs TBD
[ Show More ]
Replay Cast
1d 23h
Wardi Open
2 days
Afreeca Starleague
2 days
Soma vs YSC
Sharp vs sSak
Afreeca Starleague
3 days
Snow vs PianO
hero vs Rain
GSL
3 days
Replay Cast
3 days
Kung Fu Cup
4 days
The PondCast
5 days
Escore
6 days
Korean StarCraft League
6 days
Liquipedia Results

Completed

Escore Tournament S2: W2
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
StarCraft2 Community Team League 2026 Spring
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

Escore Tournament S2: W3
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
RSL Revival: Season 5
WardiTV TLMC #16
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
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 © 2026 TLnet. All Rights Reserved.