• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:21
CEST 10:21
KST 17:21
  • 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 1 - Final Week5[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7Weekly Cups (June 30 - July 6): Classic Doubles6[BSL20] Non-Korean Championship 4x BSL + 4x China10Flash Announces Hiatus From ASL70
StarCraft 2
General
RSL Season 1 - Final Week RSL Revival patreon money discussion thread The GOAT ranking of GOAT rankings We need to be discussing a new patch right now! Firefly given lifetime ban by ESIC following match-fixing investigation
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
https://www.facebook.com/SAINTSKINVitaminCSerumCan
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
A cwal.gg Extension - Easily keep track of anyone BW General Discussion ASL20 Preliminary Maps BGH Auto Balance -> http://bghmmr.eu/ Script to open stream directly using middle click
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues Last Minute Live-Report Thread Resource! [BSL20] Non-Korean Championship 4x BSL + 4x China
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile CCLP - Command & Conquer League Project The PlayStation 5 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
How to Contact Robinhood Support? +1 1808 2348 198 US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Accidental Video Game Porn Archive
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 540 users

How is this possible? Bunker vs Bunker range?

Forum Index > BW General
Post a Reply
iamslow
Profile Joined August 2024
6 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
Romania7993 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
6 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
6 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 Kingdom12022 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
6 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)17726 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 States677 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
10135 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
425 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 States934 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
Canada406 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 39m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Sea 5730
Nal_rA 777
Zeus 658
Leta 278
PianO 254
JulyZerg 216
ToSsGirL 82
soO 71
NaDa 68
GoRush 66
[ Show more ]
Mind 23
NotJumperer 14
Dota 2
ODPixel352
XcaliburYe323
League of Legends
JimRising 741
Counter-Strike
Stewie2K1793
Heroes of the Storm
Khaldor177
Other Games
SortOf113
Trikslyr26
Organizations
Other Games
gamesdonequick32941
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2207
Upcoming Events
RSL Revival
1h 39m
SHIN vs Clem
Cure vs TBD
FEL
3h 39m
FEL
7h 39m
Gerald vs PAPI
Spirit vs ArT
CSO Cup
7h 39m
BSL20 Non-Korean Champi…
9h 39m
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
DaveTesta Events
9h 39m
Sparkling Tuna Cup
1d 1h
RSL Revival
1d 1h
Classic vs TBD
FEL
1d 6h
BSL20 Non-Korean Champi…
1d 9h
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
[ Show More ]
Wardi Open
2 days
Replay Cast
3 days
WardiTV European League
3 days
PiGosaur Monday
3 days
uThermal 2v2 Circuit
4 days
Replay Cast
4 days
The PondCast
5 days
Replay Cast
5 days
Epic.LAN
6 days
Liquipedia Results

Completed

KCM Race Survival 2025 Season 2
HSC XXVII
NC Random Cup

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.