翔鹰帝国网|帝国时代论坛|帝国时代系列|神话时代
 找回密码
 注册翔鹰会员(昵称)
搜索
查看: 27|回复: 2

[MOD] 避免AI研发自定义科技

[复制链接]

5

主题

0

精华

40

积分

骑士

耕战
0
鹰币
10
天龙币
0
回帖
10
附庸关系0
 楼主| 发表于 2025-9-22 12:46:02 | 显示全部楼层 |阅读模式
我在techtreex.xml中 新建了一个科技,该是从其他科技复制而来,科技名以及dbid已经修改,与原来科技不一样了,为了不让电脑也研发此科技,特意将其放到房屋”House“中进行研发,但是测试的时候发现最后电脑也研发了该科技,请问有什么方法能够解决这个问题吗?测试选择的是随机地图、争霸赛、电脑难度选择是的泰坦(最难)。版本是神话时代龙之传说,2.0.1
techtreex.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>,只添加了这一条数据


回复

使用道具 举报

0

主题

0

精华

8

积分

扈从

耕战
0
鹰币
10
天龙币
0
回帖
14
附庸关系0
发表于 2025-9-29 10:29:32 | 显示全部楼层
百度网盘删除了我两个操作系统OS怎么办?
回复

使用道具 举报

5

主题

0

精华

40

积分

骑士

耕战
0
鹰币
10
天龙币
0
回帖
10
附庸关系0
 楼主| 发表于 2025-10-8 15:34:42 | 显示全部楼层
找到解决方法了,重述版会研发自定义科技,为了避免这个问题,可以新建一个建筑,然后把新科技放到新建筑里边即可
回复

使用道具 举报

本版积分规则

排行榜|小黑屋|翔鹰帝国

GMT+8, 2025-10-17 14:45 , Processed in 0.304249 second(s), 46 queries , File On.

Powered by Hawk Studio  QS Security Corp.® Licensed

Copyright © 2001-2025, Hawkaoe.net All Rights Reserved

快速回复 返回顶部 返回列表