文明6吧 关注:521,140贴子:4,698,904
  • 2回复贴,共1

有懂mod制作的老哥吗?xml改好了,包在mod里,请教why不生效

只看楼主收藏回复

文件:AYANG_LOYAL.modinfo
<?xml version="1.0" encoding="utf-8"?>
<Mod id="AYANG_LOYAL" version="1">
<Properties>
<Name>AYANG_LOYAL</Name>
<Teaser>AYANG_CHANGE_LOYAL</Teaser>
<Description>AYANG_CHANGE_LOYAL_DESCRIPTION</Description>
<Authors>AYANG</Authors>
<ShowInBrowser>AlwaysShow</ShowInBrowser>
<EnabledByDefault>1</EnabledByDefault>
<EnabledAtStartup>1</EnabledAtStartup>
</Properties>
<Components>
<UpdateDatabase id="AYANG_GAMEPLAY_DATA">
<Items>
<File>Data/AYANG_Policies_1.xml</File>
<File>Data/AYANG_GlobalParameters.xml</File>
</Items>
</UpdateDatabase>
</Components>
<Files>
<File>Data/AYANG_Policies_1.xml</File>
<File>Data/AYANG_GlobalParameters.xml</File>
</Files>
</Mod>
AYANG_GlobalParameters.xml 文件:
<?xml version="1.0" encoding="utf-8"?>
<!-- THIS FILE WAS AUTOMATICALLY GENERATED. PLEASE DO NOT EDIT. -->
<GameInfo>
<GlobalParameters>
<Replace Name="FAVOR_PER_OWNED_ORIGINAL_CAPITAL" Value="5" />
</GlobalParameters>
</GameInfo>


IP属地:上海1楼2021-04-17 12:09回复
    文件 AYANG_Policies_1.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Edward Beach (Firaxis Games) -->
    <GameInfo>
    <ModifierArguments>
    <Update>
    <Where ModifierId="MARTIALLAW_GARRISONIDENTITY" />
    <Set>
    <Value>10</Value>
    </Set>
    </Update>
    </ModifierArguments>
    </GameInfo>


    IP属地:上海2楼2021-04-17 12:11
    回复
      2026-01-27 12:04:34
      广告
      不感兴趣
      开通SVIP免广告
      原理是想 update 风起云涌中的忠诚度机制,改了占领他国首都的外交支持每回合减5变成加5;政策驻军+忠诚2变成+10


      IP属地:上海3楼2021-04-17 12:12
      回复