避免AI研发自定义科技
我在techtreex.xml中 新建了一个科技,该是从其他科技复制而来,科技名以及dbid已经修改,与原来科技不一样了,为了不让电脑也研发此科技,特意将其放到房屋”House“中进行研发,但是测试的时候发现最后电脑也研发了该科技,请问有什么方法能够解决这个问题吗?测试选择的是随机地图、争霸赛、电脑难度选择是的泰坦(最难)。版本是神话时代龙之传说,2.0.1techtreex.xml:(使用的模板科技是亚族的神兽重生术)
<tech name="Mythic Rejuvenation2" type="Normal">
<dbid>924</dbid>
<displaynameid>23280</displaynameid>
<cost resourcetype="Gold">10.0000</cost>
<researchpoints>4.0000</researchpoints>
<status>OBTAINABLE</status>
<icon>improvement mythic rejuvenation icons 32</icon>
<rollovertextid>23282</rollovertextid>
<effects>
<effect type="TextOutput">-1</effect>
<effect type="Data" action="Regenerate" amount="5.00" subtype="WorkRate" unittype="All" relativity="Absolute">
<target type="ProtoUnit">MythUnit</target>
</effect>
<effect type="Data" amount="-0.70" subtype="ArmorVulnerability" damagetype="Pierce" relativity="Percent">
<target type="ProtoUnit">MythUnit</target>
</effect>
<effect type="Data" amount="-0.70" subtype="ArmorVulnerability" damagetype="Hack" relativity="Percent">
<target type="ProtoUnit">MythUnit</target>
</effect>
<effect type="Data" amount="-0.70" subtype="ArmorVulnerability" damagetype="Crush" relativity="Percent">
<target type="ProtoUnit">MythUnit</target>
</effect>
<effect type="Data" amount="0.5" subtype="RechargeTime" relativity="BasePercent">
<target type="ProtoUnit">MythUnit</target>
</effect>
</effects>
</tech>
protox.xml(房屋house,id=465)
<unit id="465" name="House">
<dbid>2123</dbid>
<displaynameid>19555</displaynameid>
<icon>icon building house</icon>
<initialhitpoints>450.0000</initialhitpoints>
<maxhitpoints>450.0000</maxhitpoints>
<los>9.0000</los>
........
<tech row="0" page="1" column="0">Mythic Rejuvenation2</tech>
</unit>
PS:<tech row="0" page="1" column="0">Mythic Rejuvenation2</tech>,只添加了这一条数据
百度网盘删除了我两个操作系统OS怎么办? 找到解决方法了,重述版会研发自定义科技,为了避免这个问题,可以新建一个建筑,然后把新科技放到新建筑里边即可
页:
[1]