Log in

View Full Version : Creating own flags



Lancer6969
06-09-2003, 16:22
Hi there everyone I was wondering how you add new flags to units and to castles, can someone please help?? Thanks http://www.totalwar.org/forum/non-cgi/emoticons/wave.gif

Ithaskar Fëarindel
06-09-2003, 22:47
I'm just starting to look at this myself. So far I haven't changed anything, but it seems there's lots need doing.
First, I've found several places where faction shields appear:
(This would be for European Campaign not the VI)

1. campmap\shields\
2. campmap\shields\colours\
3. campmap\pieces\units\(religion)\shields\
4. textures\campmap\prebatshields\
5. textures\campmap\castleflags\
6. battle\flags\
7. battle\facshields\(res)\(unit)\

Hmmm well, here's what I think/know:

1. The flags that appear in custom game selection. These are defined in SetShieldImage as "factionname_lge" and "factionname_sml"
There is also a "factionname_lge_grey" shield here but I'm not sure where the game defines these unless it just uses the factionname.

2. The colours you can select for each faction in the cutsom game setup. Just like "factionname_lge_grey" the game probably uses the same method to identify these colours for each faction...

3. Array, F1000 to 1020. The shields held by each piece on the campaign map. Defined in SetShieldImage (this is the FIRST of the two definitions of "F1000" defined in this line.)

4. Not sure where these actually appear But they're needed if you want to fight with the faction, so when you add a faction in FN_21 you must have a SHL21.bif here.

5. Castleflags. Simple as that. Need them if you want a castle fight with a faction. Defined in SetShieldImage as "factionname"

6. General's banners. There are 3 flags for each faction, eg. FN_FRENCH.tga, Flag1006.tga and Flag1006.lbm
I'm pretty certain these are the SECOND "F1006" definitions in the SetShieldImage.

7. Unit Shields - those units that wear their Factions shield in battle. Not sure how this is defined, since the Papal States and Golden Khanate both have spaces in their file names - which rules them out of being defined in the SetShieldImage lines in startpos. Unless it is just the FN_GOLDEN_HORDE with space. Most likely http://www.totalwar.org/forum/non-cgi/emoticons/smile.gif

Thinking about this, I read somewhere that someone was unable to add Royal Knights of any era to their game because it caused a crash. This might be the answer.

That's what I have so far without even changing anything. Probably makes zero sense doesn't it? Sorry

Ithaskar Fëarindel
06-10-2003, 00:54
Actually if you check the thread by ick of pick about changing flags Portuguese rebel gives another answer to this. Plus there is one things I missed - editing the buildings...