Code Monkey home page Code Monkey logo

supremescoreboard's People

Contributors

blackyps avatar hussar-mtrela avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

supremescoreboard's Issues

Hide the score screen with default key to hide all UI elements

There is a hotkey to hide all UI elements, by default Ctrl-Shift-F1 which hides all the UI stuff (including the arrows to show them again). It's used mainly for taking screenshots and stuff and it would be nice if it hid your score screen as well.

Feature - show avatars in-game

It would be very inspiring for community to see theirs and others' avatars in-game. I guess near nickname is the spot. Thank you.

[1.3] changing faction theme does not affect the SSB

changing the faction theme via alt+arrow left/right does not affect the scoreboard, looks a bit strange but doesn't really matter for a normal game.
however, when beeing launched as observer with a random faction, the icons at the left and right side of the scoreboard will be broken (the yellow "icon not found" icons), and changing the faction theme does not fix this. unfortunally i can't reproduce this atm.

Feature - add team and faction decals

From Anihilnine

It is possible to draw images onto the map ... user decals or some such. Why don't you draw the team number and faction symbol next to each starting position?
(and maybe get rid of them after 5 minutes)
(or you could take the average starting position of team 2 and draw a single giant 2 there)

TODO

  • draw images of representing team number and faction symbol next to each starting position
  • hide these images after 5 minutes (image lifespan)
  • add option to customize length of image lifespan in game options

SBB crashes when using custom army colors

Root causes

  • adding new army colors
  • changing army colors

Fix:
Replace hardcoded army colors by colors loaded from gamecolors.lua

Reported by:
BlackYps, Philip Fry

Feature - add build power to ECO board

  • add build power as 3rd resource to ECO board
  • add required graphics
  • format ECO stats with thousand seperator
  • show usage and capacity of build power from all engineers
  • consider showing ECO stats per project consumption
    supreme-ui

Feature - add supreme empire tree UI

  • add UI that show a tree with icons representing units in a player army
  • add option to scroll the tree
  • add groupping of same units into one icon
  • add stats for groupped units: count, health, built TMLs, nukes
    ssb-empire-tree

Avatars UI throws layout errors when All Factions mod is enabled with SSB mod

Override these files to fix this issue:
\lua\ui\game\layouts\avatars_mini.lua
\lua\ui\game\avatars.lua

WARNING: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): error evaluating lazy variable: ...amedata\lua.scd\lua\ui\game\layouts\avatars_mini.lua(48): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): error evaluating lazy variable: ...amedata\lua.scd\lua\ui\game\layouts\avatars_mini.lua(48): 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'
            ...amedata\lua.scd\lua\ui\game\layouts\avatars_mini.lua(48): in function <...amedata\lua.scd\lua\ui\game\layouts\avatars_mini.lua:48>
            [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 `Bottom'
            ...amedata\lua.scd\lua\ui\game\layouts\avatars_mini.lua(48): in function <...amedata\lua.scd\lua\ui\game\layouts\avatars_mini.lua:48>
            [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]


Does not display properly with UI scale

Due to the high resolution of my monitor, I play with the UI Scale setting set to 200%. However, this does not work well with the SupremeScoreBoard mod, which does not update its UI elements properly to deal with the scaling. This results in the UI looking as below.

broken

In contrast, when the UI scale is set back to 100% with all other settings left as before, the scoreboard displays as expected as can be seen below.

working

[1.3] Disable "killed by:" in game

I think this feature to show who killed the player should stay just for replays, If you get killed by some sneaky snipe or something it marks who to scout asap. Intel that the rest of the team should not have.

Total mass in units killed should ignore cost of ACU

FAF forum post

the total mass in units killed tab seems to take the mass cost of ACUs into account, since they cost like 10k mass or so this can change this stat quite a bit. I'd suggest ignoring the cost of ACU for this and other stats like this. - Yorick

Co-op Crashes

The scoreboard fails to load in some coop missions and gives this error in the log: warning: Error running CreateGameInterface script in CScriptObject at 21b70b94: ...iance\mods\supremescoreboard\modules\score_board.lua(1611): attempt to perform arithmetic on field actual' (a nil value) stack traceback: ...iance\mods\supremescoreboard\modules\score_board.lua(1611): in function CreateTeam'
...iance\mods\supremescoreboard\modules\score_board.lua(207): in function InitializeStats' ...iance\mods\supremescoreboard\modules\score_board.lua(468): in function SetupPlayerLines'
...iance\mods\supremescoreboard\modules\score_board.lua(383): in function CreateScoreUI' ...replaydata\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1231): in function CreateUI'
...replaydata\gamedata\lua.nx2\lua\ui\game\gamemain.lua(525): in function <...replaydata\gamedata\lua.nx2\lua\ui\game\gamemain.lua:519>

This happened in operation rescue and several other coop missions as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.