I'll add a few other notes:
In each texture sub-directory (eg Textures/Men/MSHelm - we'll stick with your example, as it's a useful one) you will also see two files called weapons.txt and shields.txt which define the position of the weapons and shields in the Texture.BIF file as x-y coordinates. The shields are defined as top-left, bottom-right co-ordinates; the weapons also have two extra numbers relating to the scaling.
If you want to add a new shield design to a BIF you can so long as you make sure of a few things:
1) there must be room for it
2) it must go in all 12 frames in exactly the same place
3) its co-ordinates must be added to the shields.txt file as a new line. If you have one shield defined so far, this will make it shield 2 (unusually for MTW the numbering of shields and weapons does actually start at 1 instead of 0 this time)
4) for a unit to use this new shield you need a file: Textures/Men/MSHelm/newunit_s.txt whose sole content is the number 2
5) you also need a new subfolder: Textures/Men/Items/Shield2/Newunit - which defines the positioning of the shield for various actions - easiest to copy the files from another unit with the same animation and same size shield
If, in error, you put your new files in say the Shield1 folder, all that will happen is your units will not display shields in battle. If anything CTDs, it won't be this....
The big difference between weapons and shields as far as the engine is concerned is how they look. Weapons are defined as one-dimensional, and are defined as a line between two points on the animation (technically known as the "blunt end" and the "pointy end")
Shields however are two-dimensional and are defined by four corners. This way you get perspective effects from different angles. This is why CROSSBOWS ARE SHIELDS, not weapons - purely so they can be drawn with perspective, and why pavise crossbows appear to have two shields.
I really suggest a good read of the "Unit animations" thread for the full story on this, but that should be enough for you to try out some new shields. And, yes, always make back ups![]()
Bookmarks