Civ4CityLSystem
The Civ4CityLSystem file defines how models are displayed in a city.
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 |
---|---|
LNode | Main bracket for each entry; the attribute Name defines the name used in other files |
Integers
All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.
Tag Name | Description |
---|---|
Width | Width of the leaf block |
Height | Height of the leaf block |
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 |
---|---|
ArtRef | Defines various art settings to be used
<ArtRef Name="generic:greco_roman.nif::1x1_02"> <Attribute Class="Era"> ERA_ANCIENT,ERA_CLASSICAL,ERA_MEDIEVAL,ERA_RENAISSANCE </Attribute> <Attribute Class="ArtStyle">ARTSTYLE_GRECO_ROMAN</Attribute> <Attribute Class="Scalar">iBatchGroup:1</Attribute> </ArtRef> |
LProduction | Unknown; appears after LNode entries
<LProduction From="Node_5x5"> <To Name="Node_2x2"> <Translate>-1.500000,-1.500000</Translate> </To> <To Name="Node_3x3"> <Translate>1.000000,-1.000000</Translate> </To> <To Name="Node_3x2"> <Translate>-1.500000,1.000000</Translate> <Rotate>90</Rotate> </To> <To Name="Node_3x2"> <Translate>1.000000,1.500000</Translate> </To> </LProduction> |
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.
<LNode Name="Leaf_1x1"> <Width>1</Width> <Height>1</Height> <ArtRef Name="generic:an_eu.nif::1x1_01"> <Attribute Class="Era">ERA_ANCIENT,ERA_CLASSICAL</Attribute> <Attribute Class="ArtStyle"> ARTSTYLE_EUROPEAN,ARTSTYLE_SOUTH_AMERICA,ARTSTYLE_MIDDLE_EAST,ARTSTYLE_BARBARIAN </Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_02"> <Attribute Class="Era">ERA_ANCIENT,ERA_CLASSICAL</Attribute> <Attribute Class="ArtStyle"> ARTSTYLE_EUROPEAN,ARTSTYLE_SOUTH_AMERICA,ARTSTYLE_MIDDLE_EAST,ARTSTYLE_BARBARIAN </Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_03"> <Attribute Class="Era">ERA_ANCIENT,ERA_CLASSICAL</Attribute> <Attribute Class="ArtStyle"> ARTSTYLE_EUROPEAN,ARTSTYLE_SOUTH_AMERICA,ARTSTYLE_MIDDLE_EAST,ARTSTYLE_BARBARIAN </Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_04"> <Attribute Class="Era">ERA_ANCIENT,ERA_CLASSICAL</Attribute> <Attribute Class="ArtStyle"> ARTSTYLE_EUROPEAN,ARTSTYLE_SOUTH_AMERICA,ARTSTYLE_MIDDLE_EAST,ARTSTYLE_BARBARIAN </Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_05"> <Attribute Class="Era">ERA_ANCIENT,ERA_CLASSICAL</Attribute> <Attribute Class="ArtStyle"> ARTSTYLE_EUROPEAN,ARTSTYLE_SOUTH_AMERICA,ARTSTYLE_MIDDLE_EAST,ARTSTYLE_BARBARIAN </Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_06"> <Attribute Class="Era">ERA_ANCIENT,ERA_CLASSICAL</Attribute> <Attribute Class="ArtStyle"> ARTSTYLE_EUROPEAN,ARTSTYLE_SOUTH_AMERICA,ARTSTYLE_MIDDLE_EAST,ARTSTYLE_BARBARIAN </Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_07"> <Attribute Class="Era">ERA_ANCIENT</Attribute> <Attribute Class="ArtStyle">ARTSTYLE_ALL</Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_08"> <Attribute Class="Era">ERA_ANCIENT</Attribute> <Attribute Class="ArtStyle">ARTSTYLE_ALL</Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="generic:an_eu.nif::1x1_09"> <Attribute Class="Era">ERA_ANCIENT</Attribute> <Attribute Class="ArtStyle">ARTSTYLE_ALL</Attribute> <Attribute Class="Scalar">iBatchGroup:0</Attribute> </ArtRef> <ArtRef Name="building:LSYSTEM_1x1"> <Scale>1.0</Scale> </ArtRef> </LNode>