DedicatedServer/ゲームモード設定ファイル

Last-modified: 2008-08-22 (金) 22:50:22

DedicatedServer(専用サーバ)のゲームモードを設定するファイル。
「GameData\Tracks\MatchSettings\」フォルダに置く。
整理・識別のためにさらにフォルダを作ってもOK。
サンプルとしてNationsUnitedフォルダ以下にいくつかのファイルが入っている。

注意:設定ファイル内に全角文字を使用する場合は、必ず文字コードUTF-8でファイルを保存すること。

設定項目

大まかにいくつかのセクションに分かれている。
以下、セクションごとの説明。

<gameinfos>~</gameinfos>

各種ゲームモードの設定。

<game_mode>の設定によって使用する項目が違ってくる。
使用しない項目は無視される?

  • <game_mode></game_mode>
    ゲームモード
    0:Round
    1:TimeAttack
    2:Team
    3:Laps
    4:Stunts
    5:Cup
  • <chat_time>10000</chat_time>
    成績画面でのCHAT時間(ミリ秒)
  • <finishtimeout>0</finishtimeout>
    1位の人がゴールしてからゲーム終了までの時間(ミリ秒)
    0にすると全員がゴール or リタイアするまで終わらない。
    Round/Team/Laps/Cupで使用。
  • <allwarmupduration>0</allwarmupduration>
  • <disablerespawn>0</disablerespawn>
    1にすると旧TMNと同様にチェックポイントからの復帰ができなくなる(リスタートのみ) [hatena]
  • <forceshowallopponents>0</forceshowallopponents>
  • <rounds_pointslimit>0</rounds_pointslimit>
  • <rounds_usenewrules>0</rounds_usenewrules>
  • <rounds_forcedlaps>0</rounds_forcedlaps>
  • <rounds_pointslimitnewrules>0</rounds_pointslimitnewrules>
  • <team_pointslimit>0</team_pointslimit>
  • <team_maxpoints>0</team_maxpoints>
    Team戦で1位の人が取得できるポイント。
    2位以下1ポイントづつ減っていく。
    言い換えればこの数字の順位までポイントが取得できる。
  • <team_usenewrules>0</team_usenewrules>
  • <team_pointslimitnewrules>0</team_pointslimitnewrules>
    Team勝利に必要なポイント
  • <timeattack_limit>300000</timeattack_limit>
    TimeAttackでの走行時間(ミリ秒)
  • <timeattack_synchstartperiod>0</timeattack_synchstartperiod>
  • <laps_nblaps>1</laps_nblaps>
  • <laps_timelimit>0</laps_timelimit>
  • <cup_pointslimit>0</cup_pointslimit>
  • <cup_roundsperchallenge>0</cup_roundsperchallenge>
  • <cup_nbwinners>0</cup_nbwinners>
  • <cup_warmupduration>2</cup_warmupduration>

<hotseat>~</hotseat>

  • <game_mode>0</game_mode>
  • <time_limit>300000</time_limit>
  • <rounds_count>5</rounds_count>

<filter>~</filter>

  • <is_lan>1</is_lan>
  • <is_internet>1</is_internet>
  • <is_solo>0</is_solo>
  • <is_hotseat>0</is_hotseat>
  • <sort_index>1000</sort_index>
  • <random_map_order>0</random_map_order>
    コースの順番がランダムになる?
  • <force_default_gamemode>0</force_default_gamemode>

<startindex>1</startindex>

<challenge>~</challenge>

コースファイル設定
使用するコースの数だけ<challenge>~</challenge>を並べる。

  • <file></file>
    コースファイルの場所
    Pathの指定は「(インストールフォルダ)\GameData\Tracks」からの相対Path or 絶対Path。
  • <ident></ident>
    識別子?
    指定しなくてもOK(?)

<challenge>
  <file>Campaigns\United\Race\Stadium\Red\StadiumD1.Challenge.Gbx</file>
  <ident>Jy1iY548W5lQ1wUZxi4QdWcUJig</ident>
</challenge>
<challenge>
  <file>Challenges\Downloaded\runelagu\ラビリンス.Challenge.Gbx</file>
</challenge>
<challenge>
  <file>Challenges\Downloaded\runelagu\はるかっか的オフロード.Challenge.Gbx</file>
</challenge>

コメント