[REL] Unit Info [56516]

Discussion in 'Mod Discussions' started by Raevn, August 23, 2013.

  1. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    This mod adds information icons to all build menu items. Clicking this icon opens up the PA Unit database site for that unit (Created by @yarmond, see https://forums.uberent.com/threads/pa-unit-database.49663/).

    UnitInfo.png

    Installation
    Current build: 56516 (version 1.1.0)

    Step 1:
    Download the rUnitInfo_v1.1.0.zip attachment, and extract it to <PA Install directory>/PA/media/ui/mods/

    Step 2:
    Install the PA UI Mod Manager: https://forums.uberent.com/threads/rel-ui-mod-manager-v1-2.50726/
    Tick the box for "Unit Info" to enable to mod.

    Attached Files:

    Last edited: November 7, 2013
    LavaSnake and zGeneral like this.
  2. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    wow they totally need to make this vanilla.
  3. infuscoletum

    infuscoletum Active Member

    Messages:
    606
    Likes Received:
    37
    Honestly, I'd rather have more unit info on the build order mouseover that exists in game already: infopanel.png

    Cool mod tho :D might just install the browser part to mess around a little :cool:
  4. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    well isn't it possible to make raevn's mod show up in those pop ups? or would it make them load too slow?
  5. infuscoletum

    infuscoletum Active Member

    Messages:
    606
    Likes Received:
    37
    I tried figuring out how the pop-ups worked a couple of builds back but my js additions just kept messing things up :(
  6. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Continues to work in build 52512.

    @infuscoletum, I'll take a look at the pop up box, see what info I can provide.

    Edit: No luck, I'm afraid. All the info that is passed to the build hover menu is name, description, blueprint id and metal cost. Maybe you could load in the blueprint and read off the values though, never tried that though.
    Last edited: August 25, 2013
  7. infuscoletum

    infuscoletum Active Member

    Messages:
    606
    Likes Received:
    37
    :cool: thanks for giving it a go anyways!!
  8. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Hmmm having said that, you could build the appropriate URL from the blueprint ID and use that retrieve a web page to display in the pop-up window. The pages would need to be pre-made though, and made specially to fit inside the pop-up box.
  9. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    the pop-ups couldn't be made bigger?
  10. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    They could, but from a design perspective, pop-ups shouldn't obscure half the screen.

    Edit: Continues to work in 52973
    Last edited: September 5, 2013
  11. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    This works great in build 56387 and it doesn't require the browser mod anymore. Also, thanks raevn for making this! It's one of my favorites.
  12. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Updated for build 56516 (removed dependency on rBrowser & updated build number)
  13. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Could you update this to work in the new version of the mod manager? This is one of my favorites and I'm missing it badly now. :(

Share This Page