I'm considering adding a few flying units to my cavern style map, but I want to make sure they can't
1)Fly over cliff height 2. Meaning I have my base ground level. Certain areas will go up one cliff level. The cave walls will all be an additional cliff level that no units should have access to.
2)Show vision of cliff height 2. I don't want a stray mutalisk flying too close to the edge to reveal the black Fog of War and "Spoiling the mood". It's supposed to be a dark cavern, not the bottom of a ridge with terrain just out of reach.
Can you fill no fly zones to cliff level like you can other pathing? And is there a way to add vision blocking without setting up the doodad "Vision Blocker" all over the map?
If there are no "easy" solutions, I may just make all flying units belong to the enemy. Or simply set their vision radius to 0.... Which would only screw up if they were somehow the only units left in an attack wave.
I doubt there is an "easy solution". You might need to place multiple Flying Blocker all around your cliffs. Note that it does not work like ground pathing and therefore the air units will just bump into air blocker if they are told to move through, which can be annoying. You might want to play around the unit collision and set different flag / setting or whatnot...
About the vision, there is a new tool that I did not explore much that you might be able to play around with.
Under "View -> Show Vision" you will be able to see like the in-game fog vision but in the editor. So if you place air units and see what block vision that would help. But I don't know what block air vision... Maybe if you "air unit" has some kind of ground flag with it... but then it wont move up/down cliffs... but if you add the collossus it would be then it wont move across very low ground or ramp sides...
I'm considering adding a few flying units to my cavern style map, but I want to make sure they can't
1)Fly over cliff height 2. Meaning I have my base ground level. Certain areas will go up one cliff level. The cave walls will all be an additional cliff level that no units should have access to.
2)Show vision of cliff height 2. I don't want a stray mutalisk flying too close to the edge to reveal the black Fog of War and "Spoiling the mood". It's supposed to be a dark cavern, not the bottom of a ridge with terrain just out of reach.
Can you fill no fly zones to cliff level like you can other pathing? And is there a way to add vision blocking without setting up the doodad "Vision Blocker" all over the map?
If there are no "easy" solutions, I may just make all flying units belong to the enemy. Or simply set their vision radius to 0.... Which would only screw up if they were somehow the only units left in an attack wave.
I doubt there is an "easy solution". You might need to place multiple Flying Blocker all around your cliffs. Note that it does not work like ground pathing and therefore the air units will just bump into air blocker if they are told to move through, which can be annoying. You might want to play around the unit collision and set different flag / setting or whatnot...
About the vision, there is a new tool that I did not explore much that you might be able to play around with.
Under "View -> Show Vision" you will be able to see like the in-game fog vision but in the editor. So if you place air units and see what block vision that would help. But I don't know what block air vision... Maybe if you "air unit" has some kind of ground flag with it... but then it wont move up/down cliffs... but if you add the collossus it would be then it wont move across very low ground or ramp sides...
Good luck.. xD
Working on projects: