收起左侧

神火飞鸦升不了级

[复制链接]
こはね发表于 2021-12-22 13:21:30
神火飞鸦升不了级,并不是神火飞鸦没有设定升级科技,而是神火飞鸦回随着时代升级自动加属性。当然,如果你想要增加手动升级选项也是可以的,具体方法如下

神火飞鸦升不了级

神火飞鸦升不了级
建议直接在techtreey搜索一个已有的升级科技,搜索关键词Exalted(高贵)或Honored(光荣,繁体译名为荣誉),然后复制粘贴到最底下
例如我复制了YPExaltedRajput与YPHonoredRajput这两个科技

神火飞鸦升不了级

神火飞鸦升不了级
然后将各种数据全部改成神火飞鸦


<Tech name ='YPExaltedFlyingCrow' type ='Normal'>
<DBID>3584</DBID>
<DisplayNameID>07001</DisplayNameID>
<Cost resourcetype ='Wood'>1500.0000</Cost>
<Cost resourcetype ='Gold'>1500.0000</Cost>
<ResearchPoints>30.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<RolloverTextID>07002</RolloverTextID>
<Icon>ui\techs\asians\exalted_siege</Icon>
<Flag>UpgradeTech</Flag>
<Flag>CountsTowardMilitaryScore</Flag>
<Prereqs>
<TechStatus status ='Active'>Imperialize</TechStatus>
<TechStatus status ='Active'>YPHonoredFlyingCrow</TechStatus>
</Prereqs>
<Effects>
<Effect type ='SetName' proto ='ypFlyingCrow' culture ='none' newName ='07001'></Effect>
<Effect type ='Data' amount ='1.50' subtype ='Hitpoints' relativity ='BasePercent'>
<Target type ='ProtoUnit'>ypFlyingCrow</Target></Effect>
<Effect type ='Data' amount ='1.50' subtype ='Damage' allactions ='1' relativity ='BasePercent'>
<Target type ='ProtoUnit'>ypFlyingCrow</Target></Effect>
</Effects>
</Tech>
<Tech name ='YPHonoredFlyingCrow' type ='Normal'>
<DBID>3585</DBID>
<DisplayNameID>07003</DisplayNameID>
<Cost resourcetype ='Wood'>600.0000</Cost>
<Cost resourcetype ='Gold'>600.0000</Cost>
<ResearchPoints>30.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>ui\techs\asians\honored_siege</Icon>
<RolloverTextID>07004</RolloverTextID>
<Flag>UpgradeTech</Flag>
<Flag>CountsTowardMilitaryScore</Flag>
<Prereqs>
<TechStatus status ='Active'>Industrialize</TechStatus>
</Prereqs>
<Effects>
<Effect type ='SetName' proto ='ypFlyingCrow' culture ='none' newName ='07003'></Effect>
<Effect type ='Data' amount ='1.30' subtype ='Damage' allactions ='1' relativity ='BasePercent'>
<Target type ='ProtoUnit'>ypFlyingCrow</Target></Effect>
<Effect type ='Data' amount ='1.30' subtype ='Hitpoints' relativity ='BasePercent'>
<Target type ='ProtoUnit'>ypFlyingCrow</Target></Effect>
</Effects>
</Tech>

神火飞鸦升不了级

神火飞鸦升不了级

然后在techtreey搜索age0chinese,添加
<Effect type ='TechStatus' status ='obtainable'>YPHonoredFlyingCrow</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPExaltedFlyingCrow</Effect>

神火飞鸦升不了级

神火飞鸦升不了级

techtreey就修改完了,接下来修改protoy.xml,我将这两个升级科技设定在城堡改良
在protoy找到ypCastle,在其下面添加下面两个语句
<Tech row ='0' page ='1' column ='1'>YPHonoredFlyingCrow</Tech>
<Tech row ='0' page ='1' column ='0'>YPExaltedFlyingCrow</Tech>

神火飞鸦升不了级

神火飞鸦升不了级

最后就剩下stringtabley.xml了,你自己设定名称与介绍吧

跳转到