[REL] Unit Database v1.2.4

Discussion in 'Released Mods' started by Raevn, February 5, 2014.

  1. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Let us know if it works :) Haven't tried flash stuff in PA. Would it also not give compatibility issues (mac / linux)
  2. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Flash almost certainly won't work, I meant the HTML5/Javascript only solutions like this one: http://stackoverflow.com/questions/...to-generate-and-save-a-file/18197511#18197511
  3. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Both HTML5 FileSystem API and flash require user interaction that not properly handled by Coherent.
    If you find any way to make such interactions work please let me know ;)

    Though simple field with raw data and Ctrl+C would work. :rolleyes:
  4. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Rather than filter unbuildables out, why not just have them in a separate category?
    Last edited: February 15, 2014
  5. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    v1.0.0 Released!

    I included an "other" section, which includes unbuildables. This is hidden by default, just click the "show" button.
    Unbuildables also don't appear in the Builds/Built By lists in units, or in the Unit Type view.

    I haven't included raw blueprint viewing yet, but I do plan to.
    LavaSnake and jojopuppe like this.
  6. keterei

    keterei Active Member

    Messages:
    258
    Likes Received:
    93
  7. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Epic mod. This is definitely one of my favorites!
  8. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    New features in next release (won't be releasing till after the next build though, for obvious reasons):
    • Clicking the unit ID allows you to see the raw blueprint (note it's the one formed by merging the inherited blueprint values, not just what's in the file).
      upload_2014-2-19_1-40-45.png
    • Alternate strategic icons (specified by the si_name attribute) are now supported, so the Commanders now have strategic icons
    • Base blueprints that don't inherit from anything now have a different build icon
      upload_2014-2-19_1-42-37.png
    • Base blueprints also show what other blueprints inherit them (clickable):
      upload_2014-2-19_1-43-15.png
    • Cloaking attributes now supported
      upload_2014-2-19_1-44-22.png
    • Continued code improvements. Will be working on this with the aim of making it available in-game, to replace my old Unit Info mod, plus give additional information to the build hover boxes.
    cola_colin and mishtakashi like this.
  9. mered4

    mered4 Post Master General

    Messages:
    4,083
    Likes Received:
    3,149
    So downloading this! THIS LOOKS LIKE AN ENCYCLOPEDIA!

    I LOVE encyclopedias!

    :D
    LavaSnake and Raevn like this.
  10. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    v1.1.0 released. Adds the above changes plus:
    • Support for Alt Fire commands
    • Shows Wreckage HP value
    Needs v1.2.0 of the Blueprint Info Framework.
    cola_colin likes this.
  11. ORFJackal

    ORFJackal Active Member

    Messages:
    287
    Likes Received:
    248
    Please make it show the celestial velocity multiplier of nukes. It's useful to know that it's much faster than everything else. (Though I wonder what the correct value is; nuke_launcher_inter_ammo.json says it's 15.0 but nuke_launcher_ammo.json says it's 20.0. Seems that nothing is using nuke_launcher_inter_tool_weapon.json, so I'm guessing that the latter value is correct.)
  12. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Good catch. Missed it because it was a projectile.

    Nuke_launcher_inter_ammo isn't used yet - I imagine Uber are planning to add separate buildable nukes for in-planet vs extra-planet.

    They have different models, too (top is interplanetary, bottom is current):
    upload_2014-2-23_10-46-52.png
    LavaSnake and cola_colin like this.
  13. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    Metal storage uses the energy icon next to its metal storage value.
  14. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    So it does. Fancy that ;)

    Will fix.
  15. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    This mod seams to have an issue with playing the commander sounds. All other sounds work fine but the ones for commanders won't play.
  16. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
  17. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    broken in gamma needs new button in main menu
  18. ORFJackal

    ORFJackal Active Member

    Messages:
    287
    Likes Received:
    248
    In addition to being broken in gamma, also breaks the Updates and Twitch lists in the start page.
  19. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Working on an update, but PAMM took priority. Sorry guys, should be out hopefully within the next day!
  20. ORFJackal

    ORFJackal Active Member

    Messages:
    287
    Likes Received:
    248
    Here's a fix for this mod. Change the last couple of lines in rUnitDatabase_start.js to be:

    Code:
    $('#navigation_items').append('<a href="#" class="nav_item" data-bind="click: function () { model.ud.showUnitDatabase(!model.ud.showUnitDatabase())}"><span class="nav_item_text">UNIT DATABASE</span></a>');
    
    $.get("coui://ui/mods/rUnitDatabase/rUnitDatabase.html", function (template) {
        $("body").append(template);
        ko.applyBindings(model, document.getElementById("unitDatabase"));
    });
    
    Raevn likes this.

Share This Page