White Flags

Paasky

Good News Everyone!
Joined
Nov 19, 2003
Messages
2,062
Location
Vantaa, Finland
This is strange... I keep getting white banners (lookk at the white flags.jpg attached)

I've got the alpha channel as black, whiteflag=1, but still they're white. For some reason, even BadRonalds flagpackdoes the same thing (I tested to see if those work, but the same white flag...) even though flagwhite=1.

Perhaps its because my graphic (and every other setting) is as low as possible?

I've added the .dds files, the artdefine_civilizations & civilizationinfos used into the .zip, also attached.

If you want to test these with the edits that I have done, download the WWII EU current ( http://koti.mbnet.fi/pjvuorio/wwii_eu4current.rar ) & load it, either the scenario or a custom game.

What on earth is wrong???
 

Attachments

  • why.zip
    why.zip
    25.7 KB · Views: 58
  • white_flags.jpg
    white_flags.jpg
    89.2 KB · Views: 96
Ok, I messed around with the mod alittle and I think I see what the problem is. You have all the flags in a folder called "banners", when they should all be in the Art/Interface/TeamColor folder.

I moved them there and edited the CIV4ArtDefines_Civilization.xml file to the new location, and it seemed to make the flags show up. Though I only tested four of them out.

Try that out and see if it solves the problem for you.
 
Dual said:
Ok, I messed around with the mod alittle and I think I see what the problem is. You have all the flags in a folder called "banners", when they should all be in the Art/Interface/TeamColor folder.

I moved them there and edited the CIV4ArtDefines_Civilization.xml file to the new location, and it seemed to make the flags show up. Though I only tested four of them out.

Try that out and see if it solves the problem for you.

All I can say is :rolleyes:

Thanks!
 
Didn't work, they're still white even thought the path is Art/Interface/TeamColor/gbr.dds...

Haarbal, what part should be what colour? If the alpha is white, the flags are too dark, if it's black, they're white. If it's the middle gray, they get coloured by the civ-colour...

This can't be too hard?
 
I might have come up with a solution. I loaded them up with our "good pc" with very high graphics, and they were visible perfectly. So I'm blaming Ultra-Low settings on this one :D

And the flag-packs all have a fully-black alpha channel, checked that.
 
Paasky said:
Didn't work, they're still white even thought the path is Art/Interface/TeamColor/gbr.dds...

Haarbal, what part should be what colour? If the alpha is white, the flags are too dark, if it's black, they're white. If it's the middle gray, they get coloured by the civ-colour...

This can't be too hard?

Hmm, it's working fine for me after changing what I said:

flags.jpg

Are you sure you created the new folder and edited the xml correctly? You might need to uncache the old xml too. Otherwise I don't know why it would work for me but not for you.

EDIT: Looks like I posted a couple mins too late. :lol: I'm glad you figured out what was going on.
 
The problem with me was that on some 3d-cards, the flags go white if the alpha channel is black. And they go PlayerSecondaryColor if the alpha channel is white. So to fix this, you need to make the alpha's white & secondarycolors white (xml file is in civ4\Assets\XML\interface\CIV4PlayerColorInfos.xml)
 
Back
Top Bottom