• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 03:56
CET 09:56
KST 17:56
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !3Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win2Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion
Tourneys
[BSL21] WB SEMIFINALS - Saturday 21:00 CET [Megathread] Daily Proleagues [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Dawn of War IV Nintendo Switch 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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1228 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
Romania8505 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)17732 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 States721 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
10251 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
580 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
Canada429 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 1h 4m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 178
StarCraft: Brood War
Rain 5070
Soma 184
Sharp 93
sorry 88
JulyZerg 45
NaDa 28
Shine 20
Sacsri 16
Mong 10
Dota 2
NeuroSwarm96
League of Legends
JimRising 464
C9.Mang0416
Counter-Strike
summit1g11992
shoxiejesuss467
Other Games
ceh9478
Happy224
crisheroes217
Mew2King69
Trikslyr27
Livibee17
Organizations
Other Games
gamesdonequick768
StarCraft: Brood War
UltimateBattle 120
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH93
• LUISG 13
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• HappyZerGling137
Upcoming Events
The PondCast
1h 4m
WardiTV 2025
4h 4m
Cure vs Creator
Solar vs TBD
herO vs Spirit
Scarlett vs Gerald
Rogue vs Shameless
MaNa vs ShoWTimE
Nice vs TBD
WardiTV 2025
1d 2h
ByuN vs TBD
Clem vs TBD
OSC
1d 5h
CranKy Ducklings
2 days
SC Evo League
2 days
Ladder Legends
2 days
BSL 21
2 days
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
3 days
Ladder Legends
3 days
[ Show More ]
BSL 21
3 days
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
4 days
Monday Night Weeklies
4 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
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

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.