Help! Unit strategic icon mod not doing anything for new units

Discussion in 'Mod Discussions' started by emraldis, October 27, 2014.

  1. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Can someone help me fix this? My new units only show up as diamonds.
  2. mered4

    mered4 Post Master General

    Messages:
    4,083
    Likes Received:
    3,149
  3. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    squishypon3 and mered4 like this.
  4. liquius

    liquius Well-Known Member

    Messages:
    731
    Likes Received:
    482
    Did you add them to the icon_atlas.js?

    Edit: It's also worth noting that you need to use a client mod for strat icons.
  5. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    yes I did, to both.
  6. liquius

    liquius Well-Known Member

    Messages:
    731
    Likes Received:
    482
    In that case, it should work. I am going to take a guess and say you made a typo in a name somewhere.
  7. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    if that were true, then I should have spelled at least 1 of the 5 names correctly when I copied and pasted them...
  8. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    My guess: forgot to add icon_si_ in front of .png names / put them in wrong folder like \ui\main\atlas\icon_atlas\img\strategic_icon or \ui\main\atlas\img\strategic_icons instead of \ui\main\atlas\icon_atlas\img\strategic_icons.
  9. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    nope to the wrong folders, because the units that were already there, but we altered all work.

    and icon_si_ is in front of all of them.

    ALSO: the icons show up as a preview when you select the unit in the build bar, just not in the actual game.
  10. liquius

    liquius Well-Known Member

    Messages:
    731
    Likes Received:
    482
    That means it's an issue with your client mod.
  11. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Yes, I am aware, that's what I'm trying to figure out. It's probably something really obvious >.<
  12. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Ok, I figured it out. Whatever it is, it's uber's fault, because it works perfectly in the PTE, no file changes on my end...
  13. swizzlewizzle

    swizzlewizzle Active Member

    Messages:
    216
    Likes Received:
    56
    You guys are talking about having a separate client mod + server mod correct? Eg. "blah blah_server" in the server-mods folder and "blah blah_client" in the "mods" folder?

    Edit: If this is so, would be nice to be able to combine them into one mod so people don't have to hunt down "pairs" of mods, no?
  14. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    At the moment you need a client and server mod for icons, because icons are loaded in the engine rather than with the server.

    But that may have changed, seeing as his icons showed up in PTE, if so then that'd be... magnificent.
  15. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Nope. It just fixed my client mod somehow. Just tested it.
  16. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That is interessting. Maybe you could share your mod so somebody with more knowledge about the past issues could check it out and maybe figure out why the PTE behaves differently?
  17. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Well, we're hopefully pushing all of it to PAMM today, so maybe we can get some bugfixing done too!

Share This Page