Changes between Initial Version and Version 1 of XML.Tech


Ignore:
Timestamp:
Feb 23, 2008, 4:18:58 AM (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML.Tech

    v1 v1  
     1== [wiki:XML.Tech.Design Technology Design by Jason Bishop] ==
     2http://wildfiregames.com/~code/techs.zip
     3
     4'''Example:'''
     5
     6{{{
     7 <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
     8   
     9 <Tech
     10      Parent="template_tech"
     11 >
     12    <ID>
     13        <Generic>Improved Architecture</Generic>
     14        <Specific>Willow Reeds</Specific>
     15       
     16        <Icon>sheet_tech_shared</Icon>
     17        <Icon_Cell>13</Icon_Cell>
     18       
     19        <Classes>Buff</Classes>
     20       
     21        <Rollover></Rollover>
     22        <History></History>
     23    </ID>
     24   
     25    <Req>
     26        <Time>120</Time>
     27        <Resource>
     28                <Food>50</Food>
     29                <Wood>80</Wood>
     30                <Stone>90</Stone>
     31                <Ore>10</Ore>
     32        </Resource>
     33        <Entity>
     34                <civil_centre>
     35                <market>
     36                <female_citizen>
     37        </Entity>
     38        <Tech>
     39                <tech_shared_phase_city>
     40                <tech_shared_food_gather_1>
     41        </Tech>
     42    </Req>
     43   
     44    <Effect>
     45        <Target>
     46                <infantry_spearman>
     47                <Infantry />
     48                <Organic />
     49        </Target>
     50       
     51        <Pair>tech_shared_wood_gather_1</Pair>
     52       
     53        <Modifier>
     54                <Traits>
     55                        <Gather>
     56                                <Speed>10</Speed>
     57                        </Gather>
     58                        <Health>
     59                                <Max>-5</Max>
     60                        <Health>
     61                </Traits>
     62        </Modifier>
     63   
     64        <Set>
     65                <Traits>
     66                        <ID>
     67                                <Specific>Somebody Else</Specific>
     68                        </ID>
     69                </Traits>
     70        </Set>
     71    </Effect>
     72}}}
     73----
     74
     75= ID =
     76''BRIEF DESCRIPTION ::'' This group of properties identify the tech. Those that are used for techs are exactly the same as their counterparts for entities. (Possibly could inherit the structure?)
     77
     78== Generic ==
     79''BRIEF DESCRIPTION ::'' Generic name used to refer to the tech across all civs; usually inherited from a shared template.
     80
     81== Specific ==
     82''BRIEF DESCRIPTION ::'' The civ's unique name for this tech. If none is specified, the generic name is displayed by the GUI.
     83
     84== Icon ==
     85''BRIEF DESCRIPTION ::'' Either the name of an icon sheet containing this icon, or a single portrait image.
     86
     87== Icon_Cell ==
     88''BRIEF DESCRIPTION ::'' The cell index of the icon in the icon sheet.
     89
     90== Classes ==
     91''BRIEF DESCRIPTION ::'' List of names that describe this tech, which could be used elsewhere to refer to a category of techs. eg Buff, Phase, or Upgrade.
     92
     93== Rollover ==
     94''BRIEF DESCRIPTION ::'' Tooltip text that describes this tech in game mechanics terms.
     95
     96== History ==
     97''BRIEF DESCRIPTION ::'' Interesting description of the history behind this text, used by manual.
     98
     99= Req =
     100''BRIEF DESCRIPTION ::'' This category of properties define the requirements of the tech, such as how many resources it will cost to research, and what buildings must first be constructed for it to become available.
     101
     102== Time ==
     103''BRIEF DESCRIPTION ::'' The amount of time it will take to research this tech.
     104
     105== Resource ==
     106''BRIEF DESCRIPTION ::'' Contains names of resources, and the amount of this resource that will be deducated to research the tech.
     107
     108== Entity ==
     109''BRIEF DESCRIPTION ::'' Contains template name of entities (building or unit) that the player must currently have on his battlefield in order to quality for the tech.
     110
     111== Tech ==
     112''BRIEF DESCRIPTION ::'' Contains template name of techs that the player must currently have on his battlefield in order to quality for the tech.
     113
     114= Effect =
     115''BRIEF DESCRIPTION ::'' This category of properties define what effect will occur when the tech is active.
     116
     117== Target ==
     118''BRIEF DESCRIPTION ::'' Contains a list of entity templates which will be affected by this tech.
     119
     120== Pair ==
     121''BRIEF DESCRIPTION ::'' The name of the tech which is this tech's pair. Tech pairs are mutually exclusive; if the player researches one tech, its tech pair will no longer be researchable for the remainder of the game.
     122
     123== Modifier ==
     124''BRIEF DESCRIPTION ::'' Lists properties that are modified by the tech, and the value of the modifier. (A positive value adds this modifier to the property. A negative value reduces the value of the property by this amount.)
     125
     126== Set ==
     127''BRIEF DESCRIPTION ::'' Lists properties that are set by the tech, and the new value of the property.