• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 16:58
CET 22:58
KST 06:58
  • 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
SC2 All-Star Invitational: Tournament Preview2RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)15Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1834
StarCraft 2
General
Stellar Fest "01" Jersey Charity Auction SC2 All-Star Invitational: Tournament Preview Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
SC2 All-Star Invitational: Jan 17-18 OSC Season 13 World Championship SC2 AI Tournament 2026 Sparkling Tuna Cup - Weekly Open Tournament $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ [ASL21] Potential Map Candidates How Rain Became ProGamer in Just 3 Months BW General Discussion A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Beyond All Reason Awesome Games Done Quick 2026! Nintendo Switch Thread Mechabellum Stormgate/Frost Giant Megathread
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread
Fan Clubs
Innova Crysta on Hire
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1207 users

How is this possible? Bunker vs Bunker range?

Forum Index > BW General
Post a Reply
iamslow
Profile Joined August 2024
12 Posts
Last Edited: 2024-08-10 13:51:56
August 10 2024 13:32 GMT
#1
Can please someone explain this?

Early 4x4 BGH game. One Terran goes 7rax, the other goes 11rax (both dont have marine range, its too early, both dont have even gas). Both place bunkers. One bunker can reach other, while the other can't. Both obviously got marines. How is this possible? Is this some kind of gosu pixel-perfect bunker placement where one can attack while the other can't?

Screenshot: imgur.com
Screenshot 2 imgur.com
prosatan
Profile Joined September 2009
Romania8514 Posts
August 10 2024 13:40 GMT
#2
Are you sure there are marines in the bottom bunker ?

If yes, then it is strange indeed....
Lee JaeDong Fighting! The only church that illuminates is the one that burns.
iamslow
Profile Joined August 2024
12 Posts
August 10 2024 13:41 GMT
#3
Yes, I can send you even the replay. Both have marines inside o.O
iamslow
Profile Joined August 2024
12 Posts
August 10 2024 13:51 GMT
#4
Here is another screen for more context

Screenshot 2 imgur.com
Qikz
Profile Blog Joined November 2009
United Kingdom12024 Posts
Last Edited: 2024-08-10 13:55:02
August 10 2024 13:54 GMT
#5
Diagonals are buggy I think distance wise in BW, I think one side often has an advantage - same thing happens in tank vs tank. Someone smarter than me would have to explain it properly though!
FanTaSy's #1 Fan | STPL Caster/Organiser | SKT BEST KT | https://twitch.tv/stpl
iamslow
Profile Joined August 2024
12 Posts
August 10 2024 15:46 GMT
#6
looks like bunker on top can reach more than bunker at the bottom lol
Ilikestarcraft
Profile Blog Joined November 2004
Korea (South)17733 Posts
Last Edited: 2024-08-10 17:18:50
August 10 2024 17:14 GMT
#7
I don't know exactly how it works but this video goes more in-depth about the weirdness of range in bw particularly with bunkers. My guess is that the top bunker only needs to be in range of the bottom bunker's edge to hit while the bottom bunker needs to be in range of the center of the top bunker to fire.
"Nana is a goddess. Or at very least, Nana is my goddess." - KazeHydra
ThunderJunk
Profile Joined December 2015
United States723 Posts
August 10 2024 17:31 GMT
#8
Hah that is some seriously pesky building placement. Yeah I think range is considered in a dodecagon (12-sided) shape, so if the corner of that shape touches the other bunker, it'll shoot, but if the edge of the bunker is not touching a corner, and is positioned instead oriented toward the flat side, there's a discrepancy in who gets to shoot.
I am free because I know that I alone am morally responsible for everything I do.
Jealous
Profile Blog Joined December 2011
10260 Posts
August 11 2024 02:16 GMT
#9
Git gud
"The right to vote is only the oar of the slaveship, I wanna be free." -- бум бум сучка!
Kraekkling
Profile Blog Joined June 2007
588 Posts
August 11 2024 14:19 GMT
#10
from map making discord...

[image loading]

[...] circles show vision range [which works similar to attack range]

units and buildings have 1 pixel more attack range to the bottom and right sides
(*^^)(^*)
outscar
Profile Joined September 2014
2832 Posts
August 11 2024 14:41 GMT
#11
New meta incoming!
sunbeams are never made like me...
Agh
Profile Blog Joined July 2010
United States1024 Posts
Last Edited: 2024-08-12 07:14:29
August 11 2024 16:02 GMT
#12
On August 10 2024 22:32 iamslow wrote:
Can please someone explain this?
Is this some kind of gosu pixel-perfect bunker placement where one can attack while the other can't?

Short answer yes but it's not very complicated.


The easier way to visualize and conceptualize it is imagining the attack comes the bottom center of the bunker.

So if you look at the screenshot you can replicate this this every time by just going to build your bunker then measuring up 3 bunkers(6 tiles) and then left two more tiles. (from the point touching the top left of their bunker)


Most people probably know this but given that there is a very very tiny window for this to actually come into play due to the potential of the SCV's getting sniped on either side and outright killed before it even occurs being the most likely scenario.

Knowledge is power
I may appear to be an emotionless sarcastic pos, but just like an onion when you pull off more and more layers you find the exact same thing everytime and you start crying
zlald
Profile Joined October 2019
Korea (South)34 Posts
August 12 2024 10:26 GMT
#13
read this if you have account

https://ygosu.com/board/st1/54835
2019.10.27.
rtyrt7
Profile Joined August 2018
49 Posts
Last Edited: 2024-08-13 15:44:26
August 13 2024 15:24 GMT
#14
Thanks for the resources! I have one more:
https://makingcomputerdothings.com/brood-war-api-the-comprehensive-guide-distances-high-ground-and-unit-behavior/

Actually, all of it here is worth reading, even if it is off-topic:
https://makingcomputerdothings.com/brood-war-api-the-comprehensive-guide-index-for-the-posts/

On August 12 2024 19:26 zlald wrote:
read this if you have account

https://ygosu.com/board/st1/54835


It works reading without an account, at least for me.
tankgirl
Profile Blog Joined May 2016
Canada431 Posts
Last Edited: 2024-08-19 04:42:34
August 19 2024 04:39 GMT
#15
as mentioned, unit ranges are represented by a dodecagon, not a circle:

[image loading]


	int xy_length(xy vec) const {
unsigned int x = std::abs(vec.x);
unsigned int y = std::abs(vec.y);
if (x < y) std::swap(x, y);
if (x / 4 < y) x = x - x / 16 + y * 3 / 8 - x / 64 + y * 3 / 256;
return x;
}


why did BW implement ranges this way, instead of using Euclidean distance?

because (a*a + b*b) costs up to 80 CPU cycles in "ye olden times" (1996-1997 Warcraft 2 era)


source: https://tl.net/forum/brood-war/552037-bwapi-and-an-inside-look-into-starcrafts-code?view=all
https://tl.net/forum/brood-war/627255-progamer-settings
TL+ Member
Please log in or register to reply.
Live Events Refresh
Next event in 4h 17m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 580
JuggernautJason101
StarCraft: Brood War
Britney 18799
Shuttle 185
firebathero 115
Dota 2
420jenkins421
syndereN396
Pyrionflax204
League of Legends
C9.Mang0226
Counter-Strike
FalleN 3533
fl0m1707
byalli1116
Foxcn68
Heroes of the Storm
Liquid`Hasu548
Other Games
FrodaN5092
tarik_tv4193
Grubby2858
Liquid`RaSZi2608
summit1g2527
gofns1575
B2W.Neo851
Beastyqt678
shahzam426
Harstem274
Mlord267
mouzStarbuck252
KnowMe238
ToD215
XaKoH 186
Dewaltoss59
ZombieGrub27
Ketroc6
Organizations
Other Games
gamesdonequick2620
BasetradeTV82
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki45
• HerbMon 8
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• TFBlade1949
Other Games
• imaqtpie1996
• Shiphtur209
Upcoming Events
All-Star Invitational
4h 17m
INnoVation vs soO
Serral vs herO
Cure vs Solar
sOs vs Scarlett
Classic vs Clem
Reynor vs Maru
uThermal 2v2 Circuit
14h 2m
AI Arena Tournament
22h 2m
All-Star Invitational
1d 4h
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
1d 12h
OSC
1d 14h
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
2 days
The PondCast
4 days
[ Show More ]
Replay Cast
6 days
Big Brain Bouts
6 days
Serral vs TBD
Liquipedia Results

Completed

Proleague 2026-01-14
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
SC2 All-Star Inv. 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.