添加隐藏资源Fame







首先用AOE3ED在Data3.bar把uimainnew提取出来,然后按照格式添加

<gadget name="minimapPanel-fame" type="formatText" mouseovertext="$$00100$$Fame Gatherers:{numGatherers(fame)}" size1024="373 5 440 23" donthighlight="" datarefreshrate="100" textcolor="255 255 255" textfont="NumbersFont" textfontsize="12" textcentervert="" z="12" background="">Fame:{resource(fame)}</gadget>
显示资源Fame完成,就这么简单。进入游戏看顶部XX时代的左边,不要问我为什么跟截图显示的不一样,你可以自己仿照图片做出类似效果。 如果什么都没有变化或者界面消失了给我重做,否则你的毕业成绩不及格 传送门
  uimainnew.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
<?xml version="1.0" encoding="utf-8"?>
<layout>
<gadget name="winLoseDisplay" type="textBox" size1024="20 230 1004 300" textcenterhoriz="" textfont="LargeIngame" textfontsize="24" textcolor="255 255 255" hidden=""/>
<gadget name="winLoseDisplayIgnoresFade" type="textBox" size1024="20 230 1004 300" textcenterhoriz="" textfont="LargeIngame" textfontsize="24" textcolor="255 255 255" hidden=""/>
<gadget name="victoryDisplay" type="textBox" textcolor="255 255 255" transparent="" textfont="LargeInGame" textfontsize="24" textcenterhoriz="" textcentervert="" size1024="82 206 962 498" z="9"/>
<gadget name="victoryTimerDisplay0" type="formatText" textcolor="255 255 255" transparent="" textcentervert="" textcenterhoriz="" textfont="TimerDisplays" textfontsize="12" size1024="682 52 1022 84" z="7" background="ui\ingame\objective_counter" texturecoords="0.336594911937378 0 1 1"/>
<gadget name="victoryTimerDisplay1" type="formatText" textcolor="255 255 255" transparent="" textcentervert="" textcenterhoriz="" textfont="TimerDisplays" textfontsize="12" size1024="682 52 1022 84" z="7" background="ui\ingame\objective_counter" texturecoords="0.336594911937378 0 1 1"/>
<gadget name="victoryTimerDisplay2" type="formatText" textcolor="255 255 255" transparent="" textcentervert="" textcenterhoriz="" textfont="TimerDisplays" textfontsize="12" size1024="682 52 1022 84" z="7" background="ui\ingame\objective_counter" texturecoords="0.336594911937378 0 1 1"/>
<gadget name="chatInput" type="gadget" size1024="4 472 382 496" background="ui\ingame\background_blue_c" hidden="" tilebackground="" windowzstyle="" closeonesc="" dontautoclose="">
<gadget name="chatInputArtLeft" type="gadget" size1024="4 472 68 496" background="ui\ingame\in_game_chat_left"/>
<gadget name="chatInputArtMiddle" type="gadget" size1024="68 472 318 496" background="ui\ingame\in_game_chat_mid" tilebackgroundhoriz="">
<gadget name="chatInput-text" type="editBox" enterkey="" grabinput="" textfont="ChatInput" textfontsize="12" textcolor="255 255 255" size1024="4 474 382 497" enableime="" editboxmaxchars="100"/>
</gadget>
<gadget name="chatInputArtRight" type="gadget" size1024="318 472 382 496" background="ui\ingame\in_game_chat_right"/>
<gadget name="chatInput-sendButton" size1024="-352 351 -256 383" type="stateButton" texturecoords="0 0 .75 1" textfont="InGameButtons" textfontsize="18" textcolor="255 208 0" statebuttonuseinternalstates="">
<command>uiSendIngameChat</command>
<stateentry background=""/>
<stateentry background=""/>
<stateentry background=""/>
<stateentry background=""/>
</gadget>
</gadget>
<gadget name="objectivesDialogButton" type="stateButton" z="16" size1024="732 0 876 24" hidden="" mouseovertext="$$31805$ on this button to view your objectives." clampforeground="" clampbackground="" statebuttonuseinternalstates="" activateondown="" texturecoords="0.0 0.0 0.83 0.69" textfont="SmallButtonFont" textfontsize="10" textcolor="255 255 255">
$$20104$
<stateentry background="ui\ingame\button"/>
<stateentry background="ui\ingame\button_clicked"/>
<stateentry background="ui\ingame\button_rollover"/>
<stateentry background="ui\ingame\button_disabled"/>
<command>gadgetReal("objectivesdialog2")</command>
</gadget>

<!--为了保证圣典打开本页面的时候流畅以及降低圣典体积,此处省略200KB语句,你直接把传送门的所说红色语句复制到最底下的</layout>上面就行。-->


<gadget name="NotifyTextDisplay" type="formattext" textfont="ChatOutline" textfontsize="12" textwrapoff="" background="ui\core_ui\shaded_dark" textcentervert="" textcenterhoriz="" textmarkup="" size1024="352 512 672 536" z="10" transparent="">
<gadget name="NotifyTextDisplay-spacer-left" backgroundalpha="1.0" type="gadget" background="ui\core_ui\shaded_dark" size1024="344 512 352 536" z="10" transparent=""/>
<gadget name="NotifyTextDisplay-spacer-right" backgroundalpha="1.0" type="gadget" background="ui\core_ui\shaded_dark" size1024="672 512 680 536" z="10" transparent=""/>
<gadget name="NotifyTextDisplay-border-top-left" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_top_left" size1024="341 509 344 512" z="11" texturecoords=".25 .25 1 1" transparent=""/>
<gadget name="NotifyTextDisplay-border-top-middle" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_top_middle" size1024="344 509 680 512" tilebackgroundhoriz="" z="11" texturecoords="0 .25 1 1" transparent=""/>
<gadget name="NotifyTextDisplay-border-top-right" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_top_right" size1024="680 509 683 512" z="11" texturecoords="0 .25 .75 1" transparent=""/>
<gadget name="NotifyTextDisplay-border-side-left" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_side_left" size1024="341 512 344 536" tilebackgroundvert="" z="11" texturecoords=".25 0 1 1" transparent=""/>
<gadget name="NotifyTextDisplay-border-side-right" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_side_right" size1024="680 512 683 536" tilebackgroundvert="" z="11" texturecoords="0 0 .75 1" transparent=""/>
<gadget name="NotifyTextDisplay-border-bottom-left" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_bottom_left" size1024="341 536 344 539" z="11" texturecoords=".25 0 1 .75" transparent=""/>
<gadget name="NotifyTextDisplay-border-bottom-middle" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_bottom_middle" size1024="344 536 680 539" tilebackgroundhoriz="" z="11" texturecoords="0 0 1 .75" transparent=""/>
<gadget name="NotifyTextDisplay-border-bottom-right" backgroundalpha="1.0" type="gadget" background="ui\ingame\outline_bottom_right" size1024="680 536 683 539" z="11" texturecoords="0 0 .75 .75" transparent=""/>
</gadget>
<gadget name="clockTimer" type="clockTimer" size1024="290 -1 678 72" z="10" background="ui\ingame\warwick_timer_panel" texturecoords="0 0 0.759295499021526 0.574803149606299">
<gadget name="clockTimer_displayText" type="formatText" textcolor="255 255 255" textfontsize="11" textmarkup="" textfont="ChatOutline" textjustifyleft="" size1024="423 53 649 73" z="10"/>
<gadget name="clockTimer_teamText" type="formatText" textcolor="255 255 255" textfontsize="11" textmarkup="" textfont="ChatOutline" textjustifyleft="" size1024="423 43 649 63" z="10"/>
<gadget name="clockTimer_face" type="gadget" size1024="359 0 423 64" z="11"/>
</gadget>
<gadget name="serverMaintenanceButton" type="stateButton" z="16" size1024="834 2 870 34" clampforeground="" clampbackground="" activateondown="" texturecoords="0 0 1 1" textfont="SmallButtonFont" textfontsize="10" textcolor="255 255 255" hidden="">
<stateentry background="ui\eso\server_maintenence_a"/>
<stateentry background="ui\eso\server_maintenence_b"/>
</gadget>
<gadget name="minimapPanel-fame" type="formatText" mouseovertext="$$00100$ Gatherers:{numGatherers(fame)}" size1024="373 5 440 23" donthighlight="" datarefreshrate="100" textcolor="255 255 255" textfont="NumbersFont" textfontsize="12" textcentervert="" z="12" background="">Fame:{resource(fame)}</gadget> </layout>



$$00100$.xml的描述,随便你写不写。

<String _locID="00100">采集人数 : {numGatherers(fame)}。</String>

如何获得资源Fame?

方法一:Protoy.xml单位用村民采集:500单位 Fame资源箱


<Unit id ='1000' name ='CrateofFameLarge'>
<DBID>685</DBID>
<DisplayNameID>00101</DisplayNameID>
<ObstructionRadiusX>1.0000</ObstructionRadiusX>
<ObstructionRadiusZ>1.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MaxRunVelocity>0.0000</MaxRunVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\props_colony\crate_food.xml</AnimFile>
<Icon>ui\command\generate_food_icon</Icon>
<PortraitIcon>ui\command\generate_food_portrait</PortraitIcon>
<RolloverTextID>00102</RolloverTextID>
<ShortRolloverTextID>00103</ShortRolloverTextID>
<LOS>1.0000</LOS>
<InitialResource resourcetype ='Fame'>500.0000</InitialResource>
<ResourceSubType>meat</ResourceSubType>
<AllowedAge>0</AllowedAge>
<Decay delay ='0.0000' duration ='0.0000'></Decay>
<GathererLimit>8</GathererLimit>
<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
<UnitType>LogicalTypeEasySelectAvoid</UnitType>
<UnitType>LogicalTypeHealed</UnitType>
<UnitType>LogicalTypeGarrisonInShips</UnitType>
<UnitType>Resource</UnitType>
<UnitType>Unit</UnitType>
<UnitType>EmbellishmentClass</UnitType>
<UnitType>Unattackable</UnitType>
<UnitType>AbstractResourceCrate</UnitType>
<Flag>Immoveable</Flag>
<Flag>NonAutoFormedUnit</Flag>
<Flag>DoNotCreateUnitGroupAutomatically</Flag>
<Flag>RMCanRotate</Flag>
<Flag>Doppled</Flag>
<Flag>SelectWithObstruction</Flag>
<Flag>NoBloodOnDeath</Flag>
<Flag>NoHPBar</Flag>
<Flag>Invulnerable</Flag>
<Flag>DoNotDieAtZeroHitpoints</Flag>
<Flag>DieAtZeroResources</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>ObscuredByUnits</Flag>
<Flag>NotDeleteable</Flag>
<Flag>ObscuresUnits</Flag>
<Flag>Tracked</Flag>
<Command page ='10' column ='0'>Delete</Command>
</Unit>









注:模型在这里是采用的是食物箱,你可以自己改成其他





提供500 单位 Fame资源

















  protoy.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)

<Unit id ='1000' name ='CrateofFameLarge'>
<DBID>685</DBID>
<DisplayNameID>00101</DisplayNameID>
<ObstructionRadiusX>1.0000</ObstructionRadiusX>
<ObstructionRadiusZ>1.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MaxRunVelocity>0.0000</MaxRunVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\props_colony\crate_food.xml</AnimFile>
<Icon>ui\command\generate_food_icon</Icon>
<PortraitIcon>ui\command\generate_food_portrait</PortraitIcon>
<RolloverTextID>00102</RolloverTextID>
<ShortRolloverTextID>00102</ShortRolloverTextID>
<LOS>1.0000</LOS>
<InitialResource resourcetype ='Fame'>500.0000</InitialResource>
<ResourceSubType>meat</ResourceSubType>
<AllowedAge>0</AllowedAge>
<Decay delay ='0.0000' duration ='0.0000'></Decay>
<GathererLimit>8</GathererLimit>
<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
<UnitType>LogicalTypeEasySelectAvoid</UnitType>
<UnitType>LogicalTypeHealed</UnitType>
<UnitType>LogicalTypeGarrisonInShips</UnitType>
<UnitType>Resource</UnitType>
<UnitType>Unit</UnitType>
<UnitType>EmbellishmentClass</UnitType>
<UnitType>Unattackable</UnitType>
<UnitType>AbstractResourceCrate</UnitType>
<Flag>Immoveable</Flag>
<Flag>NonAutoFormedUnit</Flag>
<Flag>DoNotCreateUnitGroupAutomatically</Flag>
<Flag>RMCanRotate</Flag>
<Flag>Doppled</Flag>
<Flag>SelectWithObstruction</Flag>
<Flag>NoBloodOnDeath</Flag>
<Flag>NoHPBar</Flag>
<Flag>Invulnerable</Flag>
<Flag>DoNotDieAtZeroHitpoints</Flag>
<Flag>DieAtZeroResources</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>ObscuredByUnits</Flag>
<Flag>NotDeleteable</Flag>
<Flag>ObscuresUnits</Flag>
<Flag>Tracked</Flag>
<Command page ='10' column ='0'>Delete</Command>
</Unit>

将fame描述为什么东西,自己填写,例如:石头、可征召人口、勋章、钢铁等

  stringtabley.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)

<String _locID="00100">采集人数 : {numGatherers(fame)}。</String>
<String _locID="00101">Fame资源箱</String>
<String _locID="00102">提供500 单位 Fame</String>


方法二:修改protoy单位自动采集


<Unit id ='1001' name ='FameFactory'>
<DBID>103</DBID>
<DisplayNameID>00003</DisplayNameID>
<ObstructionRadiusX>3.0000</ObstructionRadiusX>
<ObstructionRadiusZ>3.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\arsenal\arsenal.xml</AnimFile>
<DeadReplacement>BuildingRubble4x4</DeadReplacement>
<DeadReplacementLifespan>15</DeadReplacementLifespan>
<ImpactType>Wood</ImpactType>
<PhysicsInfo>house</PhysicsInfo>
<PlacementFile>buildinglarge.xml</PlacementFile>
<Icon>buildings\bank\bank_icon</Icon>
<PortraitIcon>buildings\bank\bank_portrait</PortraitIcon>
<RolloverTextID>00004</RolloverTextID>
<ShortRolloverTextID>00005</ShortRolloverTextID>
<InitialHitpoints>4000.0000</InitialHitpoints>
<MaxHitpoints>4000.0000</MaxHitpoints>
<LOS>12.0000</LOS>
<BuildPoints>30.0000</BuildPoints>
<BuildLimit>4</BuildLimit>
<Bounty>140.0000</Bounty>
<BuildBounty>70.0000</BuildBounty>
<Cost resourcetype ='Food'>350.0000</Cost>
<Cost resourcetype ='Wood'>350.0000</Cost>
<InitialResource resourcetype ='Gold'>10.0000</InitialResource>
<AllowedAge>0</AllowedAge>
<Armor type ='Siege' value ='0.0000'></Armor>
<BuilderLimit>8</BuilderLimit>
<UnitType>LogicalTypeValidSabotage</UnitType>
<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWalls</UnitType>
<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeVillagersAttack</UnitType>
<UnitType>LogicalTypeHandUnitsAttack</UnitType>
<UnitType>LogicalTypeShipsAndBuildings</UnitType>
<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWallsOrGroves</UnitType>
<UnitType>Economic</UnitType>
<UnitType>BuildingClass</UnitType>
<UnitType>ColonyBuilding</UnitType>
<UnitType>Building</UnitType>
<UnitType>ConvertsHerds</UnitType>
<UnitType>CountsTowardEconomicScore</UnitType>
<UnitType>HasBountyValue</UnitType>
<Flag>UnlimitedSupply</Flag>
<Flag>CollidesWithProjectiles</Flag>
<Flag>StartsAtFullEfficiency</Flag>
<Flag>Immoveable</Flag>
<Flag>NoBloodOnDeath</Flag>
<Flag>ObscuresUnits</Flag>
<Flag>NoIdleActions</Flag>
<Flag>NonAutoFormedUnit</Flag>
<Flag>Doppled</Flag>
<Flag>SelectWithObstruction</Flag>
<Flag>PaintTextureWhenPlacing</Flag>
<Flag>FlattenGround</Flag>
<Flag>InitialGarrisonOnly</Flag>
<Flag>ColonyBuilding</Flag>
<Flag>ColonyPlacementL</Flag>
<Flag>Tracked</Flag>
<Command page ='10' column ='0'>Delete</Command>
<Tactics>autogatherer.tactics</Tactics>
<ProtoAction>
<Name>Autogather</Name>
<Rate type ='Fame'>2.750000</Rate>
</ProtoAction>
</Unit>







注:模型在这里是采用的是兵工厂





























































每秒自动采集2.75单位Fame资源

传送门
  protoy.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Unit id ='1000' name ='CrateofFameLarge'>
<DBID>685</DBID>
<DisplayNameID>00101</DisplayNameID>
<ObstructionRadiusX>1.0000</ObstructionRadiusX>
<ObstructionRadiusZ>1.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MaxRunVelocity>0.0000</MaxRunVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\props_colony\crate_food.xml</AnimFile>
<Icon>ui\command\generate_food_icon</Icon>
<PortraitIcon>ui\command\generate_food_portrait</PortraitIcon>
<RolloverTextID>00102</RolloverTextID>
<ShortRolloverTextID>00102</ShortRolloverTextID>
<LOS>1.0000</LOS>
<InitialResource resourcetype ='Fame'>500.0000</InitialResource>
<ResourceSubType>meat</ResourceSubType>
<AllowedAge>0</AllowedAge>
<Decay delay ='0.0000' duration ='0.0000'></Decay>
<GathererLimit>8</GathererLimit>
<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
<UnitType>LogicalTypeEasySelectAvoid</UnitType>
<UnitType>LogicalTypeHealed</UnitType>
<UnitType>LogicalTypeGarrisonInShips</UnitType>
<UnitType>Resource</UnitType>
<UnitType>Unit</UnitType>
<UnitType>EmbellishmentClass</UnitType>
<UnitType>Unattackable</UnitType>
<UnitType>AbstractResourceCrate</UnitType>
<Flag>Immoveable</Flag>
<Flag>NonAutoFormedUnit</Flag>
<Flag>DoNotCreateUnitGroupAutomatically</Flag>
<Flag>RMCanRotate</Flag>
<Flag>Doppled</Flag>
<Flag>SelectWithObstruction</Flag>
<Flag>NoBloodOnDeath</Flag>
<Flag>NoHPBar</Flag>
<Flag>Invulnerable</Flag>
<Flag>DoNotDieAtZeroHitpoints</Flag>
<Flag>DieAtZeroResources</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>ObscuredByUnits</Flag>
<Flag>NotDeleteable</Flag>
<Flag>ObscuresUnits</Flag>
<Flag>Tracked</Flag>
<Command page ='10' column ='0'>Delete</Command>
</Unit>
<Unit id ='1001' name ='FameFactory'>
<DBID>103</DBID>
<DisplayNameID>00103</DisplayNameID>
<ObstructionRadiusX>3.0000</ObstructionRadiusX>
<ObstructionRadiusZ>3.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\arsenal\arsenal.xml</AnimFile>
<DeadReplacement>BuildingRubble4x4</DeadReplacement>
<DeadReplacementLifespan>15</DeadReplacementLifespan>
<ImpactType>Wood</ImpactType>
<PhysicsInfo>house</PhysicsInfo>
<PlacementFile>buildinglarge.xml</PlacementFile>
<Icon>buildings\bank\bank_icon</Icon>
<PortraitIcon>buildings\bank\bank_portrait</PortraitIcon>
<RolloverTextID>00104</RolloverTextID>
<ShortRolloverTextID>00105</ShortRolloverTextID>
<InitialHitpoints>4000.0000</InitialHitpoints>
<MaxHitpoints>4000.0000</MaxHitpoints>
<LOS>12.0000</LOS>
<BuildPoints>30.0000</BuildPoints>
<BuildLimit>4</BuildLimit>
<Bounty>140.0000</Bounty>
<BuildBounty>70.0000</BuildBounty>
<Cost resourcetype ='Food'>350.0000</Cost>
<Cost resourcetype ='Wood'>350.0000</Cost>
<InitialResource resourcetype ='Gold'>10.0000</InitialResource>
<AllowedAge>0</AllowedAge>
<Armor type ='Siege' value ='0.0000'></Armor>
<BuilderLimit>8</BuilderLimit>
<UnitType>LogicalTypeValidSabotage</UnitType>
<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWalls</UnitType>
<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeVillagersAttack</UnitType>
<UnitType>LogicalTypeHandUnitsAttack</UnitType>
<UnitType>LogicalTypeShipsAndBuildings</UnitType>
<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWallsOrGroves</UnitType>
<UnitType>Economic</UnitType>
<UnitType>BuildingClass</UnitType>
<UnitType>ColonyBuilding</UnitType>
<UnitType>Building</UnitType>
<UnitType>ConvertsHerds</UnitType>
<UnitType>CountsTowardEconomicScore</UnitType>
<UnitType>HasBountyValue</UnitType>
<Flag>UnlimitedSupply</Flag>
<Flag>CollidesWithProjectiles</Flag>
<Flag>StartsAtFullEfficiency</Flag>
<Flag>Immoveable</Flag>
<Flag>NoBloodOnDeath</Flag>
<Flag>ObscuresUnits</Flag>
<Flag>NoIdleActions</Flag>
<Flag>NonAutoFormedUnit</Flag>
<Flag>Doppled</Flag>
<Flag>SelectWithObstruction</Flag>
<Flag>PaintTextureWhenPlacing</Flag>
<Flag>FlattenGround</Flag>
<Flag>InitialGarrisonOnly</Flag>
<Flag>ColonyBuilding</Flag>
<Flag>ColonyPlacementL</Flag>
<Flag>Tracked</Flag>
<Command page ='10' column ='0'>Delete</Command>
<Tactics>autogatherer.tactics</Tactics>
<ProtoAction>
<Name>Autogather</Name>
<Rate type ='Fame'>2.750000</Rate>
</ProtoAction>
</Unit>

  stringtabley.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)

<String _locID="00100">采集人数 : {numGatherers(fame)}。</String>
<String _locID="00101">Fame资源箱</String>
<String _locID="00102">提供500 单位 Fame</String>
<String _locID="00103">Fame工厂</String>
<String _locID="00104">可生产Fame。</String>
<String _locID="00105">Fame生产建筑物</String>

方法三:修改techtreey.xml


资源流(每秒获得 1 单位 Fame)
<Effect type ='Data' amount ='1.00' subtype ='ResourceTrickleRate' resource ='Fame' relativity ='Absolute'>
<Target type ='Player'></Target></Effect>

直接获得100单位Fame
<Effect type ='Data' amount ='100.00' subtype ='Resource' resource ='Fame' relativity ='Absolute'>
<Target type ='Player'></Target></Effect>

方法四:市场交易,按钮有限,请慎用。

用AOE3ED提取protounitcommand.xml修改 将按钮SquadLock与SquadUnlock改成

<protounitcommand>
<name>SquadLock</name>
<command>resourceMarket(-1, "fame" , 100.0, "gold")</command>
<icon>art\ui\command\trade_buy_fame</icon>
<rollovertextid>00106</rollovertextid>
<valuetext>{marketBuy(fame)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>SquadUnlock</name>
<command>resourceMarket(-1,"fame",-100.0,"gold")</command>
<icon>art\ui\command\trade_sell_fame</icon>
<rollovertextid>00107</rollovertextid>
<valuetext>{marketSell(fame)}</valuetext>
</protounitcommand>
传送门
  protounitcommands.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
<?xml version="1.0" encoding="utf-8"?>
<protounitcommands>
<protounitcommand>
<name>MarketBuy1</name>
<command>resourceMarket(-1, "food" , 100.0, "gold")</command>
<icon>art\ui\command\trade_buy_food</icon>
<rollovertextid>19222</rollovertextid>
<valuetext>{marketBuy(food)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>MarketBuy2</name>
<command>resourceMarket(-1,"wood",100.0,"gold")</command>
<icon>art\ui\command\trade_buy_wood</icon>
<rollovertextid>19223</rollovertextid>
<valuetext>{marketBuy(wood)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>MarketSell1</name>
<command>resourceMarket(-1,"food",-100.0,"gold")</command>
<icon>art\ui\command\trade_sell_food</icon>
<rollovertextid>19224</rollovertextid>
<valuetext>{marketSell(food)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>MarketSell2</name>
<command>resourceMarket(-1,"wood",-100.0,"gold")</command>
<icon>art\ui\command\trade_sell_wood</icon>
<rollovertextid>19225</rollovertextid>
<valuetext>{marketSell(wood)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>TradeForFood</name>
<command>resourceMarket(-1, "food" , 100.0, "trade")</command>
<icon>art\ui\command\trade_buy_food_with_trade</icon>
<rollovertextid>62286</rollovertextid>
<valuetext>{marketBuy(food)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>TradeForWood</name>
<command>resourceMarket(-1,"wood",100.0,"trade")</command>
<icon>art\ui\command\trade_buy_wood_with_trade</icon>
<rollovertextid>62287</rollovertextid>
<valuetext>{marketBuy(wood)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>TradeForCoin</name>
<command>resourceMarket(-1,"trade",-100.0,"gold")</command>
<icon>art\ui\command\trade_buy_coin_with_trade</icon>
<rollovertextid>62288</rollovertextid>
<valuetext>{marketSell(trade)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>SetGatherPoint</name>
<icon>art\ui\command\waypoint_on</icon>
<command>editMode("gatherPoint") uiSetProtoCursor("WaypointFlag", false)</command>
<rollovertextid>19229</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>SetHomeCityGatherPoint</name>
<icon>art\ui\command\waypoint_on</icon>
<command>editMode("homeCityGatherPoint") uiSetProtoCursor("HomeCityGatherFlag", false)</command>
<rollovertextid>24818</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Eject</name>
<icon>art\ui\command\garrison_out</icon>
<command>uiEjectGarrisonedUnits</command>
<rollovertextid>36839</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Garrison</name>
<icon>art\ui\command\garrison_in</icon>
<command>editMode("garrison")</command>
<rollovertextid>19231</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Transform</name>
<icon>art\buildings\wall\gate_icon_64x64</icon>
<command>uiTransformSelectedUnit("CWallGate")</command>
<rollovertextid>24785</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>TownBell</name>
<icon>art\ui\command\town_bell</icon>
<command>unitTownBell</command>
<rollovertextid>22221</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ReturnToWork</name>
<icon>art\ui\command\town_bell_back_to_work</icon>
<command>unitReturnToWork</command>
<rollovertextid>22222</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Repair</name>
<icon>art\ui\command\command_repair</icon>
<command>editMode("repair")</command>
<rollovertextid>19309</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>RakeAttack</name>
<icon>art\ui\command\stance_aggresive_off</icon>
<rollovertextid>25601</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>BroadsideAttack</name>
<icon>art\ui\command\stance_aggresive_on</icon>
<rollovertextid>25602</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ShoreBombardmentAttack</name>
<icon>art\ui\command\command_patrol</icon>
<rollovertextid>25603</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Guard</name>
<icon>art\ui\command\command_guard</icon>
<command>editMode("guard")</command>
<rollovertextid>21021</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Patrol</name>
<icon>art\ui\command\command_patrol</icon>
<command>editMode("patrol")</command>
<rollovertextid>21022</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Stop</name>
<icon>art\ui\command\command_stop</icon>
<command>uiStopSelectedUnits</command>
<rollovertextid>21023</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Delete</name>
<icon>art\ui\command\kill_unit</icon>
<command>uiDeleteSelectedUnit</command>
<rollovertextid>21024</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Stance1</name>
<icon>art\ui\command\stance_aggresive_on</icon>
<command>unitSetStanceAggressive</command>
<rollovertextid>19143</rollovertextid>
<helptopic>stances</helptopic>
</protounitcommand>
<protounitcommand>
<name>Stance2</name>
<icon>art\ui\command\stance_defensive_on</icon>
<command>unitSetStanceDefensive</command>
<rollovertextid>19187</rollovertextid>
<helptopic>stances</helptopic>
</protounitcommand>
<protounitcommand>
<name>Stance3</name>
<icon>art\ui\command\stance_stand_ground_on</icon>
<command>unitSetStancePassive</command>
<rollovertextid>19147</rollovertextid>
<helptopic>stances</helptopic>
</protounitcommand>
<protounitcommand>
<name>Formation1</name>
<icon>art\ui\command\formation_line_on</icon>
<command>unitSetFormationDefault</command>
<rollovertextid>21028</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Formation2</name>
<icon>art\ui\command\formation_box_on</icon>
<command>unitSetFormationBox</command>
<rollovertextid>21030</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Formation3</name>
<icon>art\ui\command\formation_mixed_on</icon>
<command>unitSetFormationMixed</command>
<rollovertextid>21031</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Formation4</name>
<icon>art\ui\command\formation_spread_on</icon>
<command>unitSetFormationSpread</command>
<rollovertextid>21032</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Tactic0</name>
<icon>art\ui\command\mode_bombard</icon>
<activeicon>art\ui\command\mode_bombard_on</activeicon>
<disabledicon>art\ui\command\mode_bombard_off</disabledicon>
<rollovertextid>26821</rollovertextid>
<activerollovertextid>27051</activerollovertextid>
<disabledrollovertextid>27050</disabledrollovertextid>
<command>unitSetTactic("ShipBombard")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic1</name>
<icon>art\ui\command\mode_raking</icon>
<activeicon>art\ui\command\mode_raking_on</activeicon>
<disabledicon>art\ui\command\mode_raking_off</disabledicon>
<rollovertextid>26822</rollovertextid>
<activerollovertextid>27049</activerollovertextid>
<disabledrollovertextid>27048</disabledrollovertextid>
<command>unitSetTactic("Normal")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic2</name>
<icon>art\ui\command\mode_broadside</icon>
<activeicon>art\ui\command\mode_broadside_on</activeicon>
<disabledicon>art\ui\command\mode_broadside_off</disabledicon>
<rollovertextid>26823</rollovertextid>
<activerollovertextid>27047</activerollovertextid>
<disabledrollovertextid>27046</disabledrollovertextid>
<command>unitSetTactic("ShipBroadside")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic3</name>
<icon>art\ui\command\mode_raking</icon>
<activeicon>art\ui\command\mode_raking_on</activeicon>
<disabledicon>art\ui\command\mode_raking_off</disabledicon>
<rollovertextid>27176</rollovertextid>
<activerollovertextid>27177</activerollovertextid>
<disabledrollovertextid>27178</disabledrollovertextid>
<command>unitSetTactic("Normal")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic4</name>
<icon>art\ui\command\mode_bombard</icon>
<activeicon>art\ui\command\mode_bombard_on</activeicon>
<disabledicon>art\ui\command\mode_bombard_off</disabledicon>
<rollovertextid>27173</rollovertextid>
<activerollovertextid>27051</activerollovertextid>
<disabledrollovertextid>27050</disabledrollovertextid>
<command>unitSetTactic("Bombard")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic5</name>
<icon>art\ui\command\mode_ranged</icon>
<activeicon>art\ui\command\mode_ranged_on</activeicon>
<disabledicon>art\ui\command\mode_ranged_off</disabledicon>
<rollovertextid>28074</rollovertextid>
<activerollovertextid>28076</activerollovertextid>
<disabledrollovertextid>28075</disabledrollovertextid>
<command>unitSetTactic("Ranged")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic6</name>
<icon>art\ui\command\mode_melee</icon>
<activeicon>art\ui\command\mode_melee_on</activeicon>
<disabledicon>art\ui\command\mode_melee_off</disabledicon>
<rollovertextid>28077</rollovertextid>
<activerollovertextid>28079</activerollovertextid>
<disabledrollovertextid>28078</disabledrollovertextid>
<command>unitSetTactic("Melee")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic7</name>
<icon>art\ui\command\mode_sniper</icon>
<activeicon>art\ui\command\mode_sniper_on</activeicon>
<rollovertextid>28118</rollovertextid>
<activerollovertextid>28122</activerollovertextid>
<disabledrollovertextid>28123</disabledrollovertextid>
<command>unitSetTactic("Sharpshooter")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic8</name>
<icon>art\ui\command\mode_strike</icon>
<activeicon>art\ui\command\mode_strike_on</activeicon>
<rollovertextid>28483</rollovertextid>
<activerollovertextid>28484</activerollovertextid>
<disabledrollovertextid>28485</disabledrollovertextid>
<command>unitSetTactic("PikeKiller")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic9</name>
<icon>art\ui\command\mode_assault</icon>
<activeicon>art\ui\command\mode_assault_on</activeicon>
<rollovertextid>28486</rollovertextid>
<activerollovertextid>28486</activerollovertextid>
<disabledrollovertextid>28488</disabledrollovertextid>
<command>unitSetTactic("Assault")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic10</name>
<icon>art\ui\command\factory_produce_coin_off</icon>
<activeicon>art\ui\command\factory_produce_coin_on</activeicon>
<disabledicon>art\ui\command\factory_produce_coin_off</disabledicon>
<rollovertextid>29584</rollovertextid>
<activerollovertextid>29587</activerollovertextid>
<command>unitSetTactic("Normal")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic11</name>
<icon>art\ui\command\factory_produce_food_off</icon>
<activeicon>art\ui\command\factory_produce_food_on</activeicon>
<disabledicon>art\ui\command\factory_produce_food_off</disabledicon>
<rollovertextid>29582</rollovertextid>
<activerollovertextid>29585</activerollovertextid>
<command>unitSetTactic("Food")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic12</name>
<icon>art\ui\command\factory_produce_wood_off</icon>
<activeicon>art\ui\command\factory_produce_wood_on</activeicon>
<disabledicon>art\ui\command\factory_produce_wood_off</disabledicon>
<rollovertextid>29583</rollovertextid>
<activerollovertextid>29586</activerollovertextid>
<command>unitSetTactic("Wood")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic13</name>
<icon>art\ui\command\factory_produce_heavy_art</icon>
<activeicon>art\ui\command\factory_produce_heavy_art_on</activeicon>
<disabledicon>art\ui\command\factory_produce_heavy_art_off</disabledicon>
<rollovertextid>37180</rollovertextid>
<activerollovertextid>37181</activerollovertextid>
<command>unitSetTactic("Cannon")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic14</name>
<icon>art\ui\fire_pit\Fertility</icon>
<activeicon>art\ui\fire_pit\Fertility_on</activeicon>
<disabledicon>art\ui\fire_pit\Fertility</disabledicon>
<rollovertextid>45904</rollovertextid>
<activerollovertextid>45905</activerollovertextid>
<command>unitSetTactic("FertilityDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic15</name>
<icon>art\ui\fire_pit\Gifts</icon>
<activeicon>art\ui\fire_pit\Gifts_on</activeicon>
<disabledicon>art\ui\fire_pit\Gifts</disabledicon>
<rollovertextid>45906</rollovertextid>
<activerollovertextid>45907</activerollovertextid>
<command>unitSetTactic("GiftDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic16</name>
<icon>art\ui\fire_pit\town_dance</icon>
<activeicon>art\ui\fire_pit\town_dance_on</activeicon>
<disabledicon>art\ui\fire_pit\town_dance</disabledicon>
<rollovertextid>45587</rollovertextid>
<activerollovertextid>45588</activerollovertextid>
<command>unitSetTactic("CityDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic17</name>
<icon>art\ui\fire_pit\water_dance</icon>
<activeicon>art\ui\fire_pit\water_dance_on</activeicon>
<disabledicon>art\ui\fire_pit\water_dance</disabledicon>
<rollovertextid>46045</rollovertextid>
<activerollovertextid>46046</activerollovertextid>
<command>unitSetTactic("WaterDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic18</name>
<icon>art\ui\fire_pit\Alarm</icon>
<activeicon>art\ui\fire_pit\Alarm_on</activeicon>
<disabledicon>art\ui\fire_pit\Alarm</disabledicon>
<rollovertextid>46047</rollovertextid>
<activerollovertextid>46048</activerollovertextid>
<command>unitSetTactic("AlarmDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic19</name>
<icon>art\ui\fire_pit\Founder</icon>
<activeicon>art\ui\fire_pit\Founder_on</activeicon>
<disabledicon>art\ui\fire_pit\Founder</disabledicon>
<rollovertextid>46049</rollovertextid>
<activerollovertextid>46050</activerollovertextid>
<command>unitSetTactic("FounderDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic20</name>
<icon>art\ui\fire_pit\MorningWars</icon>
<activeicon>art\ui\fire_pit\MorningWars_on</activeicon>
<disabledicon>art\ui\fire_pit\MorningWars</disabledicon>
<rollovertextid>46057</rollovertextid>
<activerollovertextid>46058</activerollovertextid>
<command>unitSetTactic("MorningWarsDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic21</name>
<icon>art\ui\fire_pit\Earth_Mother</icon>
<activeicon>art\ui\fire_pit\Earth_Mother_on</activeicon>
<disabledicon>art\ui\fire_pit\Earth_Mother</disabledicon>
<rollovertextid>46055</rollovertextid>
<activerollovertextid>46056</activerollovertextid>
<command>unitSetTactic("EarthMotherDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic22</name>
<icon>art\ui\fire_pit\heal</icon>
<activeicon>art\ui\fire_pit\heal_on</activeicon>
<disabledicon>art\ui\fire_pit\heal</disabledicon>
<rollovertextid>46051</rollovertextid>
<activerollovertextid>46052</activerollovertextid>
<command>unitSetTactic("HealingDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic23</name>
<icon>art\ui\fire_pit\fire</icon>
<activeicon>art\ui\fire_pit\fire_on</activeicon>
<disabledicon>art\ui\fire_pit\fire</disabledicon>
<rollovertextid>46053</rollovertextid>
<activerollovertextid>46054</activerollovertextid>
<command>unitSetTactic("FireDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic24</name>
<icon>art\ui\fire_pit\morning_wars</icon>
<activeicon>art\ui\fire_pit\morning_Wars_on</activeicon>
<disabledicon>art\ui\fire_pit\morning_Wars</disabledicon>
<rollovertextid>46059</rollovertextid>
<activerollovertextid>46060</activerollovertextid>
<command>unitSetTactic("WarDanceSong")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic25</name>
<icon>art\ui\fire_Pit\garland_wars</icon>
<activeicon>art\ui\fire_pit\garland_wars_on</activeicon>
<disabledicon>art\ui\fire_pit\garland_wars</disabledicon>
<rollovertextid>46061</rollovertextid>
<activerollovertextid>46062</activerollovertextid>
<command>unitSetTactic("GarlandWarDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic26</name>
<icon>art\ui\fire_pit\WarChief_Iroquois</icon>
<activeicon>art\ui\fire_pit\WarChief_Iroquois_on</activeicon>
<disabledicon>art\ui\fire_pit\WarChief_Iroquois</disabledicon>
<rollovertextid>46084</rollovertextid>
<activerollovertextid>46085</activerollovertextid>
<command>unitSetTactic("WarChiefDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic27</name>
<icon>art\ui\fire_pit\Holy_iroquois</icon>
<activeicon>art\ui\fire_pit\Holy_iroquois_on</activeicon>
<disabledicon>art\ui\fire_pit\Holy_iroquois</disabledicon>
<rollovertextid>46086</rollovertextid>
<activerollovertextid>46087</activerollovertextid>
<command>unitSetTactic("HolyDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic28</name>
<icon>art\ui\fire_pit\war_dance</icon>
<activeicon>art\ui\fire_pit\war_dance_on</activeicon>
<disabledicon>art\ui\fire_pit\war_dance</disabledicon>
<rollovertextid>46652</rollovertextid>
<activerollovertextid>46653</activerollovertextid>
<command>unitSetTactic("WarDance")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic30</name>
<icon>art\ui\fire_pit\WarChief_Sioux</icon>
<activeicon>art\ui\fire_pit\WarChief_Sioux_on</activeicon>
<disabledicon>art\ui\fire_pit\WarChief_Sioux</disabledicon>
<rollovertextid>46084</rollovertextid>
<activerollovertextid>46085</activerollovertextid>
<command>unitSetTactic("WarChiefDanceSioux")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic31</name>
<icon>art\ui\fire_pit\WarChief_Aztec</icon>
<activeicon>art\ui\fire_pit\WarChief_Aztec_on</activeicon>
<disabledicon>art\ui\fire_pit\WarChief_Aztec</disabledicon>
<rollovertextid>46084</rollovertextid>
<activerollovertextid>46085</activerollovertextid>
<command>unitSetTactic("WarChiefDanceAztec")</command>
</protounitcommand>
<protounitcommand>
<name>Tactic32</name>
<icon>art\ui\fire_pit\Holy_Aztec</icon>
<activeicon>art\ui\fire_pit\Holy_Aztec_on</activeicon>
<disabledicon>art\ui\fire_pit\Holy_Aztec</disabledicon>
<rollovertextid>46086</rollovertextid>
<activerollovertextid>46087</activerollovertextid>
<command>unitSetTactic("HolyDanceAztec")</command>
</protounitcommand>
<protounitcommand>
<name>TacticSamurai</name>
<icon>art\ui\command\tactic_samurai_off</icon>
<activeicon>art\ui\command\tactic_samurai_on</activeicon>
<disabledicon>art\ui\command\tactic_samurai_off</disabledicon>
<rollovertextid>61772</rollovertextid>
<activerollovertextid>61773</activerollovertextid>
<command>unitSetTactic("Samurai")</command>
</protounitcommand>
<protounitcommand>
<name>TacticYabusame</name>
<icon>art\ui\command\tactic_yabusame_off</icon>
<activeicon>art\ui\command\tactic_yabusame_on</activeicon>
<disabledicon>art\ui\command\tactic_yabusame_off</disabledicon>
<rollovertextid>64311</rollovertextid>
<activerollovertextid>64312</activerollovertextid>
<command>unitSetTactic("Yabusame")</command>
</protounitcommand>
<protounitcommand>
<name>TacticNaginataRider</name>
<icon>art\ui\command\tactic_naginata_off</icon>
<activeicon>art\ui\command\tactic_naginata_on</activeicon>
<disabledicon>art\ui\command\tactic_naginata_off</disabledicon>
<rollovertextid>64313</rollovertextid>
<activerollovertextid>64314</activerollovertextid>
<command>unitSetTactic("NaginataRider")</command>
</protounitcommand>
<protounitcommand>
<name>TacticAshigaru</name>
<icon>art\ui\command\tactic_ashigaru_off</icon>
<activeicon>art\ui\command\tactic_ashigaru_on</activeicon>
<disabledicon>art\ui\command\tactic_ashigaru_off</disabledicon>
<rollovertextid>64315</rollovertextid>
<activerollovertextid>64316</activerollovertextid>
<command>unitSetTactic("Ashigaru")</command>
</protounitcommand>
<protounitcommand>
<name>TacticYumi</name>
<icon>art\ui\command\tactic_yumi_off</icon>
<activeicon>art\ui\command\tactic_yumi_on</activeicon>
<disabledicon>art\ui\command\tactic_yumi_off</disabledicon>
<rollovertextid>64317</rollovertextid>
<activerollovertextid>64318</activerollovertextid>
<command>unitSetTactic("Yumi")</command>
</protounitcommand>
<protounitcommand>
<name>TacticXP</name>
<icon>art\ui\techs\asians\shrine_xp</icon>
<activeicon>art\ui\techs\asians\shrine_xp_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_xp</disabledicon>
<rollovertextid>61776</rollovertextid>
<activerollovertextid>61777</activerollovertextid>
<command>unitSetTactic("Normal")</command>
</protounitcommand>
<protounitcommand>
<name>TacticXPShrine</name>
<icon>art\ui\techs\asians\shrine_xp</icon>
<activeicon>art\ui\techs\asians\shrine_xp_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_xp</disabledicon>
<rollovertextid>68803</rollovertextid>
<activerollovertextid>68804</activerollovertextid>
<command>unitSetTactic("ShrineXP")</command>
</protounitcommand>
<protounitcommand>
<name>TacticCoin</name>
<icon>art\ui\techs\asians\shrine_coin</icon>
<activeicon>art\ui\techs\asians\shrine_coin_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_coin</disabledicon>
<rollovertextid>61778</rollovertextid>
<activerollovertextid>61779</activerollovertextid>
<command>unitSetTactic("ShrineCoin")</command>
</protounitcommand>
<protounitcommand>
<name>TacticFood</name>
<icon>art\ui\techs\asians\shrine_food</icon>
<activeicon>art\ui\techs\asians\shrine_food_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_food</disabledicon>
<rollovertextid>61780</rollovertextid>
<activerollovertextid>61781</activerollovertextid>
<command>unitSetTactic("ShrineFood")</command>
</protounitcommand>
<protounitcommand>
<name>TacticWood</name>
<icon>art\ui\techs\asians\shrine_wood</icon>
<activeicon>art\ui\techs\asians\shrine_wood_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_wood</disabledicon>
<rollovertextid>61782</rollovertextid>
<activerollovertextid>61783</activerollovertextid>
<command>unitSetTactic("ShrineWood")</command>
</protounitcommand>
<protounitcommand>
<name>RicePaddyCoin</name>
<icon>art\ui\command\tactic_rice_paddy_coin_off</icon>
<activeicon>art\ui\command\tactic_rice_paddy_coin_on</activeicon>
<disabledicon>art\ui\command\tactic_rice_paddy_coin_off</disabledicon>
<rollovertextid>66053</rollovertextid>
<activerollovertextid>66054</activerollovertextid>
<command>unitSetTactic("PaddyCoin")</command>
</protounitcommand>
<protounitcommand>
<name>RicePaddyFood</name>
<icon>art\ui\command\tactic_rice_paddy_food_off</icon>
<activeicon>art\ui\command\tactic_rice_paddy_food_on</activeicon>
<disabledicon>art\ui\command\tactic_rice_paddy_food_off</disabledicon>
<rollovertextid>66055</rollovertextid>
<activerollovertextid>66056</activerollovertextid>
<command>unitSetTactic("PaddyFood")</command>
</protounitcommand>
<protounitcommand>
<name>TacticRangedDamage</name>
<icon>art\ui\techs\asians\gold_range_dmg</icon>
<activeicon>art\ui\techs\asians\gold_range_dmg_on</activeicon>
<disabledicon>art\ui\techs\asians\gold_range_dmg</disabledicon>
<rollovertextid>65137</rollovertextid>
<activerollovertextid>65138</activerollovertextid>
<command>unitSetTactic("RangeDamage")</command>
</protounitcommand>
<protounitcommand>
<name>TacticHandDamage</name>
<icon>art\ui\techs\asians\gold_hand_dmg</icon>
<activeicon>art\ui\techs\asians\gold_hand_dmg_on</activeicon>
<disabledicon>art\ui\techs\asians\gold_hand_dmg</disabledicon>
<rollovertextid>65139</rollovertextid>
<activerollovertextid>65140</activerollovertextid>
<command>unitSetTactic("HandDamage")</command>
</protounitcommand>
<protounitcommand>
<name>TacticUnitHitpoints</name>
<icon>art\ui\techs\asians\gold_unit_hp</icon>
<activeicon>art\ui\techs\asians\gold_unit_hp_on</activeicon>
<disabledicon>art\ui\techs\asians\gold_unit_hp</disabledicon>
<rollovertextid>65141</rollovertextid>
<activerollovertextid>65142</activerollovertextid>
<command>unitSetTactic("UnitHitpoints")</command>
</protounitcommand>
<protounitcommand>
<name>TacticUnitSpeed</name>
<icon>art\ui\techs\asians\gold_unit_speed</icon>
<activeicon>art\ui\techs\asians\gold_unit_speed_on</activeicon>
<disabledicon>art\ui\techs\asians\gold_unit_speed</disabledicon>
<rollovertextid>70274</rollovertextid>
<activerollovertextid>70275</activerollovertextid>
<command>unitSetTactic("UnitSpeed")</command>
</protounitcommand>
<protounitcommand>
<name>TacticTax0</name>
<icon>art\ui\techs\asians\tech_tax_0_off</icon>
<activeicon>art\ui\techs\asians\tech_tax_0_on</activeicon>
<disabledicon>art\ui\techs\asians\tech_tax_0_off</disabledicon>
<rollovertextid>68781</rollovertextid>
<activerollovertextid>68785</activerollovertextid>
<command>unitSetTactic("Tax0")</command>
</protounitcommand>
<protounitcommand>
<name>TacticTax5</name>
<icon>art\ui\techs\asians\tech_tax_5_off</icon>
<activeicon>art\ui\techs\asians\tech_tax_5_on</activeicon>
<disabledicon>art\ui\techs\asians\tech_tax_5_off</disabledicon>
<rollovertextid>68782</rollovertextid>
<activerollovertextid>68786</activerollovertextid>
<command>unitSetTactic("Tax5")</command>
</protounitcommand>
<protounitcommand>
<name>TacticTax10</name>
<icon>art\ui\techs\asians\tech_tax_10_off</icon>
<activeicon>art\ui\techs\asians\tech_tax_10_on</activeicon>
<disabledicon>art\ui\techs\asians\tech_tax_10_off</disabledicon>
<rollovertextid>68783</rollovertextid>
<activerollovertextid>68787</activerollovertextid>
<command>unitSetTactic("Tax10")</command>
</protounitcommand>
<protounitcommand>
<name>TacticTrade</name>
<icon>art\ui\command\tactic_rainbow_trickle_off</icon>
<activeicon>art\ui\command\tactic_rainbow_trickle_on</activeicon>
<disabledicon>art\ui\command\tactic_rainbow_trickle_off</disabledicon>
<rollovertextid>64309</rollovertextid>
<activerollovertextid>64310</activerollovertextid>
<command>unitSetTactic("WonderRainbow")</command>
</protounitcommand>
<protounitcommand>
<name>WonderCoin</name>
<icon>art\ui\techs\asians\shrine_coin</icon>
<activeicon>art\ui\techs\asians\shrine_coin_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_coin</disabledicon>
<rollovertextid>65160</rollovertextid>
<activerollovertextid>65161</activerollovertextid>
<command>unitSetTactic("WonderCoin")</command>
</protounitcommand>
<protounitcommand>
<name>WonderFlyingCrow</name>
<icon>art\ui\command\tactic_wonder_flying_crow_off</icon>
<activeicon>art\ui\command\tactic_wonder_flying_crow_on</activeicon>
<disabledicon>art\ui\command\tactic_wonder_flying_crow_off</disabledicon>
<rollovertextid>65166</rollovertextid>
<activerollovertextid>65167</activerollovertextid>
<command>unitSetTactic("WonderFlyingCrow")</command>
</protounitcommand>
<protounitcommand>
<name>WonderWood</name>
<icon>art\ui\techs\asians\shrine_wood</icon>
<activeicon>art\ui\techs\asians\shrine_wood_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_wood</disabledicon>
<rollovertextid>65164</rollovertextid>
<activerollovertextid>65165</activerollovertextid>
<command>unitSetTactic("WonderWood")</command>
</protounitcommand>
<protounitcommand>
<name>WonderStandardArmy</name>
<icon>art\ui\command\tactic_wonder_standard_army_off</icon>
<activeicon>art\ui\command\tactic_wonder_standard_army_on</activeicon>
<disabledicon>art\ui\command\tactic_wonder_standard_army_off</disabledicon>
<rollovertextid>68428</rollovertextid>
<activerollovertextid>68429</activerollovertextid>
<command>unitSetTactic("StandardArmy")</command>
</protounitcommand>
<protounitcommand>
<name>WonderTerritorialArmy</name>
<icon>art\ui\command\tactic_wonder_territorial_army_off</icon>
<activeicon>art\ui\command\tactic_wonder_territorial_army_on</activeicon>
<disabledicon>art\ui\command\tactic_wonder_territorial_army_off</disabledicon>
<rollovertextid>65174</rollovertextid>
<activerollovertextid>65175</activerollovertextid>
<command>unitSetTactic("TerritorialArmy")</command>
</protounitcommand>
<protounitcommand>
<name>WonderForbiddenArmy</name>
<icon>art\ui\command\tactic_wonder_forbidden_army_off</icon>
<activeicon>art\ui\command\tactic_wonder_forbidden_army_on</activeicon>
<disabledicon>art\ui\command\tactic_wonder_forbidden_army_off</disabledicon>
<rollovertextid>65170</rollovertextid>
<activerollovertextid>65171</activerollovertextid>
<command>unitSetTactic("ForbiddenArmy")</command>
</protounitcommand>
<protounitcommand>
<name>WonderMingArmy</name>
<icon>art\ui\command\tactic_wonder_qing_army_off</icon>
<activeicon>art\ui\command\tactic_wonder_qing_army_on</activeicon>
<disabledicon>art\ui\command\tactic_wonder_qing_army_off</disabledicon>
<rollovertextid>68430</rollovertextid>
<activerollovertextid>68431</activerollovertextid>
<command>unitSetTactic("MingArmy")</command>
</protounitcommand>
<protounitcommand>
<name>WonderImperialArmy</name>
<icon>art\ui\command\tactic_wonder_imperial_army_off</icon>
<activeicon>art\ui\command\tactic_wonder_imperial_army_on</activeicon>
<disabledicon>art\ui\command\tactic_wonder_imperial_army_off</disabledicon>
<rollovertextid>65172</rollovertextid>
<activerollovertextid>65173</activerollovertextid>
<command>unitSetTactic("ImperialArmy")</command>
</protounitcommand>
<protounitcommand>
<name>WonderOldHanArmy</name>
<icon>art\ui\command\tactic_wonder_old_han_army_off</icon>
<activeicon>art\ui\command\tactic_wonder_old_han_army_on</activeicon>
<disabledicon>art\ui\command\tactic_wonder_old_han_army_off</disabledicon>
<rollovertextid>65168</rollovertextid>
<activerollovertextid>65169</activerollovertextid>
<command>unitSetTactic("OldHanArmy")</command>
</protounitcommand>
<protounitcommand>
<name>WonderFood</name>
<icon>art\ui\techs\asians\shrine_food</icon>
<activeicon>art\ui\techs\asians\shrine_food_on</activeicon>
<disabledicon>art\ui\techs\asians\shrine_food</disabledicon>
<rollovertextid>65162</rollovertextid>
<activerollovertextid>65163</activerollovertextid>
<command>unitSetTactic("WonderFood")</command>
</protounitcommand>
<protounitcommand>
<name>TreasureShipFood</name>
<icon>art\ui\command\generate_food_off</icon>
<activeicon>art\ui\command\generate_food_on</activeicon>
<disabledicon>art\ui\command\generate_food_off</disabledicon>
<rollovertextid>68566</rollovertextid>
<activerollovertextid>68567</activerollovertextid>
<command>unitSetTactic("Normal")</command>
</protounitcommand>
<protounitcommand>
<name>TreasureShipWood</name>
<icon>art\ui\command\generate_wood_off</icon>
<activeicon>art\ui\command\generate_wood_on</activeicon>
<disabledicon>art\ui\command\generate_wood_off</disabledicon>
<rollovertextid>68568</rollovertextid>
<activerollovertextid>68569</activerollovertextid>
<command>unitSetTactic("Wood")</command>
</protounitcommand>
<protounitcommand>
<name>TreasureShipCoin</name>
<icon>art\ui\command\generate_coin_off</icon>
<activeicon>art\ui\command\generate_coin_on</activeicon>
<disabledicon>art\ui\command\generate_coin_off</disabledicon>
<rollovertextid>68570</rollovertextid>
<activerollovertextid>68571</activerollovertextid>
<command>unitSetTactic("Coin")</command>
</protounitcommand>
<protounitcommand>
<name>BuildColonyWall</name>
<icon>art\ui\command\build_colony_wall</icon>
<disabledicon>art\ui\command\build_colony_wall_dissabled</disabledicon>
<rollovertextid>27916</rollovertextid>
<disabledrollovertextid>27917</disabledrollovertextid>
<command>createColonyWall</command>
</protounitcommand>
<protounitcommand>
<name>RansomExplorer</name>
<icon>art\ui\command\ransom_explorer_on</icon>
<disabledicon>art\ui\command\ransom_explorer_off</disabledicon>
<rollovertextid>28369</rollovertextid>
<disabledrollovertextid>28370</disabledrollovertextid>
<command>ransomExplorer</command>
</protounitcommand>
<protounitcommand>
<name>RansomExplorerAsian</name>
<icon>art\ui\command\ransom_explorer_on</icon>
<disabledicon>art\ui\command\ransom_explorer_off</disabledicon>
<rollovertextid>69609</rollovertextid>
<disabledrollovertextid>69610</disabledrollovertextid>
<command>ransomExplorer</command>
</protounitcommand>
<protounitcommand>
<name>TradeRouteUpgrade</name>
<icon>art\ui\command\upgrade_trade_route</icon>
<icon>art\ui\command\upgrade_trade_route2</icon>
<rollovertextid>29318</rollovertextid>
<command>upgradeTradeRoute(%d)</command>
<commandpassesunitid/>
</protounitcommand>
<protounitcommand>
<name>RepairColonyWall</name>
<icon>art\ui\command\repair_colony_wall</icon>
<disabledicon>art\ui\command\repair_colony_wall_dissabled</disabledicon>
<rollovertextid>29709</rollovertextid>
<disabledrollovertextid>29710</disabledrollovertextid>
<command>repairColonyWall</command>
</protounitcommand>
<protounitcommand>
<name>BreakTreaty</name>
<icon>art\ui\command\break_treaty</icon>
<disabledicon>art\ui\command\break_treaty_disabled</disabledicon>
<rollovertextid>30107</rollovertextid>
<disabledrollovertextid/>
<command>breakTreaty</command>
</protounitcommand>
<protounitcommand>
<name>SquadWheelLeft</name>
<icon>art\ui\command\formation_wheel_left</icon>
<activeicon>art\ui\command\formation_wheel_left</activeicon>
<disabledicon>art\ui\command\formation_wheel_left</disabledicon>
<rollovertextid/>
<disabledrollovertextid/>
<command>SquadWheel(-0.39269908169875, -1)</command>
</protounitcommand>
<protounitcommand>
<name>SquadWheelRight</name>
<icon>art\ui\command\formation_wheel_right</icon>
<activeicon>art\ui\command\formation_wheel_right</activeicon>
<disabledicon>art\ui\command\formation_wheel_right</disabledicon>
<rollovertextid/>
<disabledrollovertextid/>
<command>SquadWheel(0.39269908169875, -1)</command>
</protounitcommand> <protounitcommand>
<name>SquadLock</name>
<command>resourceMarket(-1, "fame" , 100.0, "gold")</command>
<icon>art\ui\command\trade_buy_fame</icon>
<rollovertextid>00006</rollovertextid>
<valuetext>{marketBuy(fame)}</valuetext>
</protounitcommand>
<protounitcommand>
<name>SquadUnlock</name>
<command>resourceMarket(-1,"fame",-100.0,"gold")</command>
<icon>art\ui\command\trade_sell_fame</icon>
<rollovertextid>00007</rollovertextid>
<valuetext>{marketSell(fame)}</valuetext>
</protounitcommand>

<protounitcommand>
<name>SetGatherPointMilitary</name>
<icon>art\ui\ingame\panel_gather_point_military01</icon>
<command>editMode("gatherPointMilitary") uiSetProtoCursor("WaypointFlag", false)</command>
<rollovertextid>30223</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>SetGatherPointEconomy</name>
<icon>art\ui\ingame\panel_gather_point_economy01</icon>
<command>editMode("gatherPointEconomy") uiSetProtoCursor("WaypointFlag", false)</command>
<rollovertextid>30224</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ImperialArmyBuyDown</name>
<icon>art\ui\command\iabuydown</icon>
<command>reduceImperialArmyYear(-1)</command>
<rollovertextid>30336</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ConvertCoveredWagon</name>
<icon>art\buildings\town_center\towncenter_icon</icon>
<command>convertCoveredWagon()</command>
<rollovertextid>30919</rollovertextid>
<disabledrollovertextid>30920</disabledrollovertextid>
</protounitcommand>
<protounitcommand>
<name>AutoRepairUnit</name>
<icon>art\ui\command\command_repair</icon>
<command>repairUnit(-1)</command>
<rollovertextid>31329</rollovertextid>
<disabledrollovertextid>31329</disabledrollovertextid>
</protounitcommand>
<protounitcommand>
<name>AutoRepairUnitCancel</name>
<icon>art\ui\command\command_repair_busy</icon>
<command>cancelRepairUnit(-1)</command>
<rollovertextid>31330</rollovertextid>
<disabledrollovertextid>31330</disabledrollovertextid>
</protounitcommand>
<protounitcommand>
<name>AutoRepairUnitInvalid</name>
<icon>art\ui\command\command_repair_stop</icon>
<command/>
<rollovertextid>42346</rollovertextid>
<disabledrollovertextid>42346</disabledrollovertextid>
</protounitcommand>
<protounitcommand>
<name>Abilities</name>
<command>ability</command>
</protounitcommand>
<protounitcommand>
<name>SetUnitAsHomeCityGatherPoint</name>
<icon>art\ui\command\waypoint_on</icon>
<command>setHomeCityGatherUnit(%d)</command>
<commandpassesunitid/>
<rollovertextid>32970</rollovertextid>
<disabledrollovertextid>32971</disabledrollovertextid>
</protounitcommand>
<protounitcommand>
<name>YPSetDaimyoAsHCGatherPoint</name>
<icon>art\ui\command\waypoint_on</icon>
<command>setHomeCityGatherUnit(%d)</command>
<commandpassesunitid/>
<rollovertextid>69910</rollovertextid>
<disabledrollovertextid>69911</disabledrollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypOttomanLevy</name>
<icon>art\ui\techs\levy\levy</icon>
<command>spawnUnits("Minuteman", 6, %d)</command>
<commandpassesunitid/>
<associatedtech>ypConsulateOttomansSettlerCombat</associatedtech>
<rollovertextid>64257</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Levy</name>
<icon>art\ui\techs\levy\levy</icon>
<command>spawnUnits("Minuteman", 6, %d)</command>
<commandpassesunitid/>
<associatedtech>Levy</associatedtech>
<rollovertextid>23458</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>Conscription</name>
<icon>art\ui\techs\conscription\conscription</icon>
<command>spawnUnits("Minuteman", 15, %d)</command>
<commandpassesunitid/>
<associatedtech>Conscription</associatedtech>
<rollovertextid>36108</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypIrregulars</name>
<icon>art\ui\techs\asians\tech_rural_peasant_uprising</icon>
<command>spawnUnits("ypIrregular", 2, %d)</command>
<commandpassesunitid/>
<associatedtech>ypIrregulars</associatedtech>
<rollovertextid>66142</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypPeasants</name>
<icon>art\ui\techs\asians\tech_rural_defense</icon>
<command>spawnUnits("ypPeasant", 2, %d)</command>
<commandpassesunitid/>
<associatedtech>ypPeasants</associatedtech>
<rollovertextid>65704</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypAssemble</name>
<icon>art\ui\techs\asians\tech_peasant_uprising</icon>
<command>spawnUnits("ypPeasant", 4, %d)</command>
<commandpassesunitid/>
<associatedtech>ypAssemble</associatedtech>
<rollovertextid>62516</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypMuster</name>
<icon>art\ui\techs\asians\tech_town_defense</icon>
<command>spawnUnits("ypIrregular", 4, %d)</command>
<commandpassesunitid/>
<associatedtech>ypMuster</associatedtech>
<rollovertextid>62520</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypAmass</name>
<icon>art\ui\techs\asians\tech_peasant_revolt</icon>
<command>spawnUnits("ypPeasant", 10, %d)</command>
<commandpassesunitid/>
<associatedtech>ypAmass</associatedtech>
<rollovertextid>62524</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypMarshal</name>
<icon>art\ui\techs\asians\tech_city_defense</icon>
<command>spawnUnits("ypIrregular", 10, %d)</command>
<commandpassesunitid/>
<associatedtech>ypMarshal</associatedtech>
<rollovertextid>62526</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypAssembleIndians</name>
<icon>art\ui\techs\asians\tech_peasant_uprising_indian</icon>
<command>spawnUnits("ypPeasant", 4, %d)</command>
<commandpassesunitid/>
<associatedtech>ypAssembleIndians</associatedtech>
<rollovertextid>62516</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypMusterIndians</name>
<icon>art\ui\techs\asians\tech_town_defense_indian</icon>
<command>spawnUnits("ypIrregular", 4, %d)</command>
<commandpassesunitid/>
<associatedtech>ypMusterIndians</associatedtech>
<rollovertextid>62520</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypAmassIndians</name>
<icon>art\ui\techs\asians\tech_peasant_revolt_indian</icon>
<command>spawnUnits("ypPeasant", 10, %d)</command>
<commandpassesunitid/>
<associatedtech>ypAmassIndians</associatedtech>
<rollovertextid>62524</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypMarshalIndians</name>
<icon>art\ui\techs\asians\tech_city_defense_indian</icon>
<command>spawnUnits("ypIrregular", 10, %d)</command>
<commandpassesunitid/>
<associatedtech>ypMarshalIndians</associatedtech>
<rollovertextid>62526</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>FourOfAKind</name>
<icon>buildings\trading_post\trading_post_icon</icon>
<command>fourOfAKind</command>
<rollovertextid>35075</rollovertextid>
<disabledrollovertextid>35074</disabledrollovertextid>
<associatedtech>TradeMonopoly</associatedtech>
<usemultiple/>
</protounitcommand>
<protounitcommand>
<name>SetHomeCityWaterSpawnPoint</name>
<icon>art\ui\command\waypoint_on</icon>
<command>editMode("setHomeCityWaterSpawnPoint") uiSetProtoCursor("HomeCityWaterSpawnFlag", false)</command>
<rollovertextid>38273</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>AttackMove</name>
<icon>art\ui\command\command_attack_move</icon>
<command>editMode("attackMove")</command>
<rollovertextid>18986</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ToggleStealth</name>
<icon>art\ui\command\tactics_stealth_avl</icon>
<icon>art\ui\command\tactics_stealth_cur</icon>
<command>unitToggleStealth()</command>
<rollovertextid>46492</rollovertextid>
</protounitcommand>
<protounitcommand>
<name>ypMigrants</name>
<icon>art\units\asians\shared\villager\peasant_icon</icon>
<command>spawnUnits("ypSettlerAsian", 3, %d)</command>
<commandpassesunitid/>
<associatedtech>ypMigrants</associatedtech>
<rollovertextid>64635</rollovertextid>
</protounitcommand>
</protounitcommands>

  stringtabley.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)

<String _locID="00100">采集人数 : {numGatherers(fame)}。</String>
<String _locID="00101">Fame资源箱</String>
<String _locID="00102">提供500 单位 Fame</String>
<String _locID="00103">Fame工厂</String>
<String _locID="00104">可生产Fame。</String>
<String _locID="00105">Fame生产建筑物</String>
<String _locID="00006">用钱币购买 100 单位的 <icon="(32)(ui/ingame/resource_fame)">。</String>
<String _locID="00007">出售 100 单位的 <icon="(32)(ui/ingame/resource_fame)"> 以换取钱币。</String>

Protoy.xml中的市场与亚洲市场分别添加:


<Command page ='7' column ='2'>SquadLock</Command>
<Command page ='8' column ='2'>SquadUnlock</Command>
  protoy.xml - 记事本 ____ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)

<Unit id ='434' name ='Market'>
<DBID>337</DBID>
<DisplayNameID>26749</DisplayNameID>
<ObstructionRadiusX>5.0000</ObstructionRadiusX>
<ObstructionRadiusZ>5.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\market\market.xml</AnimFile>
<DeadReplacement>BuildingRubble5x5</DeadReplacement>
<DeadReplacementLifespan>15</DeadReplacementLifespan>
<ImpactType>Wood</ImpactType>
<PhysicsInfo>house</PhysicsInfo>
<PlacementFile>buildinglarge.xml</PlacementFile>
<Icon>buildings\market\market_icon</Icon>
<PortraitIcon>buildings\market\market_portrait</PortraitIcon>
<RolloverTextID>26748</RolloverTextID>
<ShortRolloverTextID>26747</ShortRolloverTextID>
<InitialHitpoints>2000.0000</InitialHitpoints>
<MaxHitpoints>2000.0000</MaxHitpoints>
<LOS>12.0000</LOS>
<BuildPoints>15.0000</BuildPoints>
<Bounty>40.0000</Bounty>
<BuildBounty>20.0000</BuildBounty>
<Cost resourcetype ='Wood'>100.0000</Cost>
<BuildingWorkRate>1.0000</BuildingWorkRate>
<AllowedAge>0</AllowedAge>
<Armor type ='Siege' value ='0.0000'></Armor>
<BuilderLimit>8</BuilderLimit>
<UnitType>LogicalTypeValidSabotage</UnitType>
<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWalls</UnitType>
<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeVillagersAttack</UnitType>
<UnitType>LogicalTypeHandUnitsAttack</UnitType>
<UnitType>LogicalTypeShipsAndBuildings</UnitType>
<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWallsOrGroves</UnitType>
<UnitType>ConvertsHerds</UnitType>
<UnitType>HasBountyValue</UnitType>
<UnitType>CountsTowardEconomicScore</UnitType>
<UnitType>Building</UnitType>
<UnitType>Economic</UnitType>
<UnitType>BuildingClass</UnitType>
<Tech row ='0' page ='1' column ='0'>SteelTraps</Tech>
<Tech row ='0' page ='1' column ='1'>CircularSaw</Tech>
<Tech row ='0' page ='1' column ='4'>GreatCoat</Tech>
<Tech row ='0' page ='1' column ='3'>Blunderbuss</Tech>
<Tech row ='0' page ='1' column ='0'>HuntingDogs</Tech>
<Tech row ='0' page ='1' column ='1'>Gangsaw</Tech>
<Tech row ='0' page ='1' column ='1'>LogFlume</Tech>
<Tech row ='0' page ='2' column ='0'>BigMarketNewYear</Tech>
<Tech row ='0' page ='1' column ='1'>LumberCeremony</Tech>
<Tech row ='0' page ='1' column ='1'>ForestSpiritCeremony</Tech>
<Tech row ='0' page ='1' column ='1'>ImpDeforestationNative</Tech>
<Tech row ='0' page ='1' column ='4'>GreatCoat</Tech>
<Tech row ='0' page ='1' column ='3'>Blunderbuss</Tech>
<Tech row ='0' page ='1' column ='0'>HuntingDogs</Tech>
<Tech row ='0' page ='1' column ='1'>Gangsaw</Tech>
<Tech row ='0' page ='1' column ='1'>LogFlume</Tech>
<Tech row ='0' page ='1' column ='3'>SpiritMedicine</Tech>
<Tech row ='0' page ='1' column ='1'>ForestPeopleCeremony</Tech>
<Tech row ='0' page ='1' column ='2'>PlacerMines</Tech>
<Tech row ='0' page ='1' column ='2'>Amalgamation</Tech>
<Flag>CollidesWithProjectiles</Flag>
<Flag>StartsAtFullEfficiency</Flag>
<Flag>Immoveable</Flag>
<Flag>NoBloodOnDeath</Flag>
<Flag>ObscuresUnits</Flag>
<Flag>NoIdleActions</Flag>
<Flag>NonAutoFormedUnit</Flag>
<Flag>Doppled</Flag>
<Flag>SelectWithObstruction</Flag>
<Flag>PaintTextureWhenPlacing</Flag>
<Flag>FlattenGround</Flag>
<Flag>Tracked</Flag>
<Command page ='10' column ='0'>Delete</Command>
<Command page ='7' column ='1'>MarketBuy2</Command>
<Command page ='7' column ='0'>MarketBuy1</Command>
<Command page ='8' column ='0'>MarketSell1</Command>
<Command page ='8' column ='1'>MarketSell2</Command>
<Command page ='7' column ='2'>SquadLock</Command>
<Command page ='8' column ='2'>SquadUnlock</Command>

<Tactics>autogatherer.tactics</Tactics>
</Unit>
<!--省略其他语句 -->
<Unit id ='1240' name ='ypTradeMarketAsian'>
<DBID>1831</DBID>
<DisplayNameID>65500</DisplayNameID>
<EditorNameID>65501</EditorNameID>
<ObstructionRadiusX>5.0000</ObstructionRadiusX>
<ObstructionRadiusZ>5.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\asian_civs\trade_market\trade_market.xml</AnimFile>
<DeadReplacement>BuildingRubble5x5</DeadReplacement>
<DeadReplacementLifespan>15</DeadReplacementLifespan>
<ImpactType>Wood</ImpactType>
<PhysicsInfo>house</PhysicsInfo>
<PlacementFile>buildinglarge.xml</PlacementFile>
<Icon>buildings\asian_civs\trade_market\japan\japanese_market_icon_64</Icon>
<PortraitIcon>buildings\asian_civs\trade_market\japan\japanese_market_icon_portrait</PortraitIcon>
<RolloverTextID>65499</RolloverTextID>
<ShortRolloverTextID>65498</ShortRolloverTextID>
<InitialHitpoints>2000.0000</InitialHitpoints>
<MaxHitpoints>2000.0000</MaxHitpoints>
<LOS>12.0000</LOS>
<BuildPoints>15.0000</BuildPoints>
<Bounty>40.0000</Bounty>
<BuildBounty>20.0000</BuildBounty>
<Cost resourcetype ='Wood'>100.0000</Cost>
<BuildingWorkRate>1.0000</BuildingWorkRate>
<AllowedAge>0</AllowedAge>
<Armor type ='Siege' value ='0.0000'></Armor>
<BuilderLimit>8</BuilderLimit>
<UnitType>LogicalTypeValidSabotage</UnitType>
<UnitType>LogicalTypeMinimapFilterEconomic</UnitType>
<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWalls</UnitType>
<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeVillagersAttack</UnitType>
<UnitType>LogicalTypeHandUnitsAttack</UnitType>
<UnitType>LogicalTypeShipsAndBuildings</UnitType>
<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWallsOrGroves</UnitType>
<UnitType>Economic</UnitType>
<UnitType>BuildingClass</UnitType>
<UnitType>Building</UnitType>
<UnitType>CountsTowardEconomicScore</UnitType>
<UnitType>HasBountyValue</UnitType>
<UnitType>ConvertsHerds</UnitType>
<Tech row ='0' page ='1' column ='0'>ypMarketBerryDogs</Tech>
<Tech row ='0' page ='1' column ='0'>ypMarketBerryTraps</Tech>
<Tech row ='0' page ='1' column ='1'>ypImpDeforestationAsian</Tech>
<Tech row ='0' page ='1' column ='1'>ypMarketCircularSaw</Tech>
<Tech row ='0' page ='1' column ='1'>ypMarketGangsaw</Tech>
<Tech row ='0' page ='1' column ='0'>ypMarketHuntingDogs</Tech>
<Tech row ='0' page ='1' column ='1'>ypMarketLogFlume</Tech>
<Tech row ='0' page ='1' column ='2'>ypMarketPlacerMines</Tech>
<Tech row ='0' page ='1' column ='2'>ypMarketAmalgamation</Tech>
<Tech row ='0' page ='1' column ='0'>ypMarketSteelTraps</Tech>
<Tech row ='0' page ='1' column ='3'>ypMarketWheelbarrow</Tech>
<Tech row ='0' page ='1' column ='5'>ypMarketSpiritMedicine</Tech>
<Tech row ='0' page ='1' column ='3'>ypMarketWheelbarrow2</Tech>
<Flag>CollidesWithProjectiles</Flag>
<Flag>StartsAtFullEfficiency</Flag>
<Flag>Immoveable</Flag>
<Flag>NoBloodOnDeath</Flag>
<Flag>ObscuresUnits</Flag>
<Flag>NoIdleActions</Flag>
<Flag>NonAutoFormedUnit</Flag>
<Flag>Doppled</Flag>
<Flag>SelectWithObstruction</Flag>
<Flag>PaintTextureWhenPlacing</Flag>
<Flag>FlattenGround</Flag>
<Flag>Tracked</Flag>
<Command page ='10' column ='0'>Delete</Command>
<Command page ='7' column ='1'>MarketBuy2</Command>
<Command page ='7' column ='0'>MarketBuy1</Command>
<Command page ='8' column ='0'>MarketSell1</Command>
<Command page ='8' column ='1'>MarketSell2</Command>
<Command page ='7' column ='2'>SquadLock</Command>
<Command page ='8' column ='2'>SquadUnlock</Command>

<Tactics>autogatherer.tactics</Tactics>
</Unit>




















PS:

UI坐标位置及大小【size1024="A B C D"】的计算公式为: C-A:决定横坐标X以及X大小 D-B:决定纵坐标Y以及Y大小 若结果等于负值会翻转180°,相同则变成0,然后不显示。 UI中的X最大值为1024,Y最大值为768。 Fame的图标路径是ui\ingame\resource_fame.ddt与ui\ingame\INGAME\resource_fame.ddt,两个原图标都在art2.bar,你可以自己提取出来修改成其他。 其他类似资源有skillpoints、xp也可以用来训练单位。不过不建议显示这两个资源,因为显示了也没用。 (显示值是主城值+本场游戏获得的数值。不要想歪了,只能使用的只有本场游戏获得的数值。