• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:45
CET 12:45
KST 20:45
  • 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 Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband Information Request Regarding Chinese Ladder
Tourneys
$5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest RSL Revival: Season 3 Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Data analysis on 70 million replays Which season is the best in ASL? [ASL20] Ask the mapmakers — Drop your questions BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Group B - Sunday 21:00 CET [BSL21] RO16 Group C - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread The Perfect Game Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games?
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 TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread The Big Programming Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
James Bond movies ranking - pa…
Topin
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1194 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
Romania8498 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)17731 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 States715 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
10246 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
575 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 States1014 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
48 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
Canada428 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 15m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 230
ProTech119
Rex 39
MindelVK 38
StarCraft: Brood War
Calm 4981
Shuttle 1806
Horang2 1760
Jaedong 754
actioN 608
Mini 292
Hyun 208
EffOrt 207
Light 206
Last 199
[ Show more ]
ZerO 149
Rush 129
Pusan 116
Snow 110
Sharp 85
Zeus 71
Killer 63
ToSsGirL 62
Mong 55
hero 54
sorry 33
NotJumperer 28
scan(afreeca) 17
ajuk12(nOOB) 12
soO 10
Aegong 9
Hm[arnc] 5
Terrorterran 1
Dota 2
singsing1222
League of Legends
Reynor76
Counter-Strike
olofmeister2095
shoxiejesuss690
x6flipin396
allub159
Other Games
B2W.Neo659
XaKoH 302
Fuzer 206
KnowMe95
ZerO(Twitch)8
Organizations
Other Games
gamesdonequick621
StarCraft: Brood War
lovetv 4
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 941
• WagamamaTV93
• lizZardDota275
League of Legends
• Jankos2458
• Stunt854
Upcoming Events
Wardi Open
15m
StarCraft2.fi
5h 15m
Replay Cast
12h 15m
The PondCast
22h 15m
OSC
1d 4h
Demi vs Mixu
Nicoract vs TBD
Babymarine vs MindelVK
ForJumy vs TBD
Shameless vs Percival
Replay Cast
1d 12h
Korean StarCraft League
2 days
CranKy Ducklings
2 days
WardiTV 2025
3 days
SC Evo League
3 days
[ Show More ]
BSL 21
3 days
Sziky vs OyAji
Gypsy vs eOnzErG
OSC
3 days
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
Sparkling Tuna Cup
3 days
WardiTV 2025
4 days
OSC
4 days
BSL 21
4 days
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
4 days
Wardi Open
5 days
StarCraft2.fi
5 days
Replay Cast
5 days
WardiTV 2025
6 days
StarCraft2.fi
6 days
PiGosaur Monday
6 days
Liquipedia Results

Completed

Proleague 2025-11-30
RSL Revival: Season 3
Light HT

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
META Madness #9
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
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
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.