Help, need help finding a file

Kushan

Warlord
Joined
Nov 7, 2005
Messages
204
Location
Spanaway, WA
Does anyone know what file controls unit combat types?

Example:
Code:
<UnitCombatMod>

<UnitCombatType>[B]UNITCOMBAT_GUN[/B]</UnitCombatType>
<iUnitCombatMod>50</iUnitCombatMod>

</UnitCombatMod>

In this case, it would be UNITCOMBAT_GUN. I've tried searching myself but cant seem to find the file that defines these. Anyone have any ideas?

Thanks,

Kushan

EDT: Also what file contains what factions have access to a specific unit, Unique Units?
 
The unique units for each civ are listed in the Civ4CivilizationInfos.xml file. For example, for the Americans, there is the following block:

<Units>
<Unit>
<UnitClassType>UNITCLASS_MARINE</UnitClassType>
<UnitType>UNIT_AMERICAN_NAVY_SEAL</UnitType>
</Unit>
</Units>

The unique unit itself is defined in Civ4UnitInfos.xml.

I found some UnitCombatInfos in Civ4BasicInfos.xml that look like this:

<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>

Not sure if that's what you're looking for.

Civ4UnitInfos.xml has a block like...

<UnitCombatMods>
<UnitCombatMod>
<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
<iUnitCombatMod>100</iUnitCombatMod>
</UnitCombatMod>
</UnitCombatMods>

.. for each unit.
 
Back
Top Bottom