Flag Shapes

Joined
Jul 28, 2006
Messages
4,016
Is there a way to change the era-based flag shapes in BtS? Specifically, I'd like to change the era art so that every era will use the modern flag design (the long rectangular version, not the Medieval triangle or ancient one).

I looked through the SDK and Python, but could not locate the code where this was defined. Is it in XML? If so, where?
 
I believe the flags are in the default units art directory (the nif/kfm files)... you could probably just rename the modern flags to medieval and ancient and overwrite the same files in the mod and be good to go... just guessing, but I think that would work.
 
But that only controls the flag dds files, not the shape, right?

Wolfs right, the shape is determined by the nif and dds files in the directory as well.
 
XML doesn't control shape, NIF does... rename the modern flag to match the medieval and ancient NIF/DDS files and it should work (in-theory). If you do that, you don't have to hunt down wherever the command is to use those.
 
I was referring to the DDS files in the teamcolor directory, which is the only file type there. I know that NIFs control shape, I've used them before in modeling! :lol:

I finally found the flag shapes... under assets\art\units\flags. :rolleyes:

I guess it kind of makes sense to put them there, but why they didn't combine all the flag info in one directory, I'll never know...

Anyway, you can change them in XML, as GeneralMatt has just informed me. It's the ArtDefines_Misc one.
 
I finally found the flag shapes... under assets\art\units\flags.
I guess you didn't read my first post in this thread... I told you they were there! :rolleyes:
 
I guess you didn't read my first post in this thread... I told you they were there! :rolleyes:

Don't you know I never read your posts, Wolf? :lol: :joke:

I misunderstood you; I thought you meant the "teamcolor" directory where the actual flag graphics are stored. It was a series of miscommunications and misunderstandings partly brought on by the fact that there are two flag folders: one for the art, one for the nifs. It's moot anyway; I just switched the XML.

XML doesn't control shape
I guess you didn't read my last post! ;)
 
I was referring to the DDS files in the teamcolor directory, which is the only file type there. I know that NIFs control shape, I've used them before in modeling! :lol:

I finally found the flag shapes... under assets\art\units\flags. :rolleyes:

I guess it kind of makes sense to put them there, but why they didn't combine all the flag info in one directory, I'll never know...

Anyway, you can change them in XML, as GeneralMatt has just informed me. It's the ArtDefines_Misc one.

Did that work? I tried to change the flags to different pointers once and no matter what values I put in that field the same flags were used (making me think the graphic engine isnt really using those values, but I may have just messed something up).
 
Did that work? I tried to change the flags to different pointers once and no matter what values I put in that field the same flags were used (making me think the graphic engine isnt really using those values, but I may have just messed something up).

Yep, it seemed to work without a hitch... I just changed the kfm and nif settings to point to the modern flag design.

I guess it should've dawned on me to check all the art XMLs first, but I figured since a lot of the early/middle/late changes were hardcoded in C++... :lol: But thanks, all.
 
Back
Top Bottom