Morphing Units with Different Transport Abilities

Dave312

Censored for your safe viewing
Ok I think I may have found a bug. I have 3 bunker type units which morph into each other :

Bunker Level 1 > Bunker Level 2 > Bunker Level 3

As the unit is morphed through its various levels, the health and armor is increased in addition to these changes:

Bunker Level 1: Capable of holding up to 4 units
Bunker Level 2: Capable of holding up to 6 units
Bunker Level 3: Capable of holding up to 6 units and has a strike turret

In order to achieve the changes in the transport ability holding size, I have created 2 copies of the transport ability, one with 4 unit capacity and one with 6 unit capacity. The 4 unit capacity transport ability was given to Bunker Level 1 and the 6 unit capacity transport ability was given to Bunker Level 2 and Bunker Level 3.

If I pre-place each level of the bunker ability on the map and test it, everything works fine. However if I upgrade the Bunker Level 1 to Bunker Level 2, the bunker capacity bar shown above the unit disappears and does not come back when I upgrade it one step further to Bunker Level 3. Interestingly enough, if I upgrade the pre-placed Bunker Level 2 into Bunker Level 3, the bunker capacity bar remains shown (presumably because they both use the same transport ability). Also through some tweaking, I have discovered that the bunker capacity bar only disappears when the the change in the transport ability occurs.

Is anyone else able to reproduce this bug (if it is a bug)? Also does anyone have any ideas as to how to solve this issue (what is causing it) and/or a possible workaround to get this working properly?

Thanks in advanced for your help.
 

Siretu

Starcraft 2 Editor Moderator
Staff member
Due to the time of the year, I don't have the time to experiment too much with this. I did some experimenting and couldn't even get the cargo status bar to show for a unit that doesn't have it usually. I think it should be something with actors but since I haven't even reproduced it(I went another way and tried it by adding load to siege tanks since they already have a working morph), I can't mess around with it and find a solution.

However, there is one uglier solution that works if you only have one bunker for each player. If you use upgrades that affect the properties of the load ability, you could probably get it to work. I don't know if it will update accordingly but it's worth a try.
 

Dave312

Censored for your safe viewing
The upgrade solution is not practical because there will be more than one bunker per player.

I tried adding the transport abilities to siege tanks and the issue still occurs so it definitely isn't a problem with the morph.

I could possibly use a trigger to replace the bunker with a new one when the morph finishes.

Is there a way to refresh an actor? As in getting it to redraw itself?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Jesus4Lyf Jesus4Lyf:
    Hmm, how to summarize... Moved to the USA and got married. Became a professional software engineer and solution lead. Learning Godot for game dev. :)
  • jonas jonas:
    So you are pursuing game dev as a hobby? What industry is your dayjob in?
  • jonas jonas:
    FAANG?
  • Jesus4Lyf Jesus4Lyf:
    Not quite FAANG, less pay for a less hours/stress. Yeah, game dev as a hobby.
  • jonas jonas:
    makes sense. Do we have a hobby game dev subforum to showcase some work?
  • Blackveiled Blackveiled:
    Happy Thursday
    +1
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    TGIF!
  • The Helper The Helper:
    hey tom_mai please do not archive anymore news
  • Ghan Ghan:
    AMD Ryzen 7000 next week :D
    +1
  • The Helper The Helper:
    noice!
  • tom_mai78101 tom_mai78101:
    "hey tom_mai please do not archive anymore news" ----> Got it. What should we do with the "News Archive" subforum?
  • The Helper The Helper:
    I think leave it for real old news that cannot be sorted the reason we had it in the first place was a server issue that we do not have anymore. I don't want to get rid of the archive just not put anything in it for now until we figure it out more
  • The Helper The Helper:
    The side chat has nothing on the discord. it is not possible but the biggest thing on my wish list right now is a sidechat channel on the disord that hooks up to this...
  • Ghan Ghan:
    I've been selected for the Diablo IV beta.
    +1
  • Ghan Ghan:
    Woo!
    +1
  • The Helper The Helper:
    that is so cool
  • V-SNES V-SNES:
    Eh just noticed the new discord section on the side. Looks great!
    +1
  • Blackveiled Blackveiled:
    :( feels bad I can't ever get selected for any beta I sign up for. It's annoying as heck.
    +1
  • The Helper The Helper:
    Hello mgarcia! Happy Monday everyone!
  • The Helper The Helper:
    Happy Tuesday! :)

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top