• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Make flying units not see through trees?

Status
Not open for further replies.
Level 2
Joined
Jan 18, 2009
Messages
5
I'm trying to create an underwater tree tag type map. At the moment I've got it so that sharks etc cannot fly over trees however they can still see through them to see the dolphins without first cutting them down. I'd just make them hover instead but its really cool having it so they can swim (fly) up cliffs, and it also means that the dolphins cant get anywhere that the sharks cant by using blink as ive gone a bit crazy with the terraining.

So yeah its a multiplayer map. Any ideas? :)
 
one idea is to remove vision of all units and create dummy vision ground units. 2nd was using hover and to turn off collision size if they come close to the cliffs,trees etc.

2nd won't work properly with the movement order I think
(the unit will run around the obstacle as long as the order is not explicit on top of it)

however the first one should work fine
 
Level 2
Joined
Jan 18, 2009
Messages
5
Afaik changing the occlusion height of the destructable(or tree in your case) should work. If you don't want any unit to look over it, set it to something very high.
I tried this, I set it to max but for some reason it didn't work.
At the moment I have them dropping units as suggested, it works pretty damn well but its a little laggy if theres lots of players in the game but still works brilliantly :) thanks every1
 
Status
Not open for further replies.
Top