[Client] All-In-One Spectator Tab v1.0

Discussion in 'Released Mods' started by Quitch, October 1, 2018.

  1. Quitch

    Quitch Post Master General

    Messages:
    5,077
    Likes Received:
    5,853
    [​IMG]

    Adds a tab to the spectator player panel called ALL and makes it the default tab. This tab displays:
    • Metal income
    • Energy income
    • Efficiency
    • Army count
    • Fabber count
    • Factory count
    This mod thus solves the problem of needing to shout at WPMarshall to change back to the economy tab once-and-for-all.

    Translations

    Please help translate All-In-One Spectator Tab to your local language.

    Installation

    You should download and install this mod via the Planetary Annihilation TITANS in-game Community Mod Manager. You will need to enable Community Mods.

    FAQ

    Why didn't you include total unit count?

    Because I wanted to avoid having the ALL tab be any wider than the other tabs. I considered total unit count to be the most useless stat and so it was dropped.

    Why does your mod wrap the text when the numbers get big?

    I've tried to ensure this is very unlikely to happen, but because the columns are narrower it *could* happen. Things will get more cramped though. You can switch to the other tabs still if things get ugly.

    Do you support translations?

    No. When you include translations in a Planetary Annihilation client mod, it breaks all other translations in the game. Until this is fixed this mod can't ship with translations.

    THANKS
    • mikeyh, who once again covered for my total inability to inject Javascript and HTML
    Last edited: October 2, 2018
    grandhomie, lulamae and mwreynolds like this.
  2. Quitch

    Quitch Post Master General

    Messages:
    5,077
    Likes Received:
    5,853
    CHANGELOG

    Version 1.0 - 2018-10-01
    • Added ALL tab to spectator panel
  3. mwreynolds

    mwreynolds Well-Known Member

    Messages:
    477
    Likes Received:
    313
    Nice work.

    I remember back in alpha or beta they had army metal totals.
    I wounder if it would possible to add the army metal value next to the army number.
  4. Quitch

    Quitch Post Master General

    Messages:
    5,077
    Likes Received:
    5,853
    The mod has been rejected for release to Community Mods as it shadows files. Appending to Javascript and HTML is outside my abilities, so someone else will need to fix this.

    You can take a crack at it, or download the release for local installation, at the All-In-One Spectator Tab repository.
    Last edited: October 1, 2018
  5. Quitch

    Quitch Post Master General

    Messages:
    5,077
    Likes Received:
    5,853
    playerData.armyMetal is currently returning 0 or no data, so it seems something under-the-hood needs to be fixed for that to happen.
  6. mwreynolds

    mwreynolds Well-Known Member

    Messages:
    477
    Likes Received:
    313
    Too bad. :(
  7. Quitch

    Quitch Post Master General

    Messages:
    5,077
    Likes Received:
    5,853
    Mikey's taking a look at it at the moment.
    stuart98 and mwreynolds like this.
  8. Quitch

    Quitch Post Master General

    Messages:
    5,077
    Likes Received:
    5,853
    mikeyh has setup JS and HTML injection and the mod has been resubmitted for approval.
    stuart98 likes this.
  9. Quitch

    Quitch Post Master General

    Messages:
    5,077
    Likes Received:
    5,853
    This is now live.
    lulamae and stuart98 like this.

Share This Page