Unit_Main. New Icons not showing

I'm having a small problem with my mod, and I'm really at a loss as to what it is. The mod has an extra capital for each race, and is finished aside from this little problem. I have added the new Icons for them in the Unit_Main TGA file, made sure their silhouettes are all white on the alpha channel and written in their locations to the Window file. For some reason the icons don't show when zoomed away from the ships in game. Everything else is there - the white circle with the faction Icon when they are selected but nothing when they are not.

I have put them in the Unit_Infocard and they show up no problems. Same with everything else.

Has anybody else ever experienced this problem before.

4,434 views 4 replies
Reply #1 Top

I think I have found out why. Diplomacy does not have MainViewIcon-Ship file. ?????????

So how does the game know where the envoy frigate's MainViewIcon is????

If I use the one out of Entrenchment will I have to add the envoys brushes to it as well as brushes for the ships I have created? Edit; answer = no. But, so how does the game know where the envoy frigate's is?

Reply #2 Top

superzero, in MY copy of diplomacy 1.011, there IS a Unit_Main.tga that DOES contain the icons for ships, starbases etc.

it might be worth looking at it

harpo

 

Reply #3 Top

Yeah! thanks harpo.  I have the Unit_main.tga, thanks to your exellent tool, I have worked out the problem now. The problem was that Diplomacy has no MainViewIcon-Ship file in it's Window folder, not even in the install folder - ProgramFiles>StardockGames>SoaSE. So there was no brushes refering to the Icons that I had put into the Unit_Main.tga.

So I just copied the the MainViewIcon-Ship file out of Entrenchment, pasted it into the Window folder of my mod, added the location of the Icon's that I had put in the Unit_Main.tga and it works fine.

It is puzzling, how the game knows to put the Icons for the envoy's in, with no MainViewIcon-Ship file in Diplomacy. I guess it must be hardcoded in.

Reply #4 Top

actually I just followed the trail of entity to brush to image file, and the actual unit_main was refered to in the brush which was the clue I used.

harpo