I was going to say you can't alter terrain in SC2 but then I found an actor type Terrain Deformation which I think... flattens/straightens the terrain beneath a building. I also changed the mar sara bridge doodad's footprint to "mar sara bridge" and I was able to run half way across the bridge into open space. So there may be something there, but I don't think many people (if anyone) have messed with those two things yet.
Alternatively you can setup some sort of triggers where you change a unit's height as they run up the ramp. Which'll probably end up being fairly complicated but then again maybe not. I suppose if you setup a bunch of thin regions, you could have something where: "Unit enters X" "move unit to point with z offset". I really have no idea if that will work, but that's probably how I would first attack the problem.
Actually I would just use non-"cliff" height deformation to create a fake cliff, using pathing blockers except on the corpse ramp. Probably need some LOS blockers, too, to finish the illusion.
If there was something like the Invisible Platforms in World Editor of WC3 it would be pretty easy. Just put a few of those where you want this corpse ramp to be build: making it pathable, ignoring the cliff and put some dynamic pathing blockers in front of it until the ramp is build via trigger: removing the dynamic pathing blockers.
I have yet to find something like this, maybe it's there already but I missed it.
Another idea would be to give all units the reaper cliff jumping ability once the corpse ramp is build. This does mean however that you need to place pathing blockers all around the cliffs so that they don't actually jump off cliffs where they're not supposed to. Put some dynamic pathing blockers where the ramp will be and remove them once the ramp is built. I have no idea if this would look smooth and if there's a way to hide that Reaper Jump Ability icon from the UI as I imagine it would look sloppy. But it doesn't seem like much work to test this out. I'd like to know the results as I don't have acces to the galaxy editor anymore (on a Mac).
You should be able to create a destructible with a custom pathable footprint. Set the model to the destructible to be a bridge (or some other flat surface) and tilt it forward like a ramp.
That should let you simulate a ramp I think.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to add a ramp halfway though the game? Not the sloped terrain, an actual ramp leading up a cliff.
I'd like to create a ramp that is made of unit corpses, but I don't know how possible my task is.
Any advice/direction would be greatly appreciated.
@Gamethreat: Go
I was going to say you can't alter terrain in SC2 but then I found an actor type Terrain Deformation which I think... flattens/straightens the terrain beneath a building. I also changed the mar sara bridge doodad's footprint to "mar sara bridge" and I was able to run half way across the bridge into open space. So there may be something there, but I don't think many people (if anyone) have messed with those two things yet.
Alternatively you can setup some sort of triggers where you change a unit's height as they run up the ramp. Which'll probably end up being fairly complicated but then again maybe not. I suppose if you setup a bunch of thin regions, you could have something where: "Unit enters X" "move unit to point with z offset". I really have no idea if that will work, but that's probably how I would first attack the problem.
Actually I would just use non-"cliff" height deformation to create a fake cliff, using pathing blockers except on the corpse ramp. Probably need some LOS blockers, too, to finish the illusion.
I think my main problem is setting it up after the game has started. Also, I have looked into terrain deformation but not very in-depth.
I'll give it a go and report back.
http://forums.sc2mapster.com/development/tutorials/895-data-terrain-actors-how-to-do-live-otf-terrain-deformation/
no actually you cannot add ramps via "Terrain Deform" actor
as you cannot change cliff-level this is quite resonable
If there was something like the Invisible Platforms in World Editor of WC3 it would be pretty easy. Just put a few of those where you want this corpse ramp to be build: making it pathable, ignoring the cliff and put some dynamic pathing blockers in front of it until the ramp is build via trigger: removing the dynamic pathing blockers.
I have yet to find something like this, maybe it's there already but I missed it.
Another idea would be to give all units the reaper cliff jumping ability once the corpse ramp is build. This does mean however that you need to place pathing blockers all around the cliffs so that they don't actually jump off cliffs where they're not supposed to. Put some dynamic pathing blockers where the ramp will be and remove them once the ramp is built. I have no idea if this would look smooth and if there's a way to hide that Reaper Jump Ability icon from the UI as I imagine it would look sloppy. But it doesn't seem like much work to test this out. I'd like to know the results as I don't have acces to the galaxy editor anymore (on a Mac).
Hope this helps!
You should be able to create a destructible with a custom pathable footprint. Set the model to the destructible to be a bridge (or some other flat surface) and tilt it forward like a ramp.
That should let you simulate a ramp I think.