GlobalTypes

From Civilization Modding Wiki
Jump to: navigation, search

The GlobalTypes.xml file defines many of the XML names referenced in other files. Changes to many of these entries must be reflected by CvEnums.h in the SDK.

All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.

This page is missing information. Do not remove this notice until it is complete.


Tags

Lists (Multi-line)

All List tags consist of an opening/closing tag, which is shown here, and then each entry within it is another tag with the same name as the parent tag, minus the "s" (i.e. singular, rather than plural).

Tag Name Description
AnimationOperatorTypes Unknown
<AnimationOperatorTypes>
 <AnimationOperatorType>RAND_FPR</AnimationOperatorType>
 <AnimationOperatorType>SET_FPR</AnimationOperatorType>
 <AnimationOperatorType>SET_BR</AnimationOperatorType>
</AnimationOperatorTypes>
FinctionTypes Unknown
<FunctionTypes>
 <FunctionType>FUNC_NOINTERP</FunctionType>
 <FunctionType>FUNC_LINKEY</FunctionType>
 <FunctionType>FUNC_BEZKEY</FunctionType>
 <FunctionType>FUNC_TCBKEY</FunctionType>
 <FunctionType>FUNC_EULERKEY</FunctionType>
</FunctionTypes>
FlavorTypes The different flavors availalbe for AI personalities
<FlavorTypes>
 <FlavorType>FLAVOR_MILITARY</FlavorType>
 <FlavorType>FLAVOR_RELIGION</FlavorType>
 <FlavorType>FLAVOR_PRODUCTION</FlavorType>
</FlavorTypes>
ArtStyleTypes Art styles for cities
<ArtStyleTypes>
 <ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
 <ArtStyleType>ARTSTYLE_ASIAN</ArtStyleType>
 <ArtStyleType>ARTSTYLE_SOUTH_AMERICA</ArtStyleType>
</ArtStyleTypes>
CitySizeTypes Types of city sizes
<CitySizeTypes>
 <CitySizeType>CITYSIZE_SMALL</CitySizeType>
 <CitySizeType>CITYSIZE_MEDIUM</CitySizeType>
 <CitySizeType>CITYSIZE_LARGE</CitySizeType>
</CitySizeTypes>
ContactTypes Different reasons AI civs may contact other civs
<ContactTypes>
 <ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
 <ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
 <ContactType>CONTACT_JOIN_WAR</ContactType>
</ContactTypes>
DiplomacyPowerTypes Different power relations between civs available for diplomacy
<DiplomacyPowerTypes>
 <DiplomacyPowerType>DIPLOMACYPOWER_WEAKER</DiplomacyPowerType>
 <DiplomacyPowerType>DIPLOMACYPOWER_EQUAL</DiplomacyPowerType>
 <DiplomacyPowerType>DIPLOMACYPOWER_STRONGER</DiplomacyPowerType>
</DiplomacyPowerTypes>
AutomateTypes Different ways a human can automate things
<AutomateTypes>
 <AutomateType>AUTOMATE_BUILD</AutomateType>
 <AutomateType>AUTOMATE_NETWORK</AutomateType>
 <AutomateType>AUTOMATE_CITY</AutomateType>
 <AutomateType>AUTOMATE_EXPLORE</AutomateType>
 <AutomateType>AUTOMATE_RELIGION</AutomateType>
</AutomateTypes>
DirectionTypes The direction a unit can look into at the map; used e.g. in the unit spawning command and excessively used in Afterworld
<DirectionTypes>
 <DirectionType>DIRECTION_NORTH</DirectionType>
 <DirectionType>DIRECTION_NORTHEAST</DirectionType>
 <DirectionType>DIRECTION_EAST</DirectionType>
</DirectionTypes>
FootstepAudioTypes Different sound types for unit movement
<FootstepAudioTypes>
 <FootstepAudioType>FOOTSTEP_AUDIO_HUMAN</FootstepAudioType>
 <FootstepAudioType>FOOTSTEP_AUDIO_HUMAN_LOW</FootstepAudioType>
 <FootstepAudioType>FOOTSTEP_AUDIO_ANIMAL</FootstepAudioType>
</FootstepAudioTypes>
FootstepAudioTags Associtaes the FootstepAudioTypes with audio files
<FootstepAudioTags>
 <FootstepAudioTag>
  <FootstepAudioType>FOOTSTEP_AUDIO_HUMAN</FootstepAudioType>
  <FootstepAudioTagString>AS3D_UN_FOOT_UNIT</FootstepAudioTagString>
 </FootstepAudioTag>
 <FootstepAudioTag>
  <FootstepAudioType>FOOTSTEP_AUDIO_HUMAN_LOW</FootstepAudioType>
  <FootstepAudioTagString>AS3D_UN_FOOT_UNIT_LOW</FootstepAudioTagString>
 </FootstepAudioTag>
</FootstepAudioTags>
InterfaceVisibilityTypes Status, which the interface can have. E.g. the interface is hidden while you look at the different advisors
<InterfaceVisibilityTypes>
 <InterfaceVisibilityType>INTERFACE_SHOW</InterfaceVisibilityType>
 <InterfaceVisibilityType>INTERFACE_HIDE</InterfaceVisibilityType>
 <InterfaceVisibilityType>INTERFACE_HIDE_ALL</InterfaceVisibilityType>
</InterfaceVisibilityTypes>


GlobalDefinesGlobalDefinesAltGlobalTypesPythonCallbackDefines

Art:

Civ4ArtDefines_BonusCiv4ArtDefines_BuildingCiv4ArtDefines_CivilizationCiv4ArtDefines_FeatureCiv4ArtDefines_ImprovementCiv4ArtDefines_InterfaceCiv4ArtDefines_LeaderheadCiv4ArtDefines_MiscCiv4ArtDefines_MovieCiv4ArtDefines_TerrainCiv4ArtDefines_UnitCiv4MainMenusCiv4RiverModelInfosCiv4RouteModelInfos

Audio; Buildings:

Audio2DScriptsAudio3DScriptsAudioDefinesAudioSoundscapeScriptsCiv4BuildingClassInfosCiv4BuildingInfosCiv4CityLSystemCiv4PlotLSystemCiv4SpecialBuildingInfos

BasicInfos:

Civ4AttitudeInfosCiv4BasicInfosCiv4CalendarInfosCiv4CityTabInfosCiv4DenialInfosCiv4DomainInfosCiv4InvisibleInfosCiv4MemoryInfosCiv4MonthInfosCiv4NewConceptInfosCiv4SeasonInfosCiv4UnitAIInfosCiv4UnitCombatInfos

Civilizations; Events:

Civ4CivilizationInfosCiv4LeaderHeadInfosCiv4TraitInfosCiv4UnitArtStyleTypeInfosCiv4EventInfosCiv4EventTriggerInfos

GameInfo:

Civ4CivicInfosCiv4CivicOptionInfosCiv4ClimateInfoCiv4CommerceInfoCiv4CorporationInfoCiv4CultureLevelInfoCiv4CursorInfoCiv4DiplomacyInfosCiv4EmphasizeInfosCiv4EspionageMissionInfoCiv4EraInfosCiv4ForceControlInfosCiv4GameOptionInfosCiv4GameSpeedInfoCiv4GoodyInfoCiv4GraphicOptionInfosCiv4HandicapInfoCiv4HintsCiv4MPOptionInfosCiv4PlayerOptionInfosCiv4ProcessInfoCiv4ReligionInfoCiv4SeaLevelInfoCiv4SpecialistInfosCiv4TurnTimerInfoCiv4UpKeepInfoCiv4VictoryInfoCiv4VoteInfoCiv4VoteSourceInfosCiv4WorldInfo

Interface:

Civ4AdvisorInfosCiv4CameraInfosCiv4ColorValsCiv4InterfaceModeInfosCiv4PlayerColorInfosCiv4SlideShowInfosCiv4SlideShowRandomInfosCiv4SpaceShipInfosCiv4ThroneRoomeInfosCiv4ThroneRoomCameraInfosCiv4ThroneRoomStyleInfosCiv4WorldPickerInfos

Misc:

Civ4AttachableInfosCiv4CameraOverlayInfosCiv4DetailManagerCiv4EffectInfosCiv4QuestInfosCiv4RiverInfosCiv4RouteInfosCiv4TerrainPlainInfosCiv4TutorialInfosCiv4WaterPlaneInfos

Technologies:

Civ4TechInfos

Terrain:

Civ4BonusClassInfosCiv4BonusInfosCiv4FeatureInfosCiv4ImprovementInfosCiv4SymbolMeshPathsCiv4TerrainInfosCiv4TerrainSettingsCiv4YieldInfos

Units:

Civ4AnimationInfosCiv4AnimationPathInfosCiv4AutomateInfosCiv4BuildInfosCiv4CommandInfosCiv4ControlInfosCiv4EntityEventInfosCiv4FormationInfosCiv4MissionInfosCiv4PromotionInfosCiv4SpecialUnitInfosCiv4UnitClassInfosCiv4UnitInfos

Schemas:

Civ4GlobalDefinesSchemaCiv4GlobalTypesSchemaCiv4ArtDefinesSchemaAudioDefinesSchemaAudioScriptSchemaCiv4BasicInfoSchemaCiv4BuildingSchemaCiv4LSystemSchemaCiv4CivilizationSchemaCiv4EventSchemaCiv4GameInfoSchemaCiv4InterfaceSchemaCiv4MiscSchemaCiv4TutorialSchemaCiv4DetailManagerSchemaCiv4TechnologiesSchemaCiv4TerrainSchemaCiv4FormationSchemaCiv4UnitSchema

Italics: Beyond the Sword only