*Squadとは [#l4a1f718]
-仲間ができる
-連携ができる
-野鯖じゃできない事ができる
Squad.xmlの作成方法、ロゴの作成方法などについて解説
&br;
* Squadの作成に必要なもの [#c94e7d6f]
+ webサイト(以下のファイルはwebサイト上にuploadする必要があります)
+ squad.xml (必須)
+ squad.dtd (必須)
+ squad.xsl (任意)
+ logo.paa (任意) jpgでも可(使える画像は2^x/2^yの物(例:16×16,32×32,64×64,256×256)
全ファイルを同じディレクトリ上に置く必要があります。
NOTE: .PAAファイルはIISサーバ上では不可。Apacheサーバでは可
* テンプレート [#k290a229]
[[arma_xml_squad_reviewed_for_arma2.zip>http://www.airpressuretendency.net/gfx/arma_xml_squad_reviewed_for_arma2.zip]]
内容物(5files):README.txt, squad.css, squad.dtd, squad.xml, squad.xsl
''squad.dtd''と''squad.xml''だけ拝借すればOK
* squad.xmlの作り方 [#ne7f5c92]
ファイルは3つのパートに分かれています
&color(Red){''記載した内容は公開されるので、不用意に個人情報を書き込まぬこと''};~
+ head部:defines the doctype. Just leave it!
<?xml version="1.0"?>
<!DOCTYPE squad SYSTEM "squad.dtd">
<?xml-stylesheet href="squad.xsl" type="text/xsl"?>
#br
+ 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>
#br
|nick|squad略称。キャラクター名の後ろに括弧書きで表示される。Attention: Don't use reserved XML tags -> Link |
|name|Squad正式名称|
|email|連絡先メールアドレス|
|picture|ロゴ画像(任意)、logo.paaやlogo.jpgとなる|
|title|Squad name, displayed on vehicles manned by squad members|
#br
注意点:
#br
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.
#br
+ メンバーリスト
<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>
#br
|id|Player-UID。クライアントごとにナンバリングされた一意のIDナンバー|
|nick|キャラクターニックネーム|
|name|キャラクター正式名称|
|email|連絡先メールアドレス|
|icq|icqのUIN|
|remark| as the name says it...|
#br
注意点:
#br
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:
#br
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の調べ方 [#d1d6d5c0]
キャラクターエディット画面最下部に一意のPlayer-IDが書かれています。
* webサーバー [#d1d6d5c0]
webサーバーにディレクトリを置いてフォルダを作らなければなりません。
どうやってサーバーを借りる、立てるか分からない・・という方はFC2サーバーを使ってみましょう。
http://rentalserver.fc2.com/
FC2IDが必要ですが、squadファイルを置くぐらいなら無料で充分です。
ファイルマネージャーからarma2フォルダを作り、その中にxmlファイル等をぶちこみましょう。xmlファイルの虫眼鏡をクリックし、出てきたURLをプロフィールのカスタムURLにぶちこめば終わりです。
シングルでは確認できないので、そこら辺のマルチサーバーに入り確認しましょう。
jpgや、記述が間違っているとエラーが表示されます。
* コメント [#c9ca5573]
- 英語の部分を翻訳 -- [[ToDo]] &new{2009-07-23 (木) 16:35:16};
- ロゴのサイズ、保存形式について補足を追加 -- [[ToDo]] &new{2009-07-23 (木) 16:36:58};
- キャラクターエディット画面のSSを貼り付け -- [[ToDo]] &new{2009-07-23 (木) 16:38:29};
- IIS はMIME の設定すればいけると思います.(適当ですが -- &new{2010-03-03 (水) 01:01:19};
- もう無料じゃないよね -- &new{2014-07-24 (木) 16:36:03};
#comment