Seleciton Cost v.9 Forgotten Edition [UI][Abandoned]

0

Separately, I would really like it if I could scale up the size of the selection cost display. I would want it about 3x bigger for my 4k display. I don't know how to do that or I would just implement it myself.

0

@arma473 sure you can do it by yourself. Open the gamemain.lua and find the createselectionui() and add the string "LayoutHelpers.SetDimensions(statsFrame, width, heigth) after " statsFrame:SetTexture(....)"
And you can increase the font size in lines CreateText(...12...) where is a number is a size of font. I'm from phone atm and can't write the whole code. But I will do it late


Or do you use implemented ui scaling? Maybe I will do adapt it to scaling by settings

0

Fyi, connecting both UI elements to resource panel means that you cannot see reclaim from observer view unless you go to a player view.

0

@archsimkat yea, my mistake. I will add advanced check if the current game is replay, then it will work from obs

0

Any suggestions?

81a012f9-b855-484a-9bd1-a07cc9ee18b5-image.png

0d020551-3e1f-4452-8afb-f228104c400a-image.png

1f322eb6-8a54-4b68-be0a-85bb7eb7ae86-image.png

c0e9e998-a574-41d8-afaf-a6e02b46bc21-image.png

1
This post is deleted!
0

Version v.8
What`s new:

  • New design of UI elements
  • Reclaim texture changeable with current skin
  • Red color for total reclaim and dark green for title if no mass on screen

Mistake:

  • Selection cost frame can`t change skin

Not included in this update:

  • Settings for replay

Search in vaults "Selection Cost"
or
Selection Cost

selectioncost.gif

3

concept ui of v9
will be adaptive and resizable based on length of stroke
selectionCostt.png

0

Uploaded 9 version with new patch compatibility