Extra Units

ComradeKristov

Warlord
Joined
Dec 30, 2009
Messages
170
Location
Chicago,Il
Dose anyone know how to get rid of the extra useless art only units that are in game by default? I'm talking about the "Mali Cavalry" and "Minutemen" ect... I want to keep the unit art I just don't want them cluttering up my civlopedia and Unitinfos other XML anymore! Any help or instruction would be nice. Oh and I wouldn't mind if someone else did the work for me :p
 
It's not the art that makes them require a new entry - its the custom names. America can't have troops called minutemen without a new entry.
 
You're right, it bugs me too. I'm going to code up a clean way that having multiple identical UU's without sacrificing the name and appearance. It should seriously cut down on those identical UU's.
 
I've added a new tag to units to give them civilization specific names, easily:

Code:
			<CivilizationNames>
				<CivilizationName>
					<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
					<CivilizationUniqueName>American Warrior</CivilizationUniqueName>
				</CivilizationName>
			</CivilizationNames>

And the result:

Spoiler :
 
Top Bottom