Login

russian armor

Bad UI when making icons

12 Jul 2016, 10:14 AM
#1
avatar of Cyanara

Posts: 769 | Subs: 1

Boy, I seem to be spamming this forum lately, but anyway...

I've read and re-read the modding wiki regarding creating icons and previews, and I swear I'm following it perfectly, but I keep getting this when I load the game to check out my work:



When I double-click on my data/ui link in the mod builder, it correctly takes me to the icons folder:



Both my icons and previews were made in the respective PSDs so that they are the correct resolution, and all PNG format.

And here is what my attribute editor looks like:



The wiki is a bit vague on this part, saying only "Set the icon for each of your skins.
Set the preview image for each of your skins under icon_secondary".

I can't find a 'browse' option to direct it to the correct images, so I just copied and pasted the filenames. It does not allow extensions though. Am I doing that correctly? Am I supposed to manually create a folder hierarchy in the icons folder?

Also, as a side note: Given that you have to use OKW resources to implement several tanks that both factions use, does anyone know how to restrict the skin to a specific faction? It's not critical, but it would look a bit more professional.

Please help! Cheers
12 Jul 2016, 13:43 PM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Bad UI means it could not find the icon. The reason it can't is because you missed a very important step. You need to prefix the icon names with:

ModIcons_<yourModIdHere>_

http://modding.companyofheroes.com/icons
13 Jul 2016, 00:18 AM
#3
avatar of Cyanara

Posts: 769 | Subs: 1

jump backJump back to quoted post12 Jul 2016, 13:43 PMeliw00d
Bad UI means it could not find the icon. The reason it can't is because you missed a very important step. You need to prefix the icon names with:

ModIcons_<yourModIdHere>_

http://modding.companyofheroes.com/icons


Yeah, cheers. Somebody on the official forums corrected me shortly before I went to bed, so I forgot to mention it here. That information was totally missing from the skin pack wizard wiki, unfortunately, so I added it in for any future beginners :)
1 user is browsing this thread: 1 guest

Livestreams

Sweden 72
Netherlands 16
Germany 747
Russian Federation 177
unknown 4

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

691 users are online: 691 guests
3 posts in the last 24h
3 posts in the last week
23 posts in the last month
Registered members: 48731
Welcome our newest member, may88forex
Most online: 2043 users on 29 Oct 2023, 01:04 AM