Individual Era Unit Art Styles

Tholish

Emperor
Joined
Jul 5, 2002
Messages
1,344
Location
Japan
This makes it possible to have an era unit art style for each individual era, rather than merely in groups of Early, Middle, and Late. The default is still Early, but you have Classical, Middle, Renn, Industrial, Late, and Future. I have not supplied any art, just the DLL, sources, and a couple of changed schema and info XML files.

Instead of dividing the eras up into the second half, the last three fourths, and all others, the way this one works is to show the unit art for the latest era you have achieved for which there is a tag. So, since under the standard scheme Late art starts in Industrial I changed the tags for any units with Late art to specify that as Industrial.

As is it will play as a mod, but has been adjusted to be exactly like unmodded BtS 3.17unless you add art and tags.

http://forums.civfanatics.com/downloads.php?do=file&id=12640



Now I have finally updated it to 3.19. Sources are included in the download.

http://forums.civfanatics.com/downloads.php?do=file&id=14324
 
Or you can just take existing units and plug them in. For instance, in my FutureMod I use the WW1 infantry hidden in the original art files as the Modern era style for the Rifleman and Grenadier and the Rifleman as the modern era graphic for the Musketman and the WW2 Frigate from Road to War as the Modern era Frigate. The AI tends to keep obsolete units around forever, and they can at least look like somebody gave them a new uniform even if they couldn't afford a new gun, as it were.

Or just not. As with regular civ, all but the Early tag are optional.
 
Nice, I always liked this idea and now it comes as a standalone dll (ok, I might want to merge it with some other stuff, but at least now the code changes got extracted into one place).

Is this for 3.17 or 3.19 ?
 
Ah, here is the answer to my question.

You just gave me an extra intencive to rush on Cultural Citystyles, Tholish. :goodjob:
 
Is this possible with flag styles? For instance; can I have a different flag style for ancient and classical? Renaissance and Medieval? And if so does this mean I can have a different flag style for the future era?
 
Is this possible with flag styles? For instance; can I have a different flag style for ancient and classical? Renaissance and Medieval? And if so does this mean I can have a different flag style for the future era?

I assume you mean the sort of pole the flag is attached on? I'd say yes then, since those nifs also update 3 times in the vanilla game. So chances are you can use the Final Frontier 'flag' in the future era. ;)
 
I assume you mean the sort of pole the flag is attached on? I'd say yes then, since those nifs also update 3 times in the vanilla game. So chances are you can use the Final Frontier 'flag' in the future era. ;)

Well the flag styles themselves change as well, the ancient/classic looks like its almost on a crude animal-skin like flag, the medieval and renaissance has a triangular bottom portion, and the Industrial/Modern is a squared flag. But yes, what I am trying to do is integrate the Final Frontier flag (with the hologram look) into the future eras of my new mod. Do you know where to locate the code for the flags?
 
Do you know where to locate the code for the flags?

Assets/XML/Art/CIV4ArtDefines_Misc.xml
Do a search for _FLAG in that (BtS) file (from the second hit onwards), and you'll find the art entries. That gives you the location of the art files too (it's under units/flags).

I'm not sure if simply adding a space_flag entry in this file, and using this mod component will have the effect of showing this holographic flag only in the future era. It could very well be that you need to add an entry for every single era, and use the first 3 flagtypes 2 times (Ancient/Classical, Medieval/Renaissance, Industrial/Modern and at last Future).
I haven't found a file (yet) were the flags are linked to a specific artdefinetag (I mean the EarlyArtDefineTag, MiddleArtDefineTag and LateArtDefineTag), so my guess at this stage is that it's done automatically within the graphics engine. That could mean bad news.
 
Assets/XML/Art/CIV4ArtDefines_Misc.xml
Do a search for _FLAG in that (BtS) file (from the second hit onwards), and you'll find the art entries. That gives you the location of the art files too (it's under units/flags).

I'm not sure if simply adding a space_flag entry in this file, and using this mod component will have the effect of showing this holographic flag only in the future era. It could very well be that you need to add an entry for every single era, and use the first 3 flagtypes 2 times (Ancient/Classical, Medieval/Renaissance, Industrial/Modern and at last Future).
I haven't found a file (yet) were the flags are linked to a specific artdefinetag (I mean the EarlyArtDefineTag, MiddleArtDefineTag and LateArtDefineTag), so my guess at this stage is that it's done automatically within the graphics engine. That could mean bad news.

Well, either way that's more help than I've got in the past few months I've been searching for this information. So its a good start. I'm thinking its a possibility because I saw that they used that flag-style (although there was no hologram effect, which I might be able to edit depending on how its done) in what appears to be another mod. Here is the screenshot from the Hovertank's download page...

hovertank_XJ7.jpg

As you can see the flag from Final Frontier was used, albeit without the hologram effect. So between these two items I am relatively optimistic about this. Thanks.
 
Well, either way that's more help than I've got in the past few months I've been searching for this information. So its a good start. I'm thinking its a possibility because I saw that they used that flag-style (although there was no hologram effect, which I might be able to edit depending on how its done) in what appears to be another mod. Here is the screenshot from the Hovertank's download page...

That's from the Planetfall mod. ;)
Perhaps Maniac (the main modder of it) can answer your questions on the Final Frontier flag.
But we use only the Final Frontier flag in that mod, and basically only 2 era's for each faction for artstyle purposes.
 
That's from the Planetfall mod. ;)
Perhaps Maniac (the main modder of it) can answer your questions on the Final Frontier flag.
But we use only the Final Frontier flag in that mod, and basically only 2 era's for each faction for artstyle purposes.

Why couldn't you get the hologram to work?

Another question if you don't mind; so is it possible to, say, take this flag-style and use it for a specific era. For instance could I make this the "industrial" flag-style? And if so, doesn't that mean, at least in theory, that I could make this the future era's flag-style?
 
Why couldn't you get the hologram to work?

I have no idea. I didn't work on that, that's why I refer you to Maniac. Just go to the Planetfall thread in the mods under development forum and ask there.

Another question if you don't mind; so is it possible to, say, take this flag-style and use it for a specific era. For instance could I make this the "industrial" flag-style? And if so, doesn't that mean, at least in theory, that I could make this the future era's flag-style?

As the game is now (without Tholish' mod), you can for sure replace one of the 3 flagstyles by this future_flag by simply renaming it in your mod to the flag of the era you want to replace. But if you used it to replace say the flag which starts from the industrial era onwards, all era's after this will use the future flag.
You can circumvent this a little by adding fake era's in the civ4erastyle (or something like that) file, so that for instance instead of the the 'modern' flag starting to be used in the industrial era, it only appears in the modern era. But of course that means you'll see a medieval flag in the industrial era. ;)

Bottom point is, without Tholish' mod component it's close to impossible to have only one era show one kind of flag. With Tholish' mod, I can't know for sure. I upgraded BtS to 3.19 so can't toy with this mod component here.
 
Back
Top Bottom