木乃心兑 发表于 2021-1-10 15:37:12

急求,自己改坏了,玩不了了

用aoe2ed把天明的孔庙自动生产神机炮改回了神火飞鸦,但是发现经验选择按钮按不了了,用备份的tactics改回来,发现还是按不了,成了自动生产红衣大炮了.......我想让他自动生产神火飞鸦,起码改回到原来的自动生产神机炮,并且经验按钮能按。
以下是原版的tactics(应该改哪?):
<?xml version="1.0" encoding="utf-8"?>

<tactics>
        <action>
                <name stringid="69154">WonderFlyingCrow</name>
                <type>DanceBonus</type>
                <active>1</active>
                <persistent>1</persistent>
                <dancebonustype>UnitSpawn</dancebonustype>
                <modifyprotoid>ypFlyingCrow</modifyprotoid>
                <modifymultiplier>0.065</modifymultiplier>
                <modifyexponent>1.03</modifyexponent>
                <modifybase>0.0</modifybase>
        </action>
        <tactic>
                WonderFlyingCrow
                <action>WonderFlyingCrow</action>
                <protounitcommand>WonderFlyingCrow</protounitcommand>
                <transition>
                        <tactic>Wood</tactic>
                        <length>2</length>
                        <exit>1</exit>
                </transition>
        </tactic>
</tactics>
这是我改的,就把名字换了下(错在哪?):
<?xml version="1.0" encoding="utf-8"?>

<tactics>
        <action>
                <name stringid="69154">WonderFlyingCrow</name>
                <type>DanceBonus</type>
                <active>1</active>
                <persistent>1</persistent>
                <dancebonustype>UnitSpawn</dancebonustype>
                <modifyprotoid>ypFlyingCrow</modifyprotoid>
                <modifymultiplier>0.065</modifymultiplier>
                <modifyexponent>1.03</modifyexponent>
                <modifybase>0.0</modifybase>
        </action>
        <tactic>
                WonderFlyingCrow
                <action>WonderFlyingCrow</action>
                <protounitcommand>WonderFlyingCrow</protounitcommand>
                <transition>
                        <tactic>Wood</tactic>
                        <length>2</length>
                        <exit>1</exit>
                </transition>
        </tactic>
</tactics>

木乃心兑 发表于 2021-1-10 15:40:13

打错了,我改的第九行是:<modifyprotoid>ypFlyingCrow2</modifyprotoid>(多了个2,要不成没变化了)

こはね 发表于 2021-1-10 16:02:58

用天明那个tactics修改,不要用原版,原版那个tactics没有自动生产经验的设定

こはね 发表于 2021-1-10 16:05:43

没记错的话天明的ypFlyingCrow是红衣大炮,而ypFlyingCrow2才是神火飞鸦

こはね 发表于 2021-1-10 17:32:31

用天明的tactics而不是原版的tactics


<?xml version="1.0" encoding="utf-8"?>

<tactics>
      <action>
                <name stringid="69154">WonderFlyingCrow</name>
                <type>DanceBonus</type>
                <active>1</active>
                <persistent>1</persistent>
                <dancebonustype>UnitSpawn</dancebonustype>
                <modifyprotoid>ypFlyingCrowSpawn</modifyprotoid>
                <modifymultiplier>0.065</modifymultiplier>
                <modifyexponent>1.03</modifyexponent>
                <modifybase>0.0</modifybase>
      </action>
      <action>
                <name stringid="61766">AutoGatherXP</name>
                <type>AutoGather</type>
                <active>1</active>
                <persistent>1</persistent>
      </action>
      <tactic>
                WonderFlyingCrow
                <action>WonderFlyingCrow</action>
                <protounitcommand>WonderFlyingCrow</protounitcommand>
                <transition>
                        <tactic>ShrineXP</tactic>
                        <length>2</length>
                        <exit>1</exit>
                </transition>
      </tactic>
      <tactic>
                ShrineXP
                <action>AutoGatherXP</action>
                <protounitcommand>TacticXP</protounitcommand>
                <transition>
                        <tactic>WonderFlyingCrow</tactic>
                        <length>2</length>
                        <exit>1</exit>
                </transition>
      </tactic>
</tactics>


木乃心兑 发表于 2021-1-10 23:02:34

还有一个我也是看了圣典里的经典例子,就是老和尚造堡垒,我试了一下成功了,我还可以让他造银行,但是唯独造不了俄罗斯碉堡,试了好多次也不行。。。。。。每次都是使馆先造出来一个,和尚才能建造(显示图标了),不知道为啥会这样。。。。
<Train row ='0' page ='6' column ='0'>Bank</Train>
                <Train row ='0' page ='6' column ='0'>Blockhouse</Train>
                <Train row ='0' page ='6' column ='0'>FortFrontier</Train>(大神有空帮我看下)

こはね 发表于 2021-1-10 23:57:03

木乃心兑 发表于 2021-1-10 23:02
还有一个我也是看了圣典里的经典例子,就是老和尚造堡垒,我试了一下成功了,我还可以让他造银行,但是唯独 ...
就是这里,给我罚抄100遍{:4_88:}



你说你不会启用碉堡?但是你修改完银行后还不会启用单位,那么更应该罚抄了。{:4_88:}

页: [1]
查看完整版本: 急求,自己改坏了,玩不了了