• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 00:40
CET 06:40
KST 14:40
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!5$5,000+ WardiTV 2025 Championship4[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting
Tourneys
Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION [ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread YouTube Thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1532 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
Romania8487 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 Kingdom12023 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 States711 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
10228 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
534 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 States1006 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
Canada425 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
OSC
23:00
OSC Elite Rising Star #17
Liquipedia
LAN Event
18:00
Merivale 8: Swiss Groups Day 2
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 54
StarCraft: Brood War
Sea 507
Snow 195
zelot 46
Dota 2
NeuroSwarm85
League of Legends
JimRising 747
Super Smash Bros
hungrybox1227
Other Games
summit1g9884
WinterStarcraft420
C9.Mang0136
ViBE100
fpsfer 1
Organizations
Other Games
gamesdonequick916
Counter-Strike
PGL163
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• practicex 30
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21113
League of Legends
• Stunt526
Other Games
• Shiphtur124
Upcoming Events
The PondCast
4h 20m
LAN Event
9h 20m
OSC
16h 20m
Replay Cast
17h 20m
OSC
1d 6h
LAN Event
1d 9h
Korean StarCraft League
1d 21h
CranKy Ducklings
2 days
WardiTV Korean Royale
2 days
LAN Event
2 days
[ Show More ]
IPSL
2 days
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
2 days
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
2 days
Sparkling Tuna Cup
3 days
WardiTV Korean Royale
3 days
LAN Event
3 days
IPSL
3 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
3 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
4 days
Wardi Open
4 days
WardiTV Korean Royale
5 days
Replay Cast
6 days
Kung Fu Cup
6 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 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.