I added some doodads to my map called "metal wall" and I added pathing/LOS blockers so units won't walk throught he doodad. However i'm having the problem that when an observer is overhead my units will fire THROUGH the wall. How can I make it a full structure that blocks LOS, pathing and stops units shooting through ti as if it was thin air?
I added some doodads to my map called "metal wall" and I added pathing/LOS blockers so units won't walk throught he doodad. However i'm having the problem that when an observer is overhead my units will fire THROUGH the wall. How can I make it a full structure that blocks LOS, pathing and stops units shooting through ti as if it was thin air?
If you don't want your observer seeing through walls, you could always try making it a ground unit instead of a flying unit. This way it won't have "no clip" and sight through everything. If you want it to remain a flier, however, I'm not sure if it's possible.
What I mean is, I created a wall using the "metalwall" doodad. It block LOS and pathing, but if i fly and observer overhead the units on both sides of the wall will fire THROUGH the wall. I want to stop units being able to fire through the wall.
urashimakt understood what you said. The Easiest option with my limited knowledge is to make the Observer a ground unit so his Sight wont see over the wall. like urashimakt said.
Surely a doodad can act like a structure and stop units firing through them.
Remember you're dealing witha computer program here, not with real physical objects.
Blizzard never intended to prevent collision of doodads and buildings, so they didn't implement anything like this.
You can brew up some triggers to check whether there are objects between the firing unit and it's target and stop the attacker in case there is. But you won't have much fun with it as it's pretty tough to make such a script.
But in a lot maps in the campaign there are walls and objects you cant fire though. There must be a way, it is such a simple change not to allow units to shoot through an object i'd be stunned if there isn't a way to simply flag the building as "blocking ranged attacks".
I'll likely have to use cliffs. Who don't allow you to shoot through i believe.
Nope, you can even shoot through high cliffs if you have LOS on the other side. Will take a quick look at triggers now. Possibly creating regoins where you can not fire ranged through.
I can't believe such an important and simple aspect has been overlooked.
I added some doodads to my map called "metal wall" and I added pathing/LOS blockers so units won't walk throught he doodad. However i'm having the problem that when an observer is overhead my units will fire THROUGH the wall. How can I make it a full structure that blocks LOS, pathing and stops units shooting through ti as if it was thin air?
Can anyone help me please?
If you don't want your observer seeing through walls, you could always try making it a ground unit instead of a flying unit. This way it won't have "no clip" and sight through everything. If you want it to remain a flier, however, I'm not sure if it's possible.
@urashimakt: Go
What I mean is, I created a wall using the "metalwall" doodad. It block LOS and pathing, but if i fly and observer overhead the units on both sides of the wall will fire THROUGH the wall. I want to stop units being able to fire through the wall.
urashimakt understood what you said. The Easiest option with my limited knowledge is to make the Observer a ground unit so his Sight wont see over the wall. like urashimakt said.
@RockJohnAxe: Go
But what if I have 1 unit on the other side of the wall near some enemies. all my other units on the other side will fire through the wall.
Surely a doodad can act like a structure and stop units firing through them.
Remember you're dealing witha computer program here, not with real physical objects.
Blizzard never intended to prevent collision of doodads and buildings, so they didn't implement anything like this.
You can brew up some triggers to check whether there are objects between the firing unit and it's target and stop the attacker in case there is. But you won't have much fun with it as it's pretty tough to make such a script.
@s3rius: Go
But in a lot maps in the campaign there are walls and objects you cant fire though. There must be a way, it is such a simple change not to allow units to shoot through an object i'd be stunned if there isn't a way to simply flag the building as "blocking ranged attacks".
I'll likely have to use cliffs. Who don't allow you to shoot through i believe.
Nope, you can even shoot through high cliffs if you have LOS on the other side. Will take a quick look at triggers now. Possibly creating regoins where you can not fire ranged through.
I can't believe such an important and simple aspect has been overlooked.
I'm thinking this can solve your problem
http://forums.sc2mapster.com/development/map-development/8844-prevent-attacking-through-walls-terrain/#p11
@gorang: Go
may b it could b as simple as making a cliff lowering it to the same level as normal ground and putting the walls on top of the cliff edge =D
I'm having units walk through these metal walls. Do I need a trigger to stop that, or is there a setting I need to change?
I know 'ignore placement rules' can cause this if checked, but I do not have it checked.
Thanks!
Quote from joecab:
@gorang: Go
may b it could b as simple as making a cliff lowering it to the same level as normal ground and putting the walls on top of the cliff edge =D
----
Units shoot through cliffs too, test it.