Changes between Initial Version and Version 1 of XML.Entity.Traits.Creation


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

--

Legend:

Unmodified
Added
Removed
Modified
  • XML.Entity.Traits.Creation

    v1 v1  
     1An entity with this trait can be created (constructed, trained) by an entity that has it in its '''Actions.Create.List'''. The '''Traits.Creation''' attributes define the requirements for creation of this entity (cost, time, pre-requisites, etc).
     2
     3'''Example:'''
     4
     5{{{
     6        <Traits>
     7                <Creation>
     8                        <Time>20</Time>
     9                        <Resource>
     10                                <Food>2</Food>
     11                                <Wood>1</Wood>
     12                                <Stone>3</Stone>
     13                        </Resource>
     14                       
     15                        <Distance>4</Distance>
     16                        <Limit>3</Limit>
     17                        <Location>Lot</Location>
     18                        <Phase>City</Phase>
     19                        <Req>Barracks, Market</Req>
     20                </Creation>
     21        </Traits>
     22}}}
     23----
     24
     25= Time =
     26''BRIEF DESCRIPTION ::'' This is the amount of time it will take to create the entity once building/training begins.
     27
     28''The numbers are in seconds.  The time calculation will be based off the following:''
     29
     30 * ''Units'' = History, Quantity of Resources invested, Hitpoints.
     31 * ''Structures'' = Footprint Size, type of resources (stone>wood>tent).
     32
     33'''Note: In the deathmatch game session mode, Creation.Time is drastically reduced.'''
     34
     35= Resource =
     36''BRIEF DESCRIPTION ::'' Group object for resources required in order to create this entity.
     37
     38Note that any kind of resource name could be added to here if additional resources are added by a mod. (Since the script logic iterates through all contents of the Resource group.)
     39
     40== Food ==
     41''BRIEF DESCRIPTION ::'' This quantity of Food is deducted from the player's Resource Pool in order to create this entity.
     42
     43''Generally the rule is that "if it has a mouth, it's going to cost food", though there are exceptions. Fields cost Food, for example, since you must plant seeds (food) to get Food.''
     44
     45''Cavalry require '''more''' Food than infantry because they include a horse.  More 'wealthy' units (Healers, Super Units, and Heroes) also require more Food to sustain their 'nobility'.''
     46
     47== Ore ==
     48''BRIEF DESCRIPTION ::'' This quantity of Ore is deducted from the player's Resource Pool in order to create this entity.
     49
     50In the ancient world, metal was associated with wealth. Metals were used to manufacture arms and tools. Ore is a raw material that can be refined into a metal.
     51
     52''Using the term 'ore' allowed us to combine various minerals and metals (bronze, iron, steel, gold, silver) without creating a multitude of separate resources gathered and used in virtually identical ways (and allows for some variety in the kinds of mines that can be used).''
     53
     54''If the entity is important late in the game, then it will cost Ore.  If a unit has metal armour, metal weaponry, or metal mechanisms it will cost Ore.''
     55
     56''Swordsman > Spearman > Javelinist''
     57
     58== Stone ==
     59''BRIEF DESCRIPTION ::'' This quantity of Stone is deducted from the player's Resource Pool in order to create this entity.
     60
     61''Stone is primarily used to construct stone structures.  It is also used as ammunition for Slingers and Onagers.''
     62
     63''It is assumed that Stone has more durability than Wood and therefore costs more for defensive and military structures.''
     64
     65''It also can be associated with wealth (marble), and therefore costs more for Civic structures constructed out of Stone.''
     66
     67''It is, however, far more commonly available than Ore, and generally rarer than Wood (depending on the climate).''
     68
     69== Wood ==
     70''BRIEF DESCRIPTION ::'' This quantity of Wood is deducted from the player's Resource Pool in order to create this entity.
     71
     72''Because of the abundance of Wood in the game, it will be frequently used for cost.  It doesn't take a rocket scientist to link wood cost to structures, siege weapons, and ships, but it also costs for units that are armed with arrows, javelins, and spears.''
     73
     74''Some civs (Celts and future 'barbaric' civs) will be more prone to constructing their structures with wood (vs. stone) than others.''
     75
     76= Distance =
     77''BRIEF DESCRIPTION ::'' How far away, in tiles, the entity can be created from other player entities.
     78
     79'''Not yet implemented.'''
     80
     81''When territorial mode (the player can build anywhere within a province that he controls) is turned off, we are implementing a feature that is reminiscent of the RTSes of old (eg Command & Conquer). What this does is limit the distance a player can construct certain structures from their 'base'. The reasons are:''
     82
     83 * ''Limit sprawling.''
     84 * ''Deny the possibility of walling and towering resources far from their base.''
     85 * ''Deny the possibility of constructing Fortresses and Barracks just out of the enemy's line of sight.''
     86 * ''Promote capturing of structures vs. destruction.''
     87 * ''Discourage rushing.''
     88
     89''Not only does it make for bad gameplay, but it also makes for bad history if we don't do this.''
     90
     91'''Note: However, for those who don't like this, they can ignore it when setting up the game in the game session creation options.'''
     92
     93''Walls, Towers, Outposts, and Docks can be created at a greater distance than other structures.''
     94
     95= Limit =
     96''BRIEF DESCRIPTION ::'' The player cannot build more than this number of this type of entity.
     97
     98'''Not yet implemented.'''
     99
     100This is to limit the construction of certain structures and training of certain units in order to maintain balance between players' skill.
     101
     102If this value is zero, then there is only allowed one entity, per player, per session.
     103
     104''This can be looked at three ways through the different game session creation options:''
     105
     106 * '''Territorial Mode:''' How many of these entities can be created per Province the player owns.
     107 * ''''Normal':''' How many of these entities can be created per Civil Centre.
     108 * '''Off:''' No limit to how many entities can be created.
     109
     110''Entities likely to be limited are: Quinqueremes, Heroes, Fortresses, Farmsteads, Markets.''
     111
     112= Location =
     113''BRIEF DESCRIPTION ::'' The entity can only be created at the specified location.
     114
     115'''Not yet implemented.'''
     116
     117''Some structures are only allowed to be constructed at certain locations. For example, a Civilian Centre must be built on top of a Settlement; Fields and Corrals must be build on top of Vacant Lots (adjacent to a Farmstead).''
     118
     119= Phase =
     120''BRIEF DESCRIPTION ::'' The player needs to have upgraded to the specified phase before this entity becomes available for creation.
     121
     122'''Not yet implemented.'''
     123
     124Some entities are only allowed to be created/trained in certain phases.  This attribute defines what phase a entity is allowed to be constructed/trained. 
     125
     126''Generally this isn't specified for units because they would be controlled by what structures are allowed to be constructed.''
     127
     128= Req =
     129''BRIEF DESCRIPTION ::'' The specified entity(-ies) must first be created before this entity can be created.
     130
     131'''Not yet implemented.'''
     132
     133This attribute specifies that something is required from the actions of the player before the entity can be created.  This could be a technology that needs to be researched, or a unit that has to be trained, or a structure that has to be constructed.