[DEV] shadowing to replace strat icons

Discussion in 'Mod Discussions' started by darkshadow4242, March 27, 2014.

  1. darkshadow4242

    darkshadow4242 New Member

    Messages:
    13
    Likes Received:
    7
    Hi all, just having some debug issues. I'm trying to make simple mod to replace the strategic icons.

    following the material on the forums I have a file in the local apps mod folder, with its .json

    in this folder I also put the directory
    Code:
    \shadow\ui\main\atlas\icon_atlas\img\strategic_icons
    where all the .png icons are kept.

    Starting the game, I check to see if my commander icon has been replaced but its still the default icon. Help please?
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Does you mod appear in the log file for PA? It should say so above the text that says "x mods loaded" at the top.
  3. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    One thing that might help would be to download any of the other icon mods and see what they did.
  4. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Could you post the zip of your mod if you still can't figure it out? We can test it and figure out the issue.
  5. darkshadow4242

    darkshadow4242 New Member

    Messages:
    13
    Likes Received:
    7
    Thanks guys, I've already tried trawling the forums but I couldn't find any clear info, the stickied guide to strat icons was posted quite a while in beta, so I'm not sure if they've made any changes since then.

    That sounds useful, where exactly is this log? I've just got the vanilla game (plus my mod) so that might explain why there is no log.

    Also I notice if they is any syntax errors in the .json the mod won't be recognised, so I doubled checked that but couldn't spot anything.

    I've done so for a couple of the mods, but at least one of them is out of date with alpha instead of main, with directories. The threads didn't have any more recent versions.

    Thanks I'll do that if I have no luck :)
  6. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    It depends on the OS. In my case (Linux), it's "~/.local/Uber Entertainment/Planetary Annihilation/log". But in any case, you already located the mods directory and the log directory is right next to it. It contains files that look like "PA-08-46-43.410.txt". Just delete them all and start PA once to generate a fresh one.

    The "Transparent Strategic Icons V3.3" mod by moldez should contain the information you want. It's up to date and it also replaces icons, so you might want to study that one specifically.
    LavaSnake likes this.
  7. darkshadow4242

    darkshadow4242 New Member

    Messages:
    13
    Likes Received:
    7
    Thank you so much that was really helpful. From the log and the transparent icons mod I found that my .json had the wrong name.

    Now I can get back to drawing NATO icons :)
    DeathByDenim and LavaSnake like this.
  8. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    There are NATO icons for laser satellites, flame tanks and huge walking machines with Ubercannons? Huh, who'd have thought. ;)
    cptconundrum and LavaSnake like this.
  9. darkshadow4242

    darkshadow4242 New Member

    Messages:
    13
    Likes Received:
    7
    lol I might have to get a bit creative with a few units especially space units, but there are icons for flame tanks, and HQ will work for the commander.
    cola_colin and DeathByDenim like this.

Share This Page