Civ4ArtDefines Terrain: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with '{| align="left" |Previous article |} {|align="right" |Back to XML Reference |}<br><br> <font color=red>This page is missing inform...')
 
m (Unprotected "Civ4ArtDefines Terrain")
 
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| align="left"
The '''Civ4ArtDefines_Terrain''' file defines art textures for all terrain types.
|[[Civ4ArtDefines_Movie|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]]
|}<br><br>
<font color=red>This page is missing information.
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>
Do not remove this notice until it is complete.</font>
=Summary=
Defines art texture for all terrain types




=Single-Line Tags=
==Tags==
===Text Tags===
===Text===
{| border="1" cellpadding="2" cellspacing="0"
{| 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
|-
|-
|Type || Terrain that goes with Files
!Type
| Terrain that goes with files
|-
|-
|Path || path to base texture
!Path
| path to base texture
|-
|-
|Detail || path to detail texture
!Detail
| path to detail texture
|-
|-
|Button || World Builder Icon.<br>
!Button
| World Builder Icon.<br>
,path to icon,path to corresponding Atlas,#,#<br>
,path to icon,path to corresponding Atlas,#,#<br>
numbers are x,y location in the atlas.<br>
numbers are x,y location in the atlas.<br>
Line 30: Line 30:




===Integer Tags===
===Integers===
{| border="1" cellpadding="2" cellspacing="0"
 
All of these tags have a numerical value.  Though it sometimes can be negative, it usually is not.
 
{| 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
|-
|-
|LayerOrder || unknown
!LayerOrder
| <font color=red>unknown</font>
|-
|-
|TextureBlend01 || <font color=red>unknown</font>
!TextureBlend01
| <font color=red>unknown</font>
|-
|-
|TextureBlend02 || <font color=red>unknown</font>
!TextureBlend02
| <font color=red>unknown</font>
|-
|-
|TextureBlend03 || <font color=red>unknown</font>
!TextureBlend03
| <font color=red>unknown</font>
|-
|-
|TextureBlend04 || <font color=red>unknown</font>
!TextureBlend04
| <font color=red>unknown</font>
|-
|-
|TextureBlend05 || <font color=red>unknown</font>
!TextureBlend05
| <font color=red>unknown</font>
|-
|-
|TextureBlend06 || <font color=red>unknown</font>
!TextureBlend06
| <font color=red>unknown</font>
|-
|-
|TextureBlend07 || <font color=red>unknown</font>
!TextureBlend07
| <font color=red>unknown</font>
|-
|-
|TextureBlend08 || <font color=red>unknown</font>
!TextureBlend08
| <font color=red>unknown</font>
|-
|-
|TextureBlend09 || <font color=red>unknown</font>
!TextureBlend09
| <font color=red>unknown</font>
|-
|-
|TextureBlend10 || <font color=red>unknown</font>
!TextureBlend10
| <font color=red>unknown</font>
|-
|-
|TextureBlend11 || <font color=red>unknown</font>
!TextureBlend11
| <font color=red>unknown</font>
|-
|-
|TextureBlend12 || <font color=red>unknown</font>
!TextureBlend12
| <font color=red>unknown</font>
|-
|-
|TextureBlend13 || <font color=red>unknown</font>
!TextureBlend13
| <font color=red>unknown</font>
|-
|-
|TextureBlend14 || <font color=red>unknown</font>
!TextureBlend14
| <font color=red>unknown</font>
|-
|-
|TextureBlend15 || <font color=red>unknown</font>
!TextureBlend15
| <font color=red>unknown</font>
|}
|}




=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.
 
  <TerrainArtInfo>
  <TerrainArtInfo>
     <Type>ART_DEF_TERRAIN_GRASS</Type>
     <Type>ART_DEF_TERRAIN_GRASS</Type>
Line 93: Line 115:
     <TextureBlend15>15,0 16,0 17,0 18,0 19,0 20,0 21,0 22,0 23,0 24,0 25,0 26,0 27,0 28,0 29,0 30,0 31,0 32,0</TextureBlend15>
     <TextureBlend15>15,0 16,0 17,0 18,0 19,0 20,0 21,0 22,0 23,0 24,0 25,0 26,0 27,0 28,0 29,0 30,0 31,0 32,0</TextureBlend15>
  </TerrainArtInfo>
  </TerrainArtInfo>
{| align="left"
 
|[[Civ4ArtDefines_Unit|Next article]]
{{Civ4_XML_Files}}
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Latest revision as of 01:17, 3 October 2011

The Civ4ArtDefines_Terrain file defines art textures for all terrain types.

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

Text

Tag Name Description
Type Terrain that goes with files
Path path to base texture
Detail path to detail texture
Button World Builder Icon.

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


Integers

All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.

Tag Name Description
LayerOrder unknown
TextureBlend01 unknown
TextureBlend02 unknown
TextureBlend03 unknown
TextureBlend04 unknown
TextureBlend05 unknown
TextureBlend06 unknown
TextureBlend07 unknown
TextureBlend08 unknown
TextureBlend09 unknown
TextureBlend10 unknown
TextureBlend11 unknown
TextureBlend12 unknown
TextureBlend13 unknown
TextureBlend14 unknown
TextureBlend15 unknown


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.

<TerrainArtInfo>
   <Type>ART_DEF_TERRAIN_GRASS</Type>
   <Path>Art/Terrain/Textures/GrassBlend.dds</Path>
   <Detail>Art/Terrain/Textures/GrassDETAIL.dds</Detail>
   <Button>,Art/Interface/Buttons/BaseTerrain/Grassland.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,3,1</Button>
   <LayerOrder>4</LayerOrder>
   <TextureBlend01>8,0</TextureBlend01>
   <TextureBlend02>1,0</TextureBlend02>
   <TextureBlend04>6,0</TextureBlend04>
   <TextureBlend08>5,0</TextureBlend08>
   <TextureBlend03>2,0</TextureBlend03>
   <TextureBlend06>10,0</TextureBlend06>
   <TextureBlend12>12,0</TextureBlend12>
   <TextureBlend09>9,0</TextureBlend09>
   <TextureBlend07>3,0</TextureBlend07>
   <TextureBlend14>14,0</TextureBlend14>
   <TextureBlend13>11,0</TextureBlend13>
   <TextureBlend11>4,0</TextureBlend11>
   <TextureBlend10>7,0</TextureBlend10>
   <TextureBlend05>13,0</TextureBlend05>
   <TextureBlend15>15,0 16,0 17,0 18,0 19,0 20,0 21,0 22,0 23,0 24,0 25,0 26,0 27,0 28,0 29,0 30,0 31,0 32,0</TextureBlend15>
</TerrainArtInfo>


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