• Dear forum reader,
    To actively participate in our forum discussions or to start your own threads, in addition to your game account you need a forum account. You can
    REGISTER HERE!
    Please ensure a translation in to English is provided if your post is not in English and to respect your fellow players when posting.

Stackable Units!

Seems like we will finally be getting stackable units!

settings_icon_stacked_units-f27048d51.png
Come speculate with us in the discussion thread!

Update 20/03 (MooingCat): Created thread.

Seems like we'll finally be getting stackable units! According to @Juber this is something that has been worked on in the past, he believes it was back in 2018 or 2020, but was put on hold. The image for the "stacked units" setting has been available in the game for a while:
settings_icon_stacked_units-f27048d51.png


We have some new developments today though, which suggest it is finally time for this to be added to the game! This piece of code has been added to create some text above the unit images:

Code:
     _addStackLabel: function() {
            if (this._isStackedUnitsEnabled && null != this._data && this._data.get_isStack()) {
                var a = this._data
                  , b = a instanceof o$ ? a : null;
                2 > b.count || (a = G.createArialTextfield(16777209, !0, 13),
                a.set_width(this._icon.width),
                a.set_text(9999 > b.count ? "x" + b.count : "x" + ha.numberFormat(b.count, 0)),
                a.set_filters(va.getWeakTextOutlineFilterArray()),
                b = new cb((a.get_width() | 0) + 3,(a.get_textHeight() | 0) + 3,!0,0),
                b.draw(a),
                this._appendToBitmap(this._iconStage, b, 5, this._icon.height - b.height + 5, !0))
            }
        },

I've made a mockup of how I think it might look based on that, but colors, size, and placement will probably be different:
1679326329897.png

So seems like if you enable the "stacked units" setting, your units will finally be stacked! My main question is how it will work with damaged units, but as of now I don't see any sign of that addressed in the cache anywhere. Hopefully you can still view damaged units without having to disable the setting.


settings_icon_stacked_units-f27048d51.png
Come speculate with us in the discussion thread!
 
Last edited:
Top