收起左侧

[教程] 亚洲国家主城人物开启聊天

[复制链接]
9916897发表于 2020-1-31 12:08:05
手滑关了流量,结果发不出去,因为是手机打的,所以只能再发一次截图了

亚洲国家主城人物开启聊天

亚洲国家主城人物开启聊天



在my games 找到中国日本印度的主城,用记事本打开,在<activeprops>下加一行,<prop enabled="1">UnitChats</prop>,注意格式要一样。
保存,然后进游戏,玩的时候访问主城可以看到亚洲国家的人物也会聊天了。和欧洲国家一样的有聊天内容,都是本土化的聊天内容。

こはね发表于 2020-1-31 12:13:10
这个我已经写过了,要比你的详细一点



在sp_主城_homecity.xml最底下的内容就是已启用主城外观,可以添加本国没有的外观,例如人物,至于不是人物就没有那么协调了,这个你自己体会。
<activeprops>在主城已经开启的外观
<prop enabled ="1">调用名</prop> 1为已启用,调用名参考homecityprops.xml 、nativehomecityprops.xml、asianhomecityprops.xml
<prop enabled ="0">调用名</prop> 0为已禁用
</activeprops>


***如果手机屏幕不够大,可以左右滑动查看。推荐用电脑浏览***
例如给中国主城添加
<!-- 小贩推车 -->
<prop enabled ="1">PeasantVendor</prop>

<!-- 女士 -->
<prop enabled ="1">NiceLady</prop>

<!-- 恶棍 -->
<prop enabled ="1">Thug</prop>

<!-- 酒鬼 -->
<prop enabled ="1">Drunk</prop>

<!-- 红卫兵 -->
<prop enabled ="1">RevolutionaryGuard</prop>

<!-- 主城聊天功能 -->
<prop enabled ="1">UnitChats</prop>

<!-- 驼背者 -->
<prop enabled ="1">Hunchback</prop>

<!-- 玩火艺人 -->
<prop enabled ="1">Torchy</prop>

<!-- 剩下的自己去那3个xml查ID,然后去Stringtabley查是什么东西。 -->

<prop enabled ="1">Juggler</prop>
<prop enabled ="1">StagecoachRoyal</prop>
<prop enabled ="1">PeasantPainter</prop>
<prop enabled ="1">PeasantMime</prop>
<prop enabled ="1">PeasantFisherman</prop>
<prop enabled ="1">RussianWolf</prop>
<prop enabled ="1">RussianPoliceman1</prop>
<prop enabled ="1">RussianPoliceman2</prop>
<prop enabled ="1">PeasantMale</prop>
<prop enabled ="1">PeasantFemale</prop>
<prop enabled ="1">PeasantChildMale</prop>
<prop enabled ="1">PeasantChildFemale</prop>
<prop enabled ="1">PeasantSweeper</prop>
<prop enabled ="1">MiddleClassPreacher</prop>
<prop enabled ="1">MiddleClassMusician</prop>
<prop enabled ="1">MiddleClassMale</prop>
<prop enabled ="1">MiddleClassFemale</prop>
<prop enabled ="1">MiddleClassButcher</prop>
<prop enabled ="1">MiddleClassBeefeater</prop>
<prop enabled ="1">UpperClassFemale</prop>
<prop enabled ="1">UpperClassMale</prop>


























  sp_北京_homecity.xml - 记事本

__


X



文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)





<?xml version="1.0" encoding="UTF-16"?>

<savedhomecity version ="2">
<defaultdirectoryid>0</defaultdirectoryid>
<defaultfilename>homecitychinese.xml</defaultfilename>
<civ>Chinese</civ>
<hctype>HC</hctype>
<name>北京</name>
<heroname>宗庆</heroname>
<herodogname></herodogname>
<shipname></shipname>
<hcid></hcid>
<respec>1</respec>
<level>10</level>
<xp>0</xp>
<skillpoints>9</skillpoints>
<xppercentage>0.000000</xppercentage>
<numpropunlocksearned>9</numpropunlocksearned>
<decks>
<deck>
<name>我的卡片组</name>
<gameid>4</gameid>
<default></default>
<cards>
<card dbid ="4824">YPHCSpawnRefugees1</card>
<card dbid ="2572">HCShipFoodCrates1</card>
<card dbid ="2184">HCShipFoodCrates2</card>
<card dbid ="3550">YPHCShipCoveredWagonsAsian</card>
<card dbid ="4729">YPHCShipChuKoNu1</card>
<card dbid ="4732">YPHCShipQiangPikeman1</card>
<card dbid ="4733">YPHCShipQiangPikeman2</card>
<card dbid ="4721">YPHCShipChangdao1</card>
<card dbid ="4719">YPHCShipArquebusier1</card>
<card dbid ="4720">YPHCShipArquebusier2</card>
<card dbid ="4726">YPHCShipSteppeRider1</card>
<card dbid ="3940">YPHCShipFlameThrower2</card>
<card dbid ="2032">HCFurrier</card>
<card dbid ="4059">YPHCShipCastleWagons1</card>
<card dbid ="3967">YPHCAdvancedConsulate</card>
</cards>
</deck>
</decks>
<activetechs>
<tech dbid ="4824">YPHCSpawnRefugees1</tech>
<tech dbid ="2572">HCShipFoodCrates1</tech>
<tech dbid ="2184">HCShipFoodCrates2</tech>
<tech dbid ="3550">YPHCShipCoveredWagonsAsian</tech>
<tech dbid ="4729">YPHCShipChuKoNu1</tech>
<tech dbid ="4732">YPHCShipQiangPikeman1</tech>
<tech dbid ="4733">YPHCShipQiangPikeman2</tech>
<tech dbid ="4721">YPHCShipChangdao1</tech>
<tech dbid ="4719">YPHCShipArquebusier1</tech>
<tech dbid ="4720">YPHCShipArquebusier2</tech>
<tech dbid ="4726">YPHCShipSteppeRider1</tech>
<tech dbid ="3940">YPHCShipFlameThrower2</tech>
<tech dbid ="3967">YPHCAdvancedConsulate</tech>
<tech dbid ="4059">YPHCShipCastleWagons1</tech>
<tech dbid ="2032">HCFurrier</tech>
</activetechs>
<activeprops>
<prop enabled ="1">Spanish_NWTCTexture0</prop>
<prop enabled ="1">Spanish_AcademyTexture0</prop>
<prop enabled ="1">Spanish_ManuPlantTexture0</prop>
<prop enabled ="1">Spanish_CathedralTexture0</prop>
<prop enabled ="1">Spanish_DockTexture0</prop>

<prop enabled ="1">PeasantVendor</prop>
<prop enabled ="1">NiceLady</prop>
<prop enabled ="1">Thug</prop>
<prop enabled ="1">Drunk</prop>
<prop enabled ="1">RevolutionaryGuard</prop>
<prop enabled ="1">UnitChats</prop>
<prop enabled ="1">Hunchback</prop>
<prop enabled ="1">Torchy</prop>
<prop enabled ="1">Juggler</prop>
<prop enabled ="1">StagecoachRoyal</prop>
<prop enabled ="1">PeasantPainter</prop>
<prop enabled ="1">PeasantMime</prop>
<prop enabled ="1">PeasantFisherman</prop>
<prop enabled ="1">RussianWolf</prop>
<prop enabled ="1">RussianPoliceman1</prop>
<prop enabled ="1">RussianPoliceman2</prop>
<prop enabled ="1">PeasantMale</prop>
<prop enabled ="1">PeasantFemale</prop>
<prop enabled ="1">PeasantChildMale</prop>
<prop enabled ="1">PeasantChildFemale</prop>
<prop enabled ="1">PeasantSweeper</prop>
<prop enabled ="1">MiddleClassPreacher</prop>
<prop enabled ="1">MiddleClassMusician</prop>
<prop enabled ="1">MiddleClassMale</prop>
<prop enabled ="1">MiddleClassFemale</prop>
<prop enabled ="1">MiddleClassButcher</prop>
<prop enabled ="1">MiddleClassBeefeater</prop>
<prop enabled ="1">UpperClassFemale</prop>
<prop enabled ="1">UpperClassMale</prop>

</activeprops>
</savedhomecity>

我是的十八簿发表于 2020-2-4 14:01:51
新大佬
跳转到