• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Yeah, thise are something would want ti change too!
 
gfx/interface/planetview/army_icon.dds

I've successfully replaced icons and they show up everywhere they are supposed to. But I'd like to know if adding icons (ie icon frames) is possible. That I haven't figured out how to do yet.
 
gfx/interface/planetview/army_icon.dds

I've successfully replaced icons and they show up everywhere they are supposed to. But I'd like to know if adding icons (ie icon frames) is possible. That I haven't figured out how to do yet.

You'll need to update a gfx file with the new tiles count. Someone asked about this recently and I gave the details. Forum search should find it.
 
You'll need to update a gfx file with the new tiles count. Someone asked about this recently and I gave the details. Forum search should find it.

Argh, I did search but I just cannot find your details at all. You might be confused with other forum or something.

So, based on what you said, I indeed found interface/icons.gfx and changed the number of frames ("noOFframes") from 10 to 11, and added the my custom army icon by making 374x34 version of army_icon.dds (original 340x34). But I still get weird icon displacement by game. Can you explain this further?
 
You'll need to update a gfx file with the new tiles count. Someone asked about this recently and I gave the details. Forum search should find it.
Sorry, but the only post that shows up upon searching is this one. Could you please copy paste your answer here?
I'd really like to know how to add some icons to the armies too.
 
Well my problems start at the first step, the army_icon.dds shows up as completely white in Photoshop, while I can open individual icon dds files just fine.
Also, what is wrong with kwm1800's way? Seems to me, once I get to use the dds file I would have to follow his description, but apparently you run into displacement issues.https://forum.paradoxplaza.com/forum/index.php?members/kwm1800.1018802/
 
I'm not sure where kwm1800's effort went wrong. But attached is the icon file converted to PNG. You'll of course have to convert it back when you're done.
 

Attachments

  • army_icon.png
    army_icon.png
    3,3 KB · Views: 5
Append your icons to the DDS file and then update the noOfFrames value in interface/icons.gfx
Hi, a little of necroposting,

Actually I want to make the same, a little mod adding 13 new armies, I edit the dds of army_icons, vanilla now have 13 icons, and I add 13 more, making 26 icons finally, I modify the interface/icons.gfx with the noOfFrame =26

}

spriteType = {
name = "GFX_army_icons"
textureFile = "gfx/interface/planetview/army_icon.dds"
noOfFrames = 26
}

I create in the modfolder:
-common/armies/more_armies_1_armies.txt
-gfx/interface/planetview/more_armies_1_army_icon.dds
-interface/icons.gfx
-localisation/english/more_armies_1_I_english
-descriptor

My mod dont work and If I miss some file or have a error in this files, btw, You do it this? adding more army icons to game? Im very interested how to make this :)
 
Argh, I did search but I just cannot find your details at all. You might be confused with other forum or something.

So, based on what you said, I indeed found interface/icons.gfx and changed the number of frames ("noOFframes") from 10 to 11, and added the my custom army icon by making 374x34 version of army_icon.dds (original 340x34). But I still get weird icon displacement by game. Can you explain this further?
I'm currently edit mod and face the same problems. The Icon shall appear like this although I adjust the height to 34. Anybody have the solution for this?
1626680510841.png
 
Last edited:
I've customized an army icon by myself and it worked as exceptect on the first try, so I can't imagine what should be the problem. ^^ You must edit the width not the height, there are many mods you can look for, e.g. AlphaMod 3.0.

PS: the original width is (now) 476 (14 * 34) so your width must be 476 + 34 = 510.
 
Last edited:
  • 1Like
Reactions:
I've customized an army icon by myself and it worked as exceptect on the first try, so I can't imagine what should be the problem. ^^ You must edit the width not the height, there are many mods you can look for, e.g. AlphaMod 3.0.

PS: the original width is (now) 476 (14 * 34) so your width must be 476 + 34 = 510.
I returned to Stellaris after a long quit due to covid problem in my country. Many thanks @Firegolem for spending your time to reply me. I love your crisis manager mod, good tool to roleplay the Imperium against the Ork waves.
 
  • 1Like
Reactions:
I returned to Stellaris after a long quit due to covid problem in my country. Many thanks @Firegolem for spending your time to reply me. I love your crisis manager mod, good tool to roleplay the Imperium against the Ork waves.
Oha* thx, you come to the right time back. This has now changed again, it is now somehow much easier, you can now declare single files (as usual without or with frames). ^^ Which mod you play?
 
Oha* thx, you come to the right time back. This has now changed again, it is now somehow much easier, you can now declare single files (as usual without or with frames). ^^ Which mod you play?
Crisis Manager mid game. Then, I set the horde army x10 and enjoy my litttle Armageddon. Sound childish, but it's fun. ^^.
'"This has now changed again, it is now somehow much easier, you can now declare single files (as usual without or with frames)" Hmm... Can I ask what does that meant? I played some mods and realized that all current mods about army icon got some problems, For example, in the Invasion 3.0, all the icon army in the game is the frame 1 (the shield icon). However, when I checked the files in "common/armies/" and "planetview\army_icon.dds", i saw that the mod author did nothing wrong, he listed carefully each suitable frame for every unit. Hmm strange.
 
The way icons work has changed in 3.1, if you look in the game files, you'll see that "icon_frame =" doesn't exist anymore and has been replaced with "icon =".
Same with ships.
 
  • 1Like
Reactions: