• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Walk under a Bridge?

Status
Not open for further replies.
Level 24
Joined
Jun 14, 2005
Messages
2,506
Well there are two idea I have

the first one would be to create it so that the destructable is walkable, and then create to regions at the entrances to under the bridge or gate or destructable. Then make a trigger so that if you enter one region you will be moved instantly to the second one.

My next idea, that would only work for maps where its singleplayer, like for campaign missions, is set it so that when you are about to go under it it repleaces the destructable with a doodad or something that is not walkable, then when going near the way to go over the bridge replace it with a walkable desutructable somehow.
 
Level 9
Joined
Jul 26, 2005
Messages
553
there are several whys to fake this effect but they are bad looking.
there are also whays to cheat this to work,but its LONG and HAAAARD...i tried once and got to think it cant be worth it after an hour...
i estimate 5 hours of work...and thats if you are a pro trigger maker...
 
Level 15
Joined
Feb 9, 2006
Messages
1,598
the first one would be to create it so that the destructable is walkable, and then create to regions at the entrances to under the bridge or gate or destructable. Then make a trigger so that if you enter one region you will be moved instantly to the second one.

Or using a waygate, like in this example:

http://hiveworkshop.com/resources_new/maps/194/

~Operator
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,204
The main problem is not faking the effect but stopping it being abused.
You have to make it so that the destructables are non walkable and simulate the walking using flying heights. if the destructable is approaced from the left and right (like a bridge) it will keep walking ontop. If the unit approaces if from front or back it does not lift it up and so can walk underneath. But for this 2 happen you need to have it all walkable which would allow the top unit to walk off or the bottom unit to walk into walls.

A way to solve this would require removing air units and using their pathing as ontop of stuff. To get onto a wall use the waygate spell that once the unit passes through it changes it to an identical unit but with pathing of type air. The air pathing would be the boundries for the top while ground pathing the bottom. A lot of work but possiable.
 
Level 8
Joined
Jan 18, 2007
Messages
331
but can u just do like this, wen a unit enetrs a region thats infront of the bridge (image that the bridge is seen from one of the sides) the bridge is replaced with a no walkeble bridge. then wen a unit leaves a reg thats behind the bridge the ordinary bridge is restored. it culd work...
 
Level 8
Joined
Feb 4, 2007
Messages
389
Have a fake bridge doodad that can be walked under. Have a region at each end of the bridge. When a ground unit enters one of the regions, make him flying so he can cross. When a flying unit enters one of the regions, make him a ground unit. Now place Pathing Blockers (Air) on the edges of the bridge so that he can't fly away.

Using this, units can walk under / over at the same time without problems, while also avoiding replacement problems. There may be a slight problem if you have other air units and they try to fly over the bridge, so add a condition to check if it's one of your air units that's supposed to be air.
 
Level 7
Joined
Apr 13, 2007
Messages
240
Have a fake bridge doodad that can be walked under. Have a region at each end of the bridge. When a ground unit enters one of the regions, make him flying so he can cross. When a flying unit enters one of the regions, make him a ground unit. Now place Pathing Blockers (Air) on the edges of the bridge so that he can't fly away.

Using this, units can walk under / over at the same time without problems, while also avoiding replacement problems. There may be a slight problem if you have other air units and they try to fly over the bridge, so add a condition to check if it's one of your air units that's supposed to be air.


Thanks.
Anyway, there's no problem, I do not plan to place or use any flying units on my map.

EDIT: anyway, will this work (i mean no leak) for a huge number of units? (at a same time)
 
Level 8
Joined
Jan 18, 2007
Messages
331
Have a fake bridge doodad that can be walked under. Have a region at each end of the bridge. When a ground unit enters one of the regions, make him flying so he can cross. When a flying unit enters one of the regions, make him a ground unit. Now place Pathing Blockers (Air) on the edges of the bridge so that he can't fly away.

Using this, units can walk under / over at the same time without problems, while also avoiding replacement problems. There may be a slight problem if you have other air units and they try to fly over the bridge, so add a condition to check if it's one of your air units that's supposed to be air.

thats pretty mutch of a put-to-gether-ewery-one-ells-ideas soulution,.:emote_naw:
 
Status
Not open for further replies.
Top