• 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.

Walkable Paths

Status
Not open for further replies.
Level 9
Joined
Apr 4, 2004
Messages
519
Having a bit of a problem and I need help figuring this one out. xP

Is there a way to make units walk on both of the white lines at the same time without colliding? Two forces colliding both on and under the bridge. It's for a very small homemade AoS for me and a few friends.
 

Attachments

  • Walkable Paths.png
    Walkable Paths.png
    1.6 MB · Views: 177
Level 9
Joined
May 2, 2009
Messages
279
There is the way even without a JASS, but you can walk only one path at once.

What you need to do is put invisible platforms on bridge surface, blockers on the sides and at starts of bridge. Also, 4 regioons, 2 on sides of bridge and 2 at start. If unit enters zone that is marked as start of bridge, then you need to ressurect blockers on sides and invinsible platforms. If unit enters zone marked as "underbridge" then you need to kill platforms and blockers on the side, and ressurect blockers at the starts of bridge.


If you want two at once... Then it's high-fly JASS code, including flying units and stuff. So I heard.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
You have to make simulations to achieve this effect. One I can think of right now is:

Code:
          |         |
          |         |
--------------------------------
       **$$         $$**
       **$$         $$**
--------------------------------
          |         |
          |         |

The ** is one region
The $$ is another region.
The -- are pathing blockers (air)

Whenever a unit enters the $$ region, add the "destroyer" ability (or anything else that makes the unit fly)
When the unit is flying, it will be able to cross the bridge

Whenever a unit enters the ** region, it loses its flying abilities so it can walk again.

Units should now be able to walk underneath the bridge, and also "fly" over the bridge.
 
Level 9
Joined
Apr 4, 2004
Messages
519
Do I have to make a new Storm Crow Form for each unit or how do I proceed with it?
 
Level 9
Joined
Apr 4, 2004
Messages
519
Thanks for the answers. I checked the tutorial, Nbah. Thanks. ;>

Quick question though; I tried adding Storm Crow Form to every unit entering the region like Eleandor demonstrated, but it doesn't help. I think the problem is that they don't become flyings units. What'd I miss? xP
 
Level 36
Joined
Jul 1, 2007
Messages
6,677
There is the way even without a JASS, but you can walk only one path at once.

What you need to do is put invisible platforms on bridge surface, blockers on the sides and at starts of bridge. Also, 4 regioons, 2 on sides of bridge and 2 at start. If unit enters zone that is marked as start of bridge, then you need to ressurect blockers on sides and invinsible platforms. If unit enters zone marked as "underbridge" then you need to kill platforms and blockers on the side, and ressurect blockers at the starts of bridge.


If you want two at once... Then it's high-fly JASS code, including flying units and stuff. So I heard.

He's on the ignore list, but this seems like a solution, so I figured I'd quote it so you all can see it.
 
Status
Not open for further replies.
Top