UI MOD - Supreme Score Board (Improved Game Replay)

Everything about mods can be found here.

Moderator: Morax

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby Sir Prize » 05 Jan 2020, 04:08

How do you do that? Sounds useful.
User avatar
Sir Prize
Evaluator
 
Posts: 573
Joined: 24 May 2014, 10:29
Has liked: 77 times
Been liked: 91 times
FAF User Name: Sir-Prize

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby keyser » 05 Jan 2020, 12:19

just play FAFdevelop
Zockyzock:
VoR is the clan of upcoming top players now
keyser
Councillor - Game
 
Posts: 1870
Joined: 17 May 2013, 14:27
Has liked: 424 times
Been liked: 540 times
FAF User Name: keyser

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby Sir Prize » 05 Jan 2020, 12:41

Does that mean you can't use it in proper games? Sorry I'm not sure what FAFdevelop is.
User avatar
Sir Prize
Evaluator
 
Posts: 573
Joined: 24 May 2014, 10:29
Has liked: 77 times
Been liked: 91 times
FAF User Name: Sir-Prize

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby Rikai » 05 Jan 2020, 13:43

Image
Rikai
Avatar-of-War
 
Posts: 113
Joined: 19 Oct 2014, 22:21
Has liked: 138 times
Been liked: 28 times
FAF User Name: Rikai

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby BenDover » 28 Mar 2020, 01:21

Just in case anybody is interested I'm still keeping this up to date with current faf version and fixing few bugs (HUSSAR seems to be gone for some time now), still works and looks much better than stock faf score board - https://github.com/mateuszkozakiewicz/SupremeScoreBoard
User avatar
BenDover
Avatar-of-War
 
Posts: 280
Joined: 05 May 2012, 14:46
Has liked: 3 times
Been liked: 47 times

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby speed2 » 28 Mar 2020, 08:35

BenDover wrote:Just in case anybody is interested I'm still keeping this up to date with current faf version and fixing few bugs (HUSSAR seems to be gone for some time now), still works and looks much better than stock faf score board - https://github.com/mateuszkozakiewicz/SupremeScoreBoard

Can you add UI scaling please?
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby keyser » 29 Mar 2020, 01:57

There is some warning being triggered with your version of the mod

Spoiler: show
WARNING: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
stack traceback:
[C]: in function `error'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Bottom'
... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:35>
[C]: in function `pcall'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Top'
... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:37>
[C]: in function `pcall'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]

stack traceback:
[C]: in function `error'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Top'
... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:37>
[C]: in function `pcall'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]

stack traceback:
[C]: in function `error'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
WARNING: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
stack traceback:
[C]: in function `error'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Right'
... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:34>
[C]: in function `pcall'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Left'
... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:36>
[C]: in function `pcall'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]

stack traceback:
[C]: in function `error'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Left'
... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:36>
[C]: in function `pcall'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]

stack traceback:
[C]: in function `error'
...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
Zockyzock:
VoR is the clan of upcoming top players now
keyser
Councillor - Game
 
Posts: 1870
Joined: 17 May 2013, 14:27
Has liked: 424 times
Been liked: 540 times
FAF User Name: keyser

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby HUSSAR » 30 Mar 2020, 00:23

speed2 wrote:
Can you add UI scaling please?

what exactly would you like me to change in SSB mod?
________________________________________________________
MY FAF CONTRIBUTIONS:
UI Mod - Supreme Score Board
FAF Feature - Accurate Units Stats
FAF Feature - Unit Restriction Manager
User avatar
HUSSAR
Avatar-of-War
 
Posts: 126
Joined: 17 Sep 2015, 06:59
Location: Philly, USA
Has liked: 38 times
Been liked: 59 times
FAF User Name: HUSSAR

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby speed2 » 30 Mar 2020, 08:04

HUSSAR wrote:
speed2 wrote:
Can you add UI scaling please?

what exactly would you like me to change in SSB mod?

UI Scaling for modders:
When setting UI elements, the position and dimensions have to be set using a correct function from layouthelpers.lua.
This file contains all required functions to position the UI elements and it scales the position by the set global multiplier.

Example of changes that needs to be done:
(1)
Code: Select all
control.Top:Set(parent.Bottom() + 20)

to
Code: Select all
LayoutHelpers.AnchorToBottom(control, parent, 20)


(2)
Code: Select all
control.Width:Set(200)
control.Height:Set(60)

to
Code: Select all
LayoutHelpers.SetDimensions(control, 200, 60)


It can be tested with FAF develop mod, UI scaling will be released with the next patch.
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: UI MOD - Supreme Score Board (Improved Game Replay)

Postby BenDover » 30 Mar 2020, 12:25

Will this change affect mods without UI scaling implemented? (if one decides not to scale UI)
User avatar
BenDover
Avatar-of-War
 
Posts: 280
Joined: 05 May 2012, 14:46
Has liked: 3 times
Been liked: 47 times

PreviousNext

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest