View Full Version : Question: How to get new flags work...
Agent 009 May 09, 2006, 05:28 PM As the title says, How do you get new flags to work correctly?
In my mod I have added Firaxis Games as a new civilization and so I needed to make a flag for them as well.
Suffice it to say at first the flag was black with a white star, (similar to USA) and then after trying to fix it I got a white flag.
Does anyone know how to make new flags work correctly?
woodelf May 10, 2006, 05:35 AM I've always avoided flags in mods I've helped with, but there is a TUT I think. Most people have luck messing with Alpha Channels, which I know nothing about.
dalek master May 10, 2006, 07:29 AM This problem haunts me too, and as Ive said I'll do the Eragon Mods's civilization art...I a bit stuck... so :bump:
Agent 009 May 11, 2006, 02:10 AM The flag I was trying to make would look like the Firaxis Games Logo and have a dark blue background.
I'll try messing around with it a bit more... I still need to patch my mod with a few minor fixes anyways, so hopefully I can get the fixed as well. ;)
jlocke May 11, 2006, 02:29 PM i had a geforce and nothing could get it to work.
Now i got a new computer the video card is like the generic microsoft or something, and now the game is slow but at least the flags work
Agent 009 May 11, 2006, 03:04 PM i had a geforce and nothing could get it to work.
Now i got a new computer the video card is like the generic microsoft or something, and now the game is slow but at least the flags work
Oh the flags that came with the game work fine, as do ones that others have made, however, I cannot seem to get the one I made to show up properly. :confused:
Amra May 11, 2006, 04:16 PM What paint program do you use? I use Paint Shop Pro 7 and am able to make multicolored flags pretty easily (took me a while to figure out the trick, though) If you want them, here are the Flag template & Paint Shop Pro DDS plugin that I use when I make a civ.
Download (http://www.civfanatics.net/uploads11/Amra_Flag_Help.zip)
If you have PSP, then place the dds.8bi file in your "PSP\Plugins" folder. You should then be able to open & edit DDS files in Paint Shop Pro.
As far as the Template file (in DDS format) that I have included, I use it by doing the following:
1) Create your new flag image as per the instructions in this tutorial (http://forums.civfanatics.com/showthread.php?t=144425) except for the alpha channel part.
2) Open the Flag_template I have uploaded
3) Copy your flag image & then paste on top of the template
4) Do NOT mess with the alpha channel as it is already set to black
5) Save the template as another name. Example: FlagDECAL_Tibet.dds
When done, add your flag info in the CIV4ArtDefines_Civilization.xml file like so:
<CivilizationArtInfo>
<Type>ART_DEF_CIVILIZATION_TIBET</Type>
<Button>,Art/Interface/Buttons/Civilizations/Tibet.dds</Button>
<Path>Art/Interface/TeamColor/FlagDECAL_Tibet.dds</Path>
<bWhiteFlag>1</bWhiteFlag>
</CivilizationArtInfo>
Be sure to set the <bWhiteFlag> to "1" not "0" and then check it out in game.
Here is an example from my Tibet civ
http://www.civfanatics.net/uploads11/Amra_Tibet.jpg
Agent 009 May 12, 2006, 12:03 AM AHA! This is the answer I have been looking for!! :D Thanks Amra.
I thought that the Whiteflag XML entry had something to do with it.
I'll test this out right after I get some food.
I am also using PSP7. ;)
==200th Post==
Agent 009 May 12, 2006, 12:53 AM Ok... I couldn't resist at least attempting to make this flag work before eating. :p
Here's the results.
http://img111.imageshack.us/img111/7633/civ4screenshot00940xd.jpg (http://imageshack.us)
It worked like a charm. Thanks a bunch for your help Amra. :D
Amra May 12, 2006, 05:37 AM Glad to be of service. Oh, and cool flag :goodjob:
woodelf May 12, 2006, 11:55 AM Is there a "suck-up" smilie? ;)
Nice flag Agent.
Agent 009 May 12, 2006, 05:21 PM Lol, thanks woodelf. Check out this post here for some more flags. Perhaps you can use them for something yourself. Not to mention anyone else for that matter. ;)
http://forums.civfanatics.com/showthread.php?t=170429&page=3
It's post 43, only the 3rd post on that page. The zip file is located on page 1 in the first post. (Patch v1.02) ;)
|
|