有懂mod制作的老哥吗?xml改好了,包在mod里,请教why不生效
文明6吧
全部回复
仅看楼主
level 6
007__ 楼主
文件: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>
2021年04月17日 04点04分 1
level 6
007__ 楼主
文件 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>
2021年04月17日 04点04分 2
level 6
007__ 楼主
原理是想 update 风起云涌中的忠诚度机制,改了占领他国首都的外交支持每回合减5变成加5;政策驻军+忠诚2变成+10
2021年04月17日 04点04分 3
1