CIV5Units

From Civilization Modding Wiki
Jump to: navigation, search

CIV5Units.xml

  • The CIV5Units.xml file contains definitions for the units. The tables below indicate the structure of the entries in the CIV5Units file.
  • The reference field in the tables below indicates the table and column the entry is linked to.
  • This information is taken from the CIV5Units.xml file.

Units

Units Table
Name Type Default Reference Notes
ID integer Primary Key, Auto-Incremented
Type Text Unit(Types)
Description Text NULL
Civilopedia Text NULL
Help Text NULL
Requirements integer
Combat integer 0
RangedCombat integer 0
Cost integer 0
Moves integer 0
Immobile boolean FALSE
Range integer 0
BaseSightRange integer 2
Class Text NULL UnitClasses(Type)
Special Text NULL SpecialUnits(Type)
Capture Text NULL UnitClasses(Type)
CombatClasss Text NULL UnitCombatInfos(Type)
Domain Text NULL Domains(Type)
DefaultUnitAI Text NULL UnitAIInfos(Type)
Food boolean FALSE
NoBadGoodies boolean FALSE
RivalTerritory boolean FALSE
MilitarySupport boolean FALSE
MilitaryProduction boolean FALSE
Pillage boolean FALSE
Found boolean FALSE
CultureBombRadius integer 0
GoldenAgeTurns integer 0
IgnoreBuildingDefense boolean FALSE
PrereqResources boolean FALSE
Mechanized boolean FALSE
Suicide boolean FALSE
PrereqTech Text NULL Technologies(Type)
ObsoleteTech Text NULL Technologies(Type)
GoodyHutUpgradeUnitClass Text NuLL UnitClasses(Type)
HurryCostModifier integer 0
AdvancedStartCost integer 0
MinAreaSize integer -1
AirUnitCap integer 0
NukeDamageLevel integer -1
WorkRate integer 0
NumFreeTechs integer 0
RushBuilding boolean FALSE
BaseHurry integer 0
HurryMultiplier integer 0
BaseGold integer 0
NumGoldPerEra integer 0
SpreadReligion boolean FALSE
IsReligious boolean FALSE
CombatLimit integer 100
RangeAttackOnlyInDomain boolean FALSE
RangeAttackIgnoreLOS boolean FALSE
RangedCombatLimit integer 0
XPValueAttack integer 0
XPValueDefense integer 0
SpecialCargo Text NULL SpecialUnits(Type)
DomainCargo Text NULL Domains(Type)
Conscription integer 0
ExtraMaintenanceCost integer 0
NoMaintenance boolean 0
Unhappiness integer 0
UnitArtInfo Text NULL
UnitArtInfoCulturalVariation boolean FALSE
UnitArtInfoEraVariation boolean FALSE
ProjectPrereq Text NULL Projects(Type)
SpaceshipProject Text NULL Projects(Type)
LeaderPromotion Text NULL UnitPromotions(Type)
LeaderExperience integer 0
ShowInPedia boolean TRUE
MoveRate Text BIPED MovementRates(Type)
UnitFlagIconOffset integer 0
PortraitIndex integer -1
IconAtlas Text NULL IconTextureAtlases(Atlas)
UnitFlagAtlas Text UNIT_FLAG_ATLAS IconTextureAtlases(Atlas)

Unit_AITypes

  • CIV5UnitAIInfos contains the definitions of the UnitAIInfos used in this table
Unit_AITypes Table
Name Type Reference
UnitType Text Unit(Types)
UnitAIType Text UnitAIInfos(Type)

Unit_Buildings

  • CIV5Buildings contains the definitions of the Buildings used in this table
Unit_Buildings Table
Name Type Reference
UnitType Text Unit(Types)
BuildingType Text Buildings(Type)

Unit_BuildingClassRequireds

Unit_BuildingClassRequireds Table
Name Type Reference
UnitType Text Unit(Types)
BuildingClassType Text BuildingClasses(Type)

Unit_ProductionModifierBuildings

  • CIV5Buildings contains the definitions of the Buildings used in this table
Unit_ProductionModifierBuildings Table
Name Type Reference
UnitType Text Unit(Types)
BuildingType Text Buildings(Type)
ProductionModifier Integer

Unit_Builds

  • CIV5Builds contains the definitions of the Builds used in this table
Unit_Builds Table
Name Type Reference
UnitType Text Unit(Types)
BuildType Text Builds(Type)

Unit_ClassUpgrades

  • CIV5UnitClasses contains the definitions of the UnitClasses used in this table
Unit_ClassUpgrades Table
Name Type Reference
UnitType Text Unit(Types)
UnitClassType Text UnitClasses(Type)

Unit_FreePromotions

Unit_FreePromotions Table
Name Type Reference
UnitType Text Unit(Types)
PromotionType Text UnitPromotions(Type)

Unit_Flavors

  • CIV5Flavors contains the definitions of the Flavors used in this table
Unit_Flavors Table
Name Type Reference Notes
UnitType Text Unit(Types)
FlavorType Text Flavors(Type)
Flavor Integer Not Null

Unit_GreatPersons

  • CIV5Specialists contains the definitions of the Specialists used in this table
Unit_GreatPersons Table
Name Type Reference
UnitType Text Unit(Types)
GreatPersonType Text Specialists(Type)

Unit_ResourceQuantityRequirements

  • CIV5Resources contains the definitions of the Resources used in this table
Unit_ResourceQuantityRequirements Table
Name Type Reference Default
UnitType Text Unit(Types)
ResourceType Text Resources(Type)
Cost Integer 1

Unit_UniqueNames

Unit_UniqueNames Table
Name Type Reference Notes
UnitType Text Unit(Types)
UniqueName Text Language_en_US(Tag) Not Null

Unit_NotAITypes

  • This table might not be used according to the xml file.
  • CIV5UnitAIInfos contains the definitions of the UnitAIInfos used in this table
Unit_NotAITypes Table
Name Type Reference
UnitType Text Unit(Types)
UnitAIType Text UnitAIInfos(Type)

Unit_ProductionTraits

  • This table might not be used according to the xml file.
  • CIV5Traits contains the definitions of the Traits used in this table
Unit_ProductionTraits Table
Name Type Reference
UnitType Text Unit(Types)
TraitType Text Traits(Type)
Trait Integer

Unit_TechTypes

  • This table might not be used according to the xml file.
  • CIV5Technologies contains the definitions of the Technologies used in this table
Unit_TechTypes Table
Name Type Reference
UnitType Text Unit(Types)
TechType Text Technologies(Type)


GlobalDefines

AI:

CIV5AICityStrategiesCIV5AIEconomicStrategiesCIV5AIGrandStrategiesCIV5AIMilitaryStrategiesCIV5CitySpecializationsCIV5TacticalMovesGlobalAIDefinesGlobalDiplomacyAIDefines

BasicInfos:

CIV5AttitudesCIV5CalendarsCIV5CitySizesCIV5ConceptsCIV5ContactsCIV5DenialInfosCIV5DomainsCIV5InvisibleInfosCIV5MajorCivApproachTypesCIV5MemoryInfosCIV5MinorCivApproachTypesCIV5MinorCivTraitsCIV5MonthsCIV5SeasonsCIV5UnitAIInfosCIV5UnitCombatInfos

Buildings; Civilizations; Diplomacy:

CIV5BuildingClassesCIV5BuildingsCIV5CivilizationsCIV5MinorCivilizationsCIV5RegionsCIV5TraitsCIV5Diplomacy_Responses

GameInfo:

CIV5ArtStyleTypesCIV5ClimatesCIV5CultureLevelsCIV5CursorsCIV5EmphasizeInfosCIV5ErasCIV5FlavorsCIV5GameOptionsCIV5GameSpeedsCIV5GoodyHutsCIV5HandicapInfosCIV5HurryInfosCIV5IconFontMappingCIV5IconTextureAtlasesCIV5MultiplayerOptionsCIV5PlayerOptionsCIV5PoliciesCIV5PolicyBranchTypesCIV5ProcessesCIV5ProjectsCIV5SeaLevelsCIV5SmallAwardsCIV5SpecialistsCIV5TradesCIV5TurnTimersCIV5VictoriesCIV5VotesCIV5VoteSourcesCIV5Worlds

Interface; Leaders; Misc; NewText; Technologies; Terrain:

CIV5ColorsCIV5InterfaceModesCIV5PlayerColorsCIV5LeaderTablesCIV5RoutesNotificationsText FilesCIV5TechnologiesCIV5FeaturesCIV5ImprovementsCIV5ResourceClassesCIV5ResourcesCIV5TerrainsCIV5Yields

Units:

CIV5AnimationCategoriesCIV5AnimationPathsCIV5AutomatesCIV5BuildsCIV5CommandsCIV5ControlsCIV5EntityEventsCIV5MissionsCIV5MultiUnitFormationsCIV5SpecialUnitsCIV5UnitClassesCIV5UnitMovementRatesCIV5UnitPromotionsCIV5Units