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

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

  1. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    [​IMG]

    Adds two tabs to the spectator player panel: ALL and ALL2.

    ALL displays the following:
    • Metal income
    • Energy income
    • Efficiency
    • Army count
    • Fabber count
    • Factory count
    ALL2 displays army metal in place of army count. Army metal counts all units and structures owned by a player, not just offensive units.

    Installation

    You should download and install this mod via the Planetary Annihilation: TITANS in-game Community Mods.

    If you are using PAMM you will need to download the mod from GitHub.

    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.

    THANKS
    • mikeyh, who once again covered for my total inability to inject Javascript and HTML
    Last edited: August 8, 2022
  2. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    CHANGELOG

    Version 1.2.2 - 2024-01-21
    • Corrected forum link
    Version 1.2.1 - 2022-08-08
    • Fixed mod icon
    Version 1.2.0 - 2022-07-24
    • Expands the spectator panel by default
    Version v1.1 - 2019-01-12
    • Added ALL2 tab with army metal count
    • Set ALL tab to be the default
    Version 1.0 - 2018-10-01
    • Added ALL tab to spectator panel
    Last edited: January 21, 2024
  3. mwreynolds

    mwreynolds Well-Known Member

    Messages:
    472
    Likes Received:
    294
    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,884
    Likes Received:
    6,045
    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,884
    Likes Received:
    6,045
    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:
    472
    Likes Received:
    294
    Too bad. :(
  7. Quitch

    Quitch Post Master General

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

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    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,884
    Likes Received:
    6,045
    This is now live.
    lulamae and stuart98 like this.
  10. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    Version v1.1 - 2019-01-12
    • Added ALL2 tab with army metal count
    • Set ALL tab to be the default
  11. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    That would introduce an assumption about future Commanders, other factions, etc. that may not hold true. All that matters is the relative values between armies, not the absolute values. It would also lead to an inaccurate assessment in shared armies.
  12. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    I'll have a look into it. I think removing Commander values from the number in a shared armies setup will be tricky so it might take a while.
    NikolaMX and stuart98 like this.
  13. NikolaMX

    NikolaMX Active Member

    Messages:
    141
    Likes Received:
    141
    this mod should be more popular. great work
    billthebluebot, Quitch and lulamae like this.
  14. MrTBSC

    MrTBSC Post Master General

    Messages:
    4,857
    Likes Received:
    1,823
    or implemented to live ... maybe a sidescrollbar could help with the potential crampiness of large numbers?
  15. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    Version 1.2.0 - 2022-07-24
    • Expands the spectator panel by default
  16. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    Version 1.2.1 - 2022-08-08
    • Fixed mod icon
  17. Quitch

    Quitch Post Master General

    Messages:
    5,884
    Likes Received:
    6,045
    Version 1.2.2 - 2024-01-21
    • Corrected forum link

Share This Page