SC2Mapster Forums

Development > Data

Destructible bridges?

  • 6 posts
    #1 Oct 31, 2012 at 16:33 UTC - 0 likes

    So, i'v almost completed my first mapping project, but what it really lacks is a system of destructible-repairable bridges.
    More definitely, what i need: 2 units (vertical and horizontal) with Mar Sara bridge models or smth like this, differing only in footprints. I've found a library (http://www.sc2mapster.com/maps/bridgetest/files/5-bridge-test/) that features a good solution for this, but when i try using the same one, i get lots of errors and my bridges get replaced by grey spheres. Maybe there's a mod or something that can help me?

    Last edited Oct 31, 2012 by FunBotan

    Currently working on a campaign - "Children of the Void":
    First map - The Hungry Swarm - is released to EU;
    Second - The Titan Fist - is upcoming.

    #2 Oct 31, 2012 at 16:48 UTC - 0 likes

    @FunBotan: Go I'm not sure if this helps but...

    Bridges are tricky stuff. You would have to use a combination terrain objects to make them walkable, trigger enabled/disabled terrain blockers as well as some unit that looks like a bridge and that is constructable. So I guess I would make copy of a command center or something and make it appear (change the model) to a bridge model.

    Last edited Oct 31, 2012 by Monkalizer
    #3 Oct 31, 2012 at 20:29 UTC - 0 likes

    You need to have units with a pathable footprint and then adjust the edges of cliffs to make them pathble to the bridge site. Make the bridge buildable only on a hidden unit similar to vespene geysers. On unit death have a buff create units along the cliff edge with footprints to act as pathing blockers. When the bridge is build use a search area effect to kill them.

    #4 Nov 04, 2012 at 08:23 UTC - 0 likes

    Ok, thx everyone.
    Now my main problem is to attach the same actor to 2 units (vertical and horizontal bridges have different footprints, but all other things are same). This may be a noobish question, but how do i do it?

    #5 Nov 04, 2012 at 11:10 UTC - 0 likes

    Under events just add a Unit Birth event leading to a Create action. Do not forget to link the event to your other unit.

    #6 Nov 05, 2012 at 12:48 UTC - 0 likes

    @DrSuperEvil:

    Will try as soon as i get my pc back, but not sure if i'll do it properly...

  • 6 posts

You must login to post a comment. Don't have an account? Register to get one!