Mission Editor

Last-modified: 2019-11-29 (金) 22:00:09

ミッションエディタはArmA2のシングル・マルチ両方のシナリオを作るための要となるツールです。

この記事では各操作の”機能と効果”というよりも、作りたい物を作るためにどのような操作が推薦されるのか、という事が中心です。

各項目の情報は一見、手強く見えるでしょう。

しかし、このゲームのゲームエンジンは他のゲームに比べて複雑であながら、作りたい物を作るためには常に複数の方法があるのだ、という事を忘れないで下さい。

Mission Editor - Bohemia Interactive Community より引用(一部要約)

エディタの起動

メインメニューのSingleplayerから、Editorを選択しましょう。
どのマップを使うか選択し、Continueを押すとエディタが起動します。

Ctrl+Eを押すと3D Editorが起動します。

マップ

  • マップ上でマウス右ドラッグすることで視野を移動することが出来ます。
  • マップ上でマウスホイール, Numパッド+/-キーで倍率を調整することが出来ます。
  • 対象の上でマウス左クリックすることでそれを選択することが出来ます。選択された対象は不透明になり、非選択の対象は半透明になります。
  • 対象の上でマウス左ダブルクリックすることで対象のエディティングメニューを開くことが出来ます。
    ウェイポイントモードでは選択されたグループのウェイポイントをオブジェクトに取り付けることが出来ます。
  • 何も無い所でマウス左ダブルクリックすることで新しい対象を作り出すことが出来ます。
  • 対象の上でマウス左ドラッグすることで対象をマップ上で移動させることが出来ます。
    グループモードやシンクロナイズドモードでは移動させることは出来ません。
  • 何も無い所でマウス左ドラッグすることで複数の対象を一度に選択することが出来ます。
  • 対象の上でCtrl + マウス左クリックすることで複数の対象を個別に選択することが出来ます。
  • ウェイポイントや対象の上でShift + マウス左クリックすることでそれらが属するグールプ全体を選択することが出来ます。
  • 選択した対象の上でShift + マウス左ドラッグすることで対象を回転させることが出来ます。
  • ウェイポイントが取り付けられた対象の上でShift + マウス左クリックすることでウェイポイントの下にある対象を選択することが出来ます。
  • ウェイポイントが取り付けられた対象の上でShift + マウス左クリック することでウェイポイントの下にある対象のエディティングメニューを開くことが出来ます。
  • Deleteでマウスカーソルの下にある対象を削除することが出来ます。
  • Ctrl + Xで対象をクリップボードに切り取ることが出来ます。
  • Ctrl + C で対象をクリップボードにコピーすることが出来ます。
  • Ctrl + V で対象をクリップボードから貼り付けることが出来ます。
    コピー&ペーストされた対象の名前は重複しないように、名前の後に番号が付けられます。
  • Ctrl + Shift + Vで対象を元々あった場所に貼り付けることが出来ます。
    (別のミッションにユニットを移植するときなどに使用します。)

ミッションモード

This drop down list allows you to choose which component of a mission you are currently editing. A single mission stores all objects and mission parameters for the intro and outro cutscenes completely separately from the gameplay component of a mission. It is not essential to use any of these other than the mission component. While each component requires a player unit if it is to be used, the player will only have control of the unit in the Mission component. In the Intro and Outros, AI will control the player's unit. The Intro and Outros will not end when the player unit dies, but must be ended using a trigger.

  • Mission is the default. This defines the interactive component of a mission. It is the only essential part of a mission.
  • Intro plays before the briefing screen.
  • Outro - Win will play after the debriefing screen in the case of a Win 1-6 trigger being activated.
  • Outro - Loose will play after the debriefing screen in the case of a Lose trigger being activated.

エディティングモード

ミッションエディットはこの7つのモードのどれかで行うことになります。それぞれのモードで異なったエンティティの生成や操作を行うことができます。モードを選択する時は画面右側のメニューからクリックするか、対応しているファンクションキーを押すことで選択できます。

Units

ユニットモードは、マップ上に車両やオブジェクトなどのユニットを追加するために使用します。

これを行うには、ユニットを追加したい空きスペースをダブルクリックすることで、ユニットメニューを開くことが出来ます。

また、ウェイポイント以外の編集モード時にユニットをダブルクリックして、既存のユニットのユニットメニューを開くことができます。

マップ上にプレイヤーのユニットが存在しない場合、ユニットのメニューにのみ有効プレーヤーユニットが配置されるようになりますので注意してください。


Groups

グループモードは様々な方法で使われますが、主な用途は個々のユニットを一つのグループに統合することです。

統合することで、敵のユニットについての情報を共有したり、標的に対して火力を集中させることができるなど、個々であるよりも戦闘能力を向上させることが出来ます。

目に見える繋がりを持っていない個々のユニットはそれ自身をして一つのグループです。

ユニットが同じ陣営に属する別のユニットの近くに作成されたとき、自動的に他のユニットのグループに配置されます。

ユニットを既にあるグループに追加したい場合、ユニットを左ドラッグし、追加したいグループに属するユニットにグループ線を繋げることでグループに追加することが出来ます。

グループ線はグループリーダーから指揮下の各ユニットへと伸びる青色の線です。

ユニットをグループから外したい場合、ユニットを左ドラッグし、何も無い所へグループ線を伸ばすことでグループから外すことが出来ます。

一般にグループ内にいる最も階級が高いユニットがグループリーダーになります。

あまりに巨大なグループを作ると、AIの移動経路の選定で問題が発生したり、人間が指揮することが困難になります。

個々のオブジェクトはトリガーやマーカー(マーカーを置いた場所からランダムでスタート地点を選びます)ともグループ線で繋ぐことが出来ます。

グループモードの最後の機能は、一度にグループ全体を配置出来ることです。

これらのグループは、ゲームのメイン設定ファイル(CfgGroups)内で事前に定義されています。

配置された個々のユニットは、通常通り操作できます。

グループを一度に配置するためには、マップ上の何も無い所を左ダブルクリックし、グループメニューを開くことで出来ます。


Triggers

トリガーは、Conditionに記入された条件が満たされた場合に、On Act.に記入されたスクリプトを実行する、抽象的なオブジェクトです。
効果的に使われれば、ミッションをリアルでダイナミックなものにすることができます。
例えば、プレイヤーが敵に発見されたら増援が来るといったことや、ラジオコマンドを使用したらコンボイが出発する、といったことができます。

トリガーは、中心部にある小さな青い旗と円形か四角形で表示されます。
グループ線でオブジェクトとリンクされたトリガーは、一般にそのオブジェクトやグループのみがトリガーを作動させることができることを意味します。
トリガーは、トリガーの位置や大きさが自体が条件の一部として使用されるということは普通はありませんし、
条件を満たしたオブジェクトを検出するだけというのも可能ですから、On Act.への記入が必ずしも必要とは限りません。
トリガーのConditionは、ミッション中に約毎秒2回の頻度でチェックされます。
トリガーをミッションに追加するためには、マップの何もないところをダブルクリックしすれば、トリガーメニューが開きます。


Waypoints

ウェイポイントはミッション中の行動や移動経路を定義するために使われます。

いかなる時でもグループは、1つの有効なウェイポイントを持っています。

ウェイポイントの条件が満たされれば、グループの次のウェイポイントが自動的に有効になります。

ウェイポイントの設定には、ウェイポイントが有効になった時に実行される設定や、完了した時に実行される設定があります。


Synchronization

シンクロモードは異なったグループのウェイポイントやトリガーを特定の状況下で同時に実行させる、といったことなどに使います。

一見、理解しにくい概念に見えますが、非常に強力で使いやすいツールです。

例えば、友軍が一斉攻撃を開始するために全員が配置につくまで待機させたり、敵の輸送部隊への攻撃を開始するための最適なタイミングまで待機させる、などといったことに使用することができます。

シンクロは日本語においては「同期」といった概念を意味しますので、以下「同期」という言葉を使って説明します。

同期は、あるグループのウェイポイントやトリガーと他のグループのそれらとの間に作ることができ、対象と対象を繋ぐ濃い青色の線で表示されます。

同期させることは、一方のウェイポイントやトリガーと、もう一方のそれらとの間を左ドラッグすることによって出来ます。

同期を解除することは、対象を左ドラッグして何も無い所へシンクロ線を伸ばすことによって出来ます。

間違えて全ての同期を解除してしまわないように注意しましょう。


Markers

マーカーモードは、主にミッションマップ上で視覚的なマップのアイコンや区画を配置するために使用されています。

マーカーはミッションエディタ上では、マーカーモードの時にのみ表示されますが、他のモードにあってもマーカーの名前が表示される位置にマウスカーソルを合わせることで操作することが出来ます。

マーカーのもう一つの使われ方は、マーカーと対象との間をグループ線で繋ぐことで対象の開始位置を複数定義できることです。

そのように定義されたグループは、グループ自体の位置とグループ線で繋がれたマーカーの位置の中からランダムに開始位置を選びます。

この設定は、対象のPlacement radiusを使うよりも正確に製作者の意図を反映して、ミッションに偶然性を作り出すことが可能です。

マーカーはミッションマップに記載されることに注意しましょう。(マーカーは幅や高さを0にして隠すことも出来ます。)

マーカーは特定の対象に取り付けることが出来ません。

マーカーは、マップ上の何も無い所で左ダブルクリックすることで設置することが出来ます。


Modules

Main article: Mission Editor: Modules

Modules offers complex scripted solutions


基本操作

New

マップ上にあるユニット、ウェイポイント、マーカーやトリガーなどの対象を全て削除します。

Load

Allows you to load a previously saved mission. Only uncompressed mission folders in your current profiles missions folder can be loaded.
icon editor saveas.png

Save As

You can save your current mission with this menu.

  • User missions - These missions are only available through the mission editor while using the current user profile. Note that if you save your mission under a new name, only the Mission.sqm file will be written in the new folder. Saving a already named User mission also reloads any mission support files that are in the chosen mission folder, such as Description.ext and Init.sqs.
  • Export to single missions/multiplayer missions - You can also choose to export your mission to either the single mission or multiplayer mission folders. This process creates a pbo file of the current mission folder (includes all files) in "Mission" or "MPMissions" folder in game's root.
    Note: You have to manually create the folders, otherwise mission won't be exported.
  • Send by e-mail - This option will create a pbo file of the mission folder and load your default email program using it as an attachment.

Save

Saves a currently edited mission without opening any menu, unless mission wasn't saved previously.

Merge

Merge will import all map data (units, groups, waypoints, triggers, etc) from one mission into the currently loaded mission. Other settings such as those set in the Intel Display are not imported.

Show IDs

Every object defined in the terrain you are using has an assigned ID number that can be used to refer to the object in script code. These IDs are normally hidden for clarity, and this button toggles them on or off. IDs are only visible at high zoom levels.

Show Textures

Clicking on this option will backfill the map with the satellite map texture rather than the default white. This gives the user an idea of the type of terrain found in an area, although the satellite map does not always correspond exactly with the ground detail textures as seen at close range.

Preview

Preview will start the mission from within the editor so that you can test the results of your labour. A player unit must be on the map for the preview button to be visible. If shift is held down while clicking on the preview button, the mission preview will include the mission briefing and debriefing. Note that in preview mode, some aspects of a mission may not always behave in the same way as they would if the mission was played as a single mission. It is wise to check your mission in "single mission mode" (outside of the mission editor) before considering release.

Continue

After you have exited from the preview mode, clicking 'Continue' will allow you resume the mission from the point you left it. Note that any changes made in the editor since you exited the preview will not be shown. You must click 'Preview' again to restart with the updated version of your mission.

Intel

Main article: Mission Editor: Intel

Intel display allows you to name your mission, give it a brief description, set the mission starting date and time, the current and forecast weather and which sides resistance forces are friendly to. Clicking on the Intel box will bring up the Intel menu.

Exit

Will exit the mission editor and return to the main menu. Any unsaved work will be lost. A confirmation menu is shown.

外部でのエディット

Main article: Mission Editor: External

Mission editor provides majority of tools required for designing a mission, but finishing touches are usually made outside of it. Briefings, custom scripts, multiplayer settings or final packing are only handled by separate files programs.

ミッションエクスポート

Main article: Mission Export

When the mission is finished, you can export it to PBO format and release it, so anybody can play it.

補足

BIによるエディターの解説動画です。(ver1.51)
Arma 2 Mission Editor Tutorial 1/2
Arma 2 Mission Editor Tutorial 2/2