<race>
<units>
<unit id="spearmen" name="High Elf Spearmen">
<stats><!-- Override stats go here still -->
<stat name="m">5</stat>
...
</stats>
...
<unitMemberTypes><!-- optional -->
<unitMember typeID="type1" />
</unitMemberTypes>
</unit>
<unit id="archers" name="High Elf Archers">
<!--no overrides for this unit, we're just going to reference the member type -->
...
<unitMemberTypes>
<unitMember typeID="type1" />
</unitMemberTypes>
</unit>
...
</units>
...
<memberTypes>
<memberType id="type1">
<stats>...</stats>
</memberType>
</memberTypes>
</race>
Frostlee wrote:actually if you think to transports as equipment-with-stats this should avoid duplication, anyway we could make category attribute something like "at least one".
Some names, pictures, avatars etc on this site are trademarks of Games Workshop Limited. Used without permission. No challenge to their status is intended. All pictures and artwork taken from Games Workshop's products and used on this site can be thought of as © Copyright Games Workshop Limited 2005. Please check out our fuller list of Trade Marks.
This forum is completely unofficial and in no way endorsed by Games Workshop Limited.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group