SC2Mapster Forums

Development > Miscellaneous Development

[Help] Creating a Neutral Garrison Building

  • 3 posts
    #1 Dec 11, 2012 at 07:58 UTC - 0 likes

    So here's the issue I've been tinkering around to make a bunker-like structure that is neutral and can be used by 2 opposing parties.

    I want to make it a C&C-styled garrison so that range attacks were still valid but also possible to be "stormed" or "flushed out" by a specific enemy unit.

    So my original design was to use the abandoned structure unit, make it neutral, set a one-way alliance from the neutral player to the rest and make a "while" trigger that will change the ownership of any of the said unit to the occupying player but be set back to neutral after it is vacant.

    The problem being I can't find the right value fields to modify and its not coming out well.

    Here are the relevant issues:

    -I want all players to see the cargo space bar.

    -I want ownership to change after occupation.

    -(after value field modifications) I can make my units enter the cargo bay of the transport structure unit but I have either, no control over the unit (it doesn't change ownership), or, no visibility of the command card and its buttons (which I had already set up) or both.

    Any help would be greatly appreciated.

    Last edited Dec 11, 2012 by darthuser3220
    #2 Dec 11, 2012 at 21:43 UTC - 0 likes

    Use this demo map as a trigger free alternative to taking control.

    Second have a damage response that uses an Issue Order command on the Transport ability used to unload all.

    Name Size MD5
    Ownership_Changer.SC2Map 168.4 KiB 0ac5a3ef40be...
    #3 Dec 12, 2012 at 06:46 UTC - 0 likes

    @DrSuperEvil: Go

    thanks man, I was hoping for a trigger-free version too and thought that was too much, then again I stand corrected. Will check the map and see if I can extract anything I find useful.

    Edit: Ok I've checked the map and run a test of it, but it's not what I'm looking for, It's great and very useful but I was thinking something more cargo related be it trigger-free or not, in last case scenario I can go with it I guess.

    Last edited Dec 12, 2012 by darthuser3220
  • 3 posts

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