Your solution is only for unit to walk into a bridge without awkwardness. Its easier to raise the terrain under the bridge and paint pathing there. The real challenge is to have 2 layers of pathing that unit can walk both on the bridge AND under it at the same time ( or even firing each other with the actual bridge as LOS blocker :) )
with my method you can have units walk under and over the bridge no problem. i dunno about having the bridge as a LOS blocker though. that's a tough one. cause with my method you can have a zealot on a bridge start slashing away at a marine underneath the bridge :|
Quote from tearofrainbow:
Interesting challeng, though I doubt whether it is possbile to create a real map larger than 256*256. And I have suggestions for next challengs:
1. GE challenge: Cliffs more than 2 levels that work properly with ramps, units, etc.
2. Dat editor challenge: Bridge that really works so units can walk across / under it.
You can make working bridges with the trigger editor. Its kind of compex but you have to make a ramp under the terrain of both ends of the bridge. Make a trigger so then when the unit starts walking onto the bridge (and over the ramp) the trigger repetitively increases the unit's height using the Pythagorean Theorem until the unit is fully on the bridge and off the ramp.
Where the unit's new height is A and its distance from the top of the ramp is B and the length of the ramp is C (usually "4" for one tier ramps).
Set the trigger up so that the unit can't walk past the bridges edges while its on it.
And then do the same thing in reverse when it gets to the end of the ramp.
with my method you can have units walk under and over the bridge no problem. i dunno about having the bridge as a LOS blocker though. that's a tough one. cause with my method you can have a zealot on a bridge start slashing away at a marine underneath the bridge :|
Quote from tearofrainbow:
Interesting challeng, though I doubt whether it is possbile to create a real map larger than 256*256. And I have suggestions for next challengs:
1. GE challenge: Cliffs more than 2 levels that work properly with ramps, units, etc.
2. Dat editor challenge: Bridge that really works so units can walk across / under it.
You can make working bridges with the trigger editor. Its kind of compex but you have to make a ramp under the terrain of both ends of the bridge. Make a trigger so then when the unit starts walking onto the bridge (and over the ramp) the trigger repetitively increases the unit's height using the Pythagorean Theorem until the unit is fully on the bridge and off the ramp.
Where the unit's new height is A and its distance from the top of the ramp is B and the length of the ramp is C (usually "4" for one tier ramps).
Set the trigger up so that the unit can't walk past the bridges edges while its on it.
And then do the same thing in reverse when it gets to the end of the ramp.