SC2Mapster Forums

Development > Data

Bunker range?

  • 9 posts
    #1 Apr 12, 2012 at 22:15 UTC - 0 likes

    Hello, in the most basic beginner terms, how does one make it so that a specific bunker has +15 range to units inside it. Also, how does one give a unit that does not have the bunker range+ behavior said behavior?

    "You say you are a holy man, but what is it you do? From where I stand it's nothing but a hallowed man I see." UP THE IRONS!

    #2 Apr 12, 2012 at 22:31 UTC - 0 likes

    @Ares257: Go If you want to give +15 range to only one Bunker but not the others, then I believe you have to create a new Bunker unit. The specific behavior that gives unit extra range is within the bunker's transport ability. All bunkers that shre the same ability will use the same behavior. That's why you need to create a new bunker and give it a new ability.

    What do you mean by giving it to a unit that doesn't have it? Another unit with the transport ability, like Command Centers or Medivacs?

    #3 Apr 12, 2012 at 22:44 UTC - 0 likes

    @Ares257: Go

    It's not a single bunker, its a singe type of bunker. My game has 10 different types at the moment, and I'd like to make one that gives a stupid amount of range.

    Also, one of those units stems from a photon cannon, so it does not automatically have the +range even when I add the load and attack redirect.

    Last edited Apr 12, 2012 by Ares257
    #4 Apr 12, 2012 at 23:11 UTC - 0 likes

    You can add a new Transport ability, which applies another behavior to the transported units. The default bunker transport ability adds a behavior with +1 range, just make a custom one with +15.

    Last edited Apr 12, 2012 by Kueken531

    http://img577.imageshack.us/img577/4226/blaj.jpg

    #5 Apr 12, 2012 at 23:14 UTC - 0 likes

    Ok, do what I said, create a new Bunker unit and give it a new transport ability. This new ability is just like the old one (duplicate the original). Then you have to create a new behavior based on the original one and change the duplicated ability to use the new behavior instead of the old one.

    Wait, is that "Photon Cannon" a new transport unit? I'm a little confused.

    #6 Apr 13, 2012 at 00:32 UTC - 0 likes

    @SoulFilcher: Go

    Yes. All the buildings in the game are loadable structures like bunkers.

    #7 Apr 13, 2012 at 00:37 UTC - 0 likes

    @Ares257: Go So, you gave it the bunker's abilities and it doesn't give loaded units the +range behavior? Are you sure you gave it the correct ability?

    #8 Apr 13, 2012 at 23:48 UTC - 0 likes

    I am in the bunker range's data editor, what do I change to change range?

    #9 Apr 13, 2012 at 23:57 UTC - 0 likes

    @Ares257: Go You need to create a new behavior, based on the original one: Bunker - Range Bonus. Then in your new bunker ability use this new behavior in the field Load Cargo Behavior. Give this ability to your new Bunker unit and you're good to go.

  • 9 posts

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