添加新科技


这个教程是给英国添加一个科技,在城镇中心可以改良此科技,效果是增加所有村民行走速度、生命值与所有采集速度

1.打开Techtreey.xml随便复制一个科技(不要复制带有<Flag>HomeCity</Flag>的科技,这些是卡片,添加<Flag>HomeCity</Flag>了无法改良),然后粘贴,我建议你粘贴在Techtreey.xml最底下(如果你改地图触发的话就会知道为什么要粘贴在最底下了)

2.修改调用名

  techtreey.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Tech name ='ypOttomanMosqueFaith' type ='Normal'>
		<DBID>5271</DBID>
		<DisplayNameID>70513</DisplayNameID>
		<Status>UNOBTAINABLE</Status>
		<RolloverTextID>70512</RolloverTextID>
		<Flag>HomeCity</Flag>
		<Effects>
			<Effect type ='Data' action ='AutoGather' amount ='0.40' subtype ='WorkRate' unittype ='XP' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Church</Target></Effect></Effects>
	</Tech>
	<Tech name ='TechModdingTutorial' type ='Normal'>
		<DBID>2035</DBID>
		<DisplayNameID>35143</DisplayNameID>
		<Cost resourcetype ='Ships'>1.0000</Cost>
		<ResearchPoints>40.0000</ResearchPoints>
		<Status>UNOBTAINABLE</Status>
		<Icon>ui\techs\hc_medicine\hc_medicine</Icon>
		<RolloverTextID>35144</RolloverTextID>
		<Flag>CountsTowardEconomicScore</Flag>
		<Effects>

		</Effects>
	</Tech>
</TechTree><!-- 这个是Techtreey的结尾,请将语句复制在</TechTree>上面-->


3.按照格式添加
			<Effect type ='Data' amount ='1.20' subtype ='MaximumVelocity' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' amount ='2.00' subtype ='Hitpoints' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Huntable' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='BerryBush' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Herdable' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='AbstractMine' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Tree' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Plantation' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Mill' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='AbstractWhale' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractFishingBoat</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='AbstractFish' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractFishingBoat</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Farm' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data2' action ='Gather' amount ='1.50' subtype ='WorkRateSpecific' resource ='Food' unittype ='ypRicePaddy' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data2' action ='Gather' amount ='1.50' subtype ='WorkRateSpecific' resource ='Gold' unittype ='ypRicePaddy' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='ypBerryBuilding' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='ypGroveBuilding' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>

这些语句有什么效果?怎样来的?
语句效果自己看1-2,整个效果是村民1.2倍移动速度、2倍生命值、所有采集1.5倍效率。都是从1-2复制过来,然后修改的。
事实上除了移动速度与生命值从1-2复制过来,其他是直接复制了经济理论的卡片,如果有的复制会有哪个是自己修改?

  techtreey.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Tech name ='ypOttomanMosqueFaith' type ='Normal'>
		<DBID>5271</DBID>
		<DisplayNameID>70513</DisplayNameID>
		<Status>UNOBTAINABLE</Status>
		<RolloverTextID>70512</RolloverTextID>
		<Flag>HomeCity</Flag>
		<Effects>
			<Effect type ='Data' action ='AutoGather' amount ='0.40' subtype ='WorkRate' unittype ='XP' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Church</Target></Effect></Effects>
	</Tech>
	<Tech name ='TechModdingTutorial' type ='Normal'>
		<DBID>2035</DBID>
		<DisplayNameID>35143</DisplayNameID>
		<Cost resourcetype ='Ships'>1.0000</Cost>
		<ResearchPoints>40.0000</ResearchPoints>
		<Status>UNOBTAINABLE</Status>
		<Icon>ui\techs\hc_medicine\hc_medicine</Icon>
		<RolloverTextID>35144</RolloverTextID>
		<Flag>CountsTowardEconomicScore</Flag>
		<Effects>
			<Effect type ='Data' amount ='1.20' subtype ='MaximumVelocity' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' amount ='2.00' subtype ='Hitpoints' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Huntable' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='BerryBush' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Herdable' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='AbstractMine' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Tree' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Plantation' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Mill' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='AbstractWhale' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractFishingBoat</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='AbstractFish' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractFishingBoat</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='Farm' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data2' action ='Gather' amount ='1.50' subtype ='WorkRateSpecific' resource ='Food' unittype ='ypRicePaddy' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data2' action ='Gather' amount ='1.50' subtype ='WorkRateSpecific' resource ='Gold' unittype ='ypRicePaddy' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='ypBerryBuilding' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
			<Effect type ='Data' action ='Gather' amount ='1.50' subtype ='WorkRate' unittype ='ypGroveBuilding' relativity ='BasePercent'>
				<Target type ='ProtoUnit'>AbstractVillager</Target></Effect>
		</Effects>
	</Tech>
</TechTree><!-- 这个是Techtreey的结尾,请将语句复制在</TechTree>上面-->


4.搜索Age0British(不要问我为什么要搜索Age0British,因为civs定义的英国初始科技就是Age0British)
将启用该科技的语句添加上去:
  techtreey.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Tech name ='Age0British' type ='Normal'>
		<DBID>232</DBID>
		<Status>UNOBTAINABLE</Status>
		<Flag>Shadow</Flag>
		<Effects>
			<Effect type ='TechStatus' status ='obtainable'>TechModdingTutorial</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Explorer</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>TownCenter</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Hussar</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>RGRedcoats</Effect>
			<Effect type ='TechStatus' status ='active'>AAStandardStartingTechs</Effect>
			<Effect type ='TechStatus' status ='obtainable'>VeteranHussars</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ChurchStandingArmy</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ChurchThinRedLine</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Sheep</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>RGLifeGuardHussars</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Mill</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>VeteranMusketeers</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Musketeer</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Manor</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Settler</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>GuardGrenadiers</Effect>
			<Effect type ='TechStatus' status ='obtainable'>VeteranGrenadiers</Effect>
			<Effect type ='TechStatus' status ='obtainable'>GuardDragoons</Effect>
			<Effect type ='TechStatus' status ='obtainable'>VeteranPikemen</Effect>
			<Effect type ='TechStatus' status ='obtainable'>VeteranLongbowmen</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialDragoons</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialRedcoat</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialLifeGuard</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialGrenadiers</Effect>
			<Effect type ='Data' action ='Spawn' amount ='1.00' subtype ='ActionEnable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Manor</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Capitol</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Falconet</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>ArtilleryDepot</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Stable</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Barracks</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>ChurchBlackWatch</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianAdmiral</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianGeneralBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianPresidente</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianAdventurerBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianNaturalist</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianTycoon</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianViceroyBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>PoliticianGovernor</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Plantation</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>TradingPost</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Outpost</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Dock</Target></Effect>
			<Effect type ='TechStatus' status ='active'>XPTrickle</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Market</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>ChurchRogersRangers</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Arsenal</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>CWallGate</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>LivestockPen</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>WallStraight5</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>WallConnector</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>WallStraight2</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>UnlockPoliticianKingsMusketeerBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>UnlockPoliticianEngineerBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>UnlockPoliticianGentlemanPirateBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>UnlockPoliticianMohawkStatesmanBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>UnlockPoliticianPhilosopherPrinceBritish</Effect>
			<Effect type ='TechStatus' status ='obtainable'>UnlockPoliticianBishopBritish</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Pikeman</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Longbowman</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Church</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>FieldHospital</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>FishingBoat</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Priest</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Culverin</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Mortar</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Grenadier</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Dragoon</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Monitor</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Frigate</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Galleon</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Caravel</Target></Effect>
			<Effect type ='Data' amount ='-1.00' subtype ='AllowedAge' relativity ='Absolute'>
				<Target type ='ProtoUnit'>ArtilleryDepot</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>Bayonet</Effect>
			<Effect type ='TechStatus' status ='active'>Levy</Effect>
			<Effect type ='Data' action ='SpawnRocket' amount ='1.00' subtype ='ActionEnable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Factory</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialRocket</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialFieldGun</Effect>
			<Effect type ='TechStatus' status ='obtainable'>FieldGun</Effect>
			<Effect type ='TechStatus' status ='obtainable'>VeteranDragoonsShadow</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialManOWar</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialMonitors</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>Saloon</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>XPRevolutionLouverture</Effect>
			<Effect type ='TechStatus' status ='obtainable'>XPRevolutionWashington</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>xpPetard</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>IncendiaryGrenades</Effect>
			<Effect type ='TechStatus' status ='obtainable'>ImperialHorseArtillery</Effect>
			<Effect type ='TechStatus' status ='obtainable'>HeavyHorseArtillery</Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>xpHorseArtillery</Target></Effect>
			<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
				<Target type ='ProtoUnit'>xpSpy</Target></Effect>
			<Effect type ='TechStatus' status ='obtainable'>ShipHowitzers</Effect>
		</Effects>
	</Tech>



5.最后在protoy.xml添加上科技按钮,我是添加在了城镇中心里面。(添加特技按钮的语句为<Tech row ='0' page ='x' column ='x'>xxxxxxx</Tech>,其实随便找个单位复制科技语句就行。)
  protoy.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Unit id ='294' name ='TownCenter'>
		<DBID>16</DBID>
		<DisplayNameID>22841</DisplayNameID>
		<EditorNameID>28145</EditorNameID>
		<PopulationCapAddition>10</PopulationCapAddition>
		<ObstructionRadiusX>4.0000</ObstructionRadiusX>
		<ObstructionRadiusZ>4.0000</ObstructionRadiusZ>
		<MaxVelocity>0.0000</MaxVelocity>
		<MovementType>land</MovementType>
		<AnimFile>buildings\town_center\town_center.xml</AnimFile>
		<DeadReplacement>BuildingRubble4x4</DeadReplacement>
		<DeadReplacementLifespan>15</DeadReplacementLifespan>
		<ImpactType>Wood</ImpactType>
		<PhysicsInfo>house</PhysicsInfo>
		<PlacementFile>buildinglarge.xml</PlacementFile>
		<Icon>buildings\town_center\towncenter_icon</Icon>
		<MinimapIcon>ui\minimap\towncenter</MinimapIcon>
		<PortraitIcon>buildings\town_center\towncenter_portrait</PortraitIcon>
		<RolloverTextID>22840</RolloverTextID>
		<ShortRolloverTextID>25734</ShortRolloverTextID>
		<InitialHitpoints>6500.0000</InitialHitpoints>
		<MaxHitpoints>6500.0000</MaxHitpoints>
		<LOS>38.0000</LOS>
		<ProjectileProtoUnit>Cannonball</ProjectileProtoUnit>
		<UnitAIType>RangedCombative</UnitAIType>
		<BuildPoints>60.0000</BuildPoints>
		<BuildLimit>1</BuildLimit>
		<Bounty>240.0000</Bounty>
		<Cost resourcetype ='Wood'>600.0000</Cost>
		<BuildingWorkRate>1.0000</BuildingWorkRate>
		<MaxContained>50</MaxContained>
		<AllowedAge>0</AllowedAge>
		<Armor type ='Siege' value ='0.0000'></Armor>
		<BuilderLimit>8</BuilderLimit>
		<UnitType>LogicalTypeValidSabotage</UnitType>
		<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
		<UnitType>LogicalTypeNeededForVictory</UnitType>
		<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
		<UnitType>LogicalTypeBuildingsNotWalls</UnitType>
		<UnitType>LogicalTypeTCBuildLimit</UnitType>
		<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
		<UnitType>LogicalTypeVillagersAttack</UnitType>
		<UnitType>LogicalTypeHandUnitsAttack</UnitType>
		<UnitType>LogicalTypeShipsAndBuildings</UnitType>
		<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
		<UnitType>LogicalTypeBuildingsNotWallsOrGroves</UnitType>
		<UnitType>Building</UnitType>
		<UnitType>Economic</UnitType>
		<UnitType>BuildingClass</UnitType>
		<UnitType>HasBountyValue</UnitType>
		<UnitType>CountsTowardEconomicScore</UnitType>
		<UnitType>ConvertsHerds</UnitType>
		<UnitType>AbstractTownCenter</UnitType>
		<UnitType>AbstractCanSeeStealth</UnitType>
		<Train row ='0' page ='0' column ='0'>ypSettlerJapanese</Train>
		<Train row ='0' page ='0' column ='0'>ypSettlerIndian</Train>
		<Train row ='0' page ='0' column ='0'>ypSettlerAsian</Train>
		<Train row ='0' page ='0' column ='0'>Settler</Train>
		<Train row ='0' page ='0' column ='0'>Coureur</Train>
		<Train row ='0' page ='0' column ='3'>HotAirBalloon</Train>
		<Train row ='0' page ='0' column ='2'>Envoy</Train>
		<Train row ='0' page ='0' column ='0'>xpColonialMilitia</Train>
		<Train row ='0' page ='0' column ='0'>SettlerNative</Train>
		<Train row ='0' page ='0' column ='5'>PetCougar</Train>
		<Train row ='0' page ='0' column ='5'>ypSPCBrahminHealer</Train>
		<Train row ='0' page ='0' column ='5'>ypMonkChinese</Train>
		<Train row ='0' page ='0' column ='6'>ypMonkChinese2</Train>
		<Train row ='0' page ='0' column ='6'>ypMonkIndian2</Train>
		<Train row ='0' page ='0' column ='5'>ypMonkIndian</Train>
		<Train row ='0' page ='0' column ='5'>ypMonkJapanese</Train>
		<Train row ='0' page ='0' column ='6'>ypMonkJapanese2</Train>
		<Tech row ='0' page ='2' column ='0'>TechModdingTutorial</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWarrior5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWisewoman4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisYouth2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisYouth3</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionLouverture</Tech>
		<Tech row ='0' page ='1' column ='2'>ImpImmigrantsNative</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWarrior2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecYouth5</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianAdmiralOttoman</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianViceroyGerman</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianViceroyPortuguese</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianCavalierDutch</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMusketeerDutch</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianGeneralOttoman</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianViceroyDutch</Tech>
		<Tech row ='0' page ='2' column ='0'>BigIroquoisWarParty</Tech>
		<Tech row ='0' page ='1' column ='2'>ImpLegendaryNativesNatives</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianGeneralBritish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMarksmanOttoman</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWisewoman3</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianAdventurerBritish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMusketeerBritish</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisChief4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisShaman2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWisewoman2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisChief5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisShaman5</Tech>
		<Tech row ='0' page ='2' column ='0'>BigIroquoisRaidingParty</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxYouth5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxShaman4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxShaman3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecChief4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecShaman3</Tech>
		<Tech row ='0' page ='2' column ='0'>BigAztecScoutingParty</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianCavalierFrench</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianGeneralSkirmisher</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianBishopGerman</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianWarMinisterAct3</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMusketeerFrench</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianSergeantGerman</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionOHiggins</Tech>
		<Tech row ='0' page ='1' column ='2'>SpiesNative</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianSergeantDutch</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWisewoman5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisYouth4</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianAdventurerRussian</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMusketeerRussian</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianPhilosopherPrince</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianEngineerPortuguese</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxYouth2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWarrior5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxChief3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWarrior4</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianTycoonAct3</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianCavalierGerman</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianCavalierRussian</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianScout</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMarksmanPortuguese</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianCavalierOttoman</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMusketeerPortuguese</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisChief2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisShaman4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWarrior4</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionBolivar</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionBonifacio</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionSanMartin</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionWashington</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWarrior2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisWarrior3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisChief3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisShaman3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalIroquoisYouth5</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianScoutRussian</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianViceroyBritish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianWarMinisterRussian</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianAdmiral</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianBishop</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianGeneral</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMusketeerSpanish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianQuartermaster</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianEngineer</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianSergeantSpanish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianPirate</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianPresidente</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianNaturalist</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianTycoon</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianWarMinisterSpanish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianExiledPrince</Tech>
		<Tech row ='0' page ='1' column ='2'>HCBlockadeNative</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianCavalierSpanish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianGrandVizier</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxYouth3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWisewoman3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWisewoman2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWisewoman4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecYouth2</Tech>
		<Tech row ='0' page ='2' column ='0'>BigAztecWarParty</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxChief5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxChief2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxChief4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecChief2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecShaman4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWarrior5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWisewoman2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWisewoman3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWisewoman4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWisewoman5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWarrior4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecChief3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecChief5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecShaman2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecShaman5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecYouth3</Tech>
		<Tech row ='0' page ='2' column ='0'>BigAztecRaidingParty</Tech>
		<Tech row ='0' page ='2' column ='0'>BigSiouxDogSoldiers</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionHidalgo</Tech>
		<Tech row ='0' page ='1' column ='1'>XPRevolutionSantander</Tech>
		<Tech row ='0' page ='2' column ='0'>BigIroquoisScoutingParty</Tech>
		<Tech row ='0' page ='1' column ='2'>ypImpLegendaryNatives</Tech>
		<Tech row ='0' page ='1' column ='2'>ypImpLegendaryNatives2</Tech>
		<Tech row ='0' page ='1' column ='0'>ypFakeColonialAge</Tech>
		<Tech row ='0' page ='1' column ='0'>ypFakeFortressAge</Tech>
		<Tech row ='0' page ='1' column ='0'>ypFakeImperialAge</Tech>
		<Tech row ='0' page ='1' column ='0'>ypFakeIndustrialAge</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianAdventurerSpanish</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianGovernor</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMohawk</Tech>
		<Tech row ='0' page ='1' column ='0'>PoliticianMarksman</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxYouth4</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWarrior3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxWarrior2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxShaman5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalSiouxShaman2</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWarrior3</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecWisewoman5</Tech>
		<Tech row ='0' page ='1' column ='0'>TribalAztecYouth4</Tech>
		<Flag>ShowGarrisonButton</Flag>
		<Flag>AllowAutoGarrison</Flag>
		<Flag>StartingColonyBuilding</Flag>
		<Flag>ColonyPlacementCenter</Flag>
		<Flag>CollidesWithProjectiles</Flag>
		<Flag>StartsAtFullEfficiency</Flag>
		<Flag>Immoveable</Flag>
		<Flag>NoBloodOnDeath</Flag>
		<Flag>ObscuresUnits</Flag>
		<Flag>NonAutoFormedUnit</Flag>
		<Flag>Doppled</Flag>
		<Flag>SelectWithObstruction</Flag>
		<Flag>PaintTextureWhenPlacing</Flag>
		<Flag>FlattenGround</Flag>
		<Flag>HasGatherPoint</Flag>
		<Flag>Tracked</Flag>
		<Contain>AbstractVillager</Contain>
		<Contain>Imam</Contain>
		<Contain>NatMedicineMan</Contain>
		<Contain>Missionary</Contain>
		<Contain>Priest</Contain>
		<Contain>Surgeon</Contain>
		<Contain>xpMedicineMan</Contain>
		<Contain>xpMedicineManAztec</Contain>
		<Contain>ypDaimyoRegicide</Contain>
		<Command page ='0' column ='3'>Levy</Command>
		<Command page ='10' column ='3'>TownBell</Command>
		<Command page ='10' column ='4'>Delete</Command>
		<Command page ='10' column ='3'>ReturnToWork</Command>
		<Command page ='0' column ='4'>Conscription</Command>
		<Command page ='10' column ='0'>SetGatherPointEconomy</Command>
		<Command page ='10' column ='1'>SetGatherPointMilitary</Command>
		<Command page ='10' column ='2'>Eject</Command>
		<Command page ='0' column ='5'>RansomExplorer</Command>
		<Command page ='1' column ='10'>SetUnitAsHomeCityGatherPoint</Command>
		<Command page ='11' column ='0'>Abilities</Command>
		<Command page ='0' column ='1'>ypAssemble</Command>
		<Command page ='0' column ='2'>ypMuster</Command>
		<Command page ='0' column ='3'>ypAmass</Command>
		<Command page ='0' column ='4'>ypMarshal</Command>
		<Command page ='0' column ='3'>ypAmassIndians</Command>
		<Command page ='0' column ='1'>ypAssembleIndians</Command>
		<Command page ='0' column ='4'>ypMarshalIndians</Command>
		<Command page ='0' column ='2'>ypMusterIndians</Command>
		<Tactics>towncenter.tactics</Tactics>
		<ProtoAction>
			<Name>AntiShipAttack</Name>
			<Damage>75.000000</Damage>
			<DamageType>Siege</DamageType>
			<MaxRange>40.000000</MaxRange>
			<ROF>3.000000</ROF>
			<DamageBonus type ='AbstractSiegeTrooper'>0.500000</DamageBonus>
			<Active>1</Active>
		</ProtoAction>
		<ProtoAction>
			<Name>RangedAttack</Name>
			<DamageBonus type ='AbstractVillager'>2.000000</DamageBonus>
			<DamageBonus type ='AbstractArtillery'>0.500000</DamageBonus>
			<Damage>9.000000</Damage>
			<DamageType>Ranged</DamageType>
			<MaxRange>32.000000</MaxRange>
			<ROF>3.000000</ROF>
		</ProtoAction>
	</Unit>
















如果想更换图标?

你的智商该充值了。另外,先给我去学怎样使用AOE3ED。

传送门