View Full Version : Shields and faction colours
ok, ive been having a small problem, im making a new shield set, but when i use that faction (say england) and another colour (say russia) then the shields dont appear. can someon help me?
Duke John
06-04-2003, 21:00
What is the unit you're replacing the shield for? There are some units, for example chilvaric knights/sergeants, that use shields based on their faction. The shields on the bif are replaced by ones in the Battles\Facshield directory.
My theory
You might think that since you picked England it will use the English shields. But if you change the faction colour, ie Russian, then the Russian shields are chosen to have the same colour as the unit colour.
thats wht happening, but how do i fix it?
Duke John
06-05-2003, 04:46
It seems to be hardcoded. Normally in shieldfile it is written what the coordinates of the shield in the bif are. This is also the case, but if you open the bif you'll see strange colours on the shield. It isn't used at all; the shields in FactionShields folder are used instead. There's also a d.txt file with a list of units using FactionShields but it doesn't seem to matter if you delete an entry.
What I'm trying say is:
Normally MTW uses the shield provided on the bif. With some units it uses FactionShields instead. As I cannot find a txt-file in which it can be changed I can only assume it's hardcoded (which seems a bit strange though).
Solution?
I don't know why you would like to change colour, but if you always pick the same colour (for example Russian) you might want to change all the Russian shields to one of your flavor.
Lord Krazy
06-05-2003, 05:48
Each faction has a rgb in the startpos like so.
// Faction colours in red : green : blue order..
SetFactionCol:: FN_ALMOHAD 255 138 0 32 32 32
I'm still not sure why you can't see them though.
The wrong colour maybe but not see them. http://www.totalwar.org/forum/non-cgi/emoticons/confused.gif
Which shields exactly are you talking about these ones?
SetShieldImage:: FN_ALMOHAD "Almohad_lge" "Almohad_sml" "Almohad" "F1001" "F1001"
LK http://www.totalwar.org/forum/non-cgi/emoticons/smokin.gif
hmm... you say for example "Alamohad_lge"
where are these located, as i tihnk i may have overlooked them
Duke John
06-05-2003, 09:16
No he meant something else. Some units of which Chilvaric Sergeants is an example uses Faction Shields. In contrary to the neutral shields provided on the bifs, faction shields change when you pick an other colour. While the flag icon remains the same, all the colours (the rgb's you're talking about) and faction shields change.
This presents the problem:
Alrowan made his (Raven?)shield for the English and altered all the English factionshields. However when he picks a different colour, ie Russian, in MP or custom battles then not the English shields are taken but the Russion ones.
I think it's hardcoded since I couldn't find any moddable reference to using the factionshields.
close duke john, but not close enough, only an outline will show, perhaps i missed a file or two somewhere, that is all
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.