其他技能你自己参照9-2Power.xml
<power name="PowerCovnert" type="swapunit">
<displaynameid>09975</displaynameid>
<rolloverid>09977</rolloverid>
<icon>art\Chino\ability_icon\question</icon> 毁天灭地而且杂乱无章的技能,所以图标是一个问号
<minimapeventtime sendalertto="player">1</minimapeventtime>
<activetime>0</activetime> 这里0秒立刻执行。
<radius>20.0</radius> 转换单位半径范围
<placement forceonmap="1" enemy="" allowgaia="">full</placement>
<rangeindicatorprotoid radius="20.0" indicatorcount="32" speed="0.6">PowerRanger</rangeindicatorprotoid>
若一个单位有两种标签都需要转换,优先执行上面的转换代码。
<abstracttype swapto="BuildingRubble3x3">Rubble</abstracttype> 废墟转换成废墟3X3
<abstracttype swapto="BuildingRubble3x3">AbstractWall</abstracttype> 城墙转换成废墟3X3
<abstracttype swapto="BuildingRubble2x2">SPCPathBlock1</abstracttype> 道路区块1转换成废墟2X2
<abstracttype swapto="BuildingRubble3x3">SPCPathBlock2</abstracttype> 道路区块2转换成废墟3X3
<abstracttype swapto="BuildingRubble5x3">SPCPathBlock3</abstracttype> 道路区块3转换成废墟5X3
<abstracttype swapto="ypWildElephant">AbstractElephant</abstracttype> 象兵转换成野生大象
<abstracttype swapto="ypGoat">AbstractRangedCavalry</abstracttype> 远程骑兵转换成山羊
<abstracttype swapto="Graves">AbstractCavalry</abstracttype> 骑兵转换成坟墓
<abstracttype swapto="TreeCarolinaMarsh">AbstractVillager</abstracttype> 村民转换成卡罗莱纳沼泽地树木
<abstracttype swapto="TreeChristmas">AbstractArtillery</abstracttype> 炮兵转换成圣诞树
<abstracttype swapto="TreeNewEnglandSnow">AbstractNativeWarrior</abstracttype> 土著战士转换成新英格兰雪地树木
<abstracttype swapto="ypTreeYellowRiver">AbstractRangedInfantry</abstracttype> 远程步兵转换成黄河树木
<abstracttype swapto="ypTreeCoastalJapan">AbstractInfantry</abstracttype> 步兵转换成日本枫树
<abstracttype swapto="BuildingRubble2x2">TradingPost</abstracttype> 贸易站转换成废墟2X2
<abstracttype swapto="ypTradingPostCapture">ypTradingPostCapture</abstracttype> 不变
<abstracttype swapto="ypBuildingRubbleShrineNuggetChinese">AbstractFarm</abstracttype> 田类型建筑物转换成宝藏废墟
<abstracttype swapto="BuildingRubbleCabinNugget">AbstractFort</abstracttype> 边境建筑物转换成宝藏废墟
<abstracttype swapto="ypBuildingRubbleShrineNuggetJapanese">MilitaryBuilding</abstracttype> 军事建筑物转换成宝藏废墟
<abstracttype swapto="Rubble">EconomicBuilding</abstracttype> 经济建筑物转换成废墟
<abstracttype swapto="IGCShipwreck">AbstractFishingBoat</abstracttype> 渔船转换成失事船残骸
<abstracttype swapto="IGCShipwreck">Ship</abstracttype> 船只转换成失事船残骸
<abstracttype swapto="TurkeyScout">Guardian</abstracttype> 宝藏守护者转换成火鸡侦察兵
<abstracttype swapto="Rubble">AbstractTownCenter</abstracttype> 城镇中心转换成废墟
<abstracttype swapto="CrateofWoodLarge">Tree</abstracttype> 树木转换成大木材箱
<abstracttype swapto="Rubble">AbstractHouse</abstracttype> 房子转换成废墟
<abstracttype swapto="Rubble">Bank</abstracttype> 银行转换成废墟
<abstracttype swapto="Rubble">ypBankAsian</abstracttype> 亚洲银行转换成废墟
<abstracttype swapto="Rubble">Church</abstracttype> 教堂转换成废墟
<abstracttype swapto="Rubble">FieldHospital</abstracttype> 野战医院转换成废墟
<abstracttype swapto="Rubble">FirePit</abstracttype> 火舞祭典转换成废墟
<abstracttype swapto="Rubble">Market</abstracttype> 市场转换成废墟
<abstracttype swapto="Rubble">ypTradeMarketAsian</abstracttype> 亚洲市场转换成废墟
<abstracttype swapto="CrateofCoinLarge">AbstractMine</abstracttype> 矿物转换成大钱币箱
<abstracttype swapto="CrateofFoodLarge">AbstractFruit</abstracttype> 浆果转换成大食物箱
<abstracttype swapto="ypTreeCoastalJapan">CrateofWoodLarge</abstracttype> 木材箱转换成日本枫树资
<abstracttype swapto="ypTreeMongolianFir">AbstractResourceCrate</abstracttype> 源箱转换成蒙古树木
<abstracttype swapto="Rubble">ColonyBuilding</abstracttype> 殖民建筑物转换成废墟
<abstracttype swapto="TreeRedwood">AbstractWagon</abstracttype> 马车转换成树木-红木
<abstracttype swapto="ypTreeBorneo">Unit</abstracttype> 单位转换成婆罗洲树木
<swapdelay>0.0</swapdelay> 转换延迟0秒,立刻执行。
<allowduringnorush>1</allowduringnorush> 允许条约局使用。
<powerplayerrelation>Enemy</powerplayerrelation> 只对敌人与大自然生效。
</power>
abilities.xml - 记事本 | ____ | □ | X | ||
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) | |||||
<KafuuChino>
<ability>
PowerBeam
<rof>60</rof>
</ability>
<ability>
PowerStun
<rof>60</rof>
</ability>
<ability>
PowerCovnert
<rof>60</rof>
</ability>
<ability>
PowerHealUnit
<rof>60</rof>
</ability>
</KafuuChino>
<HotoCocoa>
<ability>
PowerBeam
<rof>60</rof>
</ability>
<ability>
PowerStun2
<rof>60</rof>
</ability>
<ability>
PowerCovnert2
<rof>60</rof>
</ability>
<ability>
PowerHealUnit
<rof>60</rof>
</ability>
</HotoCocoa> |
|||||
powers.xml - 记事本 | ____ | □ | X | ||
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) | |||||
<power name="PowerCovnert" type="swapunit">
<displaynameid>09975</displaynameid>
<rolloverid>09977</rolloverid>
<icon>art\Chino\ability_icon\question</icon>
<minimapeventtime sendalertto="player">1</minimapeventtime>
<activetime>0</activetime>
<radius>20.0</radius>
<placement forceonmap="1" enemy="" allowgaia="">full</placement>
<rangeindicatorprotoid radius="20.0" indicatorcount="32" speed="0.6">PowerRanger</rangeindicatorprotoid>
<abstracttype swapto="BuildingRubble3x3">Rubble</abstracttype>
<abstracttype swapto="BuildingRubble3x3">AbstractWall</abstracttype>
<abstracttype swapto="BuildingRubble2x2">SPCPathBlock1</abstracttype>
<abstracttype swapto="BuildingRubble3x3">SPCPathBlock2</abstracttype>
<abstracttype swapto="BuildingRubble5x3">SPCPathBlock3</abstracttype>
<abstracttype swapto="ypWildElephant">AbstractElephant</abstracttype>
<abstracttype swapto="ypGoat">AbstractRangedCavalry</abstracttype>
<abstracttype swapto="Graves">AbstractCavalry</abstracttype>
<abstracttype swapto="TreeCarolinaMarsh">AbstractVillager</abstracttype>
<abstracttype swapto="TreeChristmas">AbstractArtillery</abstracttype>
<abstracttype swapto="TreeNewEnglandSnow">AbstractNativeWarrior</abstracttype>
<abstracttype swapto="ypTreeYellowRiver">AbstractRangedInfantry</abstracttype>
<abstracttype swapto="ypTreeCoastalJapan">AbstractInfantry</abstracttype>
<abstracttype swapto="BuildingRubble2x2">TradingPost</abstracttype>
<abstracttype swapto="ypTradingPostCapture">ypTradingPostCapture</abstracttype>
<abstracttype swapto="ypBuildingRubbleShrineNuggetChinese">AbstractFarm</abstracttype>
<abstracttype swapto="BuildingRubbleCabinNugget">AbstractFort</abstracttype>
<abstracttype swapto="ypBuildingRubbleShrineNuggetJapanese">MilitaryBuilding</abstracttype>
<abstracttype swapto="Rubble">EconomicBuilding</abstracttype>
<abstracttype swapto="IGCShipwreck">AbstractFishingBoat</abstracttype>
<abstracttype swapto="IGCShipwreck">Ship</abstracttype>
<abstracttype swapto="TurkeyScout">Guardian</abstracttype>
<abstracttype swapto="Rubble">AbstractTownCenter</abstracttype>
<abstracttype swapto="CrateofWoodLarge">Tree</abstracttype>
<abstracttype swapto="Rubble">AbstractHouse</abstracttype>
<abstracttype swapto="Rubble">Bank</abstracttype>
<abstracttype swapto="Rubble">ypBankAsian</abstracttype>
<abstracttype swapto="Rubble">Church</abstracttype>
<abstracttype swapto="Rubble">FieldHospital</abstracttype>
<abstracttype swapto="Rubble">FirePit</abstracttype>
<abstracttype swapto="Rubble">Market</abstracttype>
<abstracttype swapto="Rubble">ypTradeMarketAsian</abstracttype>
<abstracttype swapto="CrateofCoinLarge">AbstractMine</abstracttype>
<abstracttype swapto="CrateofFoodLarge">AbstractFruit</abstracttype>
<abstracttype swapto="ypTreeCoastalJapan">CrateofWoodLarge</abstracttype>
<abstracttype swapto="ypTreeMongolianFir">AbstractResourceCrate</abstracttype>
<abstracttype swapto="Rubble">ColonyBuilding</abstracttype>
<abstracttype swapto="TreeRedwood">AbstractWagon</abstracttype>
<abstracttype swapto="ypTreeBorneo">Unit</abstracttype>
<swapdelay>0.0</swapdelay>
<allowduringnorush>1</allowduringnorush>
<powerplayerrelation>Enemy</powerplayerrelation>
</power>
<power name="PowerStun" type="Stun">
<displaynameid>09976</displaynameid>
<rolloverid>09961</rolloverid>
<icon>art\Chino\ability_icon\stun</icon>
<minimapeventtime sendalertto="all">1</minimapeventtime>
<activetime>40</activetime>
<radius>20.0</radius>
<placement forceonmap="1">LOSDontCare</placement>
<rangeindicatorprotoid radius="20.0" indicatorcount="32" speed="0.6">PowerRanger</rangeindicatorprotoid>
<abstractattacktargettype>Unit</abstractattacktargettype>
<explicitlyrestrictedattacktargettype>Ship</explicitlyrestrictedattacktargettype>
<allowduringnorush>1</allowduringnorush>
<startsoundset>PowerStun</startsoundset>
</power> |
|||||