• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:21
CEST 16:21
KST 23: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
[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy18ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research8Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool51Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
Rongyi Cup S3 - Preview & Info Team Liquid Map Contest #22 - Presented by Monster Energy Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool What mix of new & old maps do you want in the next ladder pool? (SC2) Aligulac acquired by REPLAYMAN.com/Stego Research
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power Mutation # 518 Radiation Zone
Brood War
General
ASL21 General Discussion so ive been playing broodwar for a week straight. Pros React To: JaeDong vs Queen BSL 22 Map Contest — Submissions OPEN to March 10 Klaucher discontinued / in-game color settings
Tourneys
Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues [ASL21] Ro24 Group E [ASL21] Ro24 Group F
Strategy
What's the deal with APM & what's its true value Fighting Spirit mining rates Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game Nintendo Switch Thread General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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 Five o'clock TL Mafia
Community
General
US Politics Mega-thread The Chess Thread Russo-Ukrainian War Thread NASA and the Private Sector Things Aren’t Peaceful in Palestine
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Broowar part 2
qwaykee
China Uses Video Games to Sh…
TrAiDoS
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
ASL S21 English Commentary…
namkraft
Electronics
mantequilla
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2133 users

[H] How to make line of sight blocker for air unit

Forum Index > SC2 Maps & Custom Games
Post a Reply
varsovie
Profile Joined December 2013
Canada326 Posts
January 12 2015 21:34 GMT
#1
I'm not posting in simple question thread since the engine behavior is very weird and I've seen several similar threads on Bnet and SC2MapsterSC2Mapster, but without any working solution. I've been working on it for few hours and it would really help to have a way to do it for my special melee map idea.



Doodad field:
Art: CactorDoodad/(basic) Art: Occlude Height (default 0.75)
The tooltip writes : When the footprints of this doodad has cells marked as Block Vision, units below the height specified here will not be able to see past this doodad. By increasing this value, it allows you to make line of sight blocking doodads that can block vision for flying units.

Unit field:
(basic) Stats: CUnit VisionHeight/(basic) Stats: Vision Height (default 0 land, 4 for air and colossi)
Tooltop writes : Height of the unit's field of vision.

UI: Occlusion height/UI: CUnit OccludeHeight/UI : Occlusion height (default 0.75 for all units) : How much the unit adjust the vision LOS for cells in his footprint that request it. (does nothing since units have no LOS blocker footprint)

As I understand if "vision height" is equal or lower than "occlude height" it should block LOS, but it does some weird stuff with cliffs and air units.
There's three ways* I see to achieve air LOS blocker:
A: Increase the occlusion height of the footprint/doodad.
Pros: Create one doodad and simply apply where needed.
Cons: Doesn't work, whatever value you put in the field, vision height 4 units will see through.

B: Reduce vision height of air unit
Pro: Does work under certain conditions with same vision height between 1 and 3.
Cons: Blocks vision up cliff in certain conditions. Under 4 vision height, air units don't see upcliff, lower the number lower the step of cliff they can see. Does not work on high grounds. Over 3 doodad doesn't block LOS whatever value the doodad has. Also have to change the field on every units, it's long and outside the field of a melee map.

C: Combining the two, by experiment though I found it only conserves the cons of both previous methods. Changing doodad occlusion height over default value seems to have no effect on the maximum level of the LOS blocking effect.

At low ground level, doodad height and vision height seems to work like the tooltip says, but only in values under 3.

Do you think it may just be a bug in the editor or me that doesn't understand what the field values means


As a bonus question is there a ways to make unpathable air area with polygons instead of just circle shapes? I can't find any "air path block" actor or propriety. This must exist somewhere since there's a "no fly zone" included. It as an actor, but seems to only contain the editor model.


*I know it may be doable with bunch of triggers and zone, but it wouldn't be practical or simple to implement.
decemberscalm
Profile Blog Joined July 2009
United States1353 Posts
Last Edited: 2015-01-13 04:36:12
January 13 2015 04:35 GMT
#2
I will say that with air pathing blockers, complex shapes are generally to be avoided. Air units do not path smartly around air blockers, they can very easily get stuck because they don't have pathfinding to get around complex geometry. With circles they can slide off one direction to get around it (albeit slower than if it had proper pathing to go around it); anything more complicated than that can lead to stuck or derping air units.
EatThePath
Profile Blog Joined September 2009
United States3943 Posts
Last Edited: 2015-01-13 05:59:55
January 13 2015 05:58 GMT
#3
I'm not exactly an expert in the data editor, but I've played with this stuff too and come to similar conclusions, though your testing was way more extensive and methodical apparently! ^_^

I think the Occlude Height doesn't actually work the way the tooltip implies -- or at all. My personal theory is that the editor has a lot of disconnected pieces that correspond to features that didn't make it into the final version, but references to them remain, like tooltips.

Are you trying to make a melee type map or just a custom game? If you need things that look like they're flying but respond to LOSB, you could just use ground units whose actors get +4 to z axis placement or something like that. Then you'd have to fiddle with who can shoot whom using some hacky method, too, but I think you could work it out.

(Sorry for no real answer.)
Comprehensive strategic intention: DNE
varsovie
Profile Joined December 2013
Canada326 Posts
January 14 2015 21:25 GMT
#4
Thank for the "no" help. It's for a melee map (even if I used corsaires for testing :p) so I'd rather find a way to not mod too much the units so to keep the intended behavior and reduce the needed unkeep.

It's sad the editor/engine is so limited. More so for no-fly zones since a basic air-pathfinding wouldn't be too bad (heck the game manages +5000 ground units pretty well) and with geometric shapes you wouldn't have to spam circles to fence off a map.

It's really weird how some part of the editor are really advanced and modern while others seems even older than WC3...
I wanna be able to do fun stuff with LOS and 4th level.
Please log in or register to reply.
Live Events Refresh
Next event in 9h 39m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 322
Lowko320
Rex 129
ProTech118
Railgan 65
StarCraft: Brood War
Calm 9652
Horang2 2047
actioN 863
Hyuk 709
ggaemo 549
BeSt 347
Mind 245
Zeus 193
Movie 188
Pusan 80
[ Show more ]
Sharp 78
Sexy 74
Sea.KH 68
PianO 57
Shinee 56
[sc1f]eonzerg 42
Aegong 37
Rock 27
Hm[arnc] 24
Free 22
GoRush 22
IntoTheRainbow 18
yabsab 17
Terrorterran 17
soO 16
JulyZerg 12
ajuk12(nOOB) 10
Sacsri 8
Dota 2
Gorgc3842
qojqva1993
syndereN248
420jenkins111
Counter-Strike
olofmeister6870
fl0m3787
markeloff107
Heroes of the Storm
Khaldor211
Other Games
singsing1635
B2W.Neo789
Beastyqt631
hiko586
ArmadaUGS106
Organizations
Counter-Strike
PGL18800
Other Games
BasetradeTV1569
StarCraft 2
WardiTV1017
StarCraft: Brood War
lovetv 12
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Adnapsc2 10
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• IndyKCrew
StarCraft: Brood War
• iopq 1
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV466
League of Legends
• Nemesis1790
• Stunt505
• Jankos401
Other Games
• tFFMrPink 18
Upcoming Events
Replay Cast
9h 39m
Sparkling Tuna Cup
19h 39m
PiGosaur Cup
1d 9h
Kung Fu Cup
1d 21h
The PondCast
2 days
Replay Cast
3 days
Replay Cast
4 days
CranKy Ducklings
4 days
BSL
5 days
Replay Cast
5 days
[ Show More ]
Sparkling Tuna Cup
5 days
BSL
6 days
Replay Cast
6 days
Wardi Open
6 days
Liquipedia Results

Completed

CSL Elite League 2026
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
StarCraft2 Community Team League 2026 Spring
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026

Upcoming

Escore Tournament S2: W2
IPSL Spring 2026
Escore Tournament S2: W3
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
uThermal 2v2 Last Chance Qualifiers 2026
RSL Revival: Season 5
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 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.