How can I add a new unit category?

Chamaedrys

Emperor
Joined
Mar 14, 2006
Messages
1,267
Location
Germany
Hi,

I tried to divade the Naval units in seral categories, but the game didn't accept this.:cry:
Did someone find out how to add new unit categories?
 
Chamaedrys said:
Hi,

I tried to divade the Naval units in seral categories, but the game didn't accept this.:cry:
Did someone find out how to add new unit categories?

They are in 'Assets\xml\basicinfos\CIV4BasicInfos.xml' int he UnitCombatInfos sections. Here is a copy of mine:

Code:
	<UnitCombatInfos>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_RECON</Type>
			<Description>TXT_KEY_UNITCOMBAT_RECON</Description>
			<Button>,Art/Interface/Buttons/Promotions/Recon_Units.dds,Art/Interface/Buttons/Promotions_Atlas.dds,1,7</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_ARCHER</Type>
			<Description>TXT_KEY_UNITCOMBAT_ARCHER</Description>
			<Button>,Art/Interface/Buttons/Promotions/Cover.dds,Art/Interface/Buttons/Promotions_Atlas.dds,2,5</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_MOUNTED</Type>
			<Description>TXT_KEY_UNITCOMBAT_MOUNTED</Description>
			<Button>,Art/Interface/Buttons/Promotions/Formation.dds,Art/Interface/Buttons/Promotions_Atlas.dds,1,2</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_MELEE</Type>
			<Description>TXT_KEY_UNITCOMBAT_MELEE</Description>
			<Button>,Art/Interface/Buttons/Promotions/Shock.dds,Art/Interface/Buttons/Promotions_Atlas.dds,4,5</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_SIEGE</Type>
			<Description>TXT_KEY_UNITCOMBAT_SIEGE</Description>
			<Button>,Art/Interface/Buttons/Promotions/Charge.dds,Art/Interface/Buttons/Promotions_Atlas.dds,1,5</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_ADEPT</Type>
			<Description>TXT_KEY_UNITCOMBAT_ADEPT</Description>
			<Button>Art/Interface/Buttons/Units/Adept.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_DEMON</Type>
			<Description>TXT_KEY_UNITCOMBAT_DEMON</Description>
			<Button>Art/Interface/Buttons/Units/UCDemon.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_ELF</Type>
			<Description>TXT_KEY_UNITCOMBAT_ELF</Description>
			<Button>Art/Interface/Buttons/Units/UCElf.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_DWARF</Type>
			<Description>TXT_KEY_UNITCOMBAT_DWARF</Description>
			<Button>Art/Interface/Buttons/Units/UCDwarf.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_DISCIPLE</Type>
			<Description>TXT_KEY_UNITCOMBAT_DISCIPLE</Description>
			<Button>Art/Interface/Buttons/Units/Crusader.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_ANIMAL</Type>
			<Description>TXT_KEY_UNITCOMBAT_ANIMAL</Description>
			<Button>Art/Interface/Buttons/Units/UCAnimal.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_FIRE</Type>
			<Description>TXT_KEY_UNITCOMBAT_FIRE</Description>
			<Button>Art/Interface/Buttons/Units/UCFire.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_ORC</Type>
			<Description>TXT_KEY_UNITCOMBAT_ORC</Description>
			<Button>Art/Interface/Buttons/Units/UCOrc.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_UNDEAD</Type>
			<Description>TXT_KEY_UNITCOMBAT_UNDEAD</Description>
			<Button>Art/Interface/Buttons/Units/UCUndead.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_WATER</Type>
			<Description>TXT_KEY_UNITCOMBAT_WATER</Description>
			<Button>Art/Interface/Buttons/Units/UCWater.dds</Button>
		</UnitCombatInfo>
		<UnitCombatInfo>
			<Type>UNITCOMBAT_NAVAL</Type>
			<Description>TXT_KEY_UNITCOMBAT_NAVAL</Description>
			<Button>,Art/Interface/Buttons/Promotions/Naval_Units.dds,Art/Interface/Buttons/Promotions_Atlas.dds,3,7</Button>
		</UnitCombatInfo>
	</UnitCombatInfos>
 
Back
Top Bottom