• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:18
CET 10:18
KST 18:18
  • 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
SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2
Community News
BSL Season 2025 - Full Overview and Conclusion5Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)16Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 105
StarCraft 2
General
Stellar Fest "01" Jersey Charity Auction SC2 All-Star Invitational: Tournament Preview Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament SC2 All-Star Invitational: Jan 17-18 SC2 AI Tournament 2026 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
Video Footage from 2005: The Birth of G2 in Spain [ASL21] Potential Map Candidates Fantasy's Q&A video BGH Auto Balance -> http://bghmmr.eu/ Potential ASL qualifier breakthroughs?
Tourneys
[BSL21] Grand Finals - Sunday 21:00 CET [Megathread] Daily Proleagues [BSL21] Non-Korean Championship - Starts Jan 10 Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026! Nintendo Switch Thread Mechabellum
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Canadian Politics Mega-thread European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1215 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
All-Star Invitational
03:00
Day 2
herO vs ReynorLIVE!
WardiTV2161
WinterStarcraft968
PiGStarcraft859
IndyStarCraft 407
BRAT_OK 370
3DClanTV 183
EnkiAlexander 87
IntoTheiNu 30
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft968
PiGStarcraft859
IndyStarCraft 407
BRAT_OK 370
MindelVK 10
StarCraft: Brood War
Rain 5967
Shuttle 1362
firebathero 810
Larva 484
Stork 262
BeSt 139
Hyun 128
Soma 119
Leta 103
Shine 101
[ Show more ]
Dewaltoss 75
sorry 46
Rush 46
Sharp 41
HiyA 29
Free 27
yabsab 22
Sacsri 21
NotJumperer 21
ToSsGirL 19
ajuk12(nOOB) 19
zelot 10
Models 4
Terrorterran 3
League of Legends
JimRising 639
C9.Mang0495
Counter-Strike
allub239
Other Games
Happy404
Sick241
Fuzer 156
Mew2King60
Organizations
Other Games
gamesdonequick2177
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH60
• naamasc28
• Kozan
• AfreecaTV YouTube
• intothetv
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
• Laughngamez YouTube
• Migwel
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Jankos1716
• Stunt576
Upcoming Events
Sparkling Tuna Cup
42m
OSC
2h 42m
Shameless vs NightMare
YoungYakov vs MaNa
Nicoract vs Jumy
Gerald vs TBD
Creator vs TBD
BSL 21
10h 42m
Bonyth vs Sziky
Mihu vs QiaoGege
Sziky vs XuanXuan
eOnzErG vs QiaoGege
Mihu vs DuGu
Dewalt vs Bonyth
IPSL
10h 42m
Dewalt vs Sziky
Replay Cast
23h 42m
Wardi Open
1d 2h
Monday Night Weeklies
1d 7h
The PondCast
3 days
Big Brain Bouts
5 days
Serral vs TBD
BSL 21
6 days
Liquipedia Results

Completed

Escore Tournament S1: W4
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
OSC Championship Season 13
SC2 All-Star Inv. 2025
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.