7-6 畜牧自动转化 | 其他单位添加自动转化
添加畜牧那种自动转化只需要添加下列语句:
<action>
<name stringid="69161">AutoConvert</name>
<type>AutoConvert</type>
<maxrange>12.0</maxrange>
<persistent>1</persistent>
</action>
然后去protoy确认是不是有<Unittype>ConvertsHerds<Unittype/>,有的话请删掉,不然每次都只能转化一个单位,当有两个单位就不能转化了。
给欧洲村民添加自动转化:
1.protoy.xml把<Unittype>ConvertsHerds<Unittype/>删掉
传送门
|
protoy.xml - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<Unit id="284" name="Settler"> <DBID>1</DBID> <DisplayNameID>22806</DisplayNameID> <EditorNameID>34132</EditorNameID> <PopulationCount>1</PopulationCount> <ObstructionRadiusX>0.4900</ObstructionRadiusX> <ObstructionRadiusZ>0.4900</ObstructionRadiusZ> <FormationCategory>Protected</FormationCategory> <MaxVelocity>4.0000</MaxVelocity> <MaxRunVelocity>6.0000</MaxRunVelocity> <MovementType>land</MovementType> <TurnRate>18.0000</TurnRate> <AnimFile>units\villagers\villager.xml</AnimFile> <ImpactType>Flesh</ImpactType> <PhysicsInfo>dude</PhysicsInfo> <Icon>units\villagers\villager_icon</Icon> <PortraitIcon>units\villagers\villager_portrait</PortraitIcon> <SelectionPriority>10</SelectionPriority> <RolloverTextID>22814</RolloverTextID> <ShortRolloverTextID>25708</ShortRolloverTextID> <InitialHitpoints>150.0000</InitialHitpoints> <MaxHitpoints>150.0000</MaxHitpoints> <LOS>14.0000</LOS> <ProjectileProtoUnit>InvisibleProjectile</ProjectileProtoUnit> <UnitAIType>Civilian</UnitAIType> <TrainPoints>25.0000</TrainPoints> <BuildLimit>99</BuildLimit> <Bounty>10.0000</Bounty> <BuildBounty>10.0000</BuildBounty> <Cost resourcetype="Food">100.0000</Cost> <CarryCapacity resourcetype="Food">1.0000</CarryCapacity> <CarryCapacity resourcetype="Wood">1.0000</CarryCapacity> <CarryCapacity resourcetype="Gold">1.0000</CarryCapacity> <AllowedAge>0</AllowedAge> <Armor type="Hand" value="0.2000"/> <UnitType>LogicalTypeMinimapFilterEconomic</UnitType> <UnitType>LogicalTypeEasySelectAvoid</UnitType> <UnitType>LogicalTypeHealed</UnitType> <UnitType>LogicalTypeNeededForVictory</UnitType> <UnitType>LogicalTypeHandUnitsAutoAttack</UnitType> <UnitType>LogicalTypeValidSPCUnitsDeadCondition</UnitType> <UnitType>LogicalTypeGarrisonInShips</UnitType> <UnitType>LogicalTypeAffectedByTownBell</UnitType> <UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType> <UnitType>LogicalTypeVillagersAttack</UnitType> <UnitType>LogicalTypeHandUnitsAttack</UnitType> <UnitType>LogicalTypeRangedUnitsAttack</UnitType> <UnitType>Unit</UnitType> <UnitType>UnitClass</UnitType> <UnitType>Economic</UnitType> <UnitType>AbstractVillager</UnitType> <UnitType>HasBountyValue</UnitType> <UnitType>Ranged</UnitType> <UnitType>CountsTowardEconomicScore</UnitType> <UnitType>ValidIdleVillager</UnitType> <!-- <UnitType>ConvertsHerds</UnitType> --><!--删掉或者注释掉这句。--> <UnitType>AffectedByTownBell</UnitType> <UnitType>CannotConvertHill</UnitType> <Train row="0" page="6" column="0">Manor</Train> <Train row="0" page="6" column="17">Capitol</Train> <Train row="0" page="6" column="0">HouseEast</Train> <Train row="0" page="6" column="0">HouseMed</Train> <Train row="0" page="6" column="0">House</Train> <Train row="0" page="6" column="18">NativeEmbassy</Train> <Train row="0" page="6" column="16">Saloon</Train> <Train row="0" page="6" column="0">FirePit</Train> <Train row="0" page="6" column="1">Teepee</Train> <Train row="0" page="6" column="1">Longhouse</Train> <Train row="0" page="6" column="1">HouseAztec</Train> <Train row="0" page="255" column="1">WallStraight2</Train> <Train row="0" page="255" column="1">WallStraight5</Train> <Train row="0" page="6" column="2">Market</Train> <Train row="0" page="6" column="3">Farm</Train> <Train row="0" page="6" column="3">Mill</Train> <Train row="0" page="6" column="4">LivestockPen</Train> <Train row="0" page="6" column="5">Dock</Train> <Train row="0" page="6" column="6">Outpost</Train> <Train row="0" page="6" column="6">Blockhouse</Train> <Train row="0" page="6" column="7">TradingPost</Train> <Train row="0" page="6" column="8">WallConnector</Train> <Train row="0" page="6" column="9">Bank</Train> <Train row="0" page="6" column="10">Church</Train> <Train row="0" page="6" column="11">WarHut</Train> <Train row="0" page="6" column="11">Barracks</Train> <Train row="0" page="6" column="12">Stable</Train> <Train row="0" page="6" column="12">Corral</Train> <Train row="0" page="6" column="12">NoblesHut</Train> <Train row="0" page="6" column="13">ArtilleryDepot</Train> <Train row="0" page="6" column="14">Arsenal</Train> <Train row="0" page="6" column="15">Plantation</Train> <Train row="0" page="255" column="0">ypWJGiantBuddha2</Train> <Train row="0" page="255" column="0">ypWJGiantBuddha3</Train> <Train row="0" page="255" column="0">ypWJGiantBuddha4</Train> <Train row="0" page="255" column="0">ypWJGiantBuddha5</Train> <Train row="0" page="255" column="0">ypWJGoldenPavillion2</Train> <Train row="0" page="255" column="0">ypWJGoldenPavillion3</Train> <Train row="0" page="255" column="0">ypWJGoldenPavillion4</Train> <Train row="0" page="255" column="0">ypWJGoldenPavillion5</Train> <Train row="0" page="255" column="0">ypWJShogunate2</Train> <Train row="0" page="255" column="0">ypWJShogunate3</Train> <Train row="0" page="255" column="0">ypWJShogunate4</Train> <Train row="0" page="255" column="0">ypWJShogunate5</Train> <Train row="0" page="255" column="0">ypWJToriiGates2</Train> <Train row="0" page="255" column="0">ypWJToriiGates3</Train> <Train row="0" page="255" column="0">ypWJToriiGates4</Train> <Train row="0" page="255" column="0">ypWJToriiGates5</Train> <Train row="0" page="255" column="0">ypWJToshoguShrine2</Train> <Train row="0" page="255" column="0">ypWJToshoguShrine3</Train> <Train row="0" page="255" column="0">ypWJToshoguShrine4</Train> <Train row="0" page="255" column="0">ypWJToshoguShrine5</Train> <Train row="0" page="255" column="0">ypWITowerOfVictory5</Train> <Train row="0" page="255" column="0">ypWITowerOfVictory4</Train> <Train row="0" page="255" column="0">ypWITowerOfVictory3</Train> <Train row="0" page="255" column="0">ypWITowerOfVictory2</Train> <Train row="0" page="255" column="0">ypWITajMahal5</Train> <Train row="0" page="255" column="0">ypWITajMahal4</Train> <Train row="0" page="255" column="0">ypWITajMahal3</Train> <Train row="0" page="255" column="0">ypWITajMahal2</Train> <Train row="0" page="255" column="0">ypWIKarniMata5</Train> <Train row="0" page="255" column="0">ypWIKarniMata4</Train> <Train row="0" page="255" column="0">ypWIKarniMata3</Train> <Train row="0" page="255" column="0">ypWIKarniMata2</Train> <Train row="0" page="255" column="0">ypWICharminarGate5</Train> <Train row="0" page="255" column="0">ypWICharminarGate4</Train> <Train row="0" page="255" column="0">ypWICharminarGate3</Train> <Train row="0" page="255" column="0">ypWICharminarGate2</Train> <Train row="0" page="255" column="0">ypWIAgraFort5</Train> <Train row="0" page="255" column="0">ypWIAgraFort4</Train> <Train row="0" page="255" column="0">ypWIAgraFort3</Train> <Train row="0" page="255" column="0">ypWIAgraFort2</Train> <Train row="0" page="255" column="0">ypWCWhitePagoda5</Train> <Train row="0" page="255" column="0">ypWCWhitePagoda4</Train> <Train row="0" page="255" column="0">ypWCWhitePagoda2</Train> <Train row="0" page="255" column="0">ypWCWhitePagoda3</Train> <Train row="0" page="255" column="0">ypWCTempleOfHeaven5</Train> <Train row="0" page="255" column="0">ypWCTempleOfHeaven4</Train> <Train row="0" page="255" column="0">ypWCTempleOfHeaven3</Train> <Train row="0" page="255" column="0">ypWCTempleOfHeaven2</Train> <Train row="0" page="255" column="0">ypWCSummerPalace5</Train> <Train row="0" page="255" column="0">ypWCSummerPalace4</Train> <Train row="0" page="255" column="0">ypWCSummerPalace3</Train> <Train row="0" page="255" column="0">ypWCConfucianAcademy2</Train> <Train row="0" page="255" column="0">ypWCConfucianAcademy3</Train> <Train row="0" page="255" column="0">ypWCConfucianAcademy4</Train> <Train row="0" page="255" column="0">ypWCConfucianAcademy5</Train> <Train row="0" page="255" column="0">ypWCPorcelainTower2</Train> <Train row="0" page="255" column="0">ypWCPorcelainTower3</Train> <Train row="0" page="255" column="0">ypWCPorcelainTower4</Train> <Train row="0" page="255" column="0">ypWCPorcelainTower5</Train> <Train row="0" page="255" column="0">ypWCSummerPalace2</Train> <Train row="0" page="6" column="11">ypWarAcademy</Train> <Train row="0" page="6" column="0">ypVillage</Train> <Train row="0" page="6" column="2">ypTradeMarketAsian</Train> <Train row="0" page="6" column="12">ypStableJapanese</Train> <Train row="0" page="6" column="0">ypShrineJapanese</Train> <Train row="0" page="6" column="4">ypSacredField</Train> <Train row="0" page="6" column="3">ypRicePaddy</Train> <Train row="0" page="6" column="10">ypMonastery</Train> <Train row="0" page="6" column="0">ypHouseIndian</Train> <Train row="0" page="6" column="5">YPDockAsian</Train> <Train row="0" page="6" column="14">ypConsulate</Train> <Train row="0" page="6" column="6">ypCastle</Train> <Train row="0" page="6" column="12">ypCaravanserai</Train> <Train row="0" page="6" column="11">ypBarracksJapanese</Train> <Train row="0" page="6" column="11">YPBarracksIndian</Train> <Tech row="0" page="1" column="0">YPWonderJapaneseToshoguShrine4</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTowerOfVictory3</Tech> <Tech row="0" page="1" column="0">YPWonderIndianKarniMata5</Tech> <Tech row="0" page="1" column="0">YPWonderIndianAgra3</Tech> <Tech row="0" page="1" column="0">YPWonderChineseWhitePagoda3</Tech> <Tech row="0" page="1" column="0">YPWonderChineseWhitePagoda2</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseShogunate4</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseToriiGates3</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseToshoguShrine5</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseToriiGates4</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTowerOfVictory5</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTajMahal2</Tech> <Tech row="0" page="1" column="0">YPWonderIndianCharminar5</Tech> <Tech row="0" page="1" column="0">YPWonderIndianAgra5</Tech> <Tech row="0" page="1" column="0">YPWonderChinesePorcelainTower4</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGiantBuddha3</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGiantBuddha4</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGoldenPavillion2</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGoldenPavillion3</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGoldenPavillion4</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGoldenPavillion5</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseShogunate2</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseToriiGates2</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseToshoguShrine3</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseToshoguShrine2</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseToriiGates5</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTowerOfVictory4</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTajMahal4</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTajMahal3</Tech> <Tech row="0" page="1" column="0">YPWonderIndianKarniMata2</Tech> <Tech row="0" page="1" column="0">YPWonderIndianCharminar4</Tech> <Tech row="0" page="1" column="0">YPWonderIndianCharminar3</Tech> <Tech row="0" page="1" column="0">YPWonderIndianAgra4</Tech> <Tech row="0" page="1" column="0">YPWonderIndianAgra2</Tech> <Tech row="0" page="1" column="0">YPWonderChineseWhitePagoda5</Tech> <Tech row="0" page="1" column="0">YPWonderChineseWhitePagoda4</Tech> <Tech row="0" page="1" column="0">YPWonderChineseTempleOfHeaven4</Tech> <Tech row="0" page="1" column="0">YPWonderChineseTempleOfHeaven3</Tech> <Tech row="0" page="1" column="0">YPWonderChineseTempleOfHeaven2</Tech> <Tech row="0" page="1" column="0">YPWonderChineseSummerPalace5</Tech> <Tech row="0" page="1" column="0">YPWonderChineseSummerPalace4</Tech> <Tech row="0" page="1" column="0">YPWonderChineseSummerPalace3</Tech> <Tech row="0" page="1" column="0">YPWonderChineseSummerPalace2</Tech> <Tech row="0" page="1" column="0">YPWonderChinesePorcelainTower5</Tech> <Tech row="0" page="1" column="0">YPWonderChinesePorcelainTower3</Tech> <Tech row="0" page="1" column="0">YPWonderChinesePorcelainTower2</Tech> <Tech row="0" page="1" column="0">YPWonderChineseConfucianAcademy5</Tech> <Tech row="0" page="1" column="0">YPWonderChineseConfucianAcademy4</Tech> <Tech row="0" page="1" column="0">YPWonderChineseConfucianAcademy3</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseShogunate3</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTowerOfVictory2</Tech> <Tech row="0" page="1" column="0">YPWonderIndianTajMahal5</Tech> <Tech row="0" page="1" column="0">YPWonderIndianKarniMata4</Tech> <Tech row="0" page="1" column="0">YPWonderIndianKarniMata3</Tech> <Tech row="0" page="1" column="0">YPWonderIndianCharminar2</Tech> <Tech row="0" page="1" column="0">YPWonderChineseTempleOfHeaven5</Tech> <Tech row="0" page="1" column="0">YPWonderChineseConfucianAcademy2</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGiantBuddha2</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseGiantBuddha5</Tech> <Tech row="0" page="1" column="0">YPWonderJapaneseShogunate5</Tech> <Flag>CollidesWithProjectiles</Flag> <Flag>ApplyHandicapTraining</Flag> <Flag>CorpseDecays</Flag> <Flag>ShowGarrisonButton</Flag> <Flag>DontRotateObstruction</Flag> <Flag>ObscuredByUnits</Flag> <Flag>DeadReplacementWhenDestroyed</Flag> <Flag>VisibleUnderFogIfGaia</Flag> <Flag>Tracked</Flag> <Command page="10" column="0">Garrison</Command> <Command page="10" column="1">Stop</Command> <Command page="10" column="2">Delete</Command> <Tactics>settler.tactics</Tactics> <ProtoAction> <Name>AutoGatherTrade</Name> <Type>AutoGather</Type> <Rate type="Trade">0.030000</Rate> </ProtoAction> <ProtoAction> <Name>BlunderbussAttack</Name> <Damage>3.000000</Damage> <DamageType>Ranged</DamageType> <MinRange>2.000000</MinRange> <MaxRange>12.000000</MaxRange> <ROF>3.000000</ROF> <DamageBonus type="Huntable">4.000000</DamageBonus> <DamageBonus type="AbstractPet">2.000000</DamageBonus> <DamageBonus type="AbstractArtillery">2.000000</DamageBonus> <DamageBonus type="AbstractVillager">0.500000</DamageBonus> </ProtoAction> <ProtoAction> <Name>Build</Name> <Rate type="Building">1.000000</Rate> <Rate type="Manor">1.000000</Rate> <Rate type="House">1.000000</Rate> <Rate type="Church">1.000000</Rate> </ProtoAction> <ProtoAction> <Name>BuildingAttack</Name> <Damage>5.000000</Damage> <DamageType>Siege</DamageType> <ROF>3.000000</ROF> </ProtoAction> <ProtoAction> <Name>ChopAttack</Name> <Damage>8.000000</Damage> <DamageType>Hand</DamageType> </ProtoAction> <ProtoAction> <Name>CrateGather</Name> <Rate type="AbstractResourceCrate">8.000000</Rate> </ProtoAction> <ProtoAction> <Name>Gather</Name> <Rate type="Tree">0.500000</Rate> <Rate type="AbstractMine">0.600000</Rate> <Rate type="Plantation">0.500000</Rate> <Rate type="Herdable">2.000000</Rate> <Rate type="Huntable">0.840000</Rate> <Rate type="BerryBush">0.670000</Rate> <Rate type="Farm">0.500000</Rate> <Rate type="Mill">0.670000</Rate> <Rate type="ypRicePaddy" resource="Food">0.500000</Rate> <Rate type="AbstractTradeMarket">1.500000</Rate> <Rate type="ypBerryBuilding">0.670000</Rate> <Rate type="ypRicePaddy" resource="Gold">0.340000</Rate> <Rate type="ypGroveBuilding">0.500000</Rate> </ProtoAction> <ProtoAction> <Name>HandAttack</Name> <Damage>10.000000</Damage> <DamageType>Hand</DamageType> <ROF>1.500000</ROF> </ProtoAction> <ProtoAction> <Name>Hunting</Name> <Rate type="Herdable">1.000000</Rate> <Rate type="Huntable">1.000000</Rate> <Rate type="Tree">1.000000</Rate> </ProtoAction> </Unit>
|
|
|
2.在protoy.xml查出村民的tactics文件为settler.tactics,用AOE3ED去data3.bar提取这个文件
3.把自动转化语句加上去↓↓↓↓↓,
不要忘了tactic也要定义action
|
settler.tactics - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
<tactics> <action> <name stringid="69161">AutoConvert</name> <type>AutoConvert</type> <maxrange>12.0</maxrange> <persistent>1</persistent> </action> <action> <name stringid="69149">AutoGatherTrade</name> <type>AutoGather</type> <donotautogatherunlessgathering>1</donotautogatherunlessgathering> <active>0</active> <persistent>1</persistent> </action> <action> <name stringid="69148">Discover</name> <type>Discover</type> <anim>Pickup</anim> <maxrange>0.2</maxrange> <rate type="AbstractNuggetLand">1.0</rate> </action> <action> <name stringid="24102">Build</name> <type>Build</type> <anim>Build</anim> <maxrange>0.2</maxrange> <rate type="AbstractWonder">1.0</rate> <rate type="Building">1.0</rate> <typedmaxrange type="YPDockAsian">2.0</typedmaxrange> <typedmaxrange type="Dock">2.0</typedmaxrange> </action> <action> <name stringid="42178">Gather</name> <type>Gather</type> <maxrange>0.5</maxrange> <rate type="Plantation">1.0</rate> <rate type="AbstractMine">1.0</rate> <rate type="SPCSpanishShipRuins">1.0</rate> <rate type="Farm">1.0</rate> <rate type="Mill">1.0</rate> <rate type="FirePit">1.0</rate> <rate type="BerryBush">1.0</rate> <rate type="Tree">1.0</rate> <rate type="Herdable">1.0</rate> <rate type="Huntable">1.0</rate> <rate type="ypBerryBuilding">1.0</rate> <rate type="ypGroveBuilding">1.0</rate> </action> <action> <name stringid="69183">NoWork</name> <type>NoWork</type> <maxrange>10</maxrange> <rate type="Herdable">1.0</rate> <rate type="Huntable">1.0</rate> <typedmaxrange type="Herdable">0</typedmaxrange> <typedmaxrange type="AbstractNuggetWater">0</typedmaxrange> <typedmaxrange type="Huntable">10</typedmaxrange> </action> <action> <name stringid="69150">CrateGather</name> <anim>GatherCrate</anim> <type>Gather</type> <maxrange>0.5</maxrange> <rate type="AbstractResourceCrate">1.0</rate> </action> <action> <name stringid="69151">Hunting</name> <type>Hunting</type> <maxrange>10</maxrange> <rate type="Herdable">1.0</rate> <rate type="Huntable">1.0</rate> <rate type="Tree">1.0</rate> <typedmaxrange type="Herdable">0</typedmaxrange> <typedmaxrange type="Huntable">10</typedmaxrange> <typedmaxrange type="Tree">0</typedmaxrange> </action> <action> <name stringid="38133">BlunderbussAttack</name> <type>Attack</type> <attackaction>1</attackaction> <rangedlogic>1</rangedlogic> <anim>RangedAttack</anim> <reloadanim>Reload</reloadanim> <idleanim>Aim</idleanim> <maxheight>0</maxheight> <accuracy>1.0</accuracy> <accuracyreductionfactor>0.5</accuracyreductionfactor> <aimbonus>0</aimbonus> <maxspread>5</maxspread> <spreadfactor>0.25</spreadfactor> <trackrating>12</trackrating> <unintentionaldamagemultiplier>0.7</unintentionaldamagemultiplier> <projectile>InvisibleProjectile</projectile> <impacteffect>effects\impacts\gun</impacteffect> <maxrange>10</maxrange> <rate type="Military">1.0 </rate> <rate type="Huntable">1.0 </rate> <rate type="Economic">1.0 </rate> <rate type="Guardian">1.0 </rate> <instantballistics>1</instantballistics> </action> <action> <name stringid="38118">BuildingAttack</name> <type>Attack</type> <rangedlogic>1</rangedlogic> <maxrange>6</maxrange> <rate type="LogicalTypeShipsAndBuildings">1.0 </rate> <attackaction>1</attackaction> <speedboost>1</speedboost> <anim>Raze_Attack</anim> <idleanim>Raze_Idle</idleanim> <impacteffect>effects\impacts\torch</impacteffect> <projectile>TorchProjectile</projectile> </action> <action> <name stringid="38134">HandAttack</name> <type>Attack</type> <attackaction>1</attackaction> <handlogic>1</handlogic> <anim>HandAttack</anim> <maxrange>2</maxrange> <rate type="Military">1.0 </rate> <rate type="Huntable">1.0 </rate> <rate type="Economic">1.0 </rate> <rate type="Guardian">1.0 </rate> <rate type="Herdable">1.0 </rate> <impacteffect>effects\impacts\melee</impacteffect> </action> <action> <name stringid="42136">ChopAttack</name> <type>Attack</type> <attackaction>1</attackaction> <handlogic>1</handlogic> <anim>GatherChop</anim> <maxrange>2</maxrange> <rate type="Tree">1.0 </rate> </action> <tactic> Normal <speedmodifier>1.0</speedmodifier> <action>AutoConvert</action> <action>Build</action> <action>Gather</action> <action>Discover</action> <action>NoWork</action> <action>CrateGather</action> <action>Hunting</action> <action>AutoGatherTrade</action> <action priority="100">BuildingAttack</action> <action priority="90">ChopAttack</action> <action priority="50">BlunderbussAttack</action> <action priority="25">HandAttack</action> <attacktype>LogicalTypeVillagersAttack</attacktype> <attackresponsetype>LogicalTypeRangedUnitsAttack</attackresponsetype> <runaway>0</runaway> <autoretarget>1</autoretarget> </tactic> </tactics> |
|
|
4.保存文件,将修改好的文件放到游戏目录\data\tactics文件夹里面。
别跟我说没有tactics文件夹,没有就自己创建。
进入游戏试试看欧洲村民会被敌人捕获了?