收起左侧

制作的新科技部分有效,部分无效

[复制链接]
见习沉默发表于 2022-8-15 14:06:23
之前修改英国、德国均无问题,所写新科技也均有效,但是我定义印度新科技的时候,却出现了部分有效,部分无效的问题,请问是什么原因呢?
见习沉默发表于 2022-8-15 14:09:37
<Tech name ='YPAge0Indians' type ='Normal'>
<DBID>3530</DBID>
<Status>UNOBTAINABLE</Status>
<Flag>Shadow</Flag>
<Effects>
<Effect type ='TechStatus' status ='active'>YPAAAsianStartingTechs</Effect>
<Effect type ='TechStatus' status ='active'>ypAge0IndiansBuildings</Effect>
<Effect type ='TechStatus' status ='active'>ypAge0IndiansUnits</Effect>
<Effect type ='TechStatus' status ='active'>ypAge0IndiansWonders</Effect>
<Effect type ='TechStatus' status ='active'>ypAge0IndiansTechs</Effect>
<Effect type ='TechStatus' status ='active'>ypAge0IndiansSpecialTechs</Effect>
<Effect type ='TechStatus' status ='active'>ypAge0IndiansMonks</Effect>
<Effect type ='TechStatus' status ='active'>ypAge0IndiansConsulate10</Effect>
<Effect type ='TechStatus' status ='active'>ypNatDisciplinedUdasi</Effect>
<Effect type ='TechStatus' status ='obtainable'>HCXPUnlockFort21</Effect>
<Effect type ='TechStatus' status ='obtainable'>HCUnlockFactory1</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPNatUdasiNewYear</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPNatBhaktiYoga</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPNatBhaktiReinforcedGuantlets</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPNatSufiFasting</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPHCMercsTigerClaw33</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPNatUdasiGurus</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPNatUdasiArmyOfThePure</Effect>
<Effect type ='TechStatus' status ='obtainable'>YPHCExpandedTradingPost1</Effect>
<Effect type ='TechStatus' status ='obtainable'>HCAdvancedTradingPost1</Effect>
见习沉默发表于 2022-8-15 14:09:56
 <Tech name ='YPHCMercsTigerClaw33' type ='Normal'>
<DBID>2232</DBID>
<DisplayNameID>70574</DisplayNameID>
<Cost resourcetype ='Wood'>2800.0000</Cost>
<Cost resourcetype ='Food'>1960.0000</Cost>
<ResearchPoints>25.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>units\asians\natives\tiger_claw\tiger_claw_icon_64</Icon>
<Flag>YPInfiniteTech</Flag>
<Effects>
<Effect type ='Data' amount ='12.00' subtype ='FreeHomeCityUnit' unittype ='ypNatMercTigerClaw' relativity ='Absolute'>
<Target type ='Player'></Target></Effect>
<Effect type ='Data' amount ='13.00' subtype ='FreeHomeCityUnit' unittype ='ypNatMercChakram' relativity ='Absolute'>
<Target type ='Player'></Target></Effect>
</Effects>
</Tech>
见习沉默发表于 2022-8-15 14:11:17
</Unit>
<Unit id ='920' name ='ypMonastery'>
……………………………………………………………………………………………………………………
<Tech row ='0' page ='1' column ='0'>YPHCMercsIndianArmy1245</Tech>
<Tech row ='0' page ='1' column ='1'>YPHCMercsWarElephant12</Tech>
<Tech row ='0' page ='1' column ='2'>YPHCMercsTigerClaw33</Tech>
见习沉默发表于 2022-8-15 14:12:29
比如这个红色的科技,是我自己新定义的科技,然后把它定义在印度的ypMonastery这个建筑中,但是打开游戏却一直都无法在ypMonastery中找到这个科技,并且会出现,某些地图中会显示,另外一个地图中无法显示
こはね发表于 2022-8-15 18:40:14
有没有可能是挤出格子外面了?
见习沉默发表于 2022-8-15 19:57:11
啊这
老阴发表于 2022-8-15 20:15:49
可以尝试用浏览器打开文件,如果格式错误的话浏览器会报错
见习沉默发表于 2022-8-16 11:35:01
老阴 发表于 2022-8-15 20:15
可以尝试用浏览器打开文件,如果格式错误的话浏览器会报错

好的好的,谢谢
跳转到