HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

READ THIS: Problems with Pathing

05-30-2004, 09:39 PM#1
Beam
A common question asked by newb and veteran terrainers alike is "Can I make units go under a bridge?" or something along those lines.

Well the answer is simple: NO YOU CAN'T.

The problem is that Warcraft only allows for one level of pathing, meaning that there is only one plane a unit can walk on. Adding invisible platforms will only change the height of the plane at the spot you placed the platform on. For example, I'm going to resort to text images.

Normal pathing plane (as seen from the side)
...................
____________

Invisible platforms added
....._______...
___...........__

So the periods are unwalkable areas and the underscore things is your pathing. As you can see, adding invisible platforms does not add another layer of pathing, so therefore, you can't make underpasses or overpasses without messing up the pathing of your map.

If you really REALLY want units to go under a bridge, you can try to trigger it. However, seeing as this is the terrain forum, it wouldn't do you any good to ask here. Go to the Trigger Haven and ask there.

Hopefully this will cut down on some redundant threads.
05-30-2004, 09:53 PM#2
Mozared
Hmmm, where have i seen this before? ^_^

Mozared
05-30-2004, 09:56 PM#3
Beam
I wonder...
05-30-2004, 09:58 PM#4
Mozared
Quote:
Originally Posted by Beam
I wonder...

Haha... anyway, i'm glad this has been sticked, so people dont post so much treads like that anymore. good job :D

Mozared
05-31-2004, 05:54 AM#5
DoomSayer
Heh, I guess my noobness came into use. At least others wont have to bug people with new threads on this. ^_^
06-01-2004, 06:34 PM#6
Sheep(Wolf2)
Yea but they might still ask like "how do I make a unit walk under a bridge?" because they just skip over this sticky since they either A) didn't pay attention to it or B) Not know what pathing is and think it has nothing to do with bridges since the thread name doesn't say bridge in it. Unless of course they like go searching for bridges and it comes up with this.
06-22-2004, 08:28 AM#7
harel
i think i found a way around it.
pot 2 regions one infront the bridge and one after the bridge, when the unit enter the first region hide the bridge and when he croses the bridge and enter the secong region show the bridge, a hidden destructible have no pathing, and it looks like you are clearing the visability for the player. in this way i am going to make a 2 stories buildig.
06-22-2004, 01:20 PM#8
Mozared
Quote:
Originally Posted by harel
i think i found a way around it.
pot 2 regions one infront the bridge and one after the bridge, when the unit enter the first region hide the bridge and when he croses the bridge and enter the secong region show the bridge, a hidden destructible have no pathing, and it looks like you are clearing the visability for the player. in this way i am going to make a 2 stories buildig.

Won't work... well it will, but not in the long run. i think we're talking about a brigde that is possible to walk and go under at the same time here... the best way around i've found so far is make a new waygate called "go underneath brigde", which ends up at the other side of it.

Mozared
06-23-2004, 10:10 AM#9
tufy
Quote:
Originally Posted by Mozared
Won't work... well it will, but not in the long run. i think we're talking about a brigde that is possible to walk and go under at the same time here... the best way around i've found so far is make a new waygate called "go underneath brigde", which ends up at the other side of it.

Mozared

I agree. Just make the waygate invisible, since units use automatically anyway.
06-23-2004, 11:38 AM#10
Mozared
Quote:
Originally Posted by tufy
I agree. Just make the waygate invisible, since units use automatically anyway.

Also possible, then again this won't work for me, i have flying units. they are already abusing the waygate... when there's a fight upon the brigde and you send em from left to right, they move to the left, take the waygate to right, and go left again =P

Mozared
07-12-2004, 11:11 AM#11
Shadow_killer
Quote:
Originally Posted by tufy
I agree. Just make the waygate invisible, since units use automatically anyway.
but what happens if i wanna hide under the bridge ^_^
hehe wont work then...
07-12-2004, 07:38 PM#12
BanishedSoull
http://www.wc3campaigns.com/showthr...9255#post569255
it can be done.
in the near future i will create a demo map for everyone who does not believe/does not understand.
07-13-2004, 08:27 AM#13
Shadow_killer
Quote:
Originally Posted by BanishedSoull
http://www.wc3campaigns.com/showthr...9255#post569255
it can be done.
in the near future i will create a demo map for everyone who does not believe/does not understand.

well i am trying to make so u can go under and on the brigde
and i think your link is broken
if u wanna do that dont u have to make your own pathings then??
07-13-2004, 11:53 AM#14
Mozared
If you really made it so you want walk ON and UNDER the brigde at one time, i'm curious to look up to your triggers in the demo map.

Mozared
07-25-2004, 06:29 AM#15
bur
Possible Ways of having units go over and under:
A.) It's possible to make a trigger that lets u walk under and over bridge at same time, but its not possible to make it so the game doesn't split multiplayer. Assuming B.net never fixes the GetLocalPlayer split.
B.) Give all ground units in the game medivh raven form ability then take it away, and when they are on top and crossing, add region at each end, then add one region across whole bridge.
Event: Unit enters one of the two ends
Condition: Unit is a ground unit
Action: Change unit's height accordingly
________________________________
Event: Unit leaves the region across whole bridge
Condition: Unit's height > whatever
Unit is Ground unit
Action: Move unit to center of region across whole bridge.
(This being for if the unit trys to get off when hes crossing the top in the middle, and if u think it looks bad for the unit to move to center when trying to get off then add segments to the region of the bridge.)

A much much easier way would just to add air blockers but if you don't want air to be blocked at a certain bridge it'd be better to use that trigger.