配置文件

配置文件

  • 服务端MatchServer和客户端新增配置文件 ms_campwar_lua.xml
  • 修改该配置文件,需要同步服务端MatchServer和客户端
<?xml version="1.0" encoding="utf-8" ?>
<!--
    本文件为MatchServer的海外阵营战活动配置
-->

<!-- 字段说明 -->
<!--module
    module_type:  类型定义 阵营战campwar为10
    status:是否开启
    name:阵营战campwar
-->
<!--
    <campwar id="活动期数,不可重复" begin="活动开始时间" helpend="助力结束时间" end="活动结束时间" show="是否显示" usegoodid="消耗的道具id" actkey="deafult" actnamekey="名称key"  iconpose=“0,1”第一位表示是否显示在右上角,第二位表示小广告是否显示红点>

        <camp_list>  阵营列表
            <camp id="阵营编号 唯一" name="阵营名称" join_award="加入奖励939201,1;939201,1" recommend_award="推荐奖励939201,1;939201,1" picid="0=武将,1=皮肤,2=动态皮肤;后面跟id" />
            <help times="助力档位" award="档位对应的奖励道具" />
        </camp_list>

        <end_award > 活动结束奖励
            <win_award award="胜出奖励939201,1;939201,1">
                <title> 胜出邮件
                    {"zh_tw":"阵营胜出奖励",
                    "ja_jp":"",
                    "en_us":""}
                </title>
                <content>
                    {"zh_tw":"阵营胜出奖励",
                    "ja_jp":"",
                    "en_us":""}
                </content>
            </win_award>
            <lose_award award="落败奖励939201,1;939201,1">
                <title>落败邮件
                    {"zh_tw":"阵营落败奖励",
                    "ja_jp":"",
                    "en_us":""}
                </title>
                <content>
                    {"zh_tw":"阵营落败奖励",
                    "ja_jp":"",
                    "en_us":""}
                </content>
            </lose_award>
        </end_award>

        <help_rank> 助力排行
            <rank_award> 排行奖励
                <rank range="1,1" award="939201,1;939201,1" />
                <rank range="2,3" award="939201,1" />
            </rank_award>

            <title> 奖励邮件
                {"zh_tw":"阵营排行奖励",
                "ja_jp":"",
                "en_us":""}
            </title>
            <content>
                {"zh_tw":"阵营排行奖励",
                "ja_jp":"",
                "en_us":""}
            </content>
        </help_rank>
    </campwar>
-->

<root>
<module moduletype="10" status="1" name="campwar"/>

<campwarroot>
    <campwar id="2" begin="20220101T000000" helpend="20220131T235959" end="20220210T235959" show="1" usegoodid="5002901" actkey="deafult" actnamekey="S_PLUGIN_CAMLWAR_NAME_KEY" iconpos="0,1" title="狐假虎威">

        <camp_list>
            <camp id="1" name="曹真" joinaward="1170101,10" recommendaward="4318601,1" picid="1,33001" scale="1.4" offsetX="1" offsetY="-5">
                <help times="1" award="939201,1" />
                <help times="3" award="645309,1" />
                <help times="5" award="671301,5" />
                <help times="8" award="699101,10" />
                <help times="10" award="724009,1" />
                <help times="15" award="9800501,1" />
            </camp>
            <camp id="2" name="曹纯" joinaward="1170301,5" recommendaward="4318701,1" picid="2,33604" scale="1" offsetX="0" offsetY="0">
                <help times="1" award="9060101,1" />
                <help times="3" award="9060401,3" />
                <help times="5" award="9060701,6" />
                <help times="8" award="9060801,10" />
                <help times="10" award="9060901,100" />
                <help times="15" award="9500101,1" />
            </camp>
        </camp_list>

        <end_award >
            <win_award award="4322301,5;4322401,1">
                <title>
                    {"zh_tw":"胜出奖励",
                    "ja_jp":"",
                    "en_us":""}
                </title>
                <content>
                    {"zh_tw":"恭喜您的阵营在本次活动中胜出,以下是您的奖励。",
                    "ja_jp":"",
                    "en_us":""}
                </content>
            </win_award>
            <lose_award award="4322901,1">
                <title>
                    {"zh_tw":"落败奖励",
                    "ja_jp":"",
                    "en_us":""}
                </title>
                <content>
                    {"zh_tw":"您的阵营在本次活动中落败了,请您不要灰心,再接再厉。以下是您的奖励",
                    "ja_jp":"",
                    "en_us":""}
                </content>
            </lose_award>
        </end_award>

        <help_rank>
            <rank_award>
                <rank range="1,1" award="4602501,10;4603001,1;4605501,3" />
                <rank range="2,5" award="4615301,6" />
                <rank range="6,10" award="4617701,1" />
                <rank range="11,20" award="4621001,1" />
                <rank range="21,50" award="4621501,1" />
                <rank range="51,100" award="4622101,1" />
                <rank range="101,99999" award="4622101,1" />
            </rank_award>

            <title>
                {"zh_tw":"排行奖励",
                "ja_jp":"",
                "en_us":""}
            </title>
            <content>
                {"zh_tw":"您在本次活动中获得了己方阵营的第$HELPRANK$名,感谢您为阵营做出的贡献。以下是您的奖励。",
                "ja_jp":"",
                "en_us":""}
            </content>
        </help_rank>
    </campwar>
</campwarroot>
</root>