天明MOD同时建筑朵颜卫、东宁卫、哈密卫


天明怎么在明国调出同时出三大羁寮所?这个问题很简单,在techtreey按ctrl+f搜索DuoyanWei、DongningWei、HamiWei,然后把相关禁用科技删掉或者改成启用科技就行了。


修改前:
  techtreey.xml - 记事本 --修改前 __ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Tech name ='MongoliaStrategy' type ='Normal'>
<DBID>4064</DBID>
<DisplayNameID>97571</DisplayNameID>
<ResearchPoints>5.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>icon\tech_mongolia_strategy_icon_64</Icon>
<RolloverTextID>97572</RolloverTextID>
<Flag>UpgradeTech</Flag>
<Prereqs>
<TechStatus status ='Active'>ypColonializeChinese</TechStatus>
</Prereqs>
<Effects>
<Effect type ='TechStatus' status ='unobtainable'>ManchuriaStrategy</Effect>
<Effect type ='TechStatus' status ='unobtainable'>CentralAsiaStrategy</Effect>

<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
<Target type ='ProtoUnit'>DuoyanWei</Target></Effect>
</Effects>
</Tech>
<Tech name ='ManchuriaStrategy' type ='Normal'>
<DBID>4064</DBID>
<DisplayNameID>97573</DisplayNameID>
<ResearchPoints>5.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>icon\tech_manchuria_strategy_icon_64</Icon>
<RolloverTextID>97574</RolloverTextID>
<Flag>UpgradeTech</Flag>
<Prereqs>
<TechStatus status ='Active'>ypColonializeChinese</TechStatus>
</Prereqs>
<Effects>
<Effect type ='TechStatus' status ='unobtainable'>MongoliaStrategy</Effect>
<Effect type ='TechStatus' status ='unobtainable'>CentralAsiaStrategy</Effect>

<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
<Target type ='ProtoUnit'>DongningWei</Target></Effect>
</Effects>
</Tech>
<Tech name ='CentralAsiaStrategy' type ='Normal'>
<DBID>4064</DBID>
<DisplayNameID>97575</DisplayNameID>
<ResearchPoints>5.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>icon\tech_central_asia_strategy_icon_64</Icon>
<RolloverTextID>97576</RolloverTextID>
<Flag>UpgradeTech</Flag>
<Prereqs>
<TechStatus status ='Active'>ypColonializeChinese</TechStatus>
</Prereqs>
<Effects>
<Effect type ='TechStatus' status ='unobtainable'>MongoliaStrategy</Effect>
<Effect type ='TechStatus' status ='unobtainable'>ManchuriaStrategy</Effect>

<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
<Target type ='ProtoUnit'>HamiWei</Target></Effect>
</Effects>
</Tech>



将上面红色语句<Effect type ='TechStatus' status ='unobtainable'>xxx</Effect>禁用科技语句删掉,或者改成<Effect type ='TechStatus' status ='obtainable'>xxx</Effect>
修改后:

  techtreey.xml - 记事本 --修改后 __ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Tech name ='MongoliaStrategy' type ='Normal'>
<DBID>4064</DBID>
<DisplayNameID>97571</DisplayNameID>
<ResearchPoints>5.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>icon\tech_mongolia_strategy_icon_64</Icon>
<RolloverTextID>97572</RolloverTextID>
<Flag>UpgradeTech</Flag>
<Prereqs>
<TechStatus status ='Active'>ypColonializeChinese</TechStatus>
</Prereqs>
<Effects>
<--
<Effect type ='TechStatus' status ='unobtainable'>ManchuriaStrategy</Effect>
<Effect type ='TechStatus' status ='unobtainable'>CentralAsiaStrategy</Effect>
-->

<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
<Target type ='ProtoUnit'>DuoyanWei</Target></Effect>
</Effects>
</Tech>
<Tech name ='ManchuriaStrategy' type ='Normal'>
<DBID>4064</DBID>
<DisplayNameID>97573</DisplayNameID>
<ResearchPoints>5.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>icon\tech_manchuria_strategy_icon_64</Icon>
<RolloverTextID>97574</RolloverTextID>
<Flag>UpgradeTech</Flag>
<Prereqs>
<TechStatus status ='Active'>ypColonializeChinese</TechStatus>
</Prereqs>
<Effects>
<--
<Effect type ='TechStatus' status ='unobtainable'>MongoliaStrategy</Effect>
<Effect type ='TechStatus' status ='unobtainable'>CentralAsiaStrategy</Effect>
-->

<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
<Target type ='ProtoUnit'>DongningWei</Target></Effect>
</Effects>
</Tech>
<Tech name ='CentralAsiaStrategy' type ='Normal'>
<DBID>4064</DBID>
<DisplayNameID>97575</DisplayNameID>
<ResearchPoints>5.0000</ResearchPoints>
<Status>UNOBTAINABLE</Status>
<Icon>icon\tech_central_asia_strategy_icon_64</Icon>
<RolloverTextID>97576</RolloverTextID>
<Flag>UpgradeTech</Flag>
<Prereqs>
<TechStatus status ='Active'>ypColonializeChinese</TechStatus>
</Prereqs>
<Effects>
<--
<Effect type ='TechStatus' status ='unobtainable'>MongoliaStrategy</Effect>
<Effect type ='TechStatus' status ='unobtainable'>ManchuriaStrategy</Effect> -->

<Effect type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'>
<Target type ='ProtoUnit'>HamiWei</Target></Effect>
</Effects>
</Tech>



其实这个是在搜索引擎查到的点击数据,不过很可惜,当时没有相关帖能解决这个问题,所以现在补一个。

Q群也在问:有人可以告诉我,天明里的明国,搞出三大羁寮所同时存在,怎么搞的吗?MOD教程里没说这个耶




至于为什么会说教程没有这个,大概就是依赖性学习吧,有例子就会了,没例子就不会。简单来说,根本没有认真看教程



下面来分析一下为什么是这样操作的?
首先天明三个卫所在开局并不能建造的,需要在城镇中心改良“经略蒙古”、“经略辽东”、“经略西域”才会开启三个卫所的建造,然后改良其中一个科技就会关闭掉另外两个科技,说到这里就很简单了,直接把这个关闭其他科技的设定删掉就行。




为什么在techtreey搜索DuoyanWei、DongningWei、HamiWei?

说句实话,如果你修改过天明MOD,那么一定会发现中国村民那里多了DuoyanWei、DongningWei、HamiWei三个建筑,这三个分别用字母拼音命名,所以很明显就是朵颜卫、东宁卫、哈密卫。根据上面的分析是科技开启这三个建筑的建造,所以找这三个调用名就肯定能找到那三个科技
(正确方法是找科技调用名,但是我嫌麻烦懒得查调用名了,懒得去复制粘贴,好孩子千万不能模仿,要用正确的方法去修改


那个Excel表格是什么?
这个是天明自带的表格,在MOD根目录里面有这个。

顺便提一下,如果你的data文件夹存在techtreed.xml,那么你下载的是苦竹弄的安装包,修改的文件不是techtreey.xml,而是techtreed.xml