Squad

Last-modified: 2014-07-24 (木) 16:36:05

Squadとは

  • 仲間ができる
  • 連携ができる
  • 野鯖じゃできない事ができる

Squad.xmlの作成方法、ロゴの作成方法などについて解説

Squadの作成に必要なもの

  1. webサイト(以下のファイルはwebサイト上にuploadする必要があります)
  2. squad.xml (必須)
  3. squad.dtd (必須)
  4. squad.xsl (任意)
  5. logo.paa (任意) jpgでも可(使える画像は2^x/2^yの物(例:16×16,32×32,64×64,256×256)

全ファイルを同じディレクトリ上に置く必要があります。
NOTE: .PAAファイルはIISサーバ上では不可。Apacheサーバでは可

テンプレート

arma_xml_squad_reviewed_for_arma2.zip
内容物(5files):README.txt, squad.css, squad.dtd, squad.xml, squad.xsl
squad.dtdsquad.xmlだけ拝借すればOK

squad.xmlの作り方

ファイルは3つのパートに分かれています
記載した内容は公開されるので、不用意に個人情報を書き込まぬこと

  1. head部:defines the doctype. Just leave it!
    <?xml version="1.0"?>
    <!DOCTYPE squad SYSTEM "squad.dtd">
    <?xml-stylesheet href="squad.xsl" type="text/xsl"?>
     
  2. squad情報
    <squad nick="ESN">
    <name>Example Squad Name</name>>
    <email>email@example.com</email>
    <web>www.example.com</web>
    <picture>logo.paa</picture>
    <title>Use this e.g. for your squads name or your squads URL</title>
     
    nicksquad略称。キャラクター名の後ろに括弧書きで表示される。Attention: Don't use reserved XML tags -> Link
    nameSquad正式名称
    email連絡先メールアドレス
    pictureロゴ画像(任意)、logo.paaやlogo.jpgとなる
    titleSquad name, displayed on vehicles manned by squad members
     
    注意点:
     
    Do not use any characters beside A-Z, a-z, 0-9 and space in the nick-attribute inside the squad-element of your squad.xml. This may lead to strange behaviour e.g. the information from your member-block is displayed but the information from the squad-block is not. So, if your Tag is like "=[SFS]=", put the value like "SFS" into the nick-attribute of the squad-element.
     
  3. メンバーリスト
    <member id="123456" nick="=[ESN]=John">
    	<name>John Doe</name>
    	<email>john.doe@example.com</email>
     	<icq>N/A</icq>
    	<remark>Mostly harmless</remark>
    </member>
    </squad>
     
    idPlayer-UID。クライアントごとにナンバリングされた一意のIDナンバー
    nickキャラクターニックネーム
    nameキャラクター正式名称
    email連絡先メールアドレス
    icqicqのUIN
    remarkas the name says it...
     
    注意点:
     
    The value in the nick-attribute of the member-element must represent the exact name of your players profile name. If your profile is named "=[ESN]=John" then the the correct XML looks like the above code block.
    Remarks:
     
    You can leave any field blank, but it's recommended to fill it with a "N/A" instead.
    Extend the members list by adding another XML-"Member" block

Player-UIDの調べ方

キャラクターエディット画面最下部に一意のPlayer-IDが書かれています。

webサーバー

webサーバーにディレクトリを置いてフォルダを作らなければなりません。
どうやってサーバーを借りる、立てるか分からない・・という方はFC2サーバーを使ってみましょう。
http://rentalserver.fc2.com/
FC2IDが必要ですが、squadファイルを置くぐらいなら無料で充分です。
ファイルマネージャーからarma2フォルダを作り、その中にxmlファイル等をぶちこみましょう。xmlファイルの虫眼鏡をクリックし、出てきたURLをプロフィールのカスタムURLにぶちこめば終わりです。
シングルでは確認できないので、そこら辺のマルチサーバーに入り確認しましょう。
jpgや、記述が間違っているとエラーが表示されます。

コメント

  • 英語の部分を翻訳 -- ToDo? 2009-07-23 (木) 16:35:16
  • ロゴのサイズ、保存形式について補足を追加 -- ToDo? 2009-07-23 (木) 16:36:58
  • キャラクターエディット画面のSSを貼り付け -- ToDo? 2009-07-23 (木) 16:38:29
  • IIS はMIME の設定すればいけると思います.(適当ですが -- 2010-03-03 (水) 01:01:19
  • もう無料じゃないよね -- 2014-07-24 (木) 16:36:03