Civ4ArtDefines Improvement: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
Draco (talk | contribs)
1st entry of data, copied from "civ4.wikidot.com".
 
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| align="left"
The '''Civ4ArtDefines_Improvement''' file declares art files and properties for all of the terrain improvements.
|[[Civ4ArtDefines_Feature|Previous article]]
 
|}
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.
{|align="right"
 
|[[Civ4 XML Reference|Back to XML Reference]]
<font color=red>This page is missing information.
|}<br><br>
Do not remove this notice until it is complete.</font>
=Summary=
 
Defines art files and art properties for the Terrain Improvements.
 
==Tags==
===Headers===


These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.


=Single Line Tags=
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
===Text Tags===
{| border="1" cellpadding="2" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|Type || Label that is used throughout all other XML files
! ImprovementArtInfo
| This is the main bracket that encases each entry.
|-
|-
|NIF || Location of .nif file
! Type
|-
| Label that is used throughout all other XML files
|KFM || Location of .kfm file
|-
|Button || World Builder Icon.<br>
,path to icon,path to corrosponing Atlas,#,#<br>
numbers are x,y location in the atlas.<br>
|}
|}




===Boolean===
===Boolean===
{| border="1" cellpadding="2" cellspacing="0"
 
All of these can either be 1 (on, or true) or 0 (off, or false).  Be careful, as you can wind up with a double-negative, which the game will interpret as "True".
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|bExtraAnimations || unknown
!bExtraAnimations  
|<font color=red>unknown</font>
|}
|}




===Floating Point Tags===
===Art===
{| border="1" cellpadding="2" cellspacing="0"
 
These tags are directly related to the rendering of art for the entry.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|fScale || Scale on Map
!fScale  
|Scale on Map
|-
|-
|fInterfaceScale || multiply by fScale to get scale in Civilopedia\
!fInterfaceScale
| multiply by fScale to get scale in Civilopedia
|-
!NIF
| Location of .nif file
|-
!KFM
| Location of .kfm file
|-
!Button
| World Builder Icon.<br>
,path to icon,path to corresponding Atlas,#,#<br>
numbers are x,y location in the atlas.<br>
|}
|}




=Example=
==Example==
 
In the following example of code, please note that there is a specific order of all of the tags.  You ''must'' list the tags in this order for the game to properly interpret your file.
 
  <ImprovementArtInfo>
  <ImprovementArtInfo>
     <Type>ART_DEF_IMPROVEMENT_FARM</Type>
     <Type>ART_DEF_IMPROVEMENT_FARM</Type>
Line 60: Line 80:
     <Button>,Art/Interface/Buttons/Builds/BuildFarm.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,3,7</Button>
     <Button>,Art/Interface/Buttons/Builds/BuildFarm.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,3,7</Button>
  </ImprovementArtInfo>
  </ImprovementArtInfo>
{| align="left"
 
|[[Civ4ArtDefines_Interface|Next article]]
{{Civ4_XML_Files}}
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Latest revision as of 03:22, 3 October 2011

The Civ4ArtDefines_Improvement file declares art files and properties for all of the terrain improvements.

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

Headers

These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.

Tag Name Description
ImprovementArtInfo This is the main bracket that encases each entry.
Type Label that is used throughout all other XML files


Boolean

All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a double-negative, which the game will interpret as "True".

Tag Name Description
bExtraAnimations unknown


Art

These tags are directly related to the rendering of art for the entry.

Tag Name Description
fScale Scale on Map
fInterfaceScale multiply by fScale to get scale in Civilopedia
NIF Location of .nif file
KFM Location of .kfm file
Button World Builder Icon.

,path to icon,path to corresponding Atlas,#,#
numbers are x,y location in the atlas.


Example

In the following example of code, please note that there is a specific order of all of the tags. You must list the tags in this order for the game to properly interpret your file.

<ImprovementArtInfo>
   <Type>ART_DEF_IMPROVEMENT_FARM</Type>
   <bExtraAnimations>1</bExtraAnimations>
   <fScale>1.0</fScale>
   <fInterfaceScale>1.0</fInterfaceScale>
   <NIF>Art/Structures/Improvements/Farm/an_eu_farm01.nif</NIF>
   <KFM>Art/Structures/Improvements/Farm/an_eu_farm01.kfm</KFM>
   <Button>,Art/Interface/Buttons/Builds/BuildFarm.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,3,7</Button>
</ImprovementArtInfo>


GlobalDefines • GlobalDefinesAlt • GlobalTypes • PythonCallbackDefines

Art:

Civ4ArtDefines_Bonus • Civ4ArtDefines_Building • Civ4ArtDefines_Civilization • Civ4ArtDefines_Feature • Civ4ArtDefines_Improvement • Civ4ArtDefines_Interface • Civ4ArtDefines_Leaderhead • Civ4ArtDefines_Misc • Civ4ArtDefines_Movie • Civ4ArtDefines_Terrain • Civ4ArtDefines_Unit • Civ4MainMenus • Civ4RiverModelInfos • Civ4RouteModelInfos

Audio; Buildings:

Audio2DScripts • Audio3DScripts • AudioDefines • AudioSoundscapeScripts • Civ4BuildingClassInfos • Civ4BuildingInfos • Civ4CityLSystem • Civ4PlotLSystem • Civ4SpecialBuildingInfos

BasicInfos:

Civ4AttitudeInfos • Civ4BasicInfos • Civ4CalendarInfos • Civ4CityTabInfos • Civ4DenialInfos • Civ4DomainInfos • Civ4InvisibleInfos • Civ4MemoryInfos • Civ4MonthInfos • Civ4NewConceptInfos • Civ4SeasonInfos • Civ4UnitAIInfos • Civ4UnitCombatInfos

Civilizations; Events:

Civ4CivilizationInfos • Civ4LeaderHeadInfos • Civ4TraitInfos • Civ4UnitArtStyleTypeInfos • Civ4EventInfos • Civ4EventTriggerInfos

GameInfo:

Civ4CivicInfos • Civ4CivicOptionInfos • Civ4ClimateInfo • Civ4CommerceInfo • Civ4CorporationInfo • Civ4CultureLevelInfo • Civ4CursorInfo • Civ4DiplomacyInfos • Civ4EmphasizeInfos • Civ4EspionageMissionInfo • Civ4EraInfos • Civ4ForceControlInfos • Civ4GameOptionInfos • Civ4GameSpeedInfo • Civ4GoodyInfo • Civ4GraphicOptionInfos • Civ4HandicapInfo • Civ4Hints • Civ4MPOptionInfos • Civ4PlayerOptionInfos • Civ4ProcessInfo • Civ4ReligionInfo • Civ4SeaLevelInfo • Civ4SpecialistInfos • Civ4TurnTimerInfo • Civ4UpKeepInfo • Civ4VictoryInfo • Civ4VoteInfo • Civ4VoteSourceInfos • Civ4WorldInfo

Interface:

Civ4AdvisorInfos • Civ4CameraInfos • Civ4ColorVals • Civ4InterfaceModeInfos • Civ4PlayerColorInfos • Civ4SlideShowInfos • Civ4SlideShowRandomInfos • Civ4SpaceShipInfos • Civ4ThroneRoomeInfos • Civ4ThroneRoomCameraInfos • Civ4ThroneRoomStyleInfos • Civ4WorldPickerInfos

Misc:

Civ4AttachableInfos • Civ4CameraOverlayInfos • Civ4DetailManager • Civ4EffectInfos • Civ4QuestInfos • Civ4RiverInfos • Civ4RouteInfos • Civ4TerrainPlainInfos • Civ4TutorialInfos • Civ4WaterPlaneInfos

Technologies:

Civ4TechInfos

Terrain:

Civ4BonusClassInfos • Civ4BonusInfos • Civ4FeatureInfos • Civ4ImprovementInfos • Civ4SymbolMeshPaths • Civ4TerrainInfos • Civ4TerrainSettings • Civ4YieldInfos

Units:

Civ4AnimationInfos • Civ4AnimationPathInfos • Civ4AutomateInfos • Civ4BuildInfos • Civ4CommandInfos • Civ4ControlInfos • Civ4EntityEventInfos • Civ4FormationInfos • Civ4MissionInfos • Civ4PromotionInfos • Civ4SpecialUnitInfos • Civ4UnitClassInfos • Civ4UnitInfos

Schemas:

Civ4GlobalDefinesSchema • Civ4GlobalTypesSchema • Civ4ArtDefinesSchema • AudioDefinesSchema • AudioScriptSchema • Civ4BasicInfoSchema • Civ4BuildingSchema • Civ4LSystemSchema • Civ4CivilizationSchema • Civ4EventSchema • Civ4GameInfoSchema • Civ4InterfaceSchema • Civ4MiscSchema • Civ4TutorialSchema • Civ4DetailManagerSchema • Civ4TechnologiesSchema • Civ4TerrainSchema • Civ4FormationSchema • Civ4UnitSchema

Italics: Beyond the Sword only